From f77bf165eba37a7dcd320003e3eeb4a00896a987 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Sun, 7 Jan 2018 20:51:48 -0800 Subject: [PATCH] updates strings --- libs/core/_locales/core-jsdoc-strings.json | 12 +++++++++--- libs/core/_locales/core-strings.json | 4 +++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/libs/core/_locales/core-jsdoc-strings.json b/libs/core/_locales/core-jsdoc-strings.json index 709bf6b1..5be2fc4f 100644 --- a/libs/core/_locales/core-jsdoc-strings.json +++ b/libs/core/_locales/core-jsdoc-strings.json @@ -30,14 +30,20 @@ "brick.clearScreen": "Clears the screen", "brick.lightPattern": "Pattern block.", "brick.lightPattern|param|pattern": "the lights pattern to use. eg: LightsPattern.Green", - "brick.printLine": "Show text on the screen at a specific line.", - "brick.printLine|param|line": "the line number to print the text at, eg: 0", - "brick.printLine|param|text": "the text to print on the screen, eg: \"Hello world\"", "brick.printPorts": "Prints the port states on the screen", "brick.setLight": "Set lights.", "brick.setLight|param|pattern": "the lights pattern to use.", "brick.showImage": "Shows an image on screen", "brick.showImage|param|image": "image to draw", + "brick.showNumber": "Shows a number on the screen", + "brick.showNumber|param|line": "the line number to print the text at, eg: 1", + "brick.showNumber|param|value": "the numeric value", + "brick.showString": "Show text on the screen at a specific line.", + "brick.showString|param|line": "the line number to print the text at, eg: 1", + "brick.showString|param|text": "the text to print on the screen, eg: \"Hello world\"", + "brick.showValue": "Shows a name, value pair on the screen", + "brick.showValue|param|line": "the line number to print the text at, eg: 1", + "brick.showValue|param|value": "the numeric value", "console": "Reading and writing data to the console output.\n\nReading and writing data to the console output.", "console.addListener": "Adds a listener for the log messages", "console.log": "Write a line of text to the console output.", diff --git a/libs/core/_locales/core-strings.json b/libs/core/_locales/core-strings.json index 786d73d2..aecf7fe8 100644 --- a/libs/core/_locales/core-strings.json +++ b/libs/core/_locales/core-strings.json @@ -37,10 +37,12 @@ "brick.buttonUp|block": "up", "brick.clearScreen|block": "clear screen", "brick.lightPattern|block": "%pattern", - "brick.printLine|block": "print at line %line|%text", "brick.printPorts|block": "print ports", "brick.setLight|block": "set light to %pattern=led_pattern", "brick.showImage|block": "show image %image=screen_image_picker", + "brick.showNumber|block": "show number %name|at line %line", + "brick.showString|block": "show string %text|at line %line", + "brick.showValue|block": "show value %name|= %text|at line %line", "brick|block": "brick", "console.logValue|block": "console|log value %name|= %value", "console.log|block": "console|log %text",