@@ -29,6 +29,7 @@ goog.require('Blockly.Msg');
2929 * message descriptor. The build process extracts these descriptors, adds
3030 * them to msg/json/qqq_ardublockly.json, and they show up in the translation
3131 * console.
32+ * Note the strings have to be surrounded by single quotation marks: ''
3233 */
3334
3435/// Ardublockly Types
@@ -79,7 +80,7 @@ Blockly.Msg.ARD_SERIAL_SETUP_TIP = 'Selects the speed for a specific Serial peri
7980Blockly . Msg . ARD_SERIAL_PRINT = 'print' ;
8081Blockly . Msg . ARD_SERIAL_PRINT_NEWLINE = 'add new line' ;
8182Blockly . Msg . ARD_SERIAL_PRINT_TIP = 'Prints data to the console/serial port as human-readable ASCII text.' ;
82- Blockly . Msg . ARD_SERIAL_PRINT_WARN = 'A setup block for %1 must be added to the workspace to use this block!'
83+ Blockly . Msg . ARD_SERIAL_PRINT_WARN = 'A setup block for %1 must be added to the workspace to use this block!' ;
8384Blockly . Msg . ARD_SERVO_WRITE = 'set SERVO from Pin' ;
8485Blockly . Msg . ARD_SERVO_WRITE_TO = 'to' ;
8586Blockly . Msg . ARD_SERVO_WRITE_DEG_180 = 'Degrees (0~180)' ;
@@ -108,13 +109,13 @@ Blockly.Msg.ARD_SPI_TRANSRETURN_TIP = 'Send a SPI message to an specified slave
108109Blockly . Msg . ARD_STEPPER_SETUP = 'Setup stepper motor' ;
109110Blockly . Msg . ARD_STEPPER_MOTOR = 'stepper motor:' ;
110111Blockly . Msg . ARD_STEPPER_DEFAULT_NAME = 'MyStepper' ;
111- Blockly . Msg . ARD_STEPPER_NUMBER_OF_PINS = " Number of pins" ;
112- Blockly . Msg . ARD_STEPPER_TWO_PINS = "2" ;
113- Blockly . Msg . ARD_STEPPER_FOUR_PINS = "4" ;
112+ Blockly . Msg . ARD_STEPPER_NUMBER_OF_PINS = ' Number of pins' ;
113+ Blockly . Msg . ARD_STEPPER_TWO_PINS = '2' ;
114+ Blockly . Msg . ARD_STEPPER_FOUR_PINS = '4' ;
114115Blockly . Msg . ARD_STEPPER_PIN1 = 'pin1#' ;
115116Blockly . Msg . ARD_STEPPER_PIN2 = 'pin2#' ;
116- Blockly . Msg . ARD_STEPPER_PIN3 = " pin3#" ;
117- Blockly . Msg . ARD_STEPPER_PIN4 = " pin4#" ;
117+ Blockly . Msg . ARD_STEPPER_PIN3 = ' pin3#' ;
118+ Blockly . Msg . ARD_STEPPER_PIN4 = ' pin4#' ;
118119Blockly . Msg . ARD_STEPPER_REVOLVS = 'how many steps per revolution' ;
119120Blockly . Msg . ARD_STEPPER_SPEED = 'set speed (rpm) to' ;
120121Blockly . Msg . ARD_STEPPER_SETUP_TIP = 'Configures a stepper motor pinout and other settings.' ;
@@ -133,7 +134,7 @@ Blockly.Msg.ARD_TIME_MILLIS_TIP = 'Returns the number of milliseconds since the
133134Blockly . Msg . ARD_TIME_MICROS = 'current elapsed Time (microseconds)' ;
134135Blockly . Msg . ARD_TIME_MICROS_TIP = 'Returns the number of microseconds since the Arduino board began running the current program. Has to be stored in a positive long integer' ;
135136Blockly . Msg . ARD_TIME_INF = 'wait forever (end program)' ;
136- Blockly . Msg . ARD_TIME_INF_TIP = 'Wait indefinitely, stopping the program.'
137+ Blockly . Msg . ARD_TIME_INF_TIP = 'Wait indefinitely, stopping the program.' ;
137138Blockly . Msg . ARD_VAR_AS = 'as' ;
138139Blockly . Msg . ARD_VAR_AS_TIP = 'Sets a value to a specific type' ;
139140Blockly . Msg . ARD_PULSEREAD = 'Read' ;
0 commit comments