updated strings

This commit is contained in:
Peli de Halleux 2016-05-06 14:17:39 -07:00
parent b9f66c5c6b
commit b33d0ba470

View File

@ -1,79 +1,81 @@
{ {
"A single-LED sprite game engine": "A single-LED sprite game engine", "basic": "Provides access to basic micro:bit functionality.",
"Adds points to the current score": "Adds points to the current score", "basic.clearScreen": "Turn off all LEDs",
"Attaches code to run when the device is shaken.": "Attaches code to run when the device is shaken.", "basic.forever": "Repeats the code forever in the background. On each iteration, allows other codes to run.",
"Attaches code to run when the logo is oriented downwards and the board is vertical.": "Attaches code to run when the logo is oriented downwards and the board is vertical.", "basic.pause": "Pause for the specified time in milliseconds",
"Attaches code to run when the logo is oriented upwards and the board is vertical.": "Attaches code to run when the logo is oriented upwards and the board is vertical.", "basic.plotLeds": "Draws an image on the LED screen.",
"Attaches code to run when the screen is facing down.": "Attaches code to run when the screen is facing down.", "basic.showAnimation": "Shows a sequence of LED screens as an animation.",
"Attaches code to run when the screen is facing up.": "Attaches code to run when the screen is facing up.", "basic.showLeds": "Draws an image on the LED screen.",
"Cancels the current animation and clears other pending animations.": "Cancels the current animation and clears other pending animations.", "basic.showNumber": "Scroll a number on the screen. If the number fits on the screen (i.e. is a single digit), do not scroll.",
"Change the tempo by the specified amount": "Change the tempo by the specified amount", "basic.showString": "Display text on the display, one character at a time. If the string fits on the screen (i.e. is one letter), does not scroll.",
"Configures the Pulse-width modulation (PWM) of the analog output to the given value in **microseconds** or `1/1000` milliseconds.\nIf this pin is not configured as an analog output (using `analog write pin`), the operation has no effect.": "Configures the Pulse-width modulation (PWM) of the analog output to the given value in **microseconds** or `1/1000` milliseconds.\nIf this pin is not configured as an analog output (using `analog write pin`), the operation has no effect.", "control": "Runtime and event utilities.",
"Configures this IO pin as an analog/pwm output, configures the period to be 20 ms, and sets the pulse width, based on the value it is given **microseconds** or `1/1000` milliseconds.": "Configures this IO pin as an analog/pwm output, configures the period to be 20 ms, and sets the pulse width, based on the value it is given **microseconds** or `1/1000` milliseconds.", "control.inBackground": "Schedules code that run in the background.",
"Control currents in Pins for analog/digital signals, servos, i2c, ...": "Control currents in Pins for analog/digital signals, servos, i2c, ...", "control.reset": "Resets the BBC micro:bit.",
"Control of the LED screen.": "Control of the LED screen.", "game": "A single-LED sprite game engine",
"Creates an image that fits on the LED screen.": "Creates an image that fits on the LED screen.", "game.addScore": "Adds points to the current score",
"Creates an image with 2 frames.": "Creates an image with 2 frames.", "game.gameOver": "Displays a game over animation.",
"Creation, manipulation and display of LED images.": "Creation, manipulation and display of LED images.", "game.score": "Gets the current score",
"Display text on the display, one character at a time. If the string fits on the screen (i.e. is one letter), does not scroll.": "Display text on the display, one character at a time. If the string fits on the screen (i.e. is one letter), does not scroll.", "game.setScore": "Sets the current score value",
"Displays a game over animation.": "Displays a game over animation.", "game.startCountdown": "Starts a game countdown timer",
"Displays a vertical bar graph based on the `value` and `high` value.\nIf `high` is 0, the chart gets adjusted automatically.": "Displays a vertical bar graph based on the `value` and `high` value.\nIf `high` is 0, the chart gets adjusted automatically.", "images": "Creation, manipulation and display of LED images.",
"Do something when a button (``A``, ``B`` or both ``A+B``) is pressed": "Do something when a button (``A``, ``B`` or both ``A+B``) is pressed", "images.createBigImage": "Creates an image with 2 frames.",
"Do something when a pin(``P0``, ``P1`` or both ``P2``) is pressed.": "Do something when a pin(``P0``, ``P1`` or both ``P2``) is pressed.", "images.createImage": "Creates an image that fits on the LED screen.",
"Draws an image on the LED screen.": "Draws an image on the LED screen.", "input": "Events and data from sensors",
"Emits a Pulse-width modulation (PWM) signal to the current pitch pin. Use `analog set pitch pin` to define the pitch pin.": "Emits a Pulse-width modulation (PWM) signal to the current pitch pin. Use `analog set pitch pin` to define the pitch pin.", "input.acceleration": "Get the acceleration value in milli-gravitys (when the board is laying flat with the screen up, x=0, y=0 and z=-1024)",
"Events and data from sensors": "Events and data from sensors", "input.buttonIsPressed": "Get the button state (pressed or not) for ``A`` and ``B``.",
"Fades in the screen display.": "Fades in the screen display.", "input.calibrate": "Obsolete, compass calibration is automatic.",
"Fades out the screen brightness.": "Fades out the screen brightness.", "input.compassHeading": "Get the current compass compass heading in degrees.",
"Generation of music tones through pin ``P0``.": "Generation of music tones through pin ``P0``.", "input.lightLevel": "Reads the light level applied to the LED screen in a range from ``0`` (dark) to ``255`` bright.",
"Get the acceleration value in milli-gravitys (when the board is laying flat with the screen up, x=0, y=0 and z=-1024)": "Get the acceleration value in milli-gravitys (when the board is laying flat with the screen up, x=0, y=0 and z=-1024)", "input.magneticForce": "Get the magnetic force value in ``micro-Teslas`` (``µT``). This function is not supported in the simulator.",
"Get the button state (pressed or not) for ``A`` and ``B``.": "Get the button state (pressed or not) for ``A`` and ``B``.", "input.onButtonPressed": "Do something when a button (``A``, ``B`` or both ``A+B``) is pressed",
"Get the current compass compass heading in degrees.": "Get the current compass compass heading in degrees.", "input.onGesture": "Attaches code to run when the screen is facing up.",
"Get the magnetic force value in ``micro-Teslas`` (``µT``). This function is not supported in the simulator.": "Get the magnetic force value in ``micro-Teslas`` (``µT``). This function is not supported in the simulator.", "input.onLogoDown": "Attaches code to run when the logo is oriented downwards and the board is vertical.",
"Get the on/off state of the specified LED using x, y coordinates. (0,0) is upper left.": "Get the on/off state of the specified LED using x, y coordinates. (0,0) is upper left.", "input.onLogoUp": "Attaches code to run when the logo is oriented upwards and the board is vertical.",
"Get the pin state (pressed or not). Requires to hold the ground to close the circuit.": "Get the pin state (pressed or not). Requires to hold the ground to close the circuit.", "input.onPinPressed": "Do something when a pin(``P0``, ``P1`` or both ``P2``) is pressed.",
"Get the screen brightness from 0 (off) to 255 (full bright).": "Get the screen brightness from 0 (off) to 255 (full bright).", "input.onScreenDown": "Attaches code to run when the screen is facing down.",
"Gets the current score": "Gets the current score", "input.onScreenUp": "Attaches code to run when the screen is facing up.",
"Gets the frequency of a note.": "Gets the frequency of a note.", "input.onShake": "Attaches code to run when the device is shaken.",
"Gets the number of milliseconds elapsed since power on.": "Gets the number of milliseconds elapsed since power on.", "input.pinIsPressed": "Get the pin state (pressed or not). Requires to hold the ground to close the circuit.",
"Gets the temperature in Celsius degrees (°C).": "Gets the temperature in Celsius degrees (°C).", "input.rotation": "The pitch of the device, rotation along the ``x-axis``, in degrees.",
"Inverts the current LED display": "Inverts the current LED display", "input.runningTime": "Gets the number of milliseconds elapsed since power on.",
"Obsolete, compass calibration is automatic.": "Obsolete, compass calibration is automatic.", "input.setAccelerometerRange": "Sets the accelerometer sample range in gravities.",
"Pause for the specified time in milliseconds": "Pause for the specified time in milliseconds", "input.temperature": "Gets the temperature in Celsius degrees (°C).",
"Plays a tone through pin ``P0`` for the given duration.": "Plays a tone through pin ``P0`` for the given duration.", "led": "Control of the LED screen.",
"Plays a tone through pin ``P0``.": "Plays a tone through pin ``P0``.", "led.brightness": "Get the screen brightness from 0 (off) to 255 (full bright).",
"Prints a line of text to the serial": "Prints a line of text to the serial", "led.fadeIn": "Fades in the screen display.",
"Provides access to basic micro:bit functionality.": "Provides access to basic micro:bit functionality.", "led.fadeOut": "Fades out the screen brightness.",
"Re-maps a number from one range to another. That is, a value of ``from low`` would get mapped to ``to low``, a value of ``from high`` to ``to high``, values in-between to values in-between, etc.": "Re-maps a number from one range to another. That is, a value of ``from low`` would get mapped to ``to low``, a value of ``from high`` to ``to high``, values in-between to values in-between, etc.", "led.plot": "Turn on the specified LED using x, y coordinates (x is horizontal, y is vertical). (0,0) is upper left.",
"Read the connector value as analog, that is, as a value comprised between 0 and 1023.": "Read the connector value as analog, that is, as a value comprised between 0 and 1023.", "led.plotAll": "Turns all LEDS on",
"Read the specified pin or connector as either 0 or 1": "Read the specified pin or connector as either 0 or 1", "led.plotBarGraph": "Displays a vertical bar graph based on the `value` and `high` value.\nIf `high` is 0, the chart gets adjusted automatically.",
"Reading and writing data over a serial connection.": "Reading and writing data over a serial connection.", "led.point": "Get the on/off state of the specified LED using x, y coordinates. (0,0) is upper left.",
"Reads the light level applied to the LED screen in a range from ``0`` (dark) to ``255`` bright.": "Reads the light level applied to the LED screen in a range from ``0`` (dark) to ``255`` bright.", "led.screenshot": "Takes a screenshot of the LED screen and returns an image.",
"Repeats the code forever in the background. On each iteration, allows other codes to run.": "Repeats the code forever in the background. On each iteration, allows other codes to run.", "led.setBrightness": "Set the screen brightness from 0 (off) to 255 (full bright).",
"Resets the BBC micro:bit.": "Resets the BBC micro:bit.", "led.setDisplayMode": "Sets the display mode between black and white and greyscale for rendering LEDs.",
"Rests (plays nothing) for a specified time through pin ``P0``.": "Rests (plays nothing) for a specified time through pin ``P0``.", "led.stopAnimation": "Cancels the current animation and clears other pending animations.",
"Returns the duration of a beat in milli-seconds": "Returns the duration of a beat in milli-seconds", "led.toggle": "Toggles a particular pixel",
"Returns the tempo in beats per minute. Tempo is the speed (bpm = beats per minute) at which notes play. The larger the tempo value, the faster the notes will play.": "Returns the tempo in beats per minute. Tempo is the speed (bpm = beats per minute) at which notes play. The larger the tempo value, the faster the notes will play.", "led.toggleAll": "Inverts the current LED display",
"Runtime and event utilities.": "Runtime and event utilities.", "led.unplot": "Turn off the specified LED using x, y coordinates (x is horizontal, y is vertical). (0,0) is upper left.",
"Schedules code that run in the background.": "Schedules code that run in the background.", "music": "Generation of music tones through pin ``P0``.",
"Scroll a number on the screen. If the number fits on the screen (i.e. is a single digit), do not scroll.": "Scroll a number on the screen. If the number fits on the screen (i.e. is a single digit), do not scroll.", "music.beat": "Returns the duration of a beat in milli-seconds",
"Set a pin or connector value to either 0 or 1.": "Set a pin or connector value to either 0 or 1.", "music.changeTempoBy": "Change the tempo by the specified amount",
"Set the connector value as analog. Value must be comprised between 0 and 1023.": "Set the connector value as analog. Value must be comprised between 0 and 1023.", "music.noteFrequency": "Gets the frequency of a note.",
"Set the screen brightness from 0 (off) to 255 (full bright).": "Set the screen brightness from 0 (off) to 255 (full bright).", "music.playTone": "Plays a tone through pin ``P0`` for the given duration.",
"Sets the accelerometer sample range in gravities.": "Sets the accelerometer sample range in gravities.", "music.rest": "Rests (plays nothing) for a specified time through pin ``P0``.",
"Sets the current score value": "Sets the current score value", "music.ringTone": "Plays a tone through pin ``P0``.",
"Sets the display mode between black and white and greyscale for rendering LEDs.": "Sets the display mode between black and white and greyscale for rendering LEDs.", "music.setTempo": "Sets the tempo to the specified amount",
"Sets the pin used when using `pins->analog pitch`.": "Sets the pin used when using `pins->analog pitch`.", "music.tempo": "Returns the tempo in beats per minute. Tempo is the speed (bpm = beats per minute) at which notes play. The larger the tempo value, the faster the notes will play.",
"Sets the tempo to the specified amount": "Sets the tempo to the specified amount", "pins": "Control currents in Pins for analog/digital signals, servos, i2c, ...",
"Shows a sequence of LED screens as an animation.": "Shows a sequence of LED screens as an animation.", "pins.analogPitch": "Emits a Pulse-width modulation (PWM) signal to the current pitch pin. Use `analog set pitch pin` to define the pitch pin.",
"Starts a game countdown timer": "Starts a game countdown timer", "pins.analogReadPin": "Read the connector value as analog, that is, as a value comprised between 0 and 1023.",
"Takes a screenshot of the LED screen and returns an image.": "Takes a screenshot of the LED screen and returns an image.", "pins.analogSetPeriod": "Configures the Pulse-width modulation (PWM) of the analog output to the given value in **microseconds** or `1/1000` milliseconds.\nIf this pin is not configured as an analog output (using `analog write pin`), the operation has no effect.",
"The pitch of the device, rotation along the ``x-axis``, in degrees.": "The pitch of the device, rotation along the ``x-axis``, in degrees.", "pins.analogSetPitchPin": "Sets the pin used when using `pins->analog pitch`.",
"Toggles a particular pixel": "Toggles a particular pixel", "pins.analogWritePin": "Set the connector value as analog. Value must be comprised between 0 and 1023.",
"Turn off all LEDs": "Turn off all LEDs", "pins.digitalReadPin": "Read the specified pin or connector as either 0 or 1",
"Turn off the specified LED using x, y coordinates (x is horizontal, y is vertical). (0,0) is upper left.": "Turn off the specified LED using x, y coordinates (x is horizontal, y is vertical). (0,0) is upper left.", "pins.digitalWritePin": "Set a pin or connector value to either 0 or 1.",
"Turn on the specified LED using x, y coordinates (x is horizontal, y is vertical). (0,0) is upper left.": "Turn on the specified LED using x, y coordinates (x is horizontal, y is vertical). (0,0) is upper left.", "pins.map": "Re-maps a number from one range to another. That is, a value of ``from low`` would get mapped to ``to low``, a value of ``from high`` to ``to high``, values in-between to values in-between, etc.",
"Turns all LEDS on": "Turns all LEDS on", "pins.servoSetPulse": "Configures this IO pin as an analog/pwm output, configures the period to be 20 ms, and sets the pulse width, based on the value it is given **microseconds** or `1/1000` milliseconds.",
"Writes a ``name: value`` pair line to the serial.": "Writes a ``name: value`` pair line to the serial.", "pins.servoWritePin": "Writes a value to the servo, controlling the shaft accordingly. On a standard servo, this will set the angle of the shaft (in degrees), moving the shaft to that orientation. On a continuous rotation servo, this will set the speed of the servo (with ``0`` being full-speed in one direction, ``180`` being full speed in the other, and a value near ``90`` being no movement).",
"Writes a value to the servo, controlling the shaft accordingly. On a standard servo, this will set the angle of the shaft (in degrees), moving the shaft to that orientation. On a continuous rotation servo, this will set the speed of the servo (with ``0`` being full-speed in one direction, ``180`` being full speed in the other, and a value near ``90`` being no movement).": "Writes a value to the servo, controlling the shaft accordingly. On a standard servo, this will set the angle of the shaft (in degrees), moving the shaft to that orientation. On a continuous rotation servo, this will set the speed of the servo (with ``0`` being full-speed in one direction, ``180`` being full speed in the other, and a value near ``90`` being no movement)." "serial": "Reading and writing data over a serial connection.",
"serial.writeLine": "Prints a line of text to the serial",
"serial.writeValue": "Writes a ``name: value`` pair line to the serial."
} }