compiled strings

This commit is contained in:
Peli de Halleux 2017-10-24 09:47:30 -07:00
parent fe46461c4c
commit 5d5d78ced0
2 changed files with 19 additions and 11 deletions

View File

@ -26,6 +26,10 @@
"input.ColorSensor.getAmbientLight": "Get current ambient light value from the color sensor.", "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.getColor": "Get the current color from the color sensor.",
"input.ColorSensor.getReflectedLight": "Get current reflected light value 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.UltraSonicSensor.getDistance": "Get distance in mm",
"input.buttonDown": "Down button.", "input.buttonDown": "Down button.",
"input.buttonEnter": "Enter button.", "input.buttonEnter": "Enter button.",
@ -41,16 +45,16 @@
"output.createBuffer|param|size": "number of bytes in the buffer", "output.createBuffer|param|size": "number of bytes in the buffer",
"output.getCurrentSpeed": "Get motor speed.", "output.getCurrentSpeed": "Get motor speed.",
"output.getCurrentSpeed|param|out": "the output connection that the motor is connected to", "output.getCurrentSpeed|param|out": "the output connection that the motor is connected to",
"output.getPattern": "Pattern block.", "output.pattern": "Pattern block.",
"output.getPattern|param|pattern": "the lights pattern to use. eg: LightsPattern.Green", "output.pattern|param|pattern": "the lights pattern to use. eg: LightsPattern.Green",
"output.setLights": "Set lights.",
"output.setLights|param|pattern": "the lights pattern to use.",
"output.setPower": "Set motor power.", "output.setPower": "Set motor power.",
"output.setPower|param|out": "the output connection that the motor is connected to", "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.setPower|param|power": "the desired power to use. eg: 100",
"output.setSpeed": "Set motor speed.", "output.setSpeed": "Set motor speed.",
"output.setSpeed|param|out": "the output connection that the motor is connected to", "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.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": "Switch the motor on or off.",
"output.switchMotor|param|on": "1 to turn the motor on, 0 to turn it 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", "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.clear": "Clear screen and reset font to normal.",
"screen.doubleIcon": "Double size of an icon.", "screen.doubleIcon": "Double size of an icon.",
"screen.drawIcon": "Draw an icon on the screen.", "screen.drawIcon": "Draw an icon on the screen.",
"screen.drawText": "Show text on the screen.", "screen.print": "Show text on the screen.",
"screen.drawText|param|text": "the text to print on the screen, eg: \"Hello world\"", "screen.print|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.print|param|x": "the starting position's x coordinate, eg: 0",
"screen.drawText|param|y": "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": "Reading and writing data over a serial connection.",
"serial.writeDmesg": "Send DMESG debug buffer over serial." "serial.writeDmesg": "Send DMESG debug buffer over serial."
} }

View File

@ -21,6 +21,10 @@
"input.ColorSensor.getAmbientLight|block": "%color| ambient light", "input.ColorSensor.getAmbientLight|block": "%color| ambient light",
"input.ColorSensor.getColor|block": "%color| color", "input.ColorSensor.getColor|block": "%color| color",
"input.ColorSensor.getReflectedLight|block": "%color| reflected light", "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.buttonDown|block": "button down",
"input.buttonEnter|block": "button enter", "input.buttonEnter|block": "button enter",
"input.buttonLeft|block": "button left", "input.buttonLeft|block": "button left",
@ -35,14 +39,14 @@
"input.touchSensor|block": "touch sensor", "input.touchSensor|block": "touch sensor",
"input|block": "input", "input|block": "input",
"output.getCurrentSpeed|block": "motor %out|speed", "output.getCurrentSpeed|block": "motor %out|speed",
"output.getPattern|block": "%pattern", "output.pattern|block": "%pattern",
"output.setLights|block": "set status light %pattern=led_pattern",
"output.setPower|block": "set motor %out| power to %power", "output.setPower|block": "set motor %out| power to %power",
"output.setSpeed|block": "set motor %out| speed to %speed", "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.switchMotor|block": "turn motor %out|%on",
"output.turn|block": "turn motor %out| on for %ms|milliseconds", "output.turn|block": "turn motor %out| on for %ms|milliseconds",
"output|block": "output", "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", "screen|block": "screen",
"serial|block": "serial", "serial|block": "serial",
"{id:category}Control": "Control", "{id:category}Control": "Control",