microbit_messages.js 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100
  1. 'use strict';
  2. goog.provide('Blockly.Msg.en');
  3. goog.require('Blockly.Msg');
  4. Blockly.Msg.MICROBIT_MU_INIT_HELPURL = '';
  5. Blockly.Msg.MICROBIT_MU_INIT_TOOLTIP = '';
  6. Blockly.Msg.MICROBIT_MU_INIT_MESSAGE0 = 'Initialize MU vision sensor at address %1';
  7. Blockly.Msg.MICROBIT_MU_BEGIN_HELPURL = '';
  8. Blockly.Msg.MICROBIT_MU_BEGIN_TOOLTIP = '';
  9. Blockly.Msg.MICROBIT_MU_BEGIN_MESSAGE0 = 'Open algorithm %1';
  10. Blockly.Msg.MICROBIT_MU_VISION_TYPE_MESSAGE0 = '%1 Color Detect %2 Color Recognition %3 %4 Ball Detect %5 Body Detect %6 %7 Shape Card Detect %8 Traffic Card Detect %9 %10 Num Card Detect %11 All Algorithms';
  11. Blockly.Msg.MICROBIT_MU_VISION_COLOR_DETECT = 'Color Detect';
  12. Blockly.Msg.MICROBIT_MU_VISION_COLOR_RECOGNITION = 'Color Recognition';
  13. Blockly.Msg.MICROBIT_MU_VISION_BALL_DETECT = 'Ball Detect';
  14. Blockly.Msg.MICROBIT_MU_VISION_BODY_DETECT = 'Body Detect';
  15. Blockly.Msg.MICROBIT_MU_VISION_SHAPE_CARD_DETECT = 'Shape Card Detect';
  16. Blockly.Msg.MICROBIT_MU_VISION_TRAFFIC_CARD_DETECT = 'Traffic Card Detect';
  17. Blockly.Msg.MICROBIT_MU_VISION_NUM_CARD_DETECT = 'Num Card Detect';
  18. Blockly.Msg.MICROBIT_MU_VISION_ALL = 'All Algorithms';
  19. Blockly.Msg.MICROBIT_MU_LEVEL_DEFAULT = 'Default';
  20. Blockly.Msg.MICROBIT_MU_LEVEL_SPEED = 'Speed priority';
  21. Blockly.Msg.MICROBIT_MU_LEVEL_BALANCE = 'Balance';
  22. Blockly.Msg.MICROBIT_MU_LEVEL_ACCURACY = 'Accuracy priority';
  23. Blockly.Msg.MICROBIT_MU_SET_LEVEL_HELPURL = '';
  24. Blockly.Msg.MICROBIT_MU_SET_LEVEL_TOOLTIP = '';
  25. Blockly.Msg.MICROBIT_MU_SET_LEVEL_MESSAGE0 = 'Set level of algorithm %1 as %2';
  26. Blockly.Msg.MICROBIT_MU_GET_LEVEL_HELPURL = '';
  27. Blockly.Msg.MICROBIT_MU_GET_LEVEL_TOOLTIP = '';
  28. Blockly.Msg.MICROBIT_MU_GET_LEVEL_MESSAGE0 = 'Get level of algorithm %1';
  29. Blockly.Msg.MICROBIT_MU_FPS_NORMAL = 'FPSNormal';
  30. Blockly.Msg.MICROBIT_MU_FPS_HIGH = 'FPSHigh';
  31. Blockly.Msg.MICROBIT_MU_SET_FPS_MODE_MESSAGE0 = 'Set camera FPS mode as %1';
  32. Blockly.Msg.MICROBIT_MU_SET_FPS_MODE_TOOLTIP = 'In FPSHigh mode, recognition speed increases while power consumption increases';
  33. Blockly.Msg.MICROBIT_MU_SET_FPS_MODE_HELPURL = '';
  34. Blockly.Msg.MICROBIT_MU_GET_FPS_MODE_MESSAGE0 = 'Get camera FPS mode';
  35. Blockly.Msg.MICROBIT_MU_GET_FPS_MODE_TOOLTIP = '';
  36. Blockly.Msg.MICROBIT_MU_GET_FPS_MODE_HELPURL = '';
  37. Blockly.Msg.MICROBIT_MU_AUTO_WHITE_BALANCE = 'Auto white balance';
  38. Blockly.Msg.MICROBIT_MU_LOCK_WHITE_BALANCE = 'Lock white balance';
  39. Blockly.Msg.MICROBIT_MU_WHITE_LIGHT = 'White light';
  40. Blockly.Msg.MICROBIT_MU_YELLOW_LIGHT = 'Yellow light';
  41. Blockly.Msg.MICROBIT_MU_SET_AWB_MODE_MESSAGE0 = 'Set camera white balance mode as %1';
  42. Blockly.Msg.MICROBIT_MU_SET_AWB_MODE_TOOLTIP = 'Adjust image color cast caused by changes in external light sources';
  43. Blockly.Msg.MICROBIT_MU_SET_AWB_MODE_HELPURL = '';
  44. Blockly.Msg.MICROBIT_MU_GET_AWB_MODE_MESSAGE0 = 'Get camera white balance mode';
  45. Blockly.Msg.MICROBIT_MU_GET_AWB_MODE_TOOLTIP = '';
  46. Blockly.Msg.MICROBIT_MU_GET_AWB_MODE_HELPURL = '';
  47. Blockly.Msg.MICROBIT_MU_ZOOM_DEFAULT = 'ZoomDefault';
  48. Blockly.Msg.MICROBIT_MU_ZOOM_1 = 'Zoom1';
  49. Blockly.Msg.MICROBIT_MU_ZOOM_2 = 'Zoom2';
  50. Blockly.Msg.MICROBIT_MU_ZOOM_3 = 'Zoom3';
  51. Blockly.Msg.MICROBIT_MU_ZOOM_4 = 'Zoom4';
  52. Blockly.Msg.MICROBIT_MU_ZOOM_5 = 'Zoom5';
  53. Blockly.Msg.MICROBIT_MU_SET_ZOOM_MODE_MESSAGE0 = 'Set camera zoom mode as %1';
  54. Blockly.Msg.MICROBIT_MU_SET_ZOOM_MODE_TOOLTIP = '';
  55. Blockly.Msg.MICROBIT_MU_SET_ZOOM_MODE_HELPURL = '';
  56. Blockly.Msg.MICROBIT_MU_GET_ZOOM_MODE_MESSAGE0 = 'Get camera zoom mode';
  57. Blockly.Msg.MICROBIT_MU_GET_ZOOM_MODE_TOOLTIP = '';
  58. Blockly.Msg.MICROBIT_MU_GET_ZOOM_MODE_HELPURL = '';
  59. Blockly.Msg.MICROBIT_MU_SET_DEFAULT_MESSAGE0 = 'Rrestore sensor default settings';
  60. Blockly.Msg.MICROBIT_MU_SET_DEFAULT_TOOLTIP = 'Close all algorithms and reset all hardware settings';
  61. Blockly.Msg.MICROBIT_MU_SET_DEFAULT_HELPURL = '';
  62. Blockly.Msg.MICROBIT_MU_RESTART_MESSAGE0 = 'Restart sensor';
  63. Blockly.Msg.MICROBIT_MU_RESTART_TOOLTIP = '';
  64. Blockly.Msg.MICROBIT_MU_RESTART_HELPURL = '';
  65. Blockly.Msg.MICROBIT_MU_LED_CLOSE = 'Close';
  66. Blockly.Msg.MICROBIT_MU_LED_RED = 'Red';
  67. Blockly.Msg.MICROBIT_MU_LED_GREEN = 'Green';
  68. Blockly.Msg.MICROBIT_MU_LED_YELLOW = 'Yellow';
  69. Blockly.Msg.MICROBIT_MU_LED_BLUE = 'Blue';
  70. Blockly.Msg.MICROBIT_MU_LED_PURPLE = 'Purple';
  71. Blockly.Msg.MICROBIT_MU_LED_CYAN = 'Cyan';
  72. Blockly.Msg.MICROBIT_MU_LED_WHITE = 'White';
  73. Blockly.Msg.MICROBIT_MU_LED_SET_COLOR_MESSAGE0 = 'Set %1 brightness as %2 the color when the result is detected is %3 %4 the color when no results are detected is %5';
  74. Blockly.Msg.MICROBIT_MU_LED_SET_COLOR_TOOLTIP = '';
  75. Blockly.Msg.MICROBIT_MU_LED_SET_COLOR_HELPURL = '';
  76. Blockly.Msg.MICROBIT_MU_VALUE_STATUS = 'Status';
  77. Blockly.Msg.MICROBIT_MU_VALUE_XVALUE = 'X coordinate value';
  78. Blockly.Msg.MICROBIT_MU_VALUE_YVALUE = 'Y coordinate value';
  79. Blockly.Msg.MICROBIT_MU_VALUE_WIDTHVALUE = 'Width value';
  80. Blockly.Msg.MICROBIT_MU_VALUE_HEIGHTVALUE = 'Height value';
  81. Blockly.Msg.MICROBIT_MU_VALUE_LABEL = 'Label';
  82. Blockly.Msg.MICROBIT_MU_VALUE_RVALUE = 'Red value (Color Recognition mode)';
  83. Blockly.Msg.MICROBIT_MU_VALUE_GVALUE = 'Green value (Color Recognition mode)';
  84. Blockly.Msg.MICROBIT_MU_VALUE_BVALUE = 'Blue value (Color Recognition mode)';
  85. Blockly.Msg.MICROBIT_MU_GET_VALUE_MESSAGE0 = 'Get %1 recognition result %2';
  86. Blockly.Msg.MICROBIT_MU_GET_VALUE_TOOLTIP = '';
  87. Blockly.Msg.MICROBIT_MU_GET_VALUE_HELPURL = '';
  88. Blockly.Msg.MICROBIT_MU_LS_PROXIMITY_ENABLE = 'LS_PROXIMITY_ENABLE';
  89. Blockly.Msg.MICROBIT_MU_LS_AMBIENT_LIGHT_ENABLE = 'LS_AMBIENT_LIGHT_ENABLE';
  90. Blockly.Msg.MICROBIT_MU_LS_COLOR_ENABLE = 'LS_COLOR_ENABLE';
  91. Blockly.Msg.MICROBIT_MU_LS_GESTURE_ENABLE = 'LS_GESTURE_ENABLE';
  92. Blockly.Msg.MICROBIT_MU_LS_BEGIN_MESSAGE0 = 'turn on %1 of light sensor';
  93. Blockly.Msg.MICROBIT_MU_LS_BEGIN_TOOLTIP = '';
  94. Blockly.Msg.MICROBIT_MU_LS_BEGIN_HELPURL = '';
  95. Blockly.Msg.MICROBIT_MU_LS_END_MESSAGE0 = 'Turn off %1 of light sensor';
  96. Blockly.Msg.MICROBIT_MU_LS_END_TOOLTIP = '';
  97. Blockly.Msg.MICROBIT_MU_LS_END_HELPURL = '';
  98. Blockly.Msg.MICROBIT_MU_LS_SENSITIVITY_DEFAULT = 'SensitivityDefault';
  99. Blockly.Msg.MICROBIT_MU_LS_SENSITIVITY_1 = 'Sensitivity1';
  100. Blockly.Msg.MICROBIT_MU_LS_SENSITIVITY_2 = 'Sensitivity2';
  101. Blockly.Msg.MICROBIT_MU_LS_SENSITIVITY_3 = 'Sensitivity3';
  102. Blockly.Msg.MICROBIT_MU_LS_SET_SENSITIVITY_MESSAGE0 = 'Set light sensor sensitivity as %1';
  103. Blockly.Msg.MICROBIT_MU_LS_SET_SENSITIVITY_TOOLTIP = '';
  104. Blockly.Msg.MICROBIT_MU_LS_SET_SENSITIVITY_HELPURL = '';
  105. Blockly.Msg.MICROBIT_MU_LS_WB_ENABLE_MESSAGE0 = 'Calibrate white balance of light sensor';
  106. Blockly.Msg.MICROBIT_MU_LS_WB_ENABLE_TOOLTIP = '';
  107. Blockly.Msg.MICROBIT_MU_LS_WB_ENABLE_HELPURL = '';
  108. Blockly.Msg.MICROBIT_MU_LS_READ_PROXIMITY_MESSAGE0 = 'Get proximity value';
  109. Blockly.Msg.MICROBIT_MU_LS_READ_PROXIMITY_TOOLTIP = '';
  110. Blockly.Msg.MICROBIT_MU_LS_READ_PROXIMITY_HELPURL = '';
  111. Blockly.Msg.MICROBIT_MU_LS_READ_AMBIENT_LIGHT_MESSAGE0 = 'Get ambient light value';
  112. Blockly.Msg.MICROBIT_MU_LS_READ_AMBIENT_LIGHT_TOOLTIP = '';
  113. Blockly.Msg.MICROBIT_MU_LS_READ_AMBIENT_LIGHT_HELPURL = '';
  114. Blockly.Msg.MICROBIT_MU_LS_COLOR_LABEL = 'LsColorLabel';
  115. Blockly.Msg.MICROBIT_MU_LS_COLOR_RED = 'LsColorRed';
  116. Blockly.Msg.MICROBIT_MU_LS_COLOR_GREEN = 'LsColorGreen';
  117. Blockly.Msg.MICROBIT_MU_LS_COLOR_BLUE = 'LsColorBlue';
  118. Blockly.Msg.MICROBIT_MU_LS_COLOR_HUE = 'LsColorHue';
  119. Blockly.Msg.MICROBIT_MU_LS_COLOR_SATURATION = 'LsColorSaturation';
  120. Blockly.Msg.MICROBIT_MU_LS_COLOR_VALUE = 'LsColorValue';
  121. Blockly.Msg.MICROBIT_MU_LS_RAW_COLOR_RED = 'LsRawColorRed';
  122. Blockly.Msg.MICROBIT_MU_LS_RAW_COLOR_GREEN = 'LsRawColorGreen';
  123. Blockly.Msg.MICROBIT_MU_LS_RAW_COLOR_BLUE = 'LsRawColorBlue';
  124. Blockly.Msg.MICROBIT_MU_LS_READ_COLOR_MESSAGE0 = 'Get %1 of color detection result';
  125. Blockly.Msg.MICROBIT_MU_LS_READ_COLOR_TOOLTIP = '';
  126. Blockly.Msg.MICROBIT_MU_LS_READ_COLOR_HELPURL = '';
  127. Blockly.Msg.MICROBIT_MU_LS_READ_GESTURE_MESSAGE0 = 'Get gesture detection result';
  128. Blockly.Msg.MICROBIT_MU_LS_READ_GESTURE_TOOLTIP = '';
  129. Blockly.Msg.MICROBIT_MU_LS_READ_GESTURE_HELPURL = '';
  130. Blockly.Msg.CocoRobo_CUSTOM_CODE_HELPURL = '';
  131. Blockly.Msg.CocoRobo_CUSTOM_CODE_TOOLTIP = '';
  132. Blockly.Msg.CocoRobo_CUSTOM_CODE_MESSAGE0 = '%1 custom code %2 %3';
  133. Blockly.Msg.CocoRobo_CUSTOM_TYPE_IMPORT = 'Topping';
  134. Blockly.Msg.CocoRobo_CUSTOM_TYPE_NORMAL = 'Normal';
  135. Blockly.Msg.CocoRobo_PRINT_TO_CHART_TOOLTIP = "";
  136. Blockly.Msg.CocoRobo_PRINT_TO_CHART_EMPTY_TITLE = "Print data to chart";
  137. Blockly.Msg.CocoRobo_PRINT_TO_CHART_INPUT_WITH = "Print data to chart";
  138. Blockly.Msg.CocoRobo_PRINT_TO_CHART_ITEM_TITLE = "Data";
  139. Blockly.Msg.CocoRobo_PRINT_TO_CHART_ITEM_TOOLTIP = "";
  140. Blockly.Msg.CocoRobo_PRINT_TO_CHART_CONTAINER_TITLE_ADD = "Data content";
  141. Blockly.Msg.CocoRobo_PRINT_TO_CHART_CONTAINER_TOOLTIP = "";
  142. Blockly.Msg.CocoRobo_INIT_CHART_TOOLTIP = "";
  143. Blockly.Msg.CocoRobo_INIT_CHART_EMPTY_TITLE = "Init chart column headers";
  144. Blockly.Msg.CocoRobo_INIT_CHART_INPUT_WITH = "Init chart column headers";
  145. Blockly.Msg.CocoRobo_INIT_CHART_ITEM_TITLE = "Header";
  146. Blockly.Msg.CocoRobo_INIT_CHART_ITEM_TOOLTIP = "";
  147. Blockly.Msg.CocoRobo_INIT_CHART_CONTAINER_TITLE_ADD = "Column header";
  148. Blockly.Msg.CocoRobo_INIT_CHART_CONTAINER_TOOLTIP = "";
  149. Blockly.Msg.MICROBIT_UPDATE_MSG_ARGS_HELPURL = '';
  150. Blockly.Msg.MICROBIT_UPDATE_MSG_ARGS_MESSAGE0 = 'Update remote-BOBI-msg %1 arguments %2 x %3 y %4 z %5 control-left-arm %6 control-right-arm %7';
  151. Blockly.Msg.MICROBIT_UPDATE_MSG_ARGS_TOOLTIP = "";
  152. Blockly.Msg.BOTBIT_REC_FROM_MICROBIT_HELPURL = '';
  153. Blockly.Msg.BOTBIT_REC_FROM_MICROBIT_MESSAGE0 = 'BOBI recieves msg and execute';
  154. Blockly.Msg.BOTBIT_REC_FROM_MICROBIT_TOOLTIP = "";
  155. Blockly.Msg.GAMEBIT_BUTTON_HELPURL = '';
  156. Blockly.Msg.GAMEBIT_BUTTON_MESSAGE0 = 'Press button %1';
  157. Blockly.Msg.GAMEBIT_BUTTON_TOOLTIP = "";
  158. Blockly.Msg.GAMEBIT_SHAKE_HELPURL = '';
  159. Blockly.Msg.GAMEBIT_SHAKE_MESSAGE0 = 'Shaking %1';
  160. Blockly.Msg.GAMEBIT_SHAKE_TOOLTIP = "";
  161. Blockly.Msg.GAMEBIT_XY_HELPURL = '';
  162. Blockly.Msg.GAMEBIT_XY_MESSAGE0 = '%1 axis value';
  163. Blockly.Msg.GAMEBIT_XY_TOOLTIP = "";
  164. Blockly.Msg.BOTBIT_JUMP_HELPURL = '';
  165. Blockly.Msg.BOTBIT_JUMP_MESSAGE0 = 'BOBI jump with single step time %1 ms';
  166. Blockly.Msg.BOTBIT_JUMP_TOOLTIP = 'Units in milliseconds';
  167. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_X_MESSAGE0 = 'Accelerometer X axis';
  168. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_X_TOOLTIP = 'Get the acceleration measurement in the X axis.';
  169. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_X_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/accelerometer.html#microbit.accelerometer.get_x';
  170. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_Y_MESSAGE0 = 'Accelerometer Y axis';
  171. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_Y_TOOLTIP = 'Get the acceleration measurement in the Y axis.';
  172. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_Y_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/accelerometer.html#microbit.accelerometer.get_y';
  173. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_Z_MESSAGE0 = 'Accelerometer Z axis';
  174. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_Z_TOOLTIP = 'Get the acceleration measurement in the Z axis.';
  175. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_Z_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/accelerometer.html#microbit.accelerometer.get_z';
  176. Blockly.Msg.MICROBIT_ACCELEROMETER_WAS_GESTURE_MESSAGE0 = 'Was gesture %1';
  177. Blockly.Msg.MICROBIT_ACCELEROMETER_WAS_GESTURE_TOOLTIP = 'Return True or False to indicate if the named gesture was active since the last check.';
  178. Blockly.Msg.MICROBIT_ACCELEROMETER_WAS_GESTURE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/accelerometer.html#microbit.accelerometer.was_gesture';
  179. Blockly.Msg.MICROBIT_ACCELEROMETER_IS_GESTURE_MESSAGE0 = 'Is gesture %1';
  180. Blockly.Msg.MICROBIT_ACCELEROMETER_IS_GESTURE_TOOLTIP = 'Return True or False to indicate if the named gesture is currently active.';
  181. Blockly.Msg.MICROBIT_ACCELEROMETER_IS_GESTURE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/accelerometer.html#microbit.accelerometer.is_gesture';
  182. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_GESTURES_MESSAGE0 = 'Get gestures';
  183. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_GESTURES_TOOLTIP = 'Return the gesture history. The most recent gesture is last. Also clears the gesture history.';
  184. Blockly.Msg.MICROBIT_ACCELEROMETER_GET_GESTURES_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/accelerometer.html#microbit.accelerometer.get_gestures';
  185. Blockly.Msg.MICROBIT_ACCELEROMETER_CURRENT_GESTURE_MESSAGE0 = 'Current gesture';
  186. Blockly.Msg.MICROBIT_ACCELEROMETER_CURRENT_GESTURE_TOOLTIP = 'Return the name of the current gesture.';
  187. Blockly.Msg.MICROBIT_ACCELEROMETER_CURRENT_GESTURE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/accelerometer.html#microbit.accelerometer.current_gesture';
  188. Blockly.Msg.MICROBIT_BUTTON_IS_PRESSED_MESSAGE0 = 'Button %1 is pressed';
  189. Blockly.Msg.MICROBIT_BUTTON_IS_PRESSED_TOOLTIP = 'Return True if the specified button is pressed. Otherwise, return False.';
  190. Blockly.Msg.MICROBIT_BUTTON_IS_PRESSED_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/button.html#Button.is_pressed';
  191. Blockly.Msg.MICROBIT_BUTTON_WAS_PRESSED_MESSAGE0 = 'Button %1 was pressed';
  192. Blockly.Msg.MICROBIT_BUTTON_WAS_PRESSED_TOOLTIP = 'Return True if the specified button was pressed since the device started or the last time this was checked.';
  193. Blockly.Msg.MICROBIT_BUTTON_WAS_PRESSED_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/button.html#Button.was_pressed';
  194. Blockly.Msg.MICROBIT_BUTTON_GET_PRESSES_MESSAGE0 = 'Get number of presses for button %1';
  195. Blockly.Msg.MICROBIT_BUTTON_GET_PRESSES_TOOLTIP = 'Return the running total of presses for the specified button, and resets this total to zero.';
  196. Blockly.Msg.MICROBIT_BUTTON_GET_PRESSES_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/button.html#Button.get_presses';
  197. Blockly.Msg.MICROBIT_COMPASS_CALIBRATE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/compass.html#microbit.compass.calibrate';
  198. Blockly.Msg.MICROBIT_COMPASS_CALIBRATE_MESSAGE0 = 'Calibrate compass';
  199. Blockly.Msg.MICROBIT_COMPASS_CALIBRATE_TOOLTIP = 'Start the callibration process to improve the accuracy of the compass.';
  200. Blockly.Msg.MICROBIT_COMPASS_IS_CALIBRATED_MESSAGE0 = 'Compass is calibrated?';
  201. Blockly.Msg.MICROBIT_COMPASS_IS_CALIBRATED_TOOLTIP = 'Returns True if the compass is calibrated, otherwise returns False.';
  202. Blockly.Msg.MICROBIT_COMPASS_IS_CALIBRATED_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/compass.html#microbit.compass.is_calibrated';
  203. Blockly.Msg.MICROBIT_COMPASS_HEADING_MESSAGE0 = 'Compass heading';
  204. Blockly.Msg.MICROBIT_COMPASS_HEADING_TOOLTIP = 'Return the compass heading as a number between 0 to 360, representing the angle in degrees, clockwise, with north as 0.';
  205. Blockly.Msg.MICROBIT_COMPASS_HEADING_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/compass.html#microbit.compass.heading';
  206. Blockly.Msg.MICROBIT_COMPASS_GET_FIELD_STRENGTH_MESSAGE0 = 'Compass field strength';
  207. Blockly.Msg.MICROBIT_COMPASS_GET_FIELD_STRENGTH_TOOLTIP = 'Return a number indicating the magnitude of the magnetic field around the device.';
  208. Blockly.Msg.MICROBIT_COMPASS_GET_FIELD_STRENGTH_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/compass.html#microbit.compass.get_field_strength';
  209. Blockly.Msg.MICROBIT_COMPASS_X_MESSAGE0 = 'Magnetism X axis';
  210. Blockly.Msg.MICROBIT_COMPASS_X_TOOLTIP = 'Return the the intensity of magnetism on X axis.';
  211. Blockly.Msg.MICROBIT_COMPASS_X_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/compass.html#microbit.compass.get_x';
  212. Blockly.Msg.MICROBIT_COMPASS_Y_MESSAGE0 = 'Magnetism Y axis';
  213. Blockly.Msg.MICROBIT_COMPASS_Y_TOOLTIP = 'Return the the intensity of magnetism on Y axis.';
  214. Blockly.Msg.MICROBIT_COMPASS_Y_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/compass.html#microbit.compass.get_y';
  215. Blockly.Msg.MICROBIT_COMPASS_Z_MESSAGE0 = 'Magnetism Z axis';
  216. Blockly.Msg.MICROBIT_COMPASS_Z_TOOLTIP = 'Return the the intensity of magnetism on Z axis.';
  217. Blockly.Msg.MICROBIT_COMPASS_Z_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/compass.html#microbit.compass.get_z';
  218. Blockly.Msg.MICROBIT_DISPLAY_GET_PIXEL_MESSAGE0 = 'Get brightness at X %1 Y %2';
  219. Blockly.Msg.MICROBIT_DISPLAY_GET_PIXEL_TOOLTIP = 'Get the brightness of the LED at column X and row Y as a number between 0 (off) and 9 (brightest).';
  220. Blockly.Msg.MICROBIT_DISPLAY_GET_PIXEL_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.get_pixel';
  221. Blockly.Msg.MICROBIT_DISPLAY_SET_PIXEL_MESSAGE0 = 'Set pixel at X %1 Y %2 to brightness %3';
  222. Blockly.Msg.MICROBIT_DISPLAY_SET_PIXEL_TOOLTIP = 'Set the brightness of the LED at column X and row Y to a value which has to be a number between 0 (off) and 9 (brightest).';
  223. Blockly.Msg.MICROBIT_DISPLAY_SET_PIXEL_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.set_pixel';
  224. Blockly.Msg.MICROBIT_DISPLAY_CLEAR_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.clear';
  225. Blockly.Msg.MICROBIT_DISPLAY_CLEAR_MESSAGE0 = 'Clear display';
  226. Blockly.Msg.MICROBIT_DISPLAY_CLEAR_TOOLTIP = 'Clear the display - set the brightness of all LEDs to 0 (off).';
  227. Blockly.Msg.MICROBIT_DISPLAY_SHOW_IMAGE_MESSAGE0 = 'Show image / text %1';
  228. Blockly.Msg.MICROBIT_DISPLAY_SHOW_IMAGE_TOOLTIP = 'Show the referenced image on the display.';
  229. Blockly.Msg.MICROBIT_DISPLAY_SHOW_IMAGE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.show';
  230. Blockly.Msg.MICROBIT_DISPLAY_SHOW_IMAGE_WITH_BRI_MESSAGE0 = 'Show image %3 with brightness ( %1 / %2 )';
  231. Blockly.Msg.MICROBIT_DISPLAY_SHOW_IMAGE_WITH_BRI_TOOLTIP = 'Show the referenced image with a given brightness on the display.';
  232. Blockly.Msg.MICROBIT_DISPLAY_SHOW_ANIMATION_MESSAGE0 = 'Animate images %1 with a delay of %2 milliseconds between frames. %3 Wait %4 %5 Loop %6 %7 Clear %8';
  233. Blockly.Msg.MICROBIT_DISPLAY_SHOW_ANIMATION_TOOLTIP = 'Display the list of images as an animation with a certain delay between each frame. Indicate if you need to wait before continuing, continuously loop the animation and clear the display when finished.';
  234. Blockly.Msg.MICROBIT_DISPLAY_SHOW_ANIMATION_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.show';
  235. Blockly.Msg.MICROBIT_DISPLAY_SCROLL_MESSAGE0 = 'Scroll message %1';
  236. Blockly.Msg.MICROBIT_DISPLAY_SCROLL_TOOLTIP = 'Scroll the referenced text across the display.';
  237. Blockly.Msg.MICROBIT_DISPLAY_SCROLL_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.scroll';
  238. Blockly.Msg.MICROBIT_DISPLAY_SCROLL_ANIMATION_MESSAGE0 = 'Scroll message %1 with a delay of %2 milliseconds between frames.%3 Wait %4 %5 Loop %6 %7 Monospace %8';
  239. Blockly.Msg.MICROBIT_DISPLAY_SCROLL_ANIMATION_TOOLTIP = 'Similar to show, but scrolls the string horizontally instead. The delay parameter controls how fast the text is scrolling.';
  240. Blockly.Msg.MICROBIT_DISPLAY_SCROLL_ANIMATION_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.scroll';
  241. Blockly.Msg.MICROBIT_DISPLAY_ON_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.on';
  242. Blockly.Msg.MICROBIT_DISPLAY_ON_MESSAGE0 = 'Turn on display';
  243. Blockly.Msg.MICROBIT_DISPLAY_ON_TOOLTIP = 'Turns on the display.';
  244. Blockly.Msg.MICROBIT_DISPLAY_OFF_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.off';
  245. Blockly.Msg.MICROBIT_DISPLAY_OFF_MESSAGE0 = 'Turn off display';
  246. Blockly.Msg.MICROBIT_DISPLAY_OFF_TOOLTIP = 'Turn off the display.';
  247. Blockly.Msg.MICROBIT_DISPLAY_IS_ON_MESSAGE0 = 'Display is on?';
  248. Blockly.Msg.MICROBIT_DISPLAY_IS_ON_TOOLTIP = 'Return True if the display is on, otherwise return False.';
  249. Blockly.Msg.MICROBIT_DISPLAY_IS_ON_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/display.html#microbit.display.is_on';
  250. Blockly.Msg.MICROBIT_IMAGE_BUILTINS_MESSAGE0 = 'Built in image %1';
  251. Blockly.Msg.MICROBIT_IMAGE_BUILTINS_TOOLTIP = 'Specify one of the built-in images.';
  252. Blockly.Msg.MICROBIT_IMAGE_BUILTINS_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/image.html#attributes';
  253. Blockly.Msg.MICROBIT_IMAGE_COPY_MESSAGE0 = 'Copy image %1';
  254. Blockly.Msg.MICROBIT_IMAGE_COPY_TOOLTIP = 'Create an exact copy of the referenced image.';
  255. Blockly.Msg.MICROBIT_IMAGE_COPY_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/image.html#microbit.Image.copy';
  256. Blockly.Msg.MICROBIT_IMAGE_INVERT_MESSAGE0 = 'Invert image %1';
  257. Blockly.Msg.MICROBIT_IMAGE_INVERT_TOOLTIP = 'Create a new image by inverting the brightness of the pixels in the referenced image.';
  258. Blockly.Msg.MICROBIT_IMAGE_INVERT_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/image.html#microbit.Image.invert';
  259. Blockly.Msg.MICROBIT_IMAGE_CREATE_MESSAGE0 = 'Create image %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %20 %21 %22 %23 %24 %25 %26 %27 %28 %29 %30';
  260. Blockly.Msg.MICROBIT_IMAGE_CREATE_TOOLTIP = 'Create a new image.';
  261. Blockly.Msg.MICROBIT_IMAGE_CREATE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/image.html#microbit.Image';
  262. Blockly.Msg.MICROBIT_IMAGE_CREATE1_MESSAGE0 = 'Create image %1 row1 %2 row2 %3 row3 %4 row4 %5 row5 %6';
  263. Blockly.Msg.MICROBIT_IMAGE_CREATE1_TOOLTIP = 'Create a new image.';
  264. Blockly.Msg.MICROBIT_IMAGE_CREATE1_HELPURL = '';
  265. Blockly.Msg.MICROBIT_IMAGE_SHIFT_MESSAGE0 = 'Move image %1 %2 %3 point(s)';
  266. Blockly.Msg.MICROBIT_IMAGE_SHIFT_TOOLTIP = 'Return a new image created by shifting the picture left/right/up/down by n columns/rows.';
  267. Blockly.Msg.MICROBIT_IMAGE_SHIFT_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/image.html#microbit.Image.shift_left';
  268. Blockly.Msg.MICROBIT_IMAGE_SHIFT_LEFT = 'Shift left';
  269. Blockly.Msg.MICROBIT_IMAGE_SHIFT_RIGHT = 'Shift right';
  270. Blockly.Msg.MICROBIT_IMAGE_SHIFT_UP = 'Shift up';
  271. Blockly.Msg.MICROBIT_IMAGE_SHIFT_DOWN = 'Shift down';
  272. Blockly.Msg.MICROBIT_MICROBIT_PANIC_MESSAGE0 = 'Panic with status code %1';
  273. Blockly.Msg.MICROBIT_MICROBIT_PANIC_TOOLTIP = 'Enter panic mode to indicate something has gone wrong. Requires a restart. Pass in a number to indicate a status code.';
  274. Blockly.Msg.MICROBIT_MICROBIT_PANIC_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/microbit.html#microbit.panic';
  275. Blockly.Msg.MICROBIT_MICROBIT_RESET_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/microbit.html#microbit.reset';
  276. Blockly.Msg.MICROBIT_MICROBIT_RESET_MESSAGE0 = 'Reset micro:bit';
  277. Blockly.Msg.MICROBIT_MICROBIT_RESET_TOOLTIP = 'Reset the micro:bit';
  278. Blockly.Msg.MICROBIT_MICROBIT_SLEEP_MESSAGE0 = 'Sleep %1 milliseconds';
  279. Blockly.Msg.MICROBIT_MICROBIT_SLEEP_TOOLTIP = 'Wait for a specified number of milliseconds before the next instruction.';
  280. Blockly.Msg.MICROBIT_MICROBIT_SLEEP_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/microbit.html#microbit.sleep';
  281. Blockly.Msg.MICROBIT_MICROBIT_RUNNING_TIME_MESSAGE0 = 'Running time';
  282. Blockly.Msg.MICROBIT_MICROBIT_RUNNING_TIME_TOOLTIP = 'Get the number of milliseconds since the board was switched on or restarted.';
  283. Blockly.Msg.MICROBIT_MICROBIT_RUNNING_TIME_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/microbit.html#microbit.running_time';
  284. Blockly.Msg.MICROBIT_MICROBIT_TEMPERATURE_MESSAGE0 = 'Board temperature';
  285. Blockly.Msg.MICROBIT_MICROBIT_TEMPERATURE_TOOLTIP = 'Get the temperature of the micro:bit in degrees Celcius.';
  286. Blockly.Msg.MICROBIT_MICROBIT_TEMPERATURE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/microbit.html#microbit.temperature';
  287. Blockly.Msg.MICROBIT_MUSIC_PLAY_BUILT_IN_MESSAGE0 = 'Play built-in melody %1 %2 Wait %3 %4 Loop %5';
  288. Blockly.Msg.MICROBIT_MUSIC_PLAY_BUILT_IN_TOOLTIP = 'Play one of the built-in melodies. Indicate if you need to wait before continuing or continuously loop the melody.';
  289. Blockly.Msg.MICROBIT_MUSIC_PLAY_BUILT_IN_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/music.html#built-in-melodies';
  290. Blockly.Msg.MICROBIT_MUSIC_PITCH_MESSAGE0 = 'Play pitch %1 %2 for %3 milliseconds';
  291. Blockly.Msg.MICROBIT_MUSIC_PITCH_TOOLTIP = 'Play a pitch at a certain number of cycles per second for a specified number of milliseconds.';
  292. Blockly.Msg.MICROBIT_MUSIC_PITCH_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/music.html#music.pitch';
  293. Blockly.Msg.MICROBIT_MUSIC_PLAY_LIST_OF_NOTES_MESSAGE0 = 'Play notes %1 Wait %2 %3 Loop %4';
  294. Blockly.Msg.MICROBIT_MUSIC_PLAY_LIST_OF_NOTES_TOOLTIP = 'Play a list of notes expressed in the special music language. Indicate if you need to wait before continuing or continuously loop the melody.';
  295. Blockly.Msg.MICROBIT_MUSIC_PLAY_LIST_OF_NOTES_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/music.html#musical-notation';
  296. Blockly.Msg.MICROBIT_MUSIC_RESET_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/music.html#music.reset';
  297. Blockly.Msg.MICROBIT_MUSIC_RESET_MESSAGE0 = 'Reset music';
  298. Blockly.Msg.MICROBIT_MUSIC_RESET_TOOLTIP = 'Reset all music related settings (current tempo, octave and duration) to default values.';
  299. Blockly.Msg.MICROBIT_MUSIC_STOP_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/music.html#music.stop';
  300. Blockly.Msg.MICROBIT_MUSIC_STOP_MESSAGE0 = 'Stop music';
  301. Blockly.Msg.MICROBIT_MUSIC_STOP_TOOLTIP = 'Stop all music playback.';
  302. Blockly.Msg.MICROBIT_MUSIC_SET_TEMPO_MESSAGE0 = 'Set tempo with 1 beat the same as %1 ticks, at %2 beats per minute';
  303. Blockly.Msg.MICROBIT_MUSIC_SET_TEMPO_TOOLTIP = 'Set the speed (tempo) of playback. A certain number of ticks represents a beat. Each beat is to be played a certain number of times a minute (beats per minute or BPM).';
  304. Blockly.Msg.MICROBIT_MUSIC_SET_TEMPO_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/music.html#music.set_tempo';
  305. Blockly.Msg.MICROBIT_MUSIC_GET_TEMPO_MESSAGE0 = 'Get current tempo';
  306. Blockly.Msg.MICROBIT_MUSIC_GET_TEMPO_TOOLTIP = 'Gets current tempo information as two numbers: number of ticks per beat, and number of beats per minute (BPM).';
  307. Blockly.Msg.MICROBIT_MUSIC_GET_TEMPO_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/music.html#music.get_tempo';
  308. Blockly.Msg.MICROBIT_NEOPIXEL_INITIALISE_MESSAGE0 = 'Initialise %2 neopixel[s] on pin %1';
  309. Blockly.Msg.MICROBIT_NEOPIXEL_INITIALISE_TOOLTIP = 'Make an object to control any attached neopixels. Specify the number of neopixels and the pin to which they are attached.';
  310. Blockly.Msg.MICROBIT_NEOPIXEL_INITIALISE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/neopixel.html#neopixel.NeoPixel';
  311. Blockly.Msg.MICROBIT_NEOPIXEL_CLEAR_MESSAGE0 = 'Clear neopixels on %1';
  312. Blockly.Msg.MICROBIT_NEOPIXEL_CLEAR_TOOLTIP = 'Clear all neopixels controlled by the referenced neopixel object.';
  313. Blockly.Msg.MICROBIT_NEOPIXEL_CLEAR_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/neopixel.html#neopixel.NeoPixel.clear';
  314. Blockly.Msg.MICROBIT_NEOPIXEL_SHOW_MESSAGE0 = 'Show neopixels on %1';
  315. Blockly.Msg.MICROBIT_NEOPIXEL_SHOW_TOOLTIP = 'Show / update all the neopixels controlled by the referenced neopixel object.';
  316. Blockly.Msg.MICROBIT_NEOPIXEL_SHOW_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/neopixel.html#neopixel.NeoPixel.show';
  317. Blockly.Msg.MICROBIT_NEOPIXEL_SET_MESSAGE0 = 'Using neopixels on %1 set pixel in position %2 with red %3 green %4 blue %5';
  318. Blockly.Msg.MICROBIT_NEOPIXEL_SET_TOOLTIP = 'Use the referenced neopixel object to update the individual neopixel in a specific numbered position with a red, green, blue (RGB) value.';
  319. Blockly.Msg.MICROBIT_NEOPIXEL_SET_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/neopixel.html#using-neopixels';
  320. Blockly.Msg.MICROBIT_PIN_TOUCHED_MESSAGE0 = 'Pin %1 is touched?';
  321. Blockly.Msg.MICROBIT_PIN_TOUCHED_TOOLTIP = 'Return True if the referenced pin is touched.';
  322. Blockly.Msg.MICROBIT_PIN_TOUCHED_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/pin.html#microbit.MicroBitTouchPin.is_touched';
  323. Blockly.Msg.MICROBIT_PIN_WAS_PRESSED_MESSAGE0 = 'Pin %1 was pressed?';
  324. Blockly.Msg.MICROBIT_PIN_WAS_PRESSED_TOOLTIP = 'Return True if the referenced pin was touched since the device started or the last time this was checked.';
  325. Blockly.Msg.MICROBIT_PIN_WAS_PRESSED_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/pin.html#microbit.MicroBitTouchPin.was_pressed';
  326. Blockly.Msg.MICROBIT_PIN_GET_PRESSES_MESSAGE0 = 'Get number of presses for Pin %1';
  327. Blockly.Msg.MICROBIT_PIN_GET_PRESSES_TOOLTIP = 'Return the running total of presses for the referenced pin, and resets this total to zero.';
  328. Blockly.Msg.MICROBIT_PIN_GET_PRESSES_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/pin.html#microbit.MicroBitTouchPin.get_presses';
  329. Blockly.Msg.MICROBIT_PIN_READ_ANALOG_MESSAGE0 = 'Read analog on pin %1';
  330. Blockly.Msg.MICROBIT_PIN_READ_ANALOG_TOOLTIP = 'Read analog value from the referenced pin.';
  331. Blockly.Msg.MICROBIT_PIN_READ_ANALOG_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/pin.html#microbit.MicroBitAnalogDigitalPin.read_analog';
  332. Blockly.Msg.MICROBIT_PIN_WRITE_ANALOG_MESSAGE0 = 'Write analog value %1 on pin %2';
  333. Blockly.Msg.MICROBIT_PIN_WRITE_ANALOG_TOOLTIP = 'Write analog value to the referenced pin.';
  334. Blockly.Msg.MICROBIT_PIN_WRITE_ANALOG_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/pin.html#microbit.MicroBitAnalogDigitalPin.write_analog';
  335. Blockly.Msg.MICROBIT_PIN_READ_DIGITAL_MESSAGE0 = 'Read digital value on pin %1';
  336. Blockly.Msg.MICROBIT_PIN_READ_DIGITAL_TOOLTIP = 'Read digital value (True or False) from the referenced pin.';
  337. Blockly.Msg.MICROBIT_PIN_READ_DIGITAL_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/pin.html#microbit.MicroBitDigitalPin.read_digital';
  338. Blockly.Msg.MICROBIT_PIN_WRITE_DIGITAL_MESSAGE0 = 'Write digital value %1 on pin %2';
  339. Blockly.Msg.MICROBIT_PIN_WRITE_DIGITAL_TOOLTIP = 'Write digital value (True or False) to the referenced pin.';
  340. Blockly.Msg.MICROBIT_PIN_WRITE_DIGITAL_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/pin.html#microbit.MicroBitDigitalPin.write_digital';
  341. Blockly.Msg.MICROBIT_RADIO_ON_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/radio.html#radio.on';
  342. Blockly.Msg.MICROBIT_RADIO_ON_MESSAGE0 = 'Switch on radio';
  343. Blockly.Msg.MICROBIT_RADIO_ON_TOOLTIP = 'Turn on the radio. This needs to be explicitly called since the radio draws power and takes up memory that you may otherwise need.';
  344. Blockly.Msg.MICROBIT_RADIO_OFF_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/radio.html#radio.off';
  345. Blockly.Msg.MICROBIT_RADIO_OFF_MESSAGE0 = 'Switch off radio';
  346. Blockly.Msg.MICROBIT_RADIO_OFF_TOOLTIP = 'Turn off the radio, thus saving power and memory.';
  347. Blockly.Msg.MICROBIT_RADIO_CONFIG_MESSAGE0 = 'Configure radio message length %1 %2 maximum queue length %3 %4 tuned to channel %5 %6 broadcast power %7 %8 address %9 %10 group %11 %12 data rate %13';
  348. Blockly.Msg.MICROBIT_RADIO_CONFIG_TOOLTIP = 'Configure the radio.\n The length defines how long an individual message can be. \n The queue specifies the number of messages that can be stored on the incoming message queue.\n The channel defines the frequency to which the radio is tuned.\n The power specifies the strength of the broadcast signal.\n Address: 32-bit address.\n Group: 8-bit value (0-255) .\n The data rate indicates the speed at which data is transferred.';
  349. Blockly.Msg.MICROBIT_RADIO_CONFIG_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/radio.html#radio.config';
  350. Blockly.Msg.MICROBIT_RADIO_RESET_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/radio.html#radio.reset';
  351. Blockly.Msg.MICROBIT_RADIO_RESET_MESSAGE0 = 'Reset radio';
  352. Blockly.Msg.MICROBIT_RADIO_RESET_TOOLTIP = 'Reset the radio to default settings.';
  353. Blockly.Msg.MICROBIT_RADIO_SEND_STRING_MESSAGE0 = 'Send message %1';
  354. Blockly.Msg.MICROBIT_RADIO_SEND_STRING_TOOLTIP = 'Broadcast a text message.';
  355. Blockly.Msg.MICROBIT_RADIO_SEND_STRING_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/radio.html#radio.send';
  356. Blockly.Msg.MICROBIT_RADIO_RECEIVE_MESSAGE0 = 'Receive message';
  357. Blockly.Msg.MICROBIT_RADIO_RECEIVE_TOOLTIP = 'Receive a message.';
  358. Blockly.Msg.MICROBIT_RADIO_RECEIVE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/radio.html#radio.receive';
  359. Blockly.Msg.MICROBIT_SPEECH_SAY_MESSAGE0 = 'Say %1';
  360. Blockly.Msg.MICROBIT_SPEECH_SAY_TOOLTIP = 'Attempt to say English input.';
  361. Blockly.Msg.MICROBIT_SPEECH_SAY_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/speech.html#speech.say';
  362. Blockly.Msg.MICROBIT_SPEECH_PRONOUNCE_MESSAGE0 = 'Pronounce %1';
  363. Blockly.Msg.MICROBIT_SPEECH_PRONOUNCE_TOOLTIP = 'Precisely pronounce phoneme input.';
  364. Blockly.Msg.MICROBIT_SPEECH_PRONOUNCE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/speech.html#phonemes';
  365. Blockly.Msg.MICROBIT_SPEECH_SING_MESSAGE0 = 'Sing %1';
  366. Blockly.Msg.MICROBIT_SPEECH_SING_TOOLTIP = 'Sing phonemes like a ROBOT.';
  367. Blockly.Msg.MICROBIT_SPEECH_SING_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/speech.html#singing';
  368. //MENUS
  369. Blockly.Msg.MICROBIT_GESTURE_SHAKE = 'Shake';
  370. Blockly.Msg.MICROBIT_GESTURE_UP = 'Up';
  371. Blockly.Msg.MICROBIT_GESTURE_DOWN = 'Down';
  372. Blockly.Msg.MICROBIT_GESTURE_LEFT = 'Left';
  373. Blockly.Msg.MICROBIT_GESTURE_RIGHT = 'Right';
  374. Blockly.Msg.MICROBIT_GESTURE_FACE_UP = 'Face up';
  375. Blockly.Msg.MICROBIT_GESTURE_FACE_DOWN = 'Face down';
  376. Blockly.Msg.MICROBIT_GESTURE_FREEFAIL = 'Freefall';
  377. Blockly.Msg.MICROBIT_IMAGE_HEART = 'HEART';
  378. Blockly.Msg.MICROBIT_IMAGE_HEART_SMALL = 'HEART_SMALL';
  379. Blockly.Msg.MICROBIT_IMAGE_HAPPY = 'HAPPY';
  380. Blockly.Msg.MICROBIT_IMAGE_SMILE = 'SMILE';
  381. Blockly.Msg.MICROBIT_IMAGE_SAD = 'SAD';
  382. Blockly.Msg.MICROBIT_IMAGE_CONFUSED = 'CONFUSED';
  383. Blockly.Msg.MICROBIT_IMAGE_ANGRY = 'ANGRY';
  384. Blockly.Msg.MICROBIT_IMAGE_ASLEEP = 'ASLEEP';
  385. Blockly.Msg.MICROBIT_IMAGE_SUPRISED = 'SURPRISED';
  386. Blockly.Msg.MICROBIT_IMAGE_SILLY = 'SILLY';
  387. Blockly.Msg.MICROBIT_IMAGE_FABULOUS = 'FABULOUS';
  388. Blockly.Msg.MICROBIT_IMAGE_MEH = 'MEH';
  389. Blockly.Msg.MICROBIT_IMAGE_YES = 'YES';
  390. Blockly.Msg.MICROBIT_IMAGE_NO = 'NO';
  391. Blockly.Msg.MICROBIT_IMAGE_CLOCK12 = 'CLOCK12';
  392. Blockly.Msg.MICROBIT_IMAGE_CLOCK11 = 'CLOCK11';
  393. Blockly.Msg.MICROBIT_IMAGE_CLOCK10 = 'CLOCK10';
  394. Blockly.Msg.MICROBIT_IMAGE_CLOCK9 = 'CLOCK9';
  395. Blockly.Msg.MICROBIT_IMAGE_CLOCK8 = 'CLOCK8';
  396. Blockly.Msg.MICROBIT_IMAGE_CLOCK7 = 'CLOCK7';
  397. Blockly.Msg.MICROBIT_IMAGE_CLOCK6 = 'CLOCK6';
  398. Blockly.Msg.MICROBIT_IMAGE_CLOCK5 = 'CLOCK5';
  399. Blockly.Msg.MICROBIT_IMAGE_CLOCK4 = 'CLOCK4';
  400. Blockly.Msg.MICROBIT_IMAGE_CLOCK3 = 'CLOCK3';
  401. Blockly.Msg.MICROBIT_IMAGE_CLOCK2 = 'CLOCK2';
  402. Blockly.Msg.MICROBIT_IMAGE_CLOCK1 = 'CLOCK1';
  403. Blockly.Msg.MICROBIT_IMAGE_ARROW_N = 'ARROW_N';
  404. Blockly.Msg.MICROBIT_IMAGE_ARROW_NE = 'ARROW_NE';
  405. Blockly.Msg.MICROBIT_IMAGE_ARROW_E = 'ARROW_E';
  406. Blockly.Msg.MICROBIT_IMAGE_ARROW_SE = 'ARROW_SE';
  407. Blockly.Msg.MICROBIT_IMAGE_ARROW_S = 'ARROW_S';
  408. Blockly.Msg.MICROBIT_IMAGE_ARROW_SW = 'ARROW_SW';
  409. Blockly.Msg.MICROBIT_IMAGE_ARROW_W = 'ARROW_W';
  410. Blockly.Msg.MICROBIT_IMAGE_ARROW_NW = 'ARROW_NW';
  411. Blockly.Msg.MICROBIT_IMAGE_TRIANGLE = 'TRIANGLE';
  412. Blockly.Msg.MICROBIT_IMAGE_TRIANGLE_LEFT = 'TRIANGLE_LEFT';
  413. Blockly.Msg.MICROBIT_IMAGE_CHESSBOARD = 'CHESSBOARD';
  414. Blockly.Msg.MICROBIT_IMAGE_DIAMOND = 'DIAMOND';
  415. Blockly.Msg.MICROBIT_IMAGE_DIAMOND_SMALL = 'DIAMOND_SMALL';
  416. Blockly.Msg.MICROBIT_IMAGE_SQUARE = 'SQUARE';
  417. Blockly.Msg.MICROBIT_IMAGE_SQUARE_SMALL = 'SQUARE_SMALL';
  418. Blockly.Msg.MICROBIT_IMAGE_RABBIT = 'RABBIT';
  419. Blockly.Msg.MICROBIT_IMAGE_COW = 'COW';
  420. Blockly.Msg.MICROBIT_IMAGE_MUSIC_CROTCHET = 'MUSIC_CROTCHET';
  421. Blockly.Msg.MICROBIT_IMAGE_MUSIC_QUAVER = 'MUSIC_QUAVER';
  422. Blockly.Msg.MICROBIT_IMAGE_MUSIC_QUAVERS = 'MUSIC_QUAVERS';
  423. Blockly.Msg.MICROBIT_IMAGE_PITCHFORK = 'PITCHFORK';
  424. Blockly.Msg.MICROBIT_IMAGE_XMAS = 'XMAS';
  425. Blockly.Msg.MICROBIT_IMAGE_PACMAN = 'PACMAN';
  426. Blockly.Msg.MICROBIT_IMAGE_TARGET = 'TARGET';
  427. Blockly.Msg.MICROBIT_IMAGE_TSHIRT = 'TSHIRT';
  428. Blockly.Msg.MICROBIT_IMAGE_ROLLERSKATE = 'ROLLERSKATE';
  429. Blockly.Msg.MICROBIT_IMAGE_DUCK = 'DUCK';
  430. Blockly.Msg.MICROBIT_IMAGE_HOUSE = 'HOUSE';
  431. Blockly.Msg.MICROBIT_IMAGE_TORTOISE = 'TORTOISE';
  432. Blockly.Msg.MICROBIT_IMAGE_BUTTERFLY = 'BUTTERFLY';
  433. Blockly.Msg.MICROBIT_IMAGE_STICKFIGURE = 'STICKFIGURE';
  434. Blockly.Msg.MICROBIT_IMAGE_GHOST = 'GHOST';
  435. Blockly.Msg.MICROBIT_IMAGE_SWORD = 'SWORD';
  436. Blockly.Msg.MICROBIT_IMAGE_GIRAFFE = 'GIRAFFE';
  437. Blockly.Msg.MICROBIT_IMAGE_SKULL = 'SKULL';
  438. Blockly.Msg.MICROBIT_IMAGE_UMBRELLA = 'UMBRELLA';
  439. Blockly.Msg.MICROBIT_IMAGE_SNAKE = 'SNAKE';
  440. Blockly.Msg.MICROBIT_IMAGE_ALL_CLOCKS = 'ALL_CLOCKS';
  441. Blockly.Msg.MICROBIT_IMAGE_ALL_ARROWS = 'ALL_ARROWS';
  442. Blockly.Msg.MICROBIT_PIN_SET_SERVO_HELPURL = "";
  443. Blockly.Msg.MICROBIT_PIN_SET_SERVO_TOOLTIP = "Set the servo angle, in the range of 0 to 180 degrees";
  444. Blockly.Msg.MICROBIT_PIN_SET_SERVO_MESSAGE0 = "Set servo on pin %1 with degree %2";
  445. Blockly.Msg.MICROBIT_PIN_SET_MODE_HELPURL = '';
  446. Blockly.Msg.MICROBIT_PIN_SET_MODE_TOOLTIP = 'There are three pin modes: no-pull, pull-up, pull-down';
  447. Blockly.Msg.MICROBIT_PIN_SET_MODE_MESSAGE0 = 'Set pin %1 mode to %2';
  448. Blockly.Msg.MICROBIT_PIN_MODE_NO = 'No pull';
  449. Blockly.Msg.MICROBIT_PIN_MODE_UP = 'Pull up';
  450. Blockly.Msg.MICROBIT_PIN_MODE_DOWN = 'Pull down';
  451. //uart
  452. Blockly.Msg.MICROBIT_UART_INIT_MESSAGE0 = 'Initialize uart baudrate as %3 pin TX as %1 pin RX as %2';
  453. Blockly.Msg.MICROBIT_UART_INIT_TOOLTIP = '';
  454. Blockly.Msg.MICROBIT_UART_INIT_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/uart.html';
  455. Blockly.Msg.MICROBIT_UART_ANY_MSG_RECEIVED_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/uart.html';
  456. Blockly.Msg.MICROBIT_UART_ANY_MSG_RECEIVED_TOOLTIP = '';
  457. Blockly.Msg.MICROBIT_UART_ANY_MSG_RECEIVED_MESSAGE0 = 'Any uart message received';
  458. Blockly.Msg.MICROBIT_UART_READ_MSG_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/uart.html';
  459. Blockly.Msg.MICROBIT_UART_READ_MSG_TOOLTIP = '';
  460. Blockly.Msg.MICROBIT_UART_READ_MSG_MESSAGE0 = 'Uart read %1 bytes';
  461. Blockly.Msg.MICROBIT_UART_READ_MSG_TO_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/uart.html';
  462. Blockly.Msg.MICROBIT_UART_READ_MSG_TO_TOOLTIP = '';
  463. Blockly.Msg.MICROBIT_UART_READ_MSG_TO_MESSAGE0 = 'Uart read %1 bytes to %2';
  464. Blockly.Msg.MICROBIT_UART_WRITE_MSG_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/uart.html';
  465. Blockly.Msg.MICROBIT_UART_WRITE_MSG_TOOLTIP = '';
  466. Blockly.Msg.MICROBIT_UART_WRITE_MSG_MESSAGE0 = 'Uart write %1';
  467. Blockly.Msg.MICROBIT_ALL_BYTES = "All";
  468. Blockly.Msg.MICROBIT_ALINE_BYTES = "A line";
  469. //labplus
  470. Blockly.Msg.LABPLUS_BUTTON_IS_PRESSED_MESSAGE0 = 'Pin %1 is pressed?';
  471. Blockly.Msg.LABPLUS_BUTTON_IS_PRESSED_TOOLTIP = 'Return True if the referenced pin is pressed.';
  472. Blockly.Msg.LABPLUS_BUTTON_IS_PRESSED_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/button.html#Button.is_pressed';
  473. Blockly.Msg.LABPLUS_BUTTON_WAS_PRESSED_MESSAGE0 = 'Pin %1 was pressed?';
  474. Blockly.Msg.LABPLUS_BUTTON_WAS_PRESSED_TOOLTIP = 'Return True if the referenced pin was touched since the device started or the last time this was checked.';
  475. Blockly.Msg.LABPLUS_BUTTON_WAS_PRESSED_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/button.html#Button.was_pressed';
  476. Blockly.Msg.LABPLUS_BUTTON_GET_PRESSES_MESSAGE0 = 'Get number of presses for button %1';
  477. Blockly.Msg.LABPLUS_BUTTON_GET_PRESSES_TOOLTIP = 'Return the running total of presses for the referenced pin, and resets this total to zero.';
  478. Blockly.Msg.LABPLUS_BUTTON_GET_PRESSES_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/button.html#Button.get_presses';
  479. Blockly.Msg.LABPLUS_LED_MESSAGE0 = 'Set LED pin %2 value as %1';
  480. Blockly.Msg.LABPLUS_LED_TOOLTIP = '';
  481. Blockly.Msg.LABPLUS_LED_HELPURL = 'http://wiki.labplus.cn/index.php?title=LED';
  482. Blockly.Msg.LABPLUS_INFRARED_IS_TRIGGERED_MESSAGE0 = 'IR Receive pin %1';
  483. Blockly.Msg.LABPLUS_INFRARED_IS_TRIGGERED_TOOLTIP = '';
  484. Blockly.Msg.LABPLUS_INFRARED_IS_TRIGGERED_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%BA%A2%E5%A4%96%E6%8E%A2%E6%B5%8B';
  485. Blockly.Msg.LABPLUS_HEAT_SENSITIVE_DETECTOR_MESSAGE0 = 'PIR sensor pin %1';
  486. Blockly.Msg.LABPLUS_HEAT_SENSITIVE_DETECTOR_TOOLTIP = '';
  487. Blockly.Msg.LABPLUS_HEAT_SENSITIVE_DETECTOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%83%AD%E6%95%8F%E7%94%B5%E9%98%BB';
  488. Blockly.Msg.LABPLUS_I2C_LIGHT_SENSOR_MESSAGE0 = 'Digital light sensor(lux)';
  489. Blockly.Msg.LABPLUS_I2C_LIGHT_SENSOR_TOOLTIP = '';
  490. Blockly.Msg.LABPLUS_I2C_LIGHT_SENSOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%95%B0%E5%AD%97%E5%85%89%E7%BA%BF';
  491. Blockly.Msg.LABPLUS_WATER_LEVEL_DETECTOR_MESSAGE0 = 'Water sensor pin %1';
  492. Blockly.Msg.LABPLUS_WATER_LEVEL_DETECTOR_TOOLTIP = '';
  493. Blockly.Msg.LABPLUS_WATER_LEVEL_DETECTOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%B0%B4%E4%BD%8D';
  494. Blockly.Msg.LABPLUS_SMOKE_DETECTOR_IS_TRIGGERED_MESSAGE0 = 'Smoke detector pin %1';
  495. Blockly.Msg.LABPLUS_SMOKE_DETECTOR_IS_TRIGGERED_TOOLTIP = '';
  496. Blockly.Msg.LABPLUS_SMOKE_DETECTOR_IS_TRIGGERED_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%83%9F%E9%9B%BE';
  497. /* Blockly.Msg.LABPLUS_BUZZER_FOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%9C%82%E9%B8%A3%E5%99%A8';
  498. Blockly.Msg.LABPLUS_BUZZER_FOR_TOOLTIP = '';
  499. Blockly.Msg.LABPLUS_BUZZER_FOR_MESSAGE0 = '以频率 %1 激活蜂鸣器 引脚0 %2 毫秒';
  500. Blockly.Msg.LABPLUS_BUZZER_ON_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%9C%82%E9%B8%A3%E5%99%A8';
  501. Blockly.Msg.LABPLUS_BUZZER_ON_TOOLTIP = '';
  502. Blockly.Msg.LABPLUS_BUZZER_ON_MESSAGE0 = '以频率 %1 激活蜂鸣器 引脚0';
  503. Blockly.Msg.LABPLUS_BUZZER_OFF_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%9C%82%E9%B8%A3%E5%99%A8';
  504. Blockly.Msg.LABPLUS_BUZZER_OFF_TOOLTIP = '';
  505. Blockly.Msg.LABPLUS_BUZZER_OFF_MESSAGE0 = '关闭蜂鸣器 引脚0'; */
  506. Blockly.Msg.LABPLUS_TM_HM_SENSOR_MESSAGE0 = 'Temperature-humidity sensor value of %1';
  507. Blockly.Msg.LABPLUS_TM_HM_SENSOR_TOOLTIP = '';
  508. Blockly.Msg.LABPLUS_TM_HM_SENSOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%B8%A9%E6%B9%BF%E5%BA%A6';
  509. Blockly.Msg.LABPLUS_TM_HM_SENSOR_TM = 'temperature';
  510. Blockly.Msg.LABPLUS_TM_HM_SENSOR_HM = 'humility';
  511. Blockly.Msg.LABPLUS_SET_SERVO_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%88%B5%E6%9C%BA';
  512. Blockly.Msg.LABPLUS_SET_SERVO_TOOLTIP = '';
  513. Blockly.Msg.LABPLUS_SET_SERVO_MESSAGE0 = 'Set sevor %1 degree as %2';
  514. Blockly.Msg.LABPLUS_FINGERPRINT_SENSOR_MESSAGE0 = 'Fingerprint reader pin %1 is valid';
  515. Blockly.Msg.LABPLUS_FINGERPRINT_SENSOR_TOOLTIP = '';
  516. Blockly.Msg.LABPLUS_FINGERPRINT_SENSOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%8C%87%E7%BA%B9';
  517. // Blockly.Msg.LABPLUS_SET_MOTOR_HELPURL = '';
  518. // Blockly.Msg.LABPLUS_SET_MOTOR_TOOLTIP = '';
  519. // Blockly.Msg.LABPLUS_SET_MOTOR_MESSAGE0 = '设置电机 %1 方向 %2 速度 %3';
  520. Blockly.Msg.LABPLUS_SET_MOTOR_CLOCKWISE = 'CLOCKWISE';
  521. Blockly.Msg.LABPLUS_SET_MOTOR_ANTI_CLOCKWISE = 'ANTI CLOCKWISE';
  522. // Blockly.Msg.LABPLUS_STOP_MOTOR_HELPURL = '';
  523. // Blockly.Msg.LABPLUS_STOP_MOTOR_TOOLTIP = '';
  524. // Blockly.Msg.LABPLUS_STOP_MOTOR_MESSAGE0 = '停止电机';
  525. Blockly.Msg.LABPLUS_GET_RFID_ID_MESSAGE0 = 'RFID module %1 is valid';
  526. Blockly.Msg.LABPLUS_GET_RFID_ID_TOOLTIP = '';
  527. Blockly.Msg.LABPLUS_GET_RFID_ID_HELPURL = 'http://wiki.labplus.cn/index.php?title=RFID';
  528. // Blockly.Msg.LABPLUS_GET_RFID_VALUE_MESSAGE0 = '电子钱包 引脚 %1 余额';
  529. // Blockly.Msg.LABPLUS_GET_RFID_VALUE_TOOLTIP = '';
  530. // Blockly.Msg.LABPLUS_GET_RFID_VALUE_HELPURL = '';
  531. // Blockly.Msg.LABPLUS_SET_RFID_VALUE_MESSAGE0 = '设置电子钱包 引脚 %1 余额 %2 %3';
  532. // Blockly.Msg.LABPLUS_SET_RFID_VALUE_TOOLTIP = '';
  533. // Blockly.Msg.LABPLUS_SET_RFID_VALUE_HELPURL = '';
  534. // Blockly.Msg.LABPLUS_SET_RFID_ADD = 'add';
  535. // Blockly.Msg.LABPLUS_SET_RFID_MINUS = 'minus';
  536. Blockly.Msg.LABPLUS_SOUND_IS_TRIGGERED_MESSAGE0 = 'Microphone pin %1';
  537. Blockly.Msg.LABPLUS_SOUND_IS_TRIGGERED_TOOLTIP = '';
  538. Blockly.Msg.LABPLUS_SOUND_IS_TRIGGERED_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E9%BA%A6%E5%85%8B%E9%A3%8E';
  539. Blockly.Msg.LABPLUS_USB_SWITCH_HELPURL = '';
  540. Blockly.Msg.LABPLUS_USB_SWITCH_TOOLTIP = '';
  541. Blockly.Msg.LABPLUS_USB_SWITCH_MESSAGE0 = '%1 USB switch %2';
  542. Blockly.Msg.LABPLUS_USB_SWITCH_ON = 'Turn on';
  543. Blockly.Msg.LABPLUS_USB_SWITCH_OFF = 'Turn off';
  544. Blockly.Msg.LABPLUS_VOICE_RECORD_HELPURL = '';
  545. Blockly.Msg.LABPLUS_VOICE_RECORD_TOOLTIP = '';
  546. Blockly.Msg.LABPLUS_VOICE_RECORD_MESSAGE0 = '%1 Recording & playback module pin %2';
  547. Blockly.Msg.LABPLUS_VOICE_RECORD_ON = 'Turn on';
  548. Blockly.Msg.LABPLUS_VOICE_RECORD_OFF = 'Turn on';
  549. // Blockly.Msg.LABPLUS_RGB_INITIALISE_MESSAGE0 = '使用 引脚 %1 控制,RGB 彩灯数 %2 ';
  550. // Blockly.Msg.LABPLUS_RGB_INITIALISE_TOOLTIP = '控制 RGB 彩灯。需要设定 neopixels 彩灯数量和控制脚。';
  551. // Blockly.Msg.LABPLUS_RGB_INITIALISE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/neopixel.html#neopixel.NeoPixel';
  552. // Blockly.Msg.LABPLUS_RGB_CLEAR_MESSAGE0 = '清除 RGB 彩灯 %1';
  553. // Blockly.Msg.LABPLUS_RGB_CLEAR_TOOLTIP = '清除所有 RGB 彩灯';
  554. // Blockly.Msg.LABPLUS_RGB_CLEAR_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/neopixel.html#neopixel.NeoPixel.clear';
  555. // Blockly.Msg.LABPLUS_RGB_SHOW_MESSAGE0 = '显示 RGB 彩灯 %1';
  556. // Blockly.Msg.LABPLUS_RGB_SHOW_TOOLTIP = '显示 / 更新全部 RGB 彩灯。';
  557. // Blockly.Msg.LABPLUS_RGB_SHOW_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/neopixel.html#neopixel.NeoPixel.show';
  558. // Blockly.Msg.LABPLUS_RGB_SET_MESSAGE0 = 'RGB 彩灯控制 %1 设置位置 %2 红色 %3 绿色 %4 蓝色 %5';
  559. // Blockly.Msg.LABPLUS_RGB_SET_TOOLTIP = '更新指定的 RGB 彩灯的红、绿、蓝 (RGB) 颜色';
  560. // Blockly.Msg.LABPLUS_RGB_SET_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/neopixel.html#using-neopixels';
  561. Blockly.Msg.LABPLUS_COMPITITION_INIT_EXTENDED_PINS_MESSAGE0 = 'Initailize extended IO %1 as %2';
  562. Blockly.Msg.LABPLUS_COMPITITION_INIT_EXTENDED_PINS_TOOLTIP = '0 indicates the output pin,1 indicates the input pin';
  563. Blockly.Msg.LABPLUS_COMPITITION_INIT_EXTENDED_PINS_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%AB%AF%E5%8F%A3%E6%89%A9%E5%B1%95';
  564. Blockly.Msg.LABPLUS_COMPITITION_INIT_EXTENDED_PINS_INPUT = 'Input';
  565. Blockly.Msg.LABPLUS_COMPITITION_INIT_EXTENDED_PINS_OUTPUT = 'Output';
  566. Blockly.Msg.LABPLUS_SET_EXTIO_MODE_INPUT = 'Input';
  567. Blockly.Msg.LABPLUS_SET_EXTIO_MODE_OUTPUT = 'Output';
  568. Blockly.Msg.LABPLUS_SET_EXTIO_MODE_MESSAGE0 = 'Initailize extIO %1 IO0 as %2 %3 IO1 as %4 %5 IO2 as %6 %7 IO3 as %8 %9 IO4 as %10 %11 IO5 as %12 %13 IO6 as %14 %15 IO7 as %16';
  569. Blockly.Msg.LABPLUS_SET_EXTIO_MODE_TOOLTIP = '0 indicates the output pin,1 indicates the input pin';
  570. Blockly.Msg.LABPLUS_SET_EXTIO_MODE_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%AB%AF%E5%8F%A3%E6%89%A9%E5%B1%95';
  571. Blockly.Msg.LABPLUS_READ_EXTENDED_PIN_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%AB%AF%E5%8F%A3%E6%89%A9%E5%B1%95';
  572. Blockly.Msg.LABPLUS_READ_EXTENDED_PIN_TOOLTIP = '';
  573. Blockly.Msg.LABPLUS_READ_EXTENDED_PIN_MESSAGE0 = 'Read extended IO %1'
  574. Blockly.Msg.LABPLUS_WRITE_EXTENDED_PIN_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%AB%AF%E5%8F%A3%E6%89%A9%E5%B1%95';
  575. Blockly.Msg.LABPLUS_WRITE_EXTENDED_PIN_TOOLTIP = '';
  576. Blockly.Msg.LABPLUS_WRITE_EXTENDED_PIN_MESSAGE0 = 'Set extended IO %1 Value as %2';
  577. Blockly.Msg.LABPLUS_I2C_ULTRASONIC_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%B6%85%E5%A3%B0%E6%B3%A2';
  578. Blockly.Msg.LABPLUS_I2C_ULTRASONIC_TOOLTIP = '';
  579. Blockly.Msg.LABPLUS_I2C_ULTRASONIC_MESSAGE0 = 'Ultrasonics sensor(i2c)';
  580. Blockly.Msg.MICROBIT_SET_MUSIC_PIN_HELPURL = '';
  581. Blockly.Msg.MICROBIT_SET_MUSIC_PIN_TOOLTIP = '';
  582. Blockly.Msg.MICROBIT_SET_MUSIC_PIN_MESSAGE0 = 'Set default pin for buzzer as %1';
  583. Blockly.Msg.LABPLUS_HUMAN_DETECTOR_IS_TRIGGERED_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E4%BA%BA%E4%BD%93%E6%84%9F%E5%BA%94';
  584. Blockly.Msg.LABPLUS_HUMAN_DETECTOR_IS_TRIGGERED_TOOLTIP = '';
  585. Blockly.Msg.LABPLUS_HUMAN_DETECTOR_IS_TRIGGERED_MESSAGE0 = 'PIR Sensor pin %1';
  586. Blockly.Msg.LABPLUS_MAGNETIC_SWITCH_IS_TRIGGERED_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E9%97%A8%E7%A3%81%E5%BC%80%E5%85%B3';
  587. Blockly.Msg.LABPLUS_MAGNETIC_SWITCH_IS_TRIGGERED_TOOLTIP = '';
  588. Blockly.Msg.LABPLUS_MAGNETIC_SWITCH_IS_TRIGGERED_MESSAGE0 = 'Magnetic switch pin %1';
  589. Blockly.Msg.LABPLUS_SOUND_LEVEL_SENSOR_HELPURL = '';
  590. Blockly.Msg.LABPLUS_SOUND_LEVEL_SENSOR_TOOLTIP = '';
  591. Blockly.Msg.LABPLUS_SOUND_LEVEL_SENSOR_MESSAGE0 = 'Microphone pin %1';
  592. Blockly.Msg.LABPLUS_SMOKE_SENSOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%83%9F%E9%9B%BE';
  593. Blockly.Msg.LABPLUS_SMOKE_SENSOR_TOOLTIP = '';
  594. Blockly.Msg.LABPLUS_SMOKE_SENSOR_MESSAGE0 = 'Smoke sensor pin %1';
  595. Blockly.Msg.LABPLUS_SOIL_MOISTURE_SENSOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E5%9C%9F%E5%A3%A4%E6%B9%BF%E5%BA%A6';
  596. Blockly.Msg.LABPLUS_SOIL_MOISTURE_SENSOR_TOOLTIP = '';
  597. Blockly.Msg.LABPLUS_SOIL_MOISTURE_SENSOR_MESSAGE0 = 'Soil moisture sensor pin %1';
  598. Blockly.Msg.LABPLUS_FAN_SWITCH_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%8E%92%E9%A3%8E%E6%89%87';
  599. Blockly.Msg.LABPLUS_FAN_SWITCH_TOOLTIP = '';
  600. Blockly.Msg.LABPLUS_FAN_SWITCH_MESSAGE0 = '%1 fan %2';
  601. Blockly.Msg.LABPLUS_VOICE_RECORD_ON_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%AF%AD%E9%9F%B3%E5%BD%95%E6%94%BE';
  602. Blockly.Msg.LABPLUS_VOICE_RECORD_ON_TOOLTIP = '';
  603. Blockly.Msg.LABPLUS_VOICE_RECORD_ON_MESSAGE0 = 'Turn on recording & playback module %1 pin %2';
  604. Blockly.Msg.LABPLUS_VOICE_RECORD_PLAY = 'Playing';
  605. Blockly.Msg.LABPLUS_VOICE_RECORD_REC = 'Recording';
  606. Blockly.Msg.LABPLUS_VOICE_RECORD_OFF_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%AF%AD%E9%9F%B3%E5%BD%95%E6%94%BE';
  607. Blockly.Msg.LABPLUS_VOICE_RECORD_OFF_TOOLTIP = '';
  608. Blockly.Msg.LABPLUS_VOICE_RECORD_OFF_MESSAGE0 = 'Turn off recording & playback module pin %1';
  609. Blockly.Msg.LABPLUS_MOTOR_ON_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%94%B5%E6%9C%BA%E9%A9%B1%E5%8A%A8';
  610. Blockly.Msg.LABPLUS_MOTOR_ON_TOOLTIP = '';
  611. Blockly.Msg.LABPLUS_MOTOR_ON_MESSAGE0 = 'Turn on DC motor %1 speed %2 pin %3';
  612. Blockly.Msg.LABPLUS_MOTOR_ON_CLOCKWISE = 'Clockwise';
  613. Blockly.Msg.LABPLUS_MOTOR_ON_ANTICLOCKWISE = 'Anti-clockwise';
  614. Blockly.Msg.LABPLUS_MOTOR_OFF_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%94%B5%E6%9C%BA%E9%A9%B1%E5%8A%A8';
  615. Blockly.Msg.LABPLUS_MOTOR_OFF_TOOLTIP = '';
  616. Blockly.Msg.LABPLUS_MOTOR_OFF_MESSAGE0 = 'Stop DC motor pin %1';
  617. Blockly.Msg.LABPLUS_READ_COLOR_FROM_I2C_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E9%A2%9C%E8%89%B2';
  618. Blockly.Msg.LABPLUS_READ_COLOR_FROM_I2C_TOOLTIP = '';
  619. Blockly.Msg.LABPLUS_READ_COLOR_FROM_I2C_MESSAGE0 = 'Color sensor read once';
  620. Blockly.Msg.LABPLUS_RGB_COLOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=RGB_LED';
  621. Blockly.Msg.LABPLUS_RGB_COLOR_TOOLTIP = 'Read saved colors';
  622. Blockly.Msg.LABPLUS_RGB_COLOR_MESSAGE0 = 'RGB color %1';
  623. Blockly.Msg.LABPLUS_SET_I2C_DIGITS_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%95%B0%E7%A0%81%E7%AE%A1';
  624. Blockly.Msg.LABPLUS_SET_I2C_DIGITS_TOOLTIP = '';
  625. Blockly.Msg.LABPLUS_SET_I2C_DIGITS_MESSAGE0 = 'Set digit module(i2c) display %1';
  626. Blockly.Msg.LABPLUS_TURN_OFF_I2C_DIGITS_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%95%B0%E7%A0%81%E7%AE%A1';
  627. Blockly.Msg.LABPLUS_TURN_OFF_I2C_DIGITS_TOOLTIP = '';
  628. Blockly.Msg.LABPLUS_TURN_OFF_I2C_DIGITS_MESSAGE0 = 'Turn off digit module(i2c)';
  629. Blockly.Msg.LABPLUS_UART_SET_MIDI_MELODIC_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%94%B5%E5%AD%90%E7%90%B4';
  630. Blockly.Msg.LABPLUS_UART_SET_MIDI_MELODIC_TOOLTIP = '';
  631. Blockly.Msg.LABPLUS_UART_SET_MIDI_MELODIC_MESSAGE0 = 'Set MIDI module melodic as %1';
  632. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%94%B5%E5%AD%90%E7%90%B4';
  633. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_TOOLTIP = '';
  634. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_MESSAGE0 = 'MIDI module %2 %1';
  635. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_Do = 'Do';
  636. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_Re = 'Re';
  637. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_Mi = 'Mi';
  638. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_Fa = 'Fa';
  639. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_Sol = 'Sol';
  640. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_La = 'La';
  641. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE_Si = 'Si';
  642. Blockly.Msg.LABPLUS_UART_PLAY_MIDI_NOTE = 'play';
  643. Blockly.Msg.LABPLUS_UART_OFF_MIDI_NOTE = 'stop';
  644. Blockly.Msg.LABPLUS_UART_OFF_MIDI_NOTE_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%94%B5%E5%AD%90%E7%90%B4';
  645. Blockly.Msg.LABPLUS_UART_OFF_MIDI_NOTE_TOOLTIP = '';
  646. Blockly.Msg.LABPLUS_UART_OFF_MIDI_NOTE_MESSAGE0 = 'MIDI module stop playing %1';
  647. Blockly.Msg.LABPLUS_UART_INIT_MIDI_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%94%B5%E5%AD%90%E7%90%B4';
  648. Blockly.Msg.LABPLUS_UART_INIT_MIDI_TOOLTIP = '';
  649. Blockly.Msg.LABPLUS_UART_INIT_MIDI_MESSAGE0 = 'Initialize MIDI module %1';
  650. Blockly.Msg.LABPLUS_LINE_FOLLOWER_IS_TRIGGERED_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E5%BE%AA%E8%BF%B9';
  651. Blockly.Msg.LABPLUS_LINE_FOLLOWER_IS_TRIGGERED_TOOLTIP = '';
  652. Blockly.Msg.LABPLUS_LINE_FOLLOWER_IS_TRIGGERED_MESSAGE0 = 'Path finder pin %1 is on black';
  653. Blockly.Msg.LABPLUS_TEMPERATURE_SENSOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=LM35%E6%B8%A9%E5%BA%A6';
  654. Blockly.Msg.LABPLUS_TEMPERATURE_SENSOR_TOOLTIP = '';
  655. Blockly.Msg.LABPLUS_TEMPERATURE_SENSOR_MESSAGE0 = 'LM temperature sensor pin %1';
  656. Blockly.Msg.LABPLUS_ROTATE_DIMMER_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%97%8B%E9%92%AE%E7%94%B5%E4%BD%8D%E5%99%A8';
  657. Blockly.Msg.LABPLUS_ROTATE_DIMMER_TOOLTIP = '';
  658. Blockly.Msg.LABPLUS_ROTATE_DIMMER_MESSAGE0 = 'Rotate potentiometer pin %1';
  659. Blockly.Msg.LABPLUS_SHAKE_DETECTOR_IS_TRIGGERED_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E9%9C%87%E5%8A%A8';
  660. Blockly.Msg.LABPLUS_SHAKE_DETECTOR_IS_TRIGGERED_TOOLTIP = '';
  661. Blockly.Msg.LABPLUS_SHAKE_DETECTOR_IS_TRIGGERED_MESSAGE0 = 'Vibration sensor pin %1';
  662. Blockly.Msg.LABPLUS_LASER_SWITCH_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%BF%80%E5%85%89%E5%8F%91%E5%B0%84';
  663. Blockly.Msg.LABPLUS_LASER_SWITCH_TOOLTIP = '';
  664. Blockly.Msg.LABPLUS_LASER_SWITCH_MESSAGE0 = '%1 Laser emission module pin %2';
  665. Blockly.Msg.LABPLUS_4BUTTON_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E5%9B%9B%E6%8C%89%E9%94%AE';
  666. Blockly.Msg.LABPLUS_4BUTTON_TOOLTIP = '';
  667. Blockly.Msg.LABPLUS_4BUTTON_MESSAGE0 = 'Navigation button module pin %1 button %2 is pressed';
  668. Blockly.Msg.BLUE = 'A';
  669. Blockly.Msg.GREEN = 'B';
  670. Blockly.Msg.RED = 'C';
  671. Blockly.Msg.YELLOW = 'D';
  672. Blockly.Msg.LABPLUS_JOYSTICK_HELPURL = '';
  673. Blockly.Msg.LABPLUS_JOYSTICK_TOOLTIP = '';
  674. Blockly.Msg.LABPLUS_JOYSTICK_MESSAGE0 = 'Thumb joystick pin A0 %1 pin A1 %2 %3 axis';
  675. Blockly.Msg.LABPLUS_UART_MP3_PLAY_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E9%9F%B3%E4%B9%90%E6%92%AD%E6%94%BE';
  676. Blockly.Msg.LABPLUS_UART_MP3_PLAY_TOOLTIP = '';
  677. Blockly.Msg.LABPLUS_UART_MP3_PLAY_MESSAGE0 = 'Music player module(uart) play music %1';
  678. Blockly.Msg.LABPLUS_UART_MP3_SET_VOLUME_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E9%9F%B3%E4%B9%90%E6%92%AD%E6%94%BE';
  679. Blockly.Msg.LABPLUS_UART_MP3_SET_VOLUME_TOOLTIP = '';
  680. Blockly.Msg.LABPLUS_UART_MP3_SET_VOLUME_MESSAGE0 = 'Set music module(uart) volume as %1';
  681. Blockly.Msg.LABPLUS_UART_MP3_SET_STATUS_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E9%9F%B3%E4%B9%90%E6%92%AD%E6%94%BE';
  682. Blockly.Msg.LABPLUS_UART_MP3_SET_STATUS_TOOLTIP = '';
  683. Blockly.Msg.LABPLUS_UART_MP3_SET_STATUS_MESSAGE0 = 'Set music module(uart) status as %1';
  684. Blockly.Msg.PAUSE = 'Pause';
  685. Blockly.Msg.STOP = 'Stop';
  686. Blockly.Msg.PLAY = 'Play';
  687. Blockly.Msg.LABPLUS_UART_INIT_HELPURL = 'http://wiki.labplus.cn/index.php?title=Bluebit';
  688. Blockly.Msg.LABPLUS_UART_INIT_TOOLTIP = '';
  689. Blockly.Msg.LABPLUS_UART_INIT_MESSAGE0 = 'Initialize uart baudrate as %3 pin TX as %1 pin RX as %2';
  690. Blockly.Msg.LABPLUS_VOICE_RECORD_ON1_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%AF%AD%E9%9F%B3%E5%BD%95%E6%94%BE';
  691. Blockly.Msg.LABPLUS_VOICE_RECORD_ON1_TOOLTIP = '';
  692. Blockly.Msg.LABPLUS_VOICE_RECORD_ON1_MESSAGE0 = 'Turn on recording & playback module %1 %2 pin REC %3 pin PLAY %4';
  693. Blockly.Msg.LABPLUS_VOICE_RECORD_OFF1_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%AF%AD%E9%9F%B3%E5%BD%95%E6%94%BE';
  694. Blockly.Msg.LABPLUS_VOICE_RECORD_OFF1_TOOLTIP = '';
  695. Blockly.Msg.LABPLUS_VOICE_RECORD_OFF1_MESSAGE0 = 'Turn off recording & playback module %1 pin REC %2 pin PLAY %3';
  696. Blockly.Msg.LABPLUS_MOTOR_ON1_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%94%B5%E6%9C%BA%E9%A9%B1%E5%8A%A8';
  697. Blockly.Msg.LABPLUS_MOTOR_ON1_TOOLTIP = '';
  698. Blockly.Msg.LABPLUS_MOTOR_ON1_MESSAGE0 = 'Set dc motor %1 speed %2 pin AIN1 %3 pin AIN2 %4';
  699. Blockly.Msg.LABPLUS_MOTOR_OFF1_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%94%B5%E6%9C%BA%E9%A9%B1%E5%8A%A8';
  700. Blockly.Msg.LABPLUS_MOTOR_OFF1_TOOLTIP = '';
  701. Blockly.Msg.LABPLUS_MOTOR_OFF1_MESSAGE0 = 'Stop dc motor %1 pin AIN1 %2 pin AIN2 %3';
  702. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_CURSOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=1602_LCD';
  703. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_CURSOR_TOOLTIP = '';
  704. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_CURSOR_MESSAGE0 = 'Set LCD cursor to %1 X %2 Y %3';
  705. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_PRINT_HELPURL = 'http://wiki.labplus.cn/index.php?title=1602_LCD';
  706. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_PRINT_TOOLTIP = '';
  707. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_PRINT_MESSAGE0 = 'Set LCD display %1';
  708. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_SCROLL_HELPURL = 'http://wiki.labplus.cn/index.php?title=1602_LCD';
  709. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_SCROLL_TOOLTIP = 'Used with cycles';
  710. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_SCROLL_MESSAGE0 = '%1 scrolling display LCD message';
  711. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_SCROLL_ALEFT = 'Aleft';
  712. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_SCROLL_RIGHTWARD = 'Rightward';
  713. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_CLEAR_HELPURL = 'http://wiki.labplus.cn/index.php?title=1602_LCD';
  714. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_CLEAR_TOOLTIP = '';
  715. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_CLEAR_MESSAGE0 = 'Clear LCD module';
  716. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_STATE_HELPURL = 'http://wiki.labplus.cn/index.php?title=1602_LCD';
  717. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_STATE_TOOLTIP = '';
  718. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_STATE_MESSAGE0 = 'Set LCD %1';
  719. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_HIDE_CURSOR = 'Hide cursor';
  720. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_SHOW_CURSOR = 'Show cursor';
  721. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_BLINK_CURSOR = 'Blink cursor';
  722. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_SCROLL_LEFT = 'Scroll left';
  723. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_SCROLL_RIGHT = 'Scroll right';
  724. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_LEFT_TO_RIGHT = 'String stream from left to right';
  725. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_RIGHT_TO_LEFT = 'String stream from right to left';
  726. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_CURSOR_TO_ORIGIN = 'Cursor back to origin';
  727. Blockly.Msg.LABPLUS_SET_I2C_LCD1602_CLEAR = 'Clear';
  728. Blockly.Msg.LABPLUS_UART_ANY_MSG_RECEIVED_HELPURL = 'http://wiki.labplus.cn/index.php?title=Bluebit';
  729. Blockly.Msg.LABPLUS_UART_ANY_MSG_RECEIVED_TOOLTIP = '';
  730. Blockly.Msg.LABPLUS_UART_ANY_MSG_RECEIVED_MESSAGE0 = '%1 receive message';
  731. Blockly.Msg.BLUEBIT_UART = 'Uart';
  732. Blockly.Msg.BLUEBIT_INFRARED_SIGNAL = 'IR Signal';
  733. Blockly.Msg.BLUEBIT_BLUEBOOTH = 'Bluebooth';
  734. Blockly.Msg.LABPLUS_UART_READ_MSG_HELPURL = 'http://wiki.labplus.cn/index.php?title=Bluebit';
  735. Blockly.Msg.LABPLUS_UART_READ_MSG_TOOLTIP = '';
  736. Blockly.Msg.LABPLUS_UART_READ_MSG_MESSAGE0 = 'Read from %1';
  737. Blockly.Msg.LABPLUS_UART_WRITE_MSG_HELPURL = 'http://wiki.labplus.cn/index.php?title=Bluebit';
  738. Blockly.Msg.LABPLUS_UART_WRITE_MSG_TOOLTIP = '';
  739. Blockly.Msg.LABPLUS_UART_WRITE_MSG_MESSAGE0 = '%1 send %2';
  740. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%82%B9%E9%98%B5';
  741. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_TOOLTIP = '';
  742. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_MESSAGE0 = 'Set dot matrix %1 row1 %2 row2 %3 row3 %4 row4 %5 row5 %6 row6 %7 row7 %8 row8 %9 ';
  743. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_MESSAGE2 = 'Set dot matrix %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %20 %21 %22 %23 %24 %25 %26 %27 %28 %29 %30 %31 %32 %33 %34 %35 %36 %37 %38 %39 %40 %41 %42 %43 %44 %45 %46 %47 %48 %49 %50 %51 %52 %53 %54 %55 %56 %57 %58 %59 %60 %61 %62 %63 %64 %65 %66 %67 %68 %69 %70 %71 %72';
  744. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_CLEAR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%82%B9%E9%98%B5';
  745. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_CLEAR_TOOLTIP = '';
  746. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_CLEAR_MESSAGE0 = 'Clear dot matrix';
  747. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_DRAW_PIXEL_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%82%B9%E9%98%B5';
  748. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_DRAW_PIXEL_TOOLTIP = '';
  749. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_DRAW_PIXEL_MESSAGE0 = 'Dotted matrix at %1 X %2 Y %3';
  750. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_SHOW_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E7%82%B9%E9%98%B5';
  751. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_SHOW_TOOLTIP = '';
  752. Blockly.Msg.LABPLUS_SET_I2C_LED_MATRIX_SHOW_MESSAGE0 = 'Dot matrix display takes effect';
  753. Blockly.Msg.LABPLUS_UART_SET_OLCD_HELPURL = 'http://wiki.labplus.cn/index.php?title=LCD';
  754. Blockly.Msg.LABPLUS_UART_SET_OLCD_TOOLTIP = '';
  755. Blockly.Msg.LABPLUS_UART_SET_OLCD_MESSAGE0 = 'Set LCD display %4 on %1 X %2 Y %3 character set as %5';
  756. Blockly.Msg.LABPLUS_UART_SET_OLCD_CLEAR_HELPURL = 'http://wiki.labplus.cn/index.php?title=LCD';
  757. Blockly.Msg.LABPLUS_UART_SET_OLCD_CLEAR_TOOLTIP = '';
  758. Blockly.Msg.LABPLUS_UART_SET_OLCD_CLEAR_MESSAGE0 = 'Clear matrix on LCD %1 from X1 %2 Y1 %3 to X2 %4 Y2 %5';
  759. Blockly.Msg.LABPLUS_UART_SET_OLCD_CLEAR_ALL_MESSAGE0 = 'Clear LCD display';
  760. Blockly.Msg.LABPLUS_UART_SET_OLCD_CLEAR_ALL_HELPURL = 'http://wiki.labplus.cn/index.php?title=LCD';
  761. Blockly.Msg.LABPLUS_UART_SET_OLCD_CLEAR_ALL_TOOLTIP = '';
  762. Blockly.Msg.LABPLUS_LIGHT_SENSOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E6%A8%A1%E6%8B%9F%E5%85%89%E7%BA%BF';
  763. Blockly.Msg.LABPLUS_LIGHT_SENSOR_TOOLTIP = '';
  764. Blockly.Msg.LABPLUS_LIGHT_SENSOR_MESSAGE0 = 'Light sensor pin %1';
  765. Blockly.Msg.LABPLUS_BUTTON_MODULE_IS_PRESSED_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/i2c.html';
  766. Blockly.Msg.LABPLUS_BUTTON_MODULE_IS_PRESSED_TOOLTIP = '';
  767. Blockly.Msg.LABPLUS_BUTTON_MODULE_IS_PRESSED_MESSAGE0 = 'Button pin %1 is pressed';
  768. //映射,放math目录
  769. Blockly.Msg.labplus_mapping_MESSAGE0 = 'Mapping%1 from%2 %3to%4 %5'
  770. Blockly.Msg.labplus_mapping_TOOLTIP = 'Insert variables to be mapped in the first number box, then assign a value to another variable'
  771. Blockly.Msg.labplus_mapping_HELPURL = ''
  772. Blockly.Msg.MICROBIT_EXT2_SET_SERVO_HELPURL = 'http://wiki.labplus.cn/index.php?title=Extend:bit%E2%85%A1';
  773. Blockly.Msg.MICROBIT_EXT2_SET_SERVO_TOOLTIP = '';
  774. Blockly.Msg.MICROBIT_EXT2_SET_SERVO_MESSAGE0 = 'Set servo %1 degree as %2';
  775. Blockly.Msg.MICROBIT_EXT2_SET_MOTOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=Extend:bit%E2%85%A1';
  776. Blockly.Msg.MICROBIT_EXT2_SET_MOTOR_TOOLTIP = '';
  777. Blockly.Msg.MICROBIT_EXT2_SET_MOTOR_MESSAGE0 = 'Set motor %1 direction as %2 speed %3';
  778. Blockly.Msg.MICROBIT_EXT2_STOP_MOTOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=Extend:bit%E2%85%A1';
  779. Blockly.Msg.MICROBIT_EXT2_STOP_MOTOR_TOOLTIP = '';
  780. Blockly.Msg.MICROBIT_EXT2_STOP_MOTOR_MESSAGE0 = 'Stop motor %1';
  781. Blockly.Msg.MICROBIT_EXT2_SOUND_VALUE_MESSAGE0 = 'Sound value';
  782. Blockly.Msg.MICROBIT_EXT2_SOUND_VALUE_HELPURL = 'http://wiki.labplus.cn/index.php?title=Extend:bit%E2%85%A1';
  783. Blockly.Msg.MICROBIT_EXT2_SOUND_VALUE_TOOLTIP = '';
  784. Blockly.Msg.MICROBIT_EXT2_LIGHT_VALUE_MESSAGE0 = 'Light value';
  785. Blockly.Msg.MICROBIT_EXT2_LIGHT_VALUE_HELPURL = 'http://wiki.labplus.cn/index.php?title=Extend:bit%E2%85%A1';
  786. Blockly.Msg.MICROBIT_EXT2_LIGHT_VALUE_TOOLTIP = '';
  787. Blockly.Msg.MICROBIT_EXT2_SET_PWM_MESSAGE0 = 'Set PWM %1 value to %2';
  788. Blockly.Msg.MICROBIT_EXT2_SET_PWM_TOOLTIP = 'PWM value range is 0 to 4095';
  789. Blockly.Msg.MICROBIT_EXT2_SET_PWM_HELPURL = 'http://wiki.labplus.cn/index.php?title=Extend:bit%E2%85%A1';
  790. Blockly.Msg.MICROBIT_EXT2_STEP_MOTOR_MESSAGE0 = 'Drive stepper motor %1 with direction %2 and speed %3';
  791. Blockly.Msg.MICROBIT_EXT2_STEP_MOTOR_TOOLTIP = 'Note: Cannot be used with the servo and DC motor and PWM output.\nOnly the 28BYJ-48 stepper motor is supported.\nSpeed value range is 25 to 150';
  792. Blockly.Msg.MICROBIT_EXT2_STEP_MOTOR_HELPURL = 'http://wiki.labplus.cn/index.php?title=Extend:bit%E2%85%A1';
  793. Blockly.Msg.MICROBIT_INIT_I2C_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/i2c.html';
  794. Blockly.Msg.MICROBIT_INIT_I2C_TOOLTIP = '';
  795. Blockly.Msg.MICROBIT_INIT_I2C_MESSAGE0 = 'Initialize I2C frequency as %1 pin SDA %2 pin SCL %3';
  796. Blockly.Msg.MICROBIT_I2C_READ_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/i2c.html';
  797. Blockly.Msg.MICROBIT_I2C_READ_TOOLTIP = '';
  798. Blockly.Msg.MICROBIT_I2C_READ_MESSAGE0 = 'I2C read form %1 bytes %2';
  799. Blockly.Msg.MICROBIT_I2C_WRITE_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/i2c.html';
  800. Blockly.Msg.MICROBIT_I2C_WRITE_TOOLTIP = '';
  801. Blockly.Msg.MICROBIT_I2C_WRITE_MESSAGE0 = 'I2C write %2 to address %1';
  802. Blockly.Msg.MICROBIT_CONVERT_BYTEARRAY_HELPURL = 'https://microbit-micropython.readthedocs.io/en/latest/i2c.html';
  803. Blockly.Msg.MICROBIT_CONVERT_BYTEARRAY_TOOLTIP = '';
  804. Blockly.Msg.MICROBIT_CONVERT_BYTEARRAY_MESSAGE0 = 'Turn into bytearray %1';
  805. Blockly.Msg.BOTBIT_MOTOR_ON_HELPURL = '';
  806. Blockly.Msg.BOTBIT_MOTOR_ON_TOOLTIP = 'Rang: -2000~2000';
  807. Blockly.Msg.BOTBIT_MOTOR_ON_MESSAGE0 = 'Set BOBI %1 right motor speed as %2 left motor speed as %3';
  808. Blockly.Msg.BOTBIT_MOTOR_LEFT = 'Left';
  809. Blockly.Msg.BOTBIT_MOTOR_RIGHT = 'Right';
  810. Blockly.Msg.BOTBIT_MOTOR_FORWARD = 'Forward';
  811. Blockly.Msg.BOTBIT_MOTOR_BACKWARD = 'Backward';
  812. Blockly.Msg.BOTBIT_TURN_HELPURL = '';
  813. Blockly.Msg.BOTBIT_TURN_MESSAGE0 = 'BOBI turn steps %1 single-step-time %2 ms and direction %3';
  814. Blockly.Msg.BOTBIT_TURN_TOOLTIP = '';
  815. Blockly.Msg.BOTBIT_setRGB_HELPURL = '';
  816. Blockly.Msg.BOTBIT_setRGB_MESSAGE0 = 'Set BOBI %1 LED color R %2 G %3 B %4';
  817. Blockly.Msg.BOTBIT_setRGB_TOOLTIP = 'r,g,b:0~255';
  818. Blockly.Msg.BOTBIT_setHSV_HELPURL = '';
  819. Blockly.Msg.BOTBIT_setHSV_MESSAGE0 = 'Set BOBI %1 LED color h %2 s %3 v %4';
  820. Blockly.Msg.BOTBIT_setHSV_TOOLTIP = "h: 0~360,s: 0~1,v: 0~1";
  821. Blockly.Msg.BOTBIT_HOLDBALL_HELPURL = '';
  822. Blockly.Msg.BOTBIT_HOLDBALL_TOOLTIP = '';
  823. Blockly.Msg.BOTBIT_HOLDBALL_MESSAGE0 = 'BOBI hold up arms';
  824. Blockly.Msg.BOTBIT_STEERING_ENGINEL_HELPURL = '';
  825. Blockly.Msg.BOTBIT_STEERING_ENGINEL_TOOLTIP = 'Range: -45°~45°';
  826. Blockly.Msg.BOTBIT_STEERING_ENGINEL_MESSAGE0 = 'Get %1 Acceleration'; //arm %2 degree as %3
  827. Blockly.Msg.BOTBIT_STEERING_ENGINET_MESSAGE0 = 'Get %1 Tilt Angle';
  828. Blockly.Msg.X = 'X:';
  829. Blockly.Msg.Y = 'Y:';
  830. Blockly.Msg.W = 'Width:';
  831. Blockly.Msg.H = 'Height:';
  832. Blockly.Msg.BOTBIT_SERVO_Y = 'Y-axis';
  833. Blockly.Msg.BOTBIT_SERVO_X = 'X-axis';
  834. Blockly.Msg.BOTBIT_SERVO_Z = 'Z-axis';
  835. Blockly.Msg.BOTBIT_SERVO_UP = 'Upward side';
  836. Blockly.Msg.BOTBIT_SERVO_DOWN = 'Inferior';
  837. Blockly.Msg.BOTBIT_STEERING_ENGINE_LEG_HELPURL = '';
  838. Blockly.Msg.BOTBIT_STEERING_ENGINE_LEG_TOOLTIP = 'Range: -45°~45°';
  839. Blockly.Msg.BOTBIT_STEERING_ENGINE_LEG_MESSAGE0 = 'Set BOBI %1 leg %2 servo degree as %3';
  840. Blockly.Msg.BOTBIT_WALKING_HELPURL = '';
  841. Blockly.Msg.BOTBIT_WALKING_TOOLTIP = 'The period is inversely proportional to the speed, recommended 1000 to 2000';
  842. Blockly.Msg.BOTBIT_WALKING_MESSAGE0 = 'BOBI walking steps%2 period%3 %1 ';
  843. Blockly.Msg.BOTBIT_WALKING_FORWARD = 'FORWARD';
  844. Blockly.Msg.BOTBIT_WALKING_BACK = 'BACK';
  845. Blockly.Msg.BOTBIT_MOONWALKER_HELPURL = '';
  846. Blockly.Msg.BOTBIT_MOONWALKER_TOOLTIP = 'Recommended: period 1000~2000; amplitude 10~50';
  847. Blockly.Msg.BOTBIT_MOONWALKER_MESSAGE0 = 'BOBI moonwalker steps%2 period%3 amplitude%4 %1 ';
  848. Blockly.Msg.BOTBIT_MOONWALKER_L = 'Left';
  849. Blockly.Msg.BOTBIT_MOONWALKER_R = 'Right';
  850. Blockly.Msg.BOTBIT_CRUSAITO_HELPURL = '';
  851. Blockly.Msg.BOTBIT_CRUSAITO_TOOLTIP = 'Recommended: steps 2~10; amplitude 10~50';
  852. Blockly.Msg.BOTBIT_CRUSAITO_MESSAGE0 = 'BOBI crusaito steps%2 period%3 amplitude%4 %1';
  853. Blockly.Msg.BOTBIT_CRUSAITO_CW = 'In anti-clockwise';
  854. Blockly.Msg.BOTBIT_CRUSAITO_ANTICW = 'In clockwise';
  855. Blockly.Msg.BOTBIT_FLAPPING_HELPURL = '';
  856. Blockly.Msg.BOTBIT_FLAPPING_TOOLTIP = 'Recommended: steps~15, amplitude 10~30, period 1000~2000';
  857. Blockly.Msg.BOTBIT_FLAPPING_MESSAGE0 = 'BOBI flapping steps%2 period%3 amplitude%4 %1';
  858. Blockly.Msg.BOTBIT_FLAPPING_FORWARD = 'FORWARD';
  859. Blockly.Msg.BOTBIT_FLAPPING_BACK = 'BACK';
  860. Blockly.Msg.BOTBIT_HOME_HELPURL = '';
  861. Blockly.Msg.BOTBIT_HOME_TOOLTIP = '';
  862. Blockly.Msg.BOTBIT_HOME_MESSAGE0 = 'BOBI init dancing';
  863. Blockly.Msg.BOTBIT_UPDATEPOSITION_HELPURL = '';
  864. Blockly.Msg.BOTBIT_UPDATEPOSITION_TOOLTIP = '';
  865. Blockly.Msg.BOTBIT_UPDATEPOSITION_MESSAGE0 = 'Execute the BOBI servos';
  866. Blockly.Msg.BOTBIT_ULTRASONIC_HELPURL = '';
  867. Blockly.Msg.BOTBIT_ULTRASONIC_TOOLTIP = '';
  868. Blockly.Msg.BOTBIT_ULTRASONIC_MESSAGE0 = 'Ultrasonic distance on BOBI';
  869. Blockly.Msg.BOTBIT_DANCING_HELPURL = '';
  870. Blockly.Msg.BOTBIT_DANCING_TOOLTIP = '';
  871. Blockly.Msg.BOTBIT_DANCING_MESSAGE0 = 'BOBI dancing';
  872. Blockly.Msg.BOTBIT_PIDtracking_HELPURL = 'http://wiki.labplus.cn/index.php?title=Bot:bit';
  873. Blockly.Msg.BOTBIT_PIDtracking_TOOLTIP = 'TrackSpeed: 0~2000';
  874. Blockly.Msg.BOTBIT_PIDtracking_MESSAGE0 = 'Calibrate and track %1 kp %2 kd %3 speed %4';
  875. Blockly.Msg.LABPLUS_UART_SET_MIDI_VOL_HELPURL = 'http://wiki.labplus.cn/index.php?title=MIDI(%E7%94%B5%E5%AD%90%E7%90%B4)';
  876. Blockly.Msg.LABPLUS_UART_SET_MIDI_VOL_TOOLTIP = '';
  877. Blockly.Msg.LABPLUS_UART_SET_MIDI_VOL_MESSAGE0 = 'Set the volume of MIDI module as %1';
  878. Blockly.Msg.LABPLUS_PLAY_BUZZER_NOTE_HELPURL = 'http://wiki.labplus.cn/index.php?title=%E8%9C%82%E9%B8%A3%E5%99%A8';
  879. Blockly.Msg.LABPLUS_PLAY_BUZZER_NOTE_TOOLTIP = '';
  880. Blockly.Msg.LABPLUS_PLAY_BUZZER_NOTE_MESSAGE0 = 'Play tone %1';
  881. Blockly.Msg.Carbit_init_MESSAGE0 = 'CarBit init';
  882. Blockly.Msg.Carbit_init_TOOLTIP = '';
  883. Blockly.Msg.Carbit_init_HELPURL = '';
  884. Blockly.Msg.Carbit_setLeftMotor_MESSAGE0 = 'Set B2 motor speed %1';
  885. Blockly.Msg.Carbit_setLeftMotor_TOOLTIP = 'Range:-100~100';
  886. Blockly.Msg.Carbit_setLeftMotor_HELPURL = '';
  887. Blockly.Msg.Carbit_setRightMotor_MESSAGE0 = 'Set B1 motor speed %1';
  888. Blockly.Msg.Carbit_setRightMotor_TOOLTIP = 'Range:-100~100';
  889. Blockly.Msg.Carbit_setRightMotor_HELPURL = '';
  890. Blockly.Msg.Carbit_analog_light_HELPURL = '';
  891. Blockly.Msg.Carbit_analog_light_TOOLTIP = 'Q3 with Pin1,Q4 with Pin2';
  892. Blockly.Msg.Carbit_analog_light_MESSAGE0 = '%1 Value of simulated light';
  893. Blockly.Msg.Carbit_Speed_U10_HELPURL = '';
  894. Blockly.Msg.Carbit_Speed_U10_TOOLTIP = 'U10';
  895. Blockly.Msg.Carbit_Speed_U10_MESSAGE0 = 'Left wheel speed';
  896. Blockly.Msg.Carbit_Speed_U11_HELPURL = '';
  897. Blockly.Msg.Carbit_Speed_U11_TOOLTIP = 'U11';
  898. Blockly.Msg.Carbit_Speed_U11_MESSAGE0 = 'Right wheel speed';
  899. Blockly.Msg.Carbit_Distance_HELPURL = '';
  900. Blockly.Msg.Carbit_Distance_TOOLTIP = '';
  901. Blockly.Msg.Carbit_Distance_MESSAGE0 = 'Ultrasonic value';
  902. Blockly.Msg.Carbit_tracking_HELPURL = 'http://wiki.labplus.cn/index.php?title=Car:bit';
  903. Blockly.Msg.Carbit_tracking_TOOLTIP = '';
  904. Blockly.Msg.Carbit_tracking_MESSAGE0 = 'Trace parameter %1 Straight speed %2 Maximum speed %3 Turn delay %5 Turning speed coefficient %4 ';
  905. Blockly.Msg.JOINT_MIDI_PIANO = "Acoustic Grand Piano"; //Acoustic Grand Piano
  906. Blockly.Msg.JOINT_Vibraphone = "Vibraphone"; //Vibraphone
  907. Blockly.Msg.JOINT_MIDI_ORGAN = "Drawbar Organ"; //Drawbar Organ
  908. Blockly.Msg.JOINT_Acoustic_Guitar = "Acoustic Guitar"; //Acoustic Guitar
  909. Blockly.Msg.JOINT_Electric_Guitar = "Electric Guitar"; //Electric Guitar
  910. Blockly.Msg.JOINT_Acoustic_Bass = "Acoustic Bass"; //Acoustic Bass
  911. Blockly.Msg.JOINT_String_Ensemble = "String Ensemble"; //String Ensemble
  912. Blockly.Msg.JOINT_Violin = "Violin"; //Violin
  913. Blockly.Msg.JOINT_Trumpet = "Trumpet"; //Trumpet
  914. Blockly.Msg.JOINT_Sax = "Trumpet"; //Sax
  915. Blockly.Msg.JOINT_Flute = "Flute"; //Flute
  916. Blockly.Msg.JOINT_Steel_Drums = "Steel Drums"; //Steel Drums
  917. Blockly.Msg.JOINT_Lead = "Lead"; //Lead
  918. Blockly.Msg.JOINT_Pad = "Pad"; //Pad
  919. Blockly.Msg.JOINT_Bass_Drum = "Bass Drum"; //Bass Drum
  920. Blockly.Msg.JOINT_Snare_Drum = "Snare Drum"; //Snare Drum
  921. Blockly.Msg.JOINT_Closed_Hi_hat = "Closed Hi-hat"; //Closed Hi-hat
  922. Blockly.Msg.JOINT_Open_Hi_hat = "Open Hi-hat"; //Open Hi-hat
  923. Blockly.Msg.JOINT_Low_Tom = "Low Tom"; //Low Tom
  924. Blockly.Msg.JOINT_High_Tom = "High Tom"; //High Tom
  925. Blockly.Msg.JOINT_Tambourine = "Tambourine"; //Tambourine
  926. Blockly.Msg.JOINT_Crash_Cymbal = "Crash Cymbal"; //Crash Cymbal
  927. Blockly.Msg.JOINT_Ride_Cymbal = "Ride Cymbal"; //Ride Cymbal
  928. Blockly.Msg.JOINT_Mute_High_Conga = "Mute High Conga"; //Mute High Conga
  929. Blockly.Msg.JOINT_Low_Conga = "Low Conga"; //Low Conga
  930. Blockly.Msg.JOINT_Maracas = "Maracas"; //Maracas
  931. Blockly.Msg.JOINT_Claves = "Claves"; //Claves
  932. Blockly.Msg.JOINT_MIDI_BRIGHTACOUSTICPIANO = "Bright Acoustc Piano";
  933. Blockly.Msg.JOINT_MIDI_ELECTRICGRANDPIANO = "Electric Grand Piano";
  934. Blockly.Msg.JOINT_MIDI_HARPSICHORD = "Harpsichord";
  935. Blockly.Msg.JOINT_MIDI_Celesta = "Celesta";
  936. Blockly.Msg.JOINT_MIDI_Glockenspiel = "Glockenspiel";
  937. Blockly.Msg.JOINT_MIDI_Musicalbox = "Musical Box";
  938. Blockly.Msg.JOINT_MIDI_Marimba = "Marimba";
  939. Blockly.Msg.JOINT_MIDI_Xylophone = "Xylophone";
  940. Blockly.Msg.JOINT_MIDI_TubularBell = "Tubular Bell";
  941. Blockly.Msg.JOINT_MIDI_Dulcimer = "Dulcimer";