pxt-calliope/libs/microbit/_locales/microbit-blocks-strings.json

65 lines
3.1 KiB
JSON
Raw Normal View History

{
"Math.randomBoolean": "pick random true or false",
"String.fromCharCode": "text from char code %code",
"basic.clearScreen": "clear screen",
"basic.forever": "forever",
"basic.pause": "pause (ms) %pause",
"basic.showLeds": "show leds",
"basic.showNumber": "show|number %number",
"basic.showString": "show|string %text",
"control.inBackground": "run in background",
"control.reset": "reset",
"game.addScore": "change score by|%points",
"game.gameOver": "game over",
"game.score": "score",
"game.startCountdown": "start countdown|(ms) %duration",
"images.createBigImage": "create big image",
"images.createImage": "create image",
"input.acceleration": "acceleration (mg)|%NAME",
"input.buttonIsPressed": "button|%NAME|is pressed",
"input.compassHeading": "compass heading (°)",
"input.lightLevel": "light level",
"input.magneticForce": "magnetic force (µT)|%NAME",
"input.onButtonPressed": "on button|%NAME|pressed",
"input.onGesture": "on |%NAME",
"input.onPinPressed": "on pin|%NAME|pressed",
"input.pinIsPressed": "pin|%NAME|is pressed",
"input.rotation": "rotation (°)|%NAME",
"input.runningTime": "running time (ms)",
"input.setAccelerometerRange": "set accelerometer|range %range",
"input.temperature": "temperature (°C)",
"led.brightness": "brightness",
"led.plot": "plot|x %x|y %y",
"led.plotBarGraph": "plot bar graph of %value |up to %high",
"led.point": "point|x %x|y %y",
"led.setBrightness": "set brightness %value",
"led.stopAnimation": "stop animation",
"led.unplot": "unplot|x %x|y %y",
"music.beat": "%fraction|beat",
"music.changeTempoBy": "change tempo by (bpm)|%value",
"music.noteFrequency": "%note",
"music.playTone": "play|tone %note=device_note|for %duration=device_beat",
"music.rest": "rest(ms)|%duration=device_beat",
"music.ringTone": "ring tone (Hz)|%note=device_note",
"music.setTempo": "set tempo to (bpm)|%value",
"music.tempo": "tempo (bpm)",
"pins.analogReadPin": "analog read|pin %name",
"pins.analogSetPeriod": "analog set period|pin %pin|to (µs)%micros",
"pins.analogWritePin": "analog write|pin %name|to %value",
"pins.digitalReadPin": "digital read|pin %name",
"pins.digitalWritePin": "digital write|pin %name|to %value",
"pins.i2cReadNumber": "i2c read number|at address %address|of format %format=i2c_sizeof",
"pins.i2cWriteNumber": "i2c write number|at address %address|with value %value|of format %format=i2c_sizeof",
"pins.map": "map %value|from low %fromLow|from high %fromHigh|to low %toLow|to high %toHigh",
"pins.onPulsed": "on|pin %pin|pulsed %pulse",
"pins.pulseDuration": "pulse duration (µs)",
"pins.servoSetPulse": "servo set pulse|pin %value|to (µs) %micros",
"pins.servoWritePin": "servo write|pin %name|to %value",
"pins.setPull": "set pull|pin %pin|to %pull",
"serial.readLine": "serial read line",
"serial.redirect": "serial redirect to|TX %tx|RX %rx|at baud rate %rate",
"serial.writeLine": "serial|write line %text",
"serial.writeNumber": "serial|write number %value",
"serial.writeString": "serial write string %text",
"serial.writeValue": "serial|write value %name|= %value"
}