From 5d5d78ced09004bd84b6a89dc0334c5413f84b4a Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 24 Oct 2017 09:47:30 -0700 Subject: [PATCH] compiled strings --- libs/core/_locales/core-jsdoc-strings.json | 20 ++++++++++++-------- libs/core/_locales/core-strings.json | 10 +++++++--- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/libs/core/_locales/core-jsdoc-strings.json b/libs/core/_locales/core-jsdoc-strings.json index 37e6da8a..52bc9c40 100644 --- a/libs/core/_locales/core-jsdoc-strings.json +++ b/libs/core/_locales/core-jsdoc-strings.json @@ -26,6 +26,10 @@ "input.ColorSensor.getAmbientLight": "Get current ambient light value from the color sensor.", "input.ColorSensor.getColor": "Get the current color from the color sensor.", "input.ColorSensor.getReflectedLight": "Get current reflected light value from the color sensor.", + "input.GyroSensor.angle": "Get the current angle from the gyroscope.", + "input.GyroSensor.rate": "Get the current rotation rate from the gyroscope.", + "input.IrSensor.distance": "Get the distance measured by the infrared sensor.", + "input.IrSensor.remoteCommand": "Get the remote commandreceived the infrared sensor.", "input.UltraSonicSensor.getDistance": "Get distance in mm", "input.buttonDown": "Down button.", "input.buttonEnter": "Enter button.", @@ -41,16 +45,16 @@ "output.createBuffer|param|size": "number of bytes in the buffer", "output.getCurrentSpeed": "Get motor speed.", "output.getCurrentSpeed|param|out": "the output connection that the motor is connected to", - "output.getPattern": "Pattern block.", - "output.getPattern|param|pattern": "the lights pattern to use. eg: LightsPattern.Green", - "output.setLights": "Set lights.", - "output.setLights|param|pattern": "the lights pattern to use.", + "output.pattern": "Pattern block.", + "output.pattern|param|pattern": "the lights pattern to use. eg: LightsPattern.Green", "output.setPower": "Set motor power.", "output.setPower|param|out": "the output connection that the motor is connected to", "output.setPower|param|power": "the desired power to use. eg: 100", "output.setSpeed": "Set motor speed.", "output.setSpeed|param|out": "the output connection that the motor is connected to", "output.setSpeed|param|speed": "the desired speed to use. eg: 100", + "output.setStatusLight": "Set lights.", + "output.setStatusLight|param|pattern": "the lights pattern to use.", "output.switchMotor": "Switch the motor on or off.", "output.switchMotor|param|on": "1 to turn the motor on, 0 to turn it off", "output.switchMotor|param|out": "the output connection that the motor is connected to", @@ -61,10 +65,10 @@ "screen.clear": "Clear screen and reset font to normal.", "screen.doubleIcon": "Double size of an icon.", "screen.drawIcon": "Draw an icon on the screen.", - "screen.drawText": "Show text on the screen.", - "screen.drawText|param|text": "the text to print on the screen, eg: \"Hello world\"", - "screen.drawText|param|x": "the starting position's x coordinate, eg: 0", - "screen.drawText|param|y": "the starting position's x coordinate, eg: 0", + "screen.print": "Show text on the screen.", + "screen.print|param|text": "the text to print on the screen, eg: \"Hello world\"", + "screen.print|param|x": "the starting position's x coordinate, eg: 0", + "screen.print|param|y": "the starting position's x coordinate, eg: 0", "serial": "Reading and writing data over a serial connection.", "serial.writeDmesg": "Send DMESG debug buffer over serial." } \ No newline at end of file diff --git a/libs/core/_locales/core-strings.json b/libs/core/_locales/core-strings.json index 14c4dc5f..4a5ed53a 100644 --- a/libs/core/_locales/core-strings.json +++ b/libs/core/_locales/core-strings.json @@ -21,6 +21,10 @@ "input.ColorSensor.getAmbientLight|block": "%color| ambient light", "input.ColorSensor.getColor|block": "%color| color", "input.ColorSensor.getReflectedLight|block": "%color| reflected light", + "input.GyroSensor.angle|block": "%color|angle", + "input.GyroSensor.rate|block": "%color|rotation rate", + "input.IrSensor.distance|block": "%infrared|distance", + "input.IrSensor.remoteCommand|block": "%infrared|remote command", "input.buttonDown|block": "button down", "input.buttonEnter|block": "button enter", "input.buttonLeft|block": "button left", @@ -35,14 +39,14 @@ "input.touchSensor|block": "touch sensor", "input|block": "input", "output.getCurrentSpeed|block": "motor %out|speed", - "output.getPattern|block": "%pattern", - "output.setLights|block": "set status light %pattern=led_pattern", + "output.pattern|block": "%pattern", "output.setPower|block": "set motor %out| power to %power", "output.setSpeed|block": "set motor %out| speed to %speed", + "output.setStatusLight|block": "set status light %pattern=led_pattern", "output.switchMotor|block": "turn motor %out|%on", "output.turn|block": "turn motor %out| on for %ms|milliseconds", "output|block": "output", - "screen.drawText|block": "print %text| at x: %x| y: %y", + "screen.print|block": "print %text| at x: %x| y: %y", "screen|block": "screen", "serial|block": "serial", "{id:category}Control": "Control",