updated loc files
This commit is contained in:
parent
0f7323f2da
commit
76d236e4d9
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"bluetooth": "Support for additional Bluetooth services.",
|
||||||
"bluetooth.onBluetoothConnected": "Register code to run when the micro:bit is connected to over Bluetooth",
|
"bluetooth.onBluetoothConnected": "Register code to run when the micro:bit is connected to over Bluetooth",
|
||||||
"bluetooth.onBluetoothConnected|param|body": "Code to run when a Bluetooth connection is established",
|
"bluetooth.onBluetoothConnected|param|body": "Code to run when a Bluetooth connection is established",
|
||||||
"bluetooth.onBluetoothDisconnected": "Register code to run when a bluetooth connection to the micro:bit is lost",
|
"bluetooth.onBluetoothDisconnected": "Register code to run when a bluetooth connection to the micro:bit is lost",
|
||||||
@ -10,6 +11,10 @@
|
|||||||
"bluetooth.startMagnetometerService": "Starts the Bluetooth magnetometer service",
|
"bluetooth.startMagnetometerService": "Starts the Bluetooth magnetometer service",
|
||||||
"bluetooth.startTemperatureService": "Starts the Bluetooth temperature service",
|
"bluetooth.startTemperatureService": "Starts the Bluetooth temperature service",
|
||||||
"bluetooth.startUartService": "Starts the Bluetooth UART service",
|
"bluetooth.startUartService": "Starts the Bluetooth UART service",
|
||||||
"bluetooth.uartRead": "Reads from the Bluetooth UART service buffer, returning its contents when the specified delimiter character is encountered.",
|
"bluetooth.uartReadUntil": "Reads from the Bluetooth UART service buffer, returning its contents when the specified delimiter character is encountered.",
|
||||||
"bluetooth.uartWrite": "Writes to the Bluetooth UART service buffer. From there the data is transmitted over Bluetooth to a connected device."
|
"bluetooth.uartWriteNumber": "Prints a numeric value to the serial",
|
||||||
|
"bluetooth.uartWriteString": "Writes to the Bluetooth UART service buffer. From there the data is transmitted over Bluetooth to a connected device.",
|
||||||
|
"bluetooth.uartWriteValue": "Writes a ``name: value`` pair line to the serial.",
|
||||||
|
"bluetooth.uartWriteValue|param|name": "name of the value stream, eg: x",
|
||||||
|
"bluetooth.uartWriteValue|param|value": "to write"
|
||||||
}
|
}
|
@ -8,7 +8,10 @@
|
|||||||
"bluetooth.startMagnetometerService|block": "bluetooth magnetometer service",
|
"bluetooth.startMagnetometerService|block": "bluetooth magnetometer service",
|
||||||
"bluetooth.startTemperatureService|block": "bluetooth temperature service",
|
"bluetooth.startTemperatureService|block": "bluetooth temperature service",
|
||||||
"bluetooth.startUartService|block": "bluetooth uart service",
|
"bluetooth.startUartService|block": "bluetooth uart service",
|
||||||
"bluetooth.uartRead|block": "bluetooth uart read %del=bluetooth_uart_delimiter_conv",
|
"bluetooth.uartReadUntil|block": "bluetooth uart|read until %del=serial_delimiter_conv",
|
||||||
"bluetooth.uartWrite|block": "bluetooth uart write %data",
|
"bluetooth.uartWriteNumber|block": "bluetooth uart|write number %value",
|
||||||
"bluetooth|block": "bluetooth"
|
"bluetooth.uartWriteString|block": "bluetooth uart|write string %data",
|
||||||
|
"bluetooth.uartWriteValue|block": "bluetooth uart|write value %name|= %value",
|
||||||
|
"bluetooth|block": "bluetooth",
|
||||||
|
"{id:category}Bluetooth": "Bluetooth"
|
||||||
}
|
}
|
@ -161,6 +161,8 @@
|
|||||||
"pins.spiWrite|param|value": "Data to be sent to the SPI slave",
|
"pins.spiWrite|param|value": "Data to be sent to the SPI slave",
|
||||||
"serial": "Reading and writing data over a serial connection.",
|
"serial": "Reading and writing data over a serial connection.",
|
||||||
"serial.readLine": "Reads a line of text from the serial port.",
|
"serial.readLine": "Reads a line of text from the serial port.",
|
||||||
|
"serial.readUntil": "Reads a line of text from the serial port and returns the buffer when the delimiter is met.",
|
||||||
|
"serial.readUntil|param|delimiter": "text delimiter that separates each text chunk",
|
||||||
"serial.redirect": "Dynamically configuring the serial instance to use pins other than USBTX and USBRX.",
|
"serial.redirect": "Dynamically configuring the serial instance to use pins other than USBTX and USBRX.",
|
||||||
"serial.redirect|param|rx": "the new reception pin",
|
"serial.redirect|param|rx": "the new reception pin",
|
||||||
"serial.redirect|param|tx": "the new transmission pins",
|
"serial.redirect|param|tx": "the new transmission pins",
|
||||||
|
@ -70,11 +70,22 @@
|
|||||||
"pins.setPull|block": "set pull|pin %pin|to %pull",
|
"pins.setPull|block": "set pull|pin %pin|to %pull",
|
||||||
"pins.spiWrite|block": "spi write %value",
|
"pins.spiWrite|block": "spi write %value",
|
||||||
"pins|block": "pins",
|
"pins|block": "pins",
|
||||||
"serial.readLine|block": "serial read line",
|
"serial.readLine|block": "serial|read line",
|
||||||
"serial.redirect|block": "serial redirect to|TX %tx|RX %rx|at baud rate %rate",
|
"serial.readUntil|block": "serial|read until %delimiter=serial_delimiter_conv",
|
||||||
|
"serial.redirect|block": "serial|redirect to|TX %tx|RX %rx|at baud rate %rate",
|
||||||
"serial.writeLine|block": "serial|write line %text",
|
"serial.writeLine|block": "serial|write line %text",
|
||||||
"serial.writeNumber|block": "serial|write number %value",
|
"serial.writeNumber|block": "serial|write number %value",
|
||||||
"serial.writeString|block": "serial write string %text",
|
"serial.writeString|block": "serial|write string %text",
|
||||||
"serial.writeValue|block": "serial|write value %name|= %value",
|
"serial.writeValue|block": "serial|write value %name|= %value",
|
||||||
"serial|block": "serial"
|
"serial|block": "serial",
|
||||||
|
"{id:category}Basic": "Basic",
|
||||||
|
"{id:category}Control": "Control",
|
||||||
|
"{id:category}Game": "Game",
|
||||||
|
"{id:category}Images": "Images",
|
||||||
|
"{id:category}Input": "Input",
|
||||||
|
"{id:category}Led": "Led",
|
||||||
|
"{id:category}Math": "Math",
|
||||||
|
"{id:category}Music": "Music",
|
||||||
|
"{id:category}Pins": "Pins",
|
||||||
|
"{id:category}Serial": "Serial"
|
||||||
}
|
}
|
@ -6,5 +6,6 @@
|
|||||||
"devices.signalStrength|block": "signal strength",
|
"devices.signalStrength|block": "signal strength",
|
||||||
"devices.tellCameraTo|block": "tell camera to|%property",
|
"devices.tellCameraTo|block": "tell camera to|%property",
|
||||||
"devices.tellRemoteControlTo|block": "tell remote control to|%property",
|
"devices.tellRemoteControlTo|block": "tell remote control to|%property",
|
||||||
"devices|block": "devices"
|
"devices|block": "devices",
|
||||||
|
"{id:category}Devices": "Devices"
|
||||||
}
|
}
|
@ -15,5 +15,6 @@
|
|||||||
"radio.setTransmitPower": "Change the output power level of the transmitter to the given value.",
|
"radio.setTransmitPower": "Change the output power level of the transmitter to the given value.",
|
||||||
"radio.setTransmitPower|param|power": "a value in the range 0..7, where 0 is the lowest power and 7 is the highest. eg: 7",
|
"radio.setTransmitPower|param|power": "a value in the range 0..7, where 0 is the lowest power and 7 is the highest. eg: 7",
|
||||||
"radio.setTransmitSerialNumber": "Set the radio to transmit the serial number in each message.",
|
"radio.setTransmitSerialNumber": "Set the radio to transmit the serial number in each message.",
|
||||||
|
"radio.setTransmitSerialNumber|param|transmit": "value indicating if the serial number is transmitted, eg: true",
|
||||||
"radio.writeValueToSerial": "Reads a value sent with `stream value` and writes it\nto the serial stream as JSON"
|
"radio.writeValueToSerial": "Reads a value sent with `stream value` and writes it\nto the serial stream as JSON"
|
||||||
}
|
}
|
@ -2,7 +2,6 @@
|
|||||||
"radio.onDataReceived|block": "radio on data received",
|
"radio.onDataReceived|block": "radio on data received",
|
||||||
"radio.receiveNumber|block": "radio receive number",
|
"radio.receiveNumber|block": "radio receive number",
|
||||||
"radio.receiveString|block": "radio receive string",
|
"radio.receiveString|block": "radio receive string",
|
||||||
"radio.receivedNumberAt|block": "radio receive number|at %VALUE",
|
|
||||||
"radio.receivedSignalStrength|block": "radio received signal strength",
|
"radio.receivedSignalStrength|block": "radio received signal strength",
|
||||||
"radio.sendNumber|block": "radio send number %value",
|
"radio.sendNumber|block": "radio send number %value",
|
||||||
"radio.sendString|block": "radio send string %msg",
|
"radio.sendString|block": "radio send string %msg",
|
||||||
@ -11,5 +10,6 @@
|
|||||||
"radio.setTransmitPower|block": "radio set transmit power %power",
|
"radio.setTransmitPower|block": "radio set transmit power %power",
|
||||||
"radio.setTransmitSerialNumber|block": "radio set transmit serial number %transmit",
|
"radio.setTransmitSerialNumber|block": "radio set transmit serial number %transmit",
|
||||||
"radio.writeValueToSerial|block": "radio write value to serial",
|
"radio.writeValueToSerial|block": "radio write value to serial",
|
||||||
"radio|block": "radio"
|
"radio|block": "radio",
|
||||||
|
"{id:category}Radio": "Radio"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user