scratch-blocks 2.0.0-beta.1 → 2.0.0-spork.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1065) hide show
  1. package/CHANGELOG.md +16 -16
  2. package/package.json +1 -1
  3. package/release.config.js +4 -0
  4. package/blockly-rc/.eslintignore +0 -28
  5. package/blockly-rc/.eslintrc.js +0 -187
  6. package/blockly-rc/.gitattributes +0 -1
  7. package/blockly-rc/.github/CODEOWNERS +0 -1
  8. package/blockly-rc/.github/CONTRIBUTING.md +0 -46
  9. package/blockly-rc/.github/ISSUE_TEMPLATE/bug_report.yaml +0 -58
  10. package/blockly-rc/.github/ISSUE_TEMPLATE/config.yml +0 -7
  11. package/blockly-rc/.github/ISSUE_TEMPLATE/documentation.yaml +0 -38
  12. package/blockly-rc/.github/ISSUE_TEMPLATE/feature_request.yaml +0 -39
  13. package/blockly-rc/.github/PULL_REQUEST_TEMPLATE.md +0 -42
  14. package/blockly-rc/.github/dependabot.yml +0 -27
  15. package/blockly-rc/.github/release.yml +0 -32
  16. package/blockly-rc/.github/workflows/appengine_deploy.yml +0 -54
  17. package/blockly-rc/.github/workflows/assign_reviewers.yml +0 -41
  18. package/blockly-rc/.github/workflows/browser_test.yml +0 -55
  19. package/blockly-rc/.github/workflows/build.yml +0 -86
  20. package/blockly-rc/.github/workflows/conventional-label.yml +0 -17
  21. package/blockly-rc/.github/workflows/develop_freeze.yml +0 -26
  22. package/blockly-rc/.github/workflows/tag_module_cleanup.yml +0 -37
  23. package/blockly-rc/.github/workflows/welcome_new_contributors.yml +0 -36
  24. package/blockly-rc/.prettierignore +0 -30
  25. package/blockly-rc/.prettierrc.js +0 -13
  26. package/blockly-rc/CHANGELOG.md +0 -77
  27. package/blockly-rc/LICENSE +0 -202
  28. package/blockly-rc/README.md +0 -80
  29. package/blockly-rc/_config.yml +0 -1
  30. package/blockly-rc/api-extractor.json +0 -385
  31. package/blockly-rc/appengine/.gcloudignore +0 -20
  32. package/blockly-rc/appengine/README.txt +0 -42
  33. package/blockly-rc/appengine/add_timestamps.py +0 -69
  34. package/blockly-rc/appengine/app.yaml +0 -104
  35. package/blockly-rc/appengine/apple-touch-icon.png +0 -0
  36. package/blockly-rc/appengine/blockly_compressed.js +0 -11
  37. package/blockly-rc/appengine/expiration.py +0 -52
  38. package/blockly-rc/appengine/favicon.ico +0 -0
  39. package/blockly-rc/appengine/index.yaml +0 -11
  40. package/blockly-rc/appengine/main.py +0 -39
  41. package/blockly-rc/appengine/redirect.html +0 -107
  42. package/blockly-rc/appengine/requirements.txt +0 -1
  43. package/blockly-rc/appengine/robots.txt +0 -2
  44. package/blockly-rc/appengine/storage.js +0 -190
  45. package/blockly-rc/appengine/storage.py +0 -125
  46. package/blockly-rc/blocks/blocks.ts +0 -44
  47. package/blockly-rc/blocks/lists.ts +0 -1085
  48. package/blockly-rc/blocks/logic.ts +0 -712
  49. package/blockly-rc/blocks/loops.ts +0 -408
  50. package/blockly-rc/blocks/math.ts +0 -591
  51. package/blockly-rc/blocks/procedures.ts +0 -1364
  52. package/blockly-rc/blocks/text.ts +0 -1007
  53. package/blockly-rc/blocks/variables.ts +0 -183
  54. package/blockly-rc/blocks/variables_dynamic.ts +0 -194
  55. package/blockly-rc/core/any_aliases.ts +0 -8
  56. package/blockly-rc/core/block.ts +0 -2523
  57. package/blockly-rc/core/block_animations.ts +0 -225
  58. package/blockly-rc/core/block_flyout_inflater.ts +0 -262
  59. package/blockly-rc/core/block_svg.ts +0 -1768
  60. package/blockly-rc/core/blockly.ts +0 -605
  61. package/blockly-rc/core/blockly_options.ts +0 -71
  62. package/blockly-rc/core/blocks.ts +0 -18
  63. package/blockly-rc/core/browser_events.ts +0 -244
  64. package/blockly-rc/core/bubbles/bubble.ts +0 -658
  65. package/blockly-rc/core/bubbles/mini_workspace_bubble.ts +0 -280
  66. package/blockly-rc/core/bubbles/text_bubble.ts +0 -103
  67. package/blockly-rc/core/bubbles/textinput_bubble.ts +0 -344
  68. package/blockly-rc/core/bubbles.ts +0 -12
  69. package/blockly-rc/core/bump_objects.ts +0 -192
  70. package/blockly-rc/core/button_flyout_inflater.ts +0 -63
  71. package/blockly-rc/core/clipboard/block_paster.ts +0 -142
  72. package/blockly-rc/core/clipboard/registry.ts +0 -31
  73. package/blockly-rc/core/clipboard/workspace_comment_paster.ts +0 -94
  74. package/blockly-rc/core/clipboard.ts +0 -113
  75. package/blockly-rc/core/comments/comment_view.ts +0 -899
  76. package/blockly-rc/core/comments/rendered_workspace_comment.ts +0 -297
  77. package/blockly-rc/core/comments/workspace_comment.ts +0 -237
  78. package/blockly-rc/core/comments.ts +0 -9
  79. package/blockly-rc/core/common.ts +0 -305
  80. package/blockly-rc/core/component_manager.ts +0 -235
  81. package/blockly-rc/core/config.ts +0 -65
  82. package/blockly-rc/core/connection.ts +0 -793
  83. package/blockly-rc/core/connection_checker.ts +0 -348
  84. package/blockly-rc/core/connection_db.ts +0 -297
  85. package/blockly-rc/core/connection_type.ts +0 -21
  86. package/blockly-rc/core/constants.ts +0 -23
  87. package/blockly-rc/core/contextmenu.ts +0 -268
  88. package/blockly-rc/core/contextmenu_items.ts +0 -700
  89. package/blockly-rc/core/contextmenu_registry.ts +0 -194
  90. package/blockly-rc/core/css.ts +0 -481
  91. package/blockly-rc/core/delete_area.ts +0 -77
  92. package/blockly-rc/core/dialog.ts +0 -121
  93. package/blockly-rc/core/drag_target.ts +0 -97
  94. package/blockly-rc/core/dragging/block_drag_strategy.ts +0 -454
  95. package/blockly-rc/core/dragging/bubble_drag_strategy.ts +0 -52
  96. package/blockly-rc/core/dragging/comment_drag_strategy.ts +0 -91
  97. package/blockly-rc/core/dragging/dragger.ts +0 -163
  98. package/blockly-rc/core/dragging.ts +0 -12
  99. package/blockly-rc/core/dropdowndiv.ts +0 -768
  100. package/blockly-rc/core/events/events.ts +0 -163
  101. package/blockly-rc/core/events/events_abstract.ts +0 -130
  102. package/blockly-rc/core/events/events_block_base.ts +0 -88
  103. package/blockly-rc/core/events/events_block_change.ts +0 -259
  104. package/blockly-rc/core/events/events_block_create.ts +0 -185
  105. package/blockly-rc/core/events/events_block_delete.ts +0 -182
  106. package/blockly-rc/core/events/events_block_drag.ts +0 -116
  107. package/blockly-rc/core/events/events_block_field_intermediate_change.ts +0 -167
  108. package/blockly-rc/core/events/events_block_move.ts +0 -307
  109. package/blockly-rc/core/events/events_bubble_open.ts +0 -120
  110. package/blockly-rc/core/events/events_click.ts +0 -110
  111. package/blockly-rc/core/events/events_comment_base.ts +0 -126
  112. package/blockly-rc/core/events/events_comment_change.ts +0 -161
  113. package/blockly-rc/core/events/events_comment_collapse.ts +0 -103
  114. package/blockly-rc/core/events/events_comment_create.ts +0 -118
  115. package/blockly-rc/core/events/events_comment_delete.ts +0 -117
  116. package/blockly-rc/core/events/events_comment_drag.ts +0 -99
  117. package/blockly-rc/core/events/events_comment_move.ts +0 -207
  118. package/blockly-rc/core/events/events_comment_resize.ts +0 -174
  119. package/blockly-rc/core/events/events_marker_move.ts +0 -134
  120. package/blockly-rc/core/events/events_selected.ts +0 -98
  121. package/blockly-rc/core/events/events_theme_change.ts +0 -84
  122. package/blockly-rc/core/events/events_toolbox_item_select.ts +0 -96
  123. package/blockly-rc/core/events/events_trashcan_open.ts +0 -88
  124. package/blockly-rc/core/events/events_ui_base.ts +0 -47
  125. package/blockly-rc/core/events/events_var_base.ts +0 -89
  126. package/blockly-rc/core/events/events_var_create.ts +0 -129
  127. package/blockly-rc/core/events/events_var_delete.ts +0 -124
  128. package/blockly-rc/core/events/events_var_rename.ts +0 -133
  129. package/blockly-rc/core/events/events_var_type_change.ts +0 -122
  130. package/blockly-rc/core/events/events_viewport.ts +0 -149
  131. package/blockly-rc/core/events/utils.ts +0 -595
  132. package/blockly-rc/core/events/workspace_events.ts +0 -46
  133. package/blockly-rc/core/extensions.ts +0 -491
  134. package/blockly-rc/core/field.ts +0 -1471
  135. package/blockly-rc/core/field_checkbox.ts +0 -271
  136. package/blockly-rc/core/field_dropdown.ts +0 -857
  137. package/blockly-rc/core/field_image.ts +0 -297
  138. package/blockly-rc/core/field_input.ts +0 -755
  139. package/blockly-rc/core/field_label.ts +0 -150
  140. package/blockly-rc/core/field_label_serializable.ts +0 -73
  141. package/blockly-rc/core/field_number.ts +0 -381
  142. package/blockly-rc/core/field_registry.ts +0 -115
  143. package/blockly-rc/core/field_textinput.ts +0 -117
  144. package/blockly-rc/core/field_variable.ts +0 -651
  145. package/blockly-rc/core/flyout_base.ts +0 -968
  146. package/blockly-rc/core/flyout_button.ts +0 -416
  147. package/blockly-rc/core/flyout_horizontal.ts +0 -374
  148. package/blockly-rc/core/flyout_metrics_manager.ts +0 -90
  149. package/blockly-rc/core/flyout_separator.ts +0 -61
  150. package/blockly-rc/core/flyout_vertical.ts +0 -353
  151. package/blockly-rc/core/generator.ts +0 -611
  152. package/blockly-rc/core/gesture.ts +0 -1191
  153. package/blockly-rc/core/grid.ts +0 -252
  154. package/blockly-rc/core/icons/comment_icon.ts +0 -435
  155. package/blockly-rc/core/icons/exceptions.ts +0 -23
  156. package/blockly-rc/core/icons/icon.ts +0 -147
  157. package/blockly-rc/core/icons/icon_types.ts +0 -32
  158. package/blockly-rc/core/icons/mutator_icon.ts +0 -354
  159. package/blockly-rc/core/icons/registry.ts +0 -33
  160. package/blockly-rc/core/icons/warning_icon.ts +0 -219
  161. package/blockly-rc/core/icons.ts +0 -24
  162. package/blockly-rc/core/inject.ts +0 -428
  163. package/blockly-rc/core/inputs/align.ts +0 -14
  164. package/blockly-rc/core/inputs/dummy_input.ts +0 -26
  165. package/blockly-rc/core/inputs/end_row_input.ts +0 -31
  166. package/blockly-rc/core/inputs/input.ts +0 -318
  167. package/blockly-rc/core/inputs/input_types.ts +0 -27
  168. package/blockly-rc/core/inputs/statement_input.ts +0 -34
  169. package/blockly-rc/core/inputs/value_input.ts +0 -30
  170. package/blockly-rc/core/inputs.ts +0 -23
  171. package/blockly-rc/core/insertion_marker_manager.ts +0 -742
  172. package/blockly-rc/core/insertion_marker_previewer.ts +0 -254
  173. package/blockly-rc/core/interfaces/i_ast_node_location.ts +0 -12
  174. package/blockly-rc/core/interfaces/i_ast_node_location_svg.ts +0 -28
  175. package/blockly-rc/core/interfaces/i_ast_node_location_with_block.ts +0 -22
  176. package/blockly-rc/core/interfaces/i_autohideable.ts +0 -22
  177. package/blockly-rc/core/interfaces/i_bounded_element.ts +0 -30
  178. package/blockly-rc/core/interfaces/i_bubble.ts +0 -63
  179. package/blockly-rc/core/interfaces/i_collapsible_toolbox_item.ts +0 -33
  180. package/blockly-rc/core/interfaces/i_comment_icon.ts +0 -47
  181. package/blockly-rc/core/interfaces/i_component.ts +0 -19
  182. package/blockly-rc/core/interfaces/i_connection_checker.ts +0 -100
  183. package/blockly-rc/core/interfaces/i_connection_previewer.ts +0 -50
  184. package/blockly-rc/core/interfaces/i_contextmenu.ts +0 -16
  185. package/blockly-rc/core/interfaces/i_copyable.ts +0 -31
  186. package/blockly-rc/core/interfaces/i_deletable.ts +0 -34
  187. package/blockly-rc/core/interfaces/i_delete_area.ts +0 -28
  188. package/blockly-rc/core/interfaces/i_drag_target.ts +0 -69
  189. package/blockly-rc/core/interfaces/i_draggable.ts +0 -72
  190. package/blockly-rc/core/interfaces/i_dragger.ts +0 -35
  191. package/blockly-rc/core/interfaces/i_flyout.ts +0 -189
  192. package/blockly-rc/core/interfaces/i_flyout_inflater.ts +0 -41
  193. package/blockly-rc/core/interfaces/i_has_bubble.ts +0 -20
  194. package/blockly-rc/core/interfaces/i_icon.ts +0 -114
  195. package/blockly-rc/core/interfaces/i_keyboard_accessible.ts +0 -21
  196. package/blockly-rc/core/interfaces/i_legacy_procedure_blocks.ts +0 -50
  197. package/blockly-rc/core/interfaces/i_metrics_manager.ts +0 -149
  198. package/blockly-rc/core/interfaces/i_movable.ts +0 -19
  199. package/blockly-rc/core/interfaces/i_observable.ts +0 -24
  200. package/blockly-rc/core/interfaces/i_parameter_model.ts +0 -51
  201. package/blockly-rc/core/interfaces/i_paster.ts +0 -25
  202. package/blockly-rc/core/interfaces/i_positionable.ts +0 -33
  203. package/blockly-rc/core/interfaces/i_procedure_block.ts +0 -27
  204. package/blockly-rc/core/interfaces/i_procedure_map.ts +0 -18
  205. package/blockly-rc/core/interfaces/i_procedure_model.ts +0 -71
  206. package/blockly-rc/core/interfaces/i_registrable.ts +0 -12
  207. package/blockly-rc/core/interfaces/i_rendered_element.ts +0 -22
  208. package/blockly-rc/core/interfaces/i_selectable.ts +0 -34
  209. package/blockly-rc/core/interfaces/i_selectable_toolbox_item.ts +0 -63
  210. package/blockly-rc/core/interfaces/i_serializable.ts +0 -28
  211. package/blockly-rc/core/interfaces/i_serializer.ts +0 -55
  212. package/blockly-rc/core/interfaces/i_styleable.ts +0 -26
  213. package/blockly-rc/core/interfaces/i_toolbox.ts +0 -112
  214. package/blockly-rc/core/interfaces/i_toolbox_item.ts +0 -81
  215. package/blockly-rc/core/interfaces/i_variable_backed_parameter_model.ts +0 -23
  216. package/blockly-rc/core/interfaces/i_variable_map.ts +0 -65
  217. package/blockly-rc/core/interfaces/i_variable_model.ts +0 -57
  218. package/blockly-rc/core/internal_constants.ts +0 -47
  219. package/blockly-rc/core/keyboard_nav/ast_node.ts +0 -884
  220. package/blockly-rc/core/keyboard_nav/basic_cursor.ts +0 -223
  221. package/blockly-rc/core/keyboard_nav/cursor.ts +0 -138
  222. package/blockly-rc/core/keyboard_nav/marker.ts +0 -113
  223. package/blockly-rc/core/keyboard_nav/tab_navigate_cursor.ts +0 -46
  224. package/blockly-rc/core/label_flyout_inflater.ts +0 -59
  225. package/blockly-rc/core/layer_manager.ts +0 -186
  226. package/blockly-rc/core/layers.ts +0 -17
  227. package/blockly-rc/core/main.ts +0 -31
  228. package/blockly-rc/core/marker_manager.ts +0 -189
  229. package/blockly-rc/core/menu.ts +0 -463
  230. package/blockly-rc/core/menuitem.ts +0 -221
  231. package/blockly-rc/core/metrics_manager.ts +0 -486
  232. package/blockly-rc/core/msg.ts +0 -27
  233. package/blockly-rc/core/names.ts +0 -275
  234. package/blockly-rc/core/observable_procedure_map.ts +0 -66
  235. package/blockly-rc/core/options.ts +0 -377
  236. package/blockly-rc/core/positionable_helpers.ts +0 -186
  237. package/blockly-rc/core/procedures.ts +0 -510
  238. package/blockly-rc/core/registry.ts +0 -400
  239. package/blockly-rc/core/render_management.ts +0 -193
  240. package/blockly-rc/core/rendered_connection.ts +0 -571
  241. package/blockly-rc/core/renderers/common/block_rendering.ts +0 -120
  242. package/blockly-rc/core/renderers/common/constants.ts +0 -1198
  243. package/blockly-rc/core/renderers/common/drawer.ts +0 -518
  244. package/blockly-rc/core/renderers/common/i_path_object.ts +0 -137
  245. package/blockly-rc/core/renderers/common/info.ts +0 -767
  246. package/blockly-rc/core/renderers/common/marker_svg.ts +0 -765
  247. package/blockly-rc/core/renderers/common/path_object.ts +0 -324
  248. package/blockly-rc/core/renderers/common/renderer.ts +0 -281
  249. package/blockly-rc/core/renderers/geras/constants.ts +0 -46
  250. package/blockly-rc/core/renderers/geras/drawer.ts +0 -167
  251. package/blockly-rc/core/renderers/geras/geras.ts +0 -31
  252. package/blockly-rc/core/renderers/geras/highlight_constants.ts +0 -342
  253. package/blockly-rc/core/renderers/geras/highlighter.ts +0 -313
  254. package/blockly-rc/core/renderers/geras/info.ts +0 -478
  255. package/blockly-rc/core/renderers/geras/measurables/inline_input.ts +0 -37
  256. package/blockly-rc/core/renderers/geras/measurables/statement_input.ts +0 -36
  257. package/blockly-rc/core/renderers/geras/path_object.ts +0 -135
  258. package/blockly-rc/core/renderers/geras/renderer.ts +0 -124
  259. package/blockly-rc/core/renderers/measurables/base.ts +0 -41
  260. package/blockly-rc/core/renderers/measurables/bottom_row.ts +0 -104
  261. package/blockly-rc/core/renderers/measurables/connection.ts +0 -43
  262. package/blockly-rc/core/renderers/measurables/external_value_input.ts +0 -53
  263. package/blockly-rc/core/renderers/measurables/field.ts +0 -50
  264. package/blockly-rc/core/renderers/measurables/hat.ts +0 -33
  265. package/blockly-rc/core/renderers/measurables/icon.ts +0 -42
  266. package/blockly-rc/core/renderers/measurables/in_row_spacer.ts +0 -29
  267. package/blockly-rc/core/renderers/measurables/inline_input.ts +0 -63
  268. package/blockly-rc/core/renderers/measurables/input_connection.ts +0 -57
  269. package/blockly-rc/core/renderers/measurables/input_row.ts +0 -67
  270. package/blockly-rc/core/renderers/measurables/jagged_edge.ts +0 -28
  271. package/blockly-rc/core/renderers/measurables/next_connection.ts +0 -34
  272. package/blockly-rc/core/renderers/measurables/output_connection.ts +0 -43
  273. package/blockly-rc/core/renderers/measurables/previous_connection.ts +0 -34
  274. package/blockly-rc/core/renderers/measurables/round_corner.ts +0 -34
  275. package/blockly-rc/core/renderers/measurables/row.ts +0 -191
  276. package/blockly-rc/core/renderers/measurables/spacer_row.ts +0 -44
  277. package/blockly-rc/core/renderers/measurables/square_corner.ts +0 -32
  278. package/blockly-rc/core/renderers/measurables/statement_input.ts +0 -41
  279. package/blockly-rc/core/renderers/measurables/top_row.ts +0 -110
  280. package/blockly-rc/core/renderers/measurables/types.ts +0 -319
  281. package/blockly-rc/core/renderers/thrasos/info.ts +0 -328
  282. package/blockly-rc/core/renderers/thrasos/renderer.ts +0 -40
  283. package/blockly-rc/core/renderers/thrasos/thrasos.ts +0 -14
  284. package/blockly-rc/core/renderers/zelos/constants.ts +0 -877
  285. package/blockly-rc/core/renderers/zelos/drawer.ts +0 -274
  286. package/blockly-rc/core/renderers/zelos/info.ts +0 -652
  287. package/blockly-rc/core/renderers/zelos/marker_svg.ts +0 -145
  288. package/blockly-rc/core/renderers/zelos/measurables/bottom_row.ts +0 -44
  289. package/blockly-rc/core/renderers/zelos/measurables/inputs.ts +0 -41
  290. package/blockly-rc/core/renderers/zelos/measurables/row_elements.ts +0 -29
  291. package/blockly-rc/core/renderers/zelos/measurables/top_row.ts +0 -50
  292. package/blockly-rc/core/renderers/zelos/path_object.ts +0 -209
  293. package/blockly-rc/core/renderers/zelos/renderer.ts +0 -143
  294. package/blockly-rc/core/renderers/zelos/zelos.ts +0 -33
  295. package/blockly-rc/core/scrollbar.ts +0 -898
  296. package/blockly-rc/core/scrollbar_pair.ts +0 -349
  297. package/blockly-rc/core/separator_flyout_inflater.ts +0 -69
  298. package/blockly-rc/core/serialization/blocks.ts +0 -868
  299. package/blockly-rc/core/serialization/exceptions.ts +0 -112
  300. package/blockly-rc/core/serialization/priorities.ts +0 -25
  301. package/blockly-rc/core/serialization/procedures.ts +0 -158
  302. package/blockly-rc/core/serialization/registry.ts +0 -30
  303. package/blockly-rc/core/serialization/variables.ts +0 -68
  304. package/blockly-rc/core/serialization/workspace_comments.ts +0 -143
  305. package/blockly-rc/core/serialization/workspaces.ts +0 -94
  306. package/blockly-rc/core/serialization.ts +0 -32
  307. package/blockly-rc/core/shortcut_items.ts +0 -338
  308. package/blockly-rc/core/shortcut_registry.ts +0 -368
  309. package/blockly-rc/core/sprites.ts +0 -15
  310. package/blockly-rc/core/theme/classic.ts +0 -40
  311. package/blockly-rc/core/theme/themes.ts +0 -12
  312. package/blockly-rc/core/theme/zelos.ts +0 -80
  313. package/blockly-rc/core/theme.ts +0 -232
  314. package/blockly-rc/core/theme_manager.ts +0 -192
  315. package/blockly-rc/core/toolbox/category.ts +0 -739
  316. package/blockly-rc/core/toolbox/collapsible_category.ts +0 -288
  317. package/blockly-rc/core/toolbox/separator.ts +0 -105
  318. package/blockly-rc/core/toolbox/toolbox.ts +0 -1134
  319. package/blockly-rc/core/toolbox/toolbox_item.ts +0 -152
  320. package/blockly-rc/core/tooltip.ts +0 -466
  321. package/blockly-rc/core/touch.ts +0 -155
  322. package/blockly-rc/core/trashcan.ts +0 -748
  323. package/blockly-rc/core/utils/aria.ts +0 -144
  324. package/blockly-rc/core/utils/array.ts +0 -24
  325. package/blockly-rc/core/utils/colour.ts +0 -265
  326. package/blockly-rc/core/utils/coordinate.ts +0 -129
  327. package/blockly-rc/core/utils/deprecation.ts +0 -47
  328. package/blockly-rc/core/utils/dom.ts +0 -356
  329. package/blockly-rc/core/utils/idgenerator.ts +0 -70
  330. package/blockly-rc/core/utils/keycodes.ts +0 -154
  331. package/blockly-rc/core/utils/math.ts +0 -50
  332. package/blockly-rc/core/utils/metrics.ts +0 -86
  333. package/blockly-rc/core/utils/object.ts +0 -28
  334. package/blockly-rc/core/utils/parsing.ts +0 -287
  335. package/blockly-rc/core/utils/rect.ts +0 -69
  336. package/blockly-rc/core/utils/size.ts +0 -62
  337. package/blockly-rc/core/utils/string.ts +0 -289
  338. package/blockly-rc/core/utils/style.ts +0 -219
  339. package/blockly-rc/core/utils/svg.ts +0 -84
  340. package/blockly-rc/core/utils/svg_math.ts +0 -208
  341. package/blockly-rc/core/utils/svg_paths.ts +0 -133
  342. package/blockly-rc/core/utils/toolbox.ts +0 -419
  343. package/blockly-rc/core/utils/useragent.ts +0 -86
  344. package/blockly-rc/core/utils/xml.ts +0 -165
  345. package/blockly-rc/core/utils.ts +0 -59
  346. package/blockly-rc/core/variable_map.ts +0 -437
  347. package/blockly-rc/core/variable_model.ts +0 -149
  348. package/blockly-rc/core/variables.ts +0 -773
  349. package/blockly-rc/core/variables_dynamic.ts +0 -142
  350. package/blockly-rc/core/widgetdiv.ts +0 -319
  351. package/blockly-rc/core/workspace.ts +0 -957
  352. package/blockly-rc/core/workspace_audio.ts +0 -171
  353. package/blockly-rc/core/workspace_dragger.ts +0 -97
  354. package/blockly-rc/core/workspace_svg.ts +0 -2519
  355. package/blockly-rc/core/xml.ts +0 -1133
  356. package/blockly-rc/core/zoom_controls.ts +0 -492
  357. package/blockly-rc/demos/blockfactory/analytics.js +0 -195
  358. package/blockly-rc/demos/blockfactory/app_controller.js +0 -726
  359. package/blockly-rc/demos/blockfactory/block_definition_extractor.js +0 -742
  360. package/blockly-rc/demos/blockfactory/block_exporter_controller.js +0 -311
  361. package/blockly-rc/demos/blockfactory/block_exporter_tools.js +0 -212
  362. package/blockly-rc/demos/blockfactory/block_exporter_view.js +0 -101
  363. package/blockly-rc/demos/blockfactory/block_library_controller.js +0 -325
  364. package/blockly-rc/demos/blockfactory/block_library_storage.js +0 -149
  365. package/blockly-rc/demos/blockfactory/block_library_view.js +0 -178
  366. package/blockly-rc/demos/blockfactory/block_option.js +0 -151
  367. package/blockly-rc/demos/blockfactory/blocks.js +0 -916
  368. package/blockly-rc/demos/blockfactory/cp.css +0 -46
  369. package/blockly-rc/demos/blockfactory/cp.js +0 -179
  370. package/blockly-rc/demos/blockfactory/factory.css +0 -586
  371. package/blockly-rc/demos/blockfactory/factory.js +0 -337
  372. package/blockly-rc/demos/blockfactory/factory_utils.js +0 -1036
  373. package/blockly-rc/demos/blockfactory/icon.png +0 -0
  374. package/blockly-rc/demos/blockfactory/index.html +0 -767
  375. package/blockly-rc/demos/blockfactory/link.png +0 -0
  376. package/blockly-rc/demos/blockfactory/standard_categories.js +0 -384
  377. package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_controller.js +0 -1332
  378. package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_generator.js +0 -224
  379. package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_init.js +0 -541
  380. package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_model.js +0 -548
  381. package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_view.js +0 -424
  382. package/blockly-rc/demos/code/code.js +0 -626
  383. package/blockly-rc/demos/code/icon.png +0 -0
  384. package/blockly-rc/demos/code/icons.png +0 -0
  385. package/blockly-rc/demos/code/index.html +0 -359
  386. package/blockly-rc/demos/code/msg/ar.js +0 -24
  387. package/blockly-rc/demos/code/msg/be-tarask.js +0 -24
  388. package/blockly-rc/demos/code/msg/br.js +0 -24
  389. package/blockly-rc/demos/code/msg/ca.js +0 -24
  390. package/blockly-rc/demos/code/msg/cs.js +0 -24
  391. package/blockly-rc/demos/code/msg/da.js +0 -24
  392. package/blockly-rc/demos/code/msg/de.js +0 -24
  393. package/blockly-rc/demos/code/msg/el.js +0 -24
  394. package/blockly-rc/demos/code/msg/en.js +0 -24
  395. package/blockly-rc/demos/code/msg/es.js +0 -24
  396. package/blockly-rc/demos/code/msg/et.js +0 -24
  397. package/blockly-rc/demos/code/msg/fa.js +0 -24
  398. package/blockly-rc/demos/code/msg/fr.js +0 -24
  399. package/blockly-rc/demos/code/msg/he.js +0 -24
  400. package/blockly-rc/demos/code/msg/hr.js +0 -24
  401. package/blockly-rc/demos/code/msg/hrx.js +0 -24
  402. package/blockly-rc/demos/code/msg/hu.js +0 -24
  403. package/blockly-rc/demos/code/msg/ia.js +0 -24
  404. package/blockly-rc/demos/code/msg/is.js +0 -24
  405. package/blockly-rc/demos/code/msg/it.js +0 -24
  406. package/blockly-rc/demos/code/msg/ja.js +0 -24
  407. package/blockly-rc/demos/code/msg/kab.js +0 -24
  408. package/blockly-rc/demos/code/msg/ko.js +0 -24
  409. package/blockly-rc/demos/code/msg/mk.js +0 -24
  410. package/blockly-rc/demos/code/msg/ms.js +0 -24
  411. package/blockly-rc/demos/code/msg/nb.js +0 -24
  412. package/blockly-rc/demos/code/msg/nl.js +0 -24
  413. package/blockly-rc/demos/code/msg/oc.js +0 -24
  414. package/blockly-rc/demos/code/msg/pl.js +0 -24
  415. package/blockly-rc/demos/code/msg/pms.js +0 -24
  416. package/blockly-rc/demos/code/msg/pt-br.js +0 -24
  417. package/blockly-rc/demos/code/msg/ro.js +0 -24
  418. package/blockly-rc/demos/code/msg/ru.js +0 -24
  419. package/blockly-rc/demos/code/msg/sc.js +0 -24
  420. package/blockly-rc/demos/code/msg/sk.js +0 -24
  421. package/blockly-rc/demos/code/msg/sr.js +0 -24
  422. package/blockly-rc/demos/code/msg/sv.js +0 -24
  423. package/blockly-rc/demos/code/msg/ta.js +0 -24
  424. package/blockly-rc/demos/code/msg/th.js +0 -24
  425. package/blockly-rc/demos/code/msg/tlh.js +0 -24
  426. package/blockly-rc/demos/code/msg/tr.js +0 -24
  427. package/blockly-rc/demos/code/msg/uk.js +0 -24
  428. package/blockly-rc/demos/code/msg/vi.js +0 -24
  429. package/blockly-rc/demos/code/msg/zh-hans.js +0 -24
  430. package/blockly-rc/demos/code/msg/zh-hant.js +0 -24
  431. package/blockly-rc/demos/code/style.css +0 -184
  432. package/blockly-rc/demos/index.html +0 -68
  433. package/blockly-rc/demos/minimap/icon.png +0 -0
  434. package/blockly-rc/demos/minimap/index.html +0 -91
  435. package/blockly-rc/demos/minimap/minimap.js +0 -302
  436. package/blockly-rc/demos/mobile/README.md +0 -53
  437. package/blockly-rc/demos/mobile/android/README.md +0 -45
  438. package/blockly-rc/demos/mobile/android/app/build.gradle +0 -64
  439. package/blockly-rc/demos/mobile/android/app/proguard-rules.pro +0 -21
  440. package/blockly-rc/demos/mobile/android/app/src/androidTest/java/com/example/blocklywebview/ExampleInstrumentedTest.java +0 -26
  441. package/blockly-rc/demos/mobile/android/app/src/main/AndroidManifest.xml +0 -21
  442. package/blockly-rc/demos/mobile/android/app/src/main/java/com/google/blockly/android/webview/BlocklyWebViewFragment.java +0 -40
  443. package/blockly-rc/demos/mobile/android/app/src/main/java/com/google/blockly/android/webview/JsDialogHelper.java +0 -150
  444. package/blockly-rc/demos/mobile/android/app/src/main/java/com/google/blockly/android/webview/WebChromeClient.java +0 -32
  445. package/blockly-rc/demos/mobile/android/app/src/main/java/com/google/blockly/android/webview/demo/MainActivity.java +0 -18
  446. package/blockly-rc/demos/mobile/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -74
  447. package/blockly-rc/demos/mobile/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +0 -34
  448. package/blockly-rc/demos/mobile/android/app/src/main/res/layout/activity_main.xml +0 -17
  449. package/blockly-rc/demos/mobile/android/app/src/main/res/layout/js_prompt.xml +0 -37
  450. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
  451. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
  452. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  453. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  454. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  455. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  456. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  457. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  458. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  459. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  460. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  461. package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  462. package/blockly-rc/demos/mobile/android/app/src/main/res/values/colors.xml +0 -6
  463. package/blockly-rc/demos/mobile/android/app/src/main/res/values/js_dialog_helper.xml +0 -7
  464. package/blockly-rc/demos/mobile/android/app/src/main/res/values/strings.xml +0 -3
  465. package/blockly-rc/demos/mobile/android/app/src/main/res/values/styles.xml +0 -11
  466. package/blockly-rc/demos/mobile/android/app/src/test/java/com/example/blocklywebview/ExampleUnitTest.java +0 -17
  467. package/blockly-rc/demos/mobile/android/build.gradle +0 -27
  468. package/blockly-rc/demos/mobile/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  469. package/blockly-rc/demos/mobile/android/gradle/wrapper/gradle-wrapper.properties +0 -6
  470. package/blockly-rc/demos/mobile/android/gradle.properties +0 -13
  471. package/blockly-rc/demos/mobile/android/gradlew +0 -172
  472. package/blockly-rc/demos/mobile/android/gradlew.bat +0 -84
  473. package/blockly-rc/demos/mobile/android/settings.gradle +0 -1
  474. package/blockly-rc/demos/mobile/html/index.html +0 -31
  475. package/blockly-rc/demos/mobile/html/ln_resources.sh +0 -22
  476. package/blockly-rc/demos/mobile/html/toolbox_standard.js +0 -333
  477. package/blockly-rc/demos/mobile/ios/Blockly WebView/AppDelegate.swift +0 -46
  478. package/blockly-rc/demos/mobile/ios/Blockly WebView/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -98
  479. package/blockly-rc/demos/mobile/ios/Blockly WebView/Assets.xcassets/Contents.json +0 -6
  480. package/blockly-rc/demos/mobile/ios/Blockly WebView/Base.lproj/LaunchScreen.storyboard +0 -25
  481. package/blockly-rc/demos/mobile/ios/Blockly WebView/Base.lproj/Main.storyboard +0 -44
  482. package/blockly-rc/demos/mobile/ios/Blockly WebView/Info.plist +0 -45
  483. package/blockly-rc/demos/mobile/ios/Blockly WebView/ViewController.swift +0 -110
  484. package/blockly-rc/demos/mobile/ios/Blockly WebView.xcodeproj/project.pbxproj +0 -390
  485. package/blockly-rc/demos/mobile/ios/Blockly WebView.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  486. package/blockly-rc/demos/mobile/ios/Blockly WebView.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  487. package/blockly-rc/demos/mobile/ios/cp_resources.sh +0 -21
  488. package/blockly-rc/demos/storage/icon.png +0 -0
  489. package/blockly-rc/demos/storage/index.html +0 -104
  490. package/blockly-rc/generators/dart/dart_generator.ts +0 -321
  491. package/blockly-rc/generators/dart/lists.ts +0 -525
  492. package/blockly-rc/generators/dart/logic.ts +0 -155
  493. package/blockly-rc/generators/dart/loops.ts +0 -217
  494. package/blockly-rc/generators/dart/math.ts +0 -559
  495. package/blockly-rc/generators/dart/procedures.ts +0 -138
  496. package/blockly-rc/generators/dart/text.ts +0 -405
  497. package/blockly-rc/generators/dart/variables.ts +0 -32
  498. package/blockly-rc/generators/dart/variables_dynamic.ts +0 -17
  499. package/blockly-rc/generators/dart.ts +0 -50
  500. package/blockly-rc/generators/javascript/javascript_generator.ts +0 -346
  501. package/blockly-rc/generators/javascript/lists.ts +0 -465
  502. package/blockly-rc/generators/javascript/logic.ts +0 -153
  503. package/blockly-rc/generators/javascript/loops.ts +0 -245
  504. package/blockly-rc/generators/javascript/math.ts +0 -450
  505. package/blockly-rc/generators/javascript/procedures.ts +0 -142
  506. package/blockly-rc/generators/javascript/text.ts +0 -418
  507. package/blockly-rc/generators/javascript/variables.ts +0 -32
  508. package/blockly-rc/generators/javascript/variables_dynamic.ts +0 -17
  509. package/blockly-rc/generators/javascript.ts +0 -46
  510. package/blockly-rc/generators/lua/lists.ts +0 -445
  511. package/blockly-rc/generators/lua/logic.ts +0 -142
  512. package/blockly-rc/generators/lua/loops.ts +0 -192
  513. package/blockly-rc/generators/lua/lua_generator.ts +0 -225
  514. package/blockly-rc/generators/lua/math.ts +0 -473
  515. package/blockly-rc/generators/lua/procedures.ts +0 -144
  516. package/blockly-rc/generators/lua/text.ts +0 -380
  517. package/blockly-rc/generators/lua/variables.ts +0 -31
  518. package/blockly-rc/generators/lua/variables_dynamic.ts +0 -17
  519. package/blockly-rc/generators/lua.ts +0 -44
  520. package/blockly-rc/generators/php/lists.ts +0 -585
  521. package/blockly-rc/generators/php/logic.ts +0 -155
  522. package/blockly-rc/generators/php/loops.ts +0 -218
  523. package/blockly-rc/generators/php/math.ts +0 -408
  524. package/blockly-rc/generators/php/php_generator.ts +0 -320
  525. package/blockly-rc/generators/php/procedures.ts +0 -159
  526. package/blockly-rc/generators/php/text.ts +0 -315
  527. package/blockly-rc/generators/php/variables.ts +0 -32
  528. package/blockly-rc/generators/php/variables_dynamic.ts +0 -17
  529. package/blockly-rc/generators/php.ts +0 -46
  530. package/blockly-rc/generators/python/lists.ts +0 -398
  531. package/blockly-rc/generators/python/logic.ts +0 -148
  532. package/blockly-rc/generators/python/loops.ts +0 -251
  533. package/blockly-rc/generators/python/math.ts +0 -434
  534. package/blockly-rc/generators/python/procedures.ts +0 -159
  535. package/blockly-rc/generators/python/python_generator.ts +0 -355
  536. package/blockly-rc/generators/python/text.ts +0 -338
  537. package/blockly-rc/generators/python/variables.ts +0 -31
  538. package/blockly-rc/generators/python/variables_dynamic.ts +0 -17
  539. package/blockly-rc/generators/python.ts +0 -51
  540. package/blockly-rc/gulpfile.js +0 -54
  541. package/blockly-rc/jsconfig.json +0 -7
  542. package/blockly-rc/media/1x1.gif +0 -0
  543. package/blockly-rc/media/click.mp3 +0 -0
  544. package/blockly-rc/media/click.ogg +0 -0
  545. package/blockly-rc/media/click.wav +0 -0
  546. package/blockly-rc/media/delete-icon.svg +0 -1
  547. package/blockly-rc/media/delete.mp3 +0 -0
  548. package/blockly-rc/media/delete.ogg +0 -0
  549. package/blockly-rc/media/delete.wav +0 -0
  550. package/blockly-rc/media/disconnect.mp3 +0 -0
  551. package/blockly-rc/media/disconnect.ogg +0 -0
  552. package/blockly-rc/media/disconnect.wav +0 -0
  553. package/blockly-rc/media/dropdown-arrow.svg +0 -1
  554. package/blockly-rc/media/foldout-icon.svg +0 -1
  555. package/blockly-rc/media/handclosed.cur +0 -0
  556. package/blockly-rc/media/handdelete.cur +0 -0
  557. package/blockly-rc/media/handopen.cur +0 -0
  558. package/blockly-rc/media/pilcrow.png +0 -0
  559. package/blockly-rc/media/quote0.png +0 -0
  560. package/blockly-rc/media/quote1.png +0 -0
  561. package/blockly-rc/media/resize-handle.svg +0 -3
  562. package/blockly-rc/media/sprites.png +0 -0
  563. package/blockly-rc/media/sprites.svg +0 -74
  564. package/blockly-rc/msg/json/README.md +0 -33
  565. package/blockly-rc/msg/json/ab.json +0 -222
  566. package/blockly-rc/msg/json/ace.json +0 -7
  567. package/blockly-rc/msg/json/af.json +0 -34
  568. package/blockly-rc/msg/json/am.json +0 -30
  569. package/blockly-rc/msg/json/ar.json +0 -355
  570. package/blockly-rc/msg/json/ast.json +0 -10
  571. package/blockly-rc/msg/json/az.json +0 -332
  572. package/blockly-rc/msg/json/ba.json +0 -211
  573. package/blockly-rc/msg/json/bcc.json +0 -290
  574. package/blockly-rc/msg/json/be-tarask.json +0 -334
  575. package/blockly-rc/msg/json/be.json +0 -324
  576. package/blockly-rc/msg/json/bg.json +0 -345
  577. package/blockly-rc/msg/json/bn.json +0 -189
  578. package/blockly-rc/msg/json/br.json +0 -334
  579. package/blockly-rc/msg/json/bs.json +0 -166
  580. package/blockly-rc/msg/json/ca.json +0 -341
  581. package/blockly-rc/msg/json/cdo.json +0 -6
  582. package/blockly-rc/msg/json/ce.json +0 -326
  583. package/blockly-rc/msg/json/constants.json +0 -12
  584. package/blockly-rc/msg/json/cs.json +0 -343
  585. package/blockly-rc/msg/json/da.json +0 -346
  586. package/blockly-rc/msg/json/de.json +0 -369
  587. package/blockly-rc/msg/json/diq.json +0 -258
  588. package/blockly-rc/msg/json/dtp.json +0 -198
  589. package/blockly-rc/msg/json/dty.json +0 -97
  590. package/blockly-rc/msg/json/ee.json +0 -160
  591. package/blockly-rc/msg/json/el.json +0 -356
  592. package/blockly-rc/msg/json/en-gb.json +0 -199
  593. package/blockly-rc/msg/json/en.json +0 -400
  594. package/blockly-rc/msg/json/eo.json +0 -337
  595. package/blockly-rc/msg/json/es.json +0 -358
  596. package/blockly-rc/msg/json/et.json +0 -326
  597. package/blockly-rc/msg/json/eu.json +0 -219
  598. package/blockly-rc/msg/json/fa.json +0 -341
  599. package/blockly-rc/msg/json/fi.json +0 -350
  600. package/blockly-rc/msg/json/fo.json +0 -46
  601. package/blockly-rc/msg/json/fr.json +0 -373
  602. package/blockly-rc/msg/json/frr.json +0 -6
  603. package/blockly-rc/msg/json/gl.json +0 -338
  604. package/blockly-rc/msg/json/gn.json +0 -54
  605. package/blockly-rc/msg/json/gor.json +0 -87
  606. package/blockly-rc/msg/json/ha.json +0 -313
  607. package/blockly-rc/msg/json/hak.json +0 -17
  608. package/blockly-rc/msg/json/he.json +0 -354
  609. package/blockly-rc/msg/json/hi.json +0 -318
  610. package/blockly-rc/msg/json/hr.json +0 -327
  611. package/blockly-rc/msg/json/hrx.json +0 -287
  612. package/blockly-rc/msg/json/hsb.json +0 -128
  613. package/blockly-rc/msg/json/hu.json +0 -349
  614. package/blockly-rc/msg/json/hy.json +0 -337
  615. package/blockly-rc/msg/json/ia.json +0 -337
  616. package/blockly-rc/msg/json/id.json +0 -335
  617. package/blockly-rc/msg/json/ig.json +0 -323
  618. package/blockly-rc/msg/json/inh.json +0 -80
  619. package/blockly-rc/msg/json/is.json +0 -331
  620. package/blockly-rc/msg/json/it.json +0 -346
  621. package/blockly-rc/msg/json/ja.json +0 -361
  622. package/blockly-rc/msg/json/ka.json +0 -14
  623. package/blockly-rc/msg/json/kab.json +0 -323
  624. package/blockly-rc/msg/json/kbd-cyrl.json +0 -84
  625. package/blockly-rc/msg/json/km.json +0 -29
  626. package/blockly-rc/msg/json/kn.json +0 -332
  627. package/blockly-rc/msg/json/ko.json +0 -372
  628. package/blockly-rc/msg/json/ksh.json +0 -43
  629. package/blockly-rc/msg/json/ku-latn.json +0 -41
  630. package/blockly-rc/msg/json/ky.json +0 -71
  631. package/blockly-rc/msg/json/la.json +0 -6
  632. package/blockly-rc/msg/json/lb.json +0 -156
  633. package/blockly-rc/msg/json/lki.json +0 -282
  634. package/blockly-rc/msg/json/lo.json +0 -92
  635. package/blockly-rc/msg/json/lrc.json +0 -123
  636. package/blockly-rc/msg/json/lt.json +0 -321
  637. package/blockly-rc/msg/json/lv.json +0 -324
  638. package/blockly-rc/msg/json/mg.json +0 -58
  639. package/blockly-rc/msg/json/mk.json +0 -178
  640. package/blockly-rc/msg/json/ml.json +0 -35
  641. package/blockly-rc/msg/json/mnw.json +0 -90
  642. package/blockly-rc/msg/json/ms.json +0 -300
  643. package/blockly-rc/msg/json/my.json +0 -57
  644. package/blockly-rc/msg/json/mzn.json +0 -6
  645. package/blockly-rc/msg/json/nb.json +0 -330
  646. package/blockly-rc/msg/json/ne.json +0 -247
  647. package/blockly-rc/msg/json/nl.json +0 -357
  648. package/blockly-rc/msg/json/oc.json +0 -194
  649. package/blockly-rc/msg/json/olo.json +0 -37
  650. package/blockly-rc/msg/json/pa.json +0 -69
  651. package/blockly-rc/msg/json/pl.json +0 -357
  652. package/blockly-rc/msg/json/pms.json +0 -324
  653. package/blockly-rc/msg/json/ps.json +0 -50
  654. package/blockly-rc/msg/json/pt-br.json +0 -369
  655. package/blockly-rc/msg/json/pt.json +0 -358
  656. package/blockly-rc/msg/json/qqq.json +0 -406
  657. package/blockly-rc/msg/json/ro.json +0 -333
  658. package/blockly-rc/msg/json/ru.json +0 -363
  659. package/blockly-rc/msg/json/sc.json +0 -283
  660. package/blockly-rc/msg/json/sco.json +0 -11
  661. package/blockly-rc/msg/json/sd.json +0 -158
  662. package/blockly-rc/msg/json/shn.json +0 -109
  663. package/blockly-rc/msg/json/si.json +0 -16
  664. package/blockly-rc/msg/json/sk.json +0 -332
  665. package/blockly-rc/msg/json/skr-arab.json +0 -117
  666. package/blockly-rc/msg/json/sl.json +0 -355
  667. package/blockly-rc/msg/json/smn.json +0 -133
  668. package/blockly-rc/msg/json/sq.json +0 -343
  669. package/blockly-rc/msg/json/sr-latn.json +0 -324
  670. package/blockly-rc/msg/json/sr.json +0 -348
  671. package/blockly-rc/msg/json/sv.json +0 -347
  672. package/blockly-rc/msg/json/sw.json +0 -12
  673. package/blockly-rc/msg/json/synonyms.json +0 -22
  674. package/blockly-rc/msg/json/ta.json +0 -306
  675. package/blockly-rc/msg/json/tcy.json +0 -316
  676. package/blockly-rc/msg/json/tdd.json +0 -109
  677. package/blockly-rc/msg/json/te.json +0 -101
  678. package/blockly-rc/msg/json/th.json +0 -333
  679. package/blockly-rc/msg/json/ti.json +0 -50
  680. package/blockly-rc/msg/json/tl.json +0 -129
  681. package/blockly-rc/msg/json/tlh.json +0 -179
  682. package/blockly-rc/msg/json/tr.json +0 -369
  683. package/blockly-rc/msg/json/ug-arab.json +0 -132
  684. package/blockly-rc/msg/json/uk.json +0 -345
  685. package/blockly-rc/msg/json/ur.json +0 -117
  686. package/blockly-rc/msg/json/uz.json +0 -36
  687. package/blockly-rc/msg/json/vi.json +0 -345
  688. package/blockly-rc/msg/json/xmf.json +0 -96
  689. package/blockly-rc/msg/json/yo.json +0 -316
  690. package/blockly-rc/msg/json/zgh.json +0 -83
  691. package/blockly-rc/msg/json/zh-hans.json +0 -372
  692. package/blockly-rc/msg/json/zh-hant.json +0 -362
  693. package/blockly-rc/msg/messages.js +0 -1616
  694. package/blockly-rc/package-lock.json +0 -12324
  695. package/blockly-rc/package.json +0 -149
  696. package/blockly-rc/patches/@microsoft+api-documenter+7.22.4.patch +0 -81
  697. package/blockly-rc/scripts/goog_module/convert-file.sh +0 -406
  698. package/blockly-rc/scripts/gulpfiles/appengine_tasks.js +0 -195
  699. package/blockly-rc/scripts/gulpfiles/build_tasks.js +0 -752
  700. package/blockly-rc/scripts/gulpfiles/config.js +0 -41
  701. package/blockly-rc/scripts/gulpfiles/docs_tasks.js +0 -147
  702. package/blockly-rc/scripts/gulpfiles/git_tasks.js +0 -181
  703. package/blockly-rc/scripts/gulpfiles/helper_tasks.js +0 -19
  704. package/blockly-rc/scripts/gulpfiles/package_tasks.js +0 -262
  705. package/blockly-rc/scripts/gulpfiles/release_tasks.js +0 -183
  706. package/blockly-rc/scripts/gulpfiles/test_tasks.js +0 -405
  707. package/blockly-rc/scripts/helpers.js +0 -74
  708. package/blockly-rc/scripts/i18n/common.py +0 -233
  709. package/blockly-rc/scripts/i18n/create_messages.py +0 -167
  710. package/blockly-rc/scripts/i18n/dedup_json.py +0 -72
  711. package/blockly-rc/scripts/i18n/js_to_json.py +0 -135
  712. package/blockly-rc/scripts/i18n/tests.py +0 -46
  713. package/blockly-rc/scripts/migration/cjs2esm +0 -162
  714. package/blockly-rc/scripts/migration/js2ts +0 -168
  715. package/blockly-rc/scripts/migration/renamings.json5 +0 -1599
  716. package/blockly-rc/scripts/package/README.md +0 -93
  717. package/blockly-rc/scripts/package/core-node.js +0 -31
  718. package/blockly-rc/scripts/package/index.js +0 -23
  719. package/blockly-rc/scripts/package/templates/umd-msg.template +0 -16
  720. package/blockly-rc/scripts/package/templates/umd.template +0 -13
  721. package/blockly-rc/scripts/themes/blockStyles_example.json +0 -11
  722. package/blockly-rc/scripts/themes/create_blockStyles.py +0 -181
  723. package/blockly-rc/scripts/tsick.js +0 -86
  724. package/blockly-rc/tests/.eslintrc.json +0 -10
  725. package/blockly-rc/tests/browser/.eslintrc.json +0 -29
  726. package/blockly-rc/tests/browser/.mocharc.js +0 -6
  727. package/blockly-rc/tests/browser/test/basic_block_factory_test.mjs +0 -44
  728. package/blockly-rc/tests/browser/test/basic_block_test.mjs +0 -39
  729. package/blockly-rc/tests/browser/test/basic_playground_test.mjs +0 -198
  730. package/blockly-rc/tests/browser/test/block_undo_test.mjs +0 -50
  731. package/blockly-rc/tests/browser/test/delete_blocks_test.mjs +0 -211
  732. package/blockly-rc/tests/browser/test/extensive_test.mjs +0 -195
  733. package/blockly-rc/tests/browser/test/field_edits_test.mjs +0 -61
  734. package/blockly-rc/tests/browser/test/hooks.mjs +0 -23
  735. package/blockly-rc/tests/browser/test/mutator_test.mjs +0 -88
  736. package/blockly-rc/tests/browser/test/procedure_test.mjs +0 -109
  737. package/blockly-rc/tests/browser/test/test_setup.mjs +0 -589
  738. package/blockly-rc/tests/browser/test/toolbox_drag_test.mjs +0 -207
  739. package/blockly-rc/tests/browser/test/workspace_comment_test.mjs +0 -224
  740. package/blockly-rc/tests/compile/index.html +0 -43
  741. package/blockly-rc/tests/compile/main.js +0 -53
  742. package/blockly-rc/tests/compile/test_blocks.js +0 -47
  743. package/blockly-rc/tests/compile/webdriver.js +0 -81
  744. package/blockly-rc/tests/generators/functions.xml +0 -561
  745. package/blockly-rc/tests/generators/golden/generated.dart +0 -1604
  746. package/blockly-rc/tests/generators/golden/generated.js +0 -1552
  747. package/blockly-rc/tests/generators/golden/generated.lua +0 -1828
  748. package/blockly-rc/tests/generators/golden/generated.php +0 -1611
  749. package/blockly-rc/tests/generators/golden/generated.py +0 -1407
  750. package/blockly-rc/tests/generators/index.html +0 -405
  751. package/blockly-rc/tests/generators/lists.xml +0 -8675
  752. package/blockly-rc/tests/generators/logic.xml +0 -1019
  753. package/blockly-rc/tests/generators/loops1.xml +0 -345
  754. package/blockly-rc/tests/generators/loops2.xml +0 -891
  755. package/blockly-rc/tests/generators/loops3.xml +0 -735
  756. package/blockly-rc/tests/generators/math.xml +0 -2077
  757. package/blockly-rc/tests/generators/text.xml +0 -4651
  758. package/blockly-rc/tests/generators/unittest.js +0 -103
  759. package/blockly-rc/tests/generators/unittest_dart.js +0 -163
  760. package/blockly-rc/tests/generators/unittest_javascript.js +0 -167
  761. package/blockly-rc/tests/generators/unittest_lua.js +0 -165
  762. package/blockly-rc/tests/generators/unittest_php.js +0 -154
  763. package/blockly-rc/tests/generators/unittest_python.js +0 -138
  764. package/blockly-rc/tests/generators/variables.xml +0 -68
  765. package/blockly-rc/tests/generators/webdriver.js +0 -123
  766. package/blockly-rc/tests/media/200px.png +0 -0
  767. package/blockly-rc/tests/media/30px.png +0 -0
  768. package/blockly-rc/tests/media/50px.png +0 -0
  769. package/blockly-rc/tests/media/a.png +0 -0
  770. package/blockly-rc/tests/media/arrow.png +0 -0
  771. package/blockly-rc/tests/media/b.png +0 -0
  772. package/blockly-rc/tests/media/c.png +0 -0
  773. package/blockly-rc/tests/media/d.png +0 -0
  774. package/blockly-rc/tests/media/e.png +0 -0
  775. package/blockly-rc/tests/media/f.png +0 -0
  776. package/blockly-rc/tests/media/g.png +0 -0
  777. package/blockly-rc/tests/media/h.png +0 -0
  778. package/blockly-rc/tests/media/i.png +0 -0
  779. package/blockly-rc/tests/media/j.png +0 -0
  780. package/blockly-rc/tests/media/k.png +0 -0
  781. package/blockly-rc/tests/media/l.png +0 -0
  782. package/blockly-rc/tests/media/m.png +0 -0
  783. package/blockly-rc/tests/migration/renamings.schema.json +0 -59
  784. package/blockly-rc/tests/migration/validate-renamings.mjs +0 -60
  785. package/blockly-rc/tests/mocha/.eslintrc.json +0 -21
  786. package/blockly-rc/tests/mocha/.mocharc.js +0 -6
  787. package/blockly-rc/tests/mocha/astnode_test.js +0 -850
  788. package/blockly-rc/tests/mocha/block_json_test.js +0 -777
  789. package/blockly-rc/tests/mocha/block_test.js +0 -2743
  790. package/blockly-rc/tests/mocha/blocks/lists_test.js +0 -196
  791. package/blockly-rc/tests/mocha/blocks/logic_ternary_test.js +0 -320
  792. package/blockly-rc/tests/mocha/blocks/loops_test.js +0 -56
  793. package/blockly-rc/tests/mocha/blocks/procedures_test.js +0 -2495
  794. package/blockly-rc/tests/mocha/blocks/variables_test.js +0 -311
  795. package/blockly-rc/tests/mocha/clipboard_test.js +0 -136
  796. package/blockly-rc/tests/mocha/comment_deserialization_test.js +0 -122
  797. package/blockly-rc/tests/mocha/comment_test.js +0 -170
  798. package/blockly-rc/tests/mocha/comment_view_test.js +0 -188
  799. package/blockly-rc/tests/mocha/connection_checker_test.js +0 -666
  800. package/blockly-rc/tests/mocha/connection_db_test.js +0 -362
  801. package/blockly-rc/tests/mocha/connection_test.js +0 -3738
  802. package/blockly-rc/tests/mocha/contextmenu_items_test.js +0 -488
  803. package/blockly-rc/tests/mocha/contextmenu_test.js +0 -71
  804. package/blockly-rc/tests/mocha/cursor_test.js +0 -134
  805. package/blockly-rc/tests/mocha/dropdowndiv_test.js +0 -116
  806. package/blockly-rc/tests/mocha/event_block_change_test.js +0 -126
  807. package/blockly-rc/tests/mocha/event_block_create_test.js +0 -109
  808. package/blockly-rc/tests/mocha/event_block_delete_test.js +0 -55
  809. package/blockly-rc/tests/mocha/event_block_drag_test.js +0 -36
  810. package/blockly-rc/tests/mocha/event_block_field_intermediate_change_test.js +0 -67
  811. package/blockly-rc/tests/mocha/event_block_move_test.js +0 -39
  812. package/blockly-rc/tests/mocha/event_bubble_open_test.js +0 -42
  813. package/blockly-rc/tests/mocha/event_click_test.js +0 -40
  814. package/blockly-rc/tests/mocha/event_comment_change_test.js +0 -39
  815. package/blockly-rc/tests/mocha/event_comment_collapse_test.js +0 -34
  816. package/blockly-rc/tests/mocha/event_comment_create_test.js +0 -38
  817. package/blockly-rc/tests/mocha/event_comment_delete_test.js +0 -38
  818. package/blockly-rc/tests/mocha/event_comment_drag_test.js +0 -35
  819. package/blockly-rc/tests/mocha/event_comment_move_test.js +0 -40
  820. package/blockly-rc/tests/mocha/event_comment_resize_test.js +0 -38
  821. package/blockly-rc/tests/mocha/event_marker_move_test.js +0 -44
  822. package/blockly-rc/tests/mocha/event_selected_test.js +0 -41
  823. package/blockly-rc/tests/mocha/event_test.js +0 -1578
  824. package/blockly-rc/tests/mocha/event_theme_change_test.js +0 -36
  825. package/blockly-rc/tests/mocha/event_toolbox_item_select_test.js +0 -64
  826. package/blockly-rc/tests/mocha/event_trashcan_open_test.js +0 -36
  827. package/blockly-rc/tests/mocha/event_var_create_test.js +0 -54
  828. package/blockly-rc/tests/mocha/event_var_delete_test.js +0 -54
  829. package/blockly-rc/tests/mocha/event_var_rename_test.js +0 -39
  830. package/blockly-rc/tests/mocha/event_var_type_change_test.js +0 -43
  831. package/blockly-rc/tests/mocha/event_viewport_test.js +0 -39
  832. package/blockly-rc/tests/mocha/extensions_test.js +0 -613
  833. package/blockly-rc/tests/mocha/field_checkbox_test.js +0 -299
  834. package/blockly-rc/tests/mocha/field_colour_test.js +0 -395
  835. package/blockly-rc/tests/mocha/field_dropdown_test.js +0 -282
  836. package/blockly-rc/tests/mocha/field_image_test.js +0 -241
  837. package/blockly-rc/tests/mocha/field_label_serializable_test.js +0 -252
  838. package/blockly-rc/tests/mocha/field_label_test.js +0 -226
  839. package/blockly-rc/tests/mocha/field_number_test.js +0 -505
  840. package/blockly-rc/tests/mocha/field_registry_test.js +0 -116
  841. package/blockly-rc/tests/mocha/field_test.js +0 -822
  842. package/blockly-rc/tests/mocha/field_textinput_test.js +0 -297
  843. package/blockly-rc/tests/mocha/field_variable_test.js +0 -611
  844. package/blockly-rc/tests/mocha/flyout_test.js +0 -638
  845. package/blockly-rc/tests/mocha/generator_test.js +0 -233
  846. package/blockly-rc/tests/mocha/gesture_test.js +0 -97
  847. package/blockly-rc/tests/mocha/icon_test.js +0 -369
  848. package/blockly-rc/tests/mocha/index.html +0 -229
  849. package/blockly-rc/tests/mocha/input_test.js +0 -296
  850. package/blockly-rc/tests/mocha/insertion_marker_manager_test.js +0 -443
  851. package/blockly-rc/tests/mocha/insertion_marker_test.js +0 -432
  852. package/blockly-rc/tests/mocha/jso_deserialization_test.js +0 -849
  853. package/blockly-rc/tests/mocha/jso_serialization_test.js +0 -1067
  854. package/blockly-rc/tests/mocha/json_test.js +0 -315
  855. package/blockly-rc/tests/mocha/keydown_test.js +0 -364
  856. package/blockly-rc/tests/mocha/layering_test.js +0 -95
  857. package/blockly-rc/tests/mocha/metrics_test.js +0 -671
  858. package/blockly-rc/tests/mocha/mutator_test.js +0 -87
  859. package/blockly-rc/tests/mocha/names_test.js +0 -97
  860. package/blockly-rc/tests/mocha/old_workspace_comment_test.js +0 -256
  861. package/blockly-rc/tests/mocha/procedure_map_test.js +0 -57
  862. package/blockly-rc/tests/mocha/registry_test.js +0 -281
  863. package/blockly-rc/tests/mocha/render_management_test.js +0 -127
  864. package/blockly-rc/tests/mocha/serializer_test.js +0 -2104
  865. package/blockly-rc/tests/mocha/shortcut_registry_test.js +0 -450
  866. package/blockly-rc/tests/mocha/test_helpers/block_definitions.js +0 -204
  867. package/blockly-rc/tests/mocha/test_helpers/code_generation.js +0 -115
  868. package/blockly-rc/tests/mocha/test_helpers/common.js +0 -106
  869. package/blockly-rc/tests/mocha/test_helpers/events.js +0 -290
  870. package/blockly-rc/tests/mocha/test_helpers/fields.js +0 -310
  871. package/blockly-rc/tests/mocha/test_helpers/icon_mocks.js +0 -81
  872. package/blockly-rc/tests/mocha/test_helpers/procedures.js +0 -302
  873. package/blockly-rc/tests/mocha/test_helpers/serialization.js +0 -124
  874. package/blockly-rc/tests/mocha/test_helpers/setup_teardown.js +0 -209
  875. package/blockly-rc/tests/mocha/test_helpers/toolbox_definitions.js +0 -271
  876. package/blockly-rc/tests/mocha/test_helpers/user_input.js +0 -62
  877. package/blockly-rc/tests/mocha/test_helpers/variables.js +0 -23
  878. package/blockly-rc/tests/mocha/test_helpers/warnings.js +0 -83
  879. package/blockly-rc/tests/mocha/test_helpers/workspace.js +0 -1691
  880. package/blockly-rc/tests/mocha/theme_test.js +0 -307
  881. package/blockly-rc/tests/mocha/toolbox_test.js +0 -761
  882. package/blockly-rc/tests/mocha/tooltip_test.js +0 -276
  883. package/blockly-rc/tests/mocha/touch_test.js +0 -109
  884. package/blockly-rc/tests/mocha/trashcan_test.js +0 -375
  885. package/blockly-rc/tests/mocha/utils_test.js +0 -536
  886. package/blockly-rc/tests/mocha/variable_map_test.js +0 -509
  887. package/blockly-rc/tests/mocha/variable_model_test.js +0 -85
  888. package/blockly-rc/tests/mocha/webdriver.js +0 -96
  889. package/blockly-rc/tests/mocha/widget_div_test.js +0 -272
  890. package/blockly-rc/tests/mocha/workspace_comment_test.js +0 -171
  891. package/blockly-rc/tests/mocha/workspace_svg_test.js +0 -414
  892. package/blockly-rc/tests/mocha/workspace_test.js +0 -27
  893. package/blockly-rc/tests/mocha/xml_test.js +0 -951
  894. package/blockly-rc/tests/mocha/zoom_controls_test.js +0 -81
  895. package/blockly-rc/tests/multi_playground.html +0 -482
  896. package/blockly-rc/tests/node/.eslintrc.json +0 -12
  897. package/blockly-rc/tests/node/.mocharc.js +0 -6
  898. package/blockly-rc/tests/node/run_node_test.mjs +0 -72
  899. package/blockly-rc/tests/playground.html +0 -1280
  900. package/blockly-rc/tests/playgrounds/advanced_playground.html +0 -158
  901. package/blockly-rc/tests/playgrounds/iframe.html +0 -40
  902. package/blockly-rc/tests/playgrounds/screenshot.js +0 -123
  903. package/blockly-rc/tests/scripts/check_metadata.sh +0 -166
  904. package/blockly-rc/tests/scripts/compile_typings.sh +0 -32
  905. package/blockly-rc/tests/scripts/load.mjs +0 -140
  906. package/blockly-rc/tests/scripts/setup_linux_env.sh +0 -7
  907. package/blockly-rc/tests/scripts/update_metadata.sh +0 -46
  908. package/blockly-rc/tests/themes/test_themes.js +0 -62
  909. package/blockly-rc/tests/typescript/README.md +0 -4
  910. package/blockly-rc/tests/typescript/src/field/different_user_input.ts +0 -81
  911. package/blockly-rc/tests/typescript/src/generators/dart.ts +0 -24
  912. package/blockly-rc/tests/typescript/src/generators/javascript.ts +0 -28
  913. package/blockly-rc/tests/typescript/src/generators/lua.ts +0 -24
  914. package/blockly-rc/tests/typescript/src/generators/php.ts +0 -24
  915. package/blockly-rc/tests/typescript/src/generators/python.ts +0 -24
  916. package/blockly-rc/tests/typescript/src/generators.ts +0 -31
  917. package/blockly-rc/tests/typescript/src/msg.ts +0 -20
  918. package/blockly-rc/tests/typescript/tsconfig.json +0 -20
  919. package/blockly-rc/tests/xml/README.txt +0 -11
  920. package/blockly-rc/tests/xml/blockly.xsd +0 -178
  921. package/blockly-rc/tests/xml/invalid.xml +0 -6
  922. package/blockly-rc/tests/xml/toolbox.xml +0 -311
  923. package/blockly-rc/tests/xml/workspace.xml +0 -114
  924. package/blockly-rc/tsconfig.json +0 -37
  925. package/blockly-rc/tsdoc.json +0 -35
  926. package/blockly-rc/typings/README.md +0 -5
  927. package/blockly-rc/typings/blocks.d.ts +0 -17
  928. package/blockly-rc/typings/core.d.ts +0 -7
  929. package/blockly-rc/typings/dart.d.ts +0 -7
  930. package/blockly-rc/typings/index.d.ts +0 -10
  931. package/blockly-rc/typings/javascript.d.ts +0 -7
  932. package/blockly-rc/typings/lua.d.ts +0 -7
  933. package/blockly-rc/typings/msg/ab.d.ts +0 -8
  934. package/blockly-rc/typings/msg/ace.d.ts +0 -8
  935. package/blockly-rc/typings/msg/af.d.ts +0 -8
  936. package/blockly-rc/typings/msg/am.d.ts +0 -8
  937. package/blockly-rc/typings/msg/ar.d.ts +0 -8
  938. package/blockly-rc/typings/msg/ast.d.ts +0 -8
  939. package/blockly-rc/typings/msg/az.d.ts +0 -8
  940. package/blockly-rc/typings/msg/ba.d.ts +0 -8
  941. package/blockly-rc/typings/msg/bcc.d.ts +0 -8
  942. package/blockly-rc/typings/msg/be-tarask.d.ts +0 -8
  943. package/blockly-rc/typings/msg/be.d.ts +0 -8
  944. package/blockly-rc/typings/msg/bg.d.ts +0 -8
  945. package/blockly-rc/typings/msg/bn.d.ts +0 -8
  946. package/blockly-rc/typings/msg/br.d.ts +0 -8
  947. package/blockly-rc/typings/msg/bs.d.ts +0 -8
  948. package/blockly-rc/typings/msg/ca.d.ts +0 -8
  949. package/blockly-rc/typings/msg/cdo.d.ts +0 -8
  950. package/blockly-rc/typings/msg/ce.d.ts +0 -8
  951. package/blockly-rc/typings/msg/cs.d.ts +0 -8
  952. package/blockly-rc/typings/msg/da.d.ts +0 -8
  953. package/blockly-rc/typings/msg/de.d.ts +0 -8
  954. package/blockly-rc/typings/msg/diq.d.ts +0 -8
  955. package/blockly-rc/typings/msg/dtp.d.ts +0 -8
  956. package/blockly-rc/typings/msg/dty.d.ts +0 -8
  957. package/blockly-rc/typings/msg/ee.d.ts +0 -8
  958. package/blockly-rc/typings/msg/el.d.ts +0 -8
  959. package/blockly-rc/typings/msg/en-gb.d.ts +0 -8
  960. package/blockly-rc/typings/msg/en.d.ts +0 -8
  961. package/blockly-rc/typings/msg/eo.d.ts +0 -8
  962. package/blockly-rc/typings/msg/es.d.ts +0 -8
  963. package/blockly-rc/typings/msg/et.d.ts +0 -8
  964. package/blockly-rc/typings/msg/eu.d.ts +0 -8
  965. package/blockly-rc/typings/msg/fa.d.ts +0 -8
  966. package/blockly-rc/typings/msg/fi.d.ts +0 -8
  967. package/blockly-rc/typings/msg/fo.d.ts +0 -8
  968. package/blockly-rc/typings/msg/fr.d.ts +0 -8
  969. package/blockly-rc/typings/msg/frr.d.ts +0 -8
  970. package/blockly-rc/typings/msg/gl.d.ts +0 -8
  971. package/blockly-rc/typings/msg/gn.d.ts +0 -8
  972. package/blockly-rc/typings/msg/gor.d.ts +0 -8
  973. package/blockly-rc/typings/msg/ha.d.ts +0 -8
  974. package/blockly-rc/typings/msg/hak.d.ts +0 -8
  975. package/blockly-rc/typings/msg/he.d.ts +0 -8
  976. package/blockly-rc/typings/msg/hi.d.ts +0 -8
  977. package/blockly-rc/typings/msg/hr.d.ts +0 -8
  978. package/blockly-rc/typings/msg/hrx.d.ts +0 -8
  979. package/blockly-rc/typings/msg/hsb.d.ts +0 -8
  980. package/blockly-rc/typings/msg/hu.d.ts +0 -8
  981. package/blockly-rc/typings/msg/hy.d.ts +0 -8
  982. package/blockly-rc/typings/msg/ia.d.ts +0 -8
  983. package/blockly-rc/typings/msg/id.d.ts +0 -8
  984. package/blockly-rc/typings/msg/ig.d.ts +0 -8
  985. package/blockly-rc/typings/msg/inh.d.ts +0 -8
  986. package/blockly-rc/typings/msg/is.d.ts +0 -8
  987. package/blockly-rc/typings/msg/it.d.ts +0 -8
  988. package/blockly-rc/typings/msg/ja.d.ts +0 -8
  989. package/blockly-rc/typings/msg/ka.d.ts +0 -8
  990. package/blockly-rc/typings/msg/kab.d.ts +0 -8
  991. package/blockly-rc/typings/msg/kbd-cyrl.d.ts +0 -8
  992. package/blockly-rc/typings/msg/km.d.ts +0 -8
  993. package/blockly-rc/typings/msg/kn.d.ts +0 -8
  994. package/blockly-rc/typings/msg/ko.d.ts +0 -8
  995. package/blockly-rc/typings/msg/ksh.d.ts +0 -8
  996. package/blockly-rc/typings/msg/ku-latn.d.ts +0 -8
  997. package/blockly-rc/typings/msg/ky.d.ts +0 -8
  998. package/blockly-rc/typings/msg/la.d.ts +0 -8
  999. package/blockly-rc/typings/msg/lb.d.ts +0 -8
  1000. package/blockly-rc/typings/msg/lki.d.ts +0 -8
  1001. package/blockly-rc/typings/msg/lo.d.ts +0 -8
  1002. package/blockly-rc/typings/msg/lrc.d.ts +0 -8
  1003. package/blockly-rc/typings/msg/lt.d.ts +0 -8
  1004. package/blockly-rc/typings/msg/lv.d.ts +0 -8
  1005. package/blockly-rc/typings/msg/mg.d.ts +0 -8
  1006. package/blockly-rc/typings/msg/mk.d.ts +0 -8
  1007. package/blockly-rc/typings/msg/ml.d.ts +0 -8
  1008. package/blockly-rc/typings/msg/mnw.d.ts +0 -8
  1009. package/blockly-rc/typings/msg/ms.d.ts +0 -8
  1010. package/blockly-rc/typings/msg/msg.d.ts +0 -440
  1011. package/blockly-rc/typings/msg/my.d.ts +0 -8
  1012. package/blockly-rc/typings/msg/mzn.d.ts +0 -8
  1013. package/blockly-rc/typings/msg/nb.d.ts +0 -8
  1014. package/blockly-rc/typings/msg/ne.d.ts +0 -8
  1015. package/blockly-rc/typings/msg/nl.d.ts +0 -8
  1016. package/blockly-rc/typings/msg/oc.d.ts +0 -8
  1017. package/blockly-rc/typings/msg/olo.d.ts +0 -8
  1018. package/blockly-rc/typings/msg/pa.d.ts +0 -8
  1019. package/blockly-rc/typings/msg/pl.d.ts +0 -8
  1020. package/blockly-rc/typings/msg/pms.d.ts +0 -8
  1021. package/blockly-rc/typings/msg/ps.d.ts +0 -8
  1022. package/blockly-rc/typings/msg/pt-br.d.ts +0 -8
  1023. package/blockly-rc/typings/msg/pt.d.ts +0 -8
  1024. package/blockly-rc/typings/msg/ro.d.ts +0 -8
  1025. package/blockly-rc/typings/msg/ru.d.ts +0 -8
  1026. package/blockly-rc/typings/msg/sc.d.ts +0 -8
  1027. package/blockly-rc/typings/msg/sco.d.ts +0 -8
  1028. package/blockly-rc/typings/msg/sd.d.ts +0 -8
  1029. package/blockly-rc/typings/msg/shn.d.ts +0 -8
  1030. package/blockly-rc/typings/msg/si.d.ts +0 -8
  1031. package/blockly-rc/typings/msg/sk.d.ts +0 -8
  1032. package/blockly-rc/typings/msg/skr-arab.d.ts +0 -8
  1033. package/blockly-rc/typings/msg/sl.d.ts +0 -8
  1034. package/blockly-rc/typings/msg/smn.d.ts +0 -8
  1035. package/blockly-rc/typings/msg/sq.d.ts +0 -8
  1036. package/blockly-rc/typings/msg/sr-latn.d.ts +0 -8
  1037. package/blockly-rc/typings/msg/sr.d.ts +0 -8
  1038. package/blockly-rc/typings/msg/sv.d.ts +0 -8
  1039. package/blockly-rc/typings/msg/sw.d.ts +0 -8
  1040. package/blockly-rc/typings/msg/ta.d.ts +0 -8
  1041. package/blockly-rc/typings/msg/tcy.d.ts +0 -8
  1042. package/blockly-rc/typings/msg/tdd.d.ts +0 -8
  1043. package/blockly-rc/typings/msg/te.d.ts +0 -8
  1044. package/blockly-rc/typings/msg/th.d.ts +0 -8
  1045. package/blockly-rc/typings/msg/ti.d.ts +0 -8
  1046. package/blockly-rc/typings/msg/tl.d.ts +0 -8
  1047. package/blockly-rc/typings/msg/tlh.d.ts +0 -8
  1048. package/blockly-rc/typings/msg/tr.d.ts +0 -8
  1049. package/blockly-rc/typings/msg/ug-arab.d.ts +0 -8
  1050. package/blockly-rc/typings/msg/uk.d.ts +0 -8
  1051. package/blockly-rc/typings/msg/ur.d.ts +0 -8
  1052. package/blockly-rc/typings/msg/uz.d.ts +0 -8
  1053. package/blockly-rc/typings/msg/vi.d.ts +0 -8
  1054. package/blockly-rc/typings/msg/xmf.d.ts +0 -8
  1055. package/blockly-rc/typings/msg/yo.d.ts +0 -8
  1056. package/blockly-rc/typings/msg/zgh.d.ts +0 -8
  1057. package/blockly-rc/typings/msg/zh-hans.d.ts +0 -8
  1058. package/blockly-rc/typings/msg/zh-hant.d.ts +0 -8
  1059. package/blockly-rc/typings/php.d.ts +0 -7
  1060. package/blockly-rc/typings/python.d.ts +0 -7
  1061. package/blockly-rc/typings/templates/blockly-header.template +0 -11
  1062. package/blockly-rc/typings/templates/blockly-interfaces.template +0 -83
  1063. package/blockly-rc/typings/templates/msg.template +0 -15
  1064. package/blockly-rc/typings/tsconfig.json +0 -23
  1065. package/temp-use-blockly-v12-rc.sh +0 -26
@@ -1,1616 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2012 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
-
7
- /**
8
- * @fileoverview English strings.
9
- *
10
- * After modifying this file, run:
11
- *
12
- * npm run generate:langfiles
13
- *
14
- * to regenerate json/{en,qqq,constants,synonyms}.json.
15
- *
16
- * To convert all of the json files to .js files, run:
17
- *
18
- * npm run build:langfiles
19
- */
20
- 'use strict';
21
-
22
-
23
- /**
24
- * Due to the frequency of long strings, the 80-column wrap rule need not apply
25
- * to message files.
26
- */
27
-
28
- /**
29
- * Each message is preceded with a triple-slash comment that becomes the
30
- * message descriptor. The build process extracts these descriptors, adds
31
- * them to msg/json/qqq.json, and they show up in the translation console.
32
- */
33
-
34
- /** @type {string} */
35
- /// {{Notranslate}} Hue value for all logic blocks.
36
- Blockly.Msg.LOGIC_HUE = '210';
37
- /** @type {string} */
38
- /// {{Notranslate}} Hue value for all loop blocks.
39
- Blockly.Msg.LOOPS_HUE = '120';
40
- /** @type {string} */
41
- /// {{Notranslate}} Hue value for all math blocks.
42
- Blockly.Msg.MATH_HUE = '230';
43
- /** @type {string} */
44
- /// {{Notranslate}} Hue value for all text blocks.
45
- Blockly.Msg.TEXTS_HUE = '160';
46
- /** @type {string} */
47
- /// {{Notranslate}} Hue value for all list blocks.
48
- Blockly.Msg.LISTS_HUE = '260';
49
- /** @type {string} */
50
- /// {{Notranslate}} Hue value for all colour blocks.
51
- Blockly.Msg.COLOUR_HUE = '20';
52
- /** @type {string} */
53
- /// {{Notranslate}} Hue value for all variable blocks.
54
- Blockly.Msg.VARIABLES_HUE = '330';
55
- /** @type {string} */
56
- /// {{Notranslate}} Hue value for all variable dynamic blocks.
57
- Blockly.Msg.VARIABLES_DYNAMIC_HUE = '310';
58
- /** @type {string} */
59
- /// {{Notranslate}} Hue value for all procedure blocks.
60
- Blockly.Msg.PROCEDURES_HUE = '290';
61
-
62
- /** @type {string} */
63
- /// default name - A simple, general default name for a variable, preferably short.
64
- /// For more context, see
65
- /// [[Translating:Blockly#infrequent_message_types]].\n{{Identical|Item}}
66
- Blockly.Msg.VARIABLES_DEFAULT_NAME = 'item';
67
- /** @type {string} */
68
- /// default name - A simple, default name for an unnamed function or variable. Preferably indicates that the item is unnamed.
69
- Blockly.Msg.UNNAMED_KEY = 'unnamed';
70
- /** @type {string} */
71
- /// button text - Button that sets a calendar to today's date.\n{{Identical|Today}}
72
- Blockly.Msg.TODAY = 'Today';
73
-
74
- // Context menus.
75
- /** @type {string} */
76
- /// context menu - Make a copy of the selected block (and any blocks it contains).\n{{Identical|Duplicate}}
77
- Blockly.Msg.DUPLICATE_BLOCK = 'Duplicate';
78
- /** @type {string} */
79
- /// context menu - Add a descriptive comment to the selected block.
80
- Blockly.Msg.ADD_COMMENT = 'Add Comment';
81
- /** @type {string} */
82
- /// context menu - Remove the descriptive comment from the selected block.
83
- Blockly.Msg.REMOVE_COMMENT = 'Remove Comment';
84
- /** @type {string} */
85
- /// context menu - Make a copy of the selected workspace comment.\n{{Identical|Duplicate}}
86
- Blockly.Msg.DUPLICATE_COMMENT = 'Duplicate Comment';
87
- /** @type {string} */
88
- /// context menu - Change from 'external' to 'inline' mode for displaying blocks used as inputs to the selected block. See [[Translating:Blockly#context_menus]].
89
- Blockly.Msg.EXTERNAL_INPUTS = 'External Inputs';
90
- /** @type {string} */
91
- /// context menu - Change from 'internal' to 'external' mode for displaying blocks used as inputs to the selected block. See [[Translating:Blockly#context_menus]].
92
- Blockly.Msg.INLINE_INPUTS = 'Inline Inputs';
93
- /** @type {string} */
94
- /// context menu - Permanently delete the selected block.
95
- Blockly.Msg.DELETE_BLOCK = 'Delete Block';
96
- /** @type {string} */
97
- /// context menu - Permanently delete the %1 selected blocks.\n\nParameters:\n* %1 - an integer greater than 1.
98
- Blockly.Msg.DELETE_X_BLOCKS = 'Delete %1 Blocks';
99
- /** @type {string} */
100
- /// confirmation prompt - Question the user if they really wanted to permanently delete all %1 blocks.\n\nParameters:\n* %1 - an integer greater than 1.
101
- Blockly.Msg.DELETE_ALL_BLOCKS = 'Delete all %1 blocks?';
102
- /** @type {string} */
103
- /// context menu - Reposition all the blocks so that they form a neat line.
104
- Blockly.Msg.CLEAN_UP = 'Clean up Blocks';
105
- /** @type {string} */
106
- /// context menu - Make the appearance of the selected block smaller by hiding some information about it.
107
- Blockly.Msg.COLLAPSE_BLOCK = 'Collapse Block';
108
- /** @type {string} */
109
- /// context menu - Make the appearance of all blocks smaller by hiding some information about it. Use the same terminology as in the previous message.
110
- Blockly.Msg.COLLAPSE_ALL = 'Collapse Blocks';
111
- /** @type {string} */
112
- /// context menu - Restore the appearance of the selected block by showing information about it that was hidden (collapsed) earlier.
113
- Blockly.Msg.EXPAND_BLOCK = 'Expand Block';
114
- /** @type {string} */
115
- /// context menu - Restore the appearance of all blocks by showing information about it that was hidden (collapsed) earlier. Use the same terminology as in the previous message.
116
- Blockly.Msg.EXPAND_ALL = 'Expand Blocks';
117
- /** @type {string} */
118
- /// context menu - Make the selected block have no effect (unless reenabled).
119
- Blockly.Msg.DISABLE_BLOCK = 'Disable Block';
120
- /** @type {string} */
121
- /// context menu - Make the selected block have effect (after having been disabled earlier).
122
- Blockly.Msg.ENABLE_BLOCK = 'Enable Block';
123
- /** @type {string} */
124
- /// context menu - Provide helpful information about the selected block.\n{{Identical|Help}}
125
- Blockly.Msg.HELP = 'Help';
126
- /** @type {string} */
127
- /// context menu - Undo the previous action.\n{{Identical|Undo}}
128
- Blockly.Msg.UNDO = 'Undo';
129
- /** @type {string} */
130
- /// context menu - Undo the previous undo action.\n{{Identical|Redo}}
131
- Blockly.Msg.REDO = 'Redo';
132
-
133
- // Variable renaming.
134
- /** @type {string} */
135
- /// prompt - This message is seen on mobile devices and the Opera browser. With most browsers, users can edit numeric values in blocks by just clicking and typing. Opera does not allow this and mobile browsers may have issues with in-line textareas. So we prompt users with this message (usually a popup) to change a value.
136
- Blockly.Msg.CHANGE_VALUE_TITLE = 'Change value:';
137
- /** @type {string} */
138
- /// dropdown choice - When the user clicks on a variable block, this is one of the dropdown menu choices. It is used to rename the current variable. See [https://github.com/google/blockly/wiki/Variables#dropdown-menu https://github.com/google/blockly/wiki/Variables#dropdown-menu].
139
- Blockly.Msg.RENAME_VARIABLE = 'Rename variable...';
140
- /** @type {string} */
141
- /// prompt - Prompts the user to enter the new name for the selected variable. See [https://github.com/google/blockly/wiki/Variables#dropdown-menu https://github.com/google/blockly/wiki/Variables#dropdown-menu].\n\nParameters:\n* %1 - the name of the variable to be renamed.
142
- Blockly.Msg.RENAME_VARIABLE_TITLE = 'Rename all "%1" variables to:';
143
-
144
- // Variable creation
145
- /** @type {string} */
146
- /// button text - Text on the button used to launch the variable creation dialogue.
147
- Blockly.Msg.NEW_VARIABLE = 'Create variable...';
148
- /** @type {string} */
149
- /// button text - Text on the button used to launch the variable creation dialogue.
150
- Blockly.Msg.NEW_STRING_VARIABLE = 'Create string variable...';
151
- /** @type {string} */
152
- /// button text - Text on the button used to launch the variable creation dialogue.
153
- Blockly.Msg.NEW_NUMBER_VARIABLE = 'Create number variable...';
154
- /** @type {string} */
155
- /// button text - Text on the button used to launch the variable creation dialogue.
156
- Blockly.Msg.NEW_COLOUR_VARIABLE = 'Create colour variable...';
157
- /** @type {string} */
158
- /// prompt - Prompts the user to enter the type for a variable.
159
- Blockly.Msg.NEW_VARIABLE_TYPE_TITLE = 'New variable type:';
160
- /** @type {string} */
161
- /// prompt - Prompts the user to enter the name for a new variable. See [https://github.com/google/blockly/wiki/Variables#dropdown-menu https://github.com/google/blockly/wiki/Variables#dropdown-menu].
162
- Blockly.Msg.NEW_VARIABLE_TITLE = 'New variable name:';
163
- /** @type {string} */
164
- /// alert - Tells the user that the name they entered is already in use.
165
- Blockly.Msg.VARIABLE_ALREADY_EXISTS = 'A variable named "%1" already exists.';
166
- /** @type {string} */
167
- /// alert - Tells the user that the name they entered is already in use for another type.
168
- Blockly.Msg.VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE = 'A variable named "%1" already exists for another type: "%2".';
169
- /** @type {string} */
170
- /// alert - Tells the user that the name they entered is already in use as a parameter to a procedure, that the variable they are renaming also exists on. Renaming would create two parameters with the same name, which is not allowed.
171
- Blockly.Msg.VARIABLE_ALREADY_EXISTS_FOR_A_PARAMETER = 'A variable named "%1" already exists as a parameter in the procedure "%2".';
172
-
173
- // Variable deletion.
174
- /** @type {string} */
175
- /// confirm - Ask the user to confirm their deletion of multiple uses of a variable.
176
- Blockly.Msg.DELETE_VARIABLE_CONFIRMATION = 'Delete %1 uses of the "%2" variable?';
177
- /** @type {string} */
178
- /// alert - Tell the user that they can't delete a variable because it's part of the definition of a function.
179
- Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = 'Can\'t delete the variable "%1" because it\'s part of the definition of the function "%2"';
180
- /** @type {string} */
181
- /// dropdown choice - Delete the currently selected variable.
182
- Blockly.Msg.DELETE_VARIABLE = 'Delete the "%1" variable';
183
-
184
- // Colour Blocks.
185
- /** @type {string} */
186
- /// {{Optional}} url - Information about colour.
187
- Blockly.Msg.COLOUR_PICKER_HELPURL = 'https://en.wikipedia.org/wiki/Color';
188
- /** @type {string} */
189
- /// tooltip - See [https://github.com/google/blockly/wiki/Colour#picking-a-colour-from-a-palette https://github.com/google/blockly/wiki/Colour#picking-a-colour-from-a-palette].
190
- Blockly.Msg.COLOUR_PICKER_TOOLTIP = 'Choose a colour from the palette.';
191
- /** @type {string} */
192
- /// {{Optional}} url - A link that displays a random colour each time you visit it.
193
- Blockly.Msg.COLOUR_RANDOM_HELPURL = 'http://randomcolour.com';
194
- /** @type {string} */
195
- /// block text - Title of block that generates a colour at random.
196
- Blockly.Msg.COLOUR_RANDOM_TITLE = 'random colour';
197
- /** @type {string} */
198
- /// tooltip - See [https://github.com/google/blockly/wiki/Colour#generating-a-random-colour https://github.com/google/blockly/wiki/Colour#generating-a-random-colour].
199
- Blockly.Msg.COLOUR_RANDOM_TOOLTIP = 'Choose a colour at random.';
200
- /** @type {string} */
201
- /// {{Optional}} url - A link for colour codes with percentages (0-100%) for each component, instead of the more common 0-255, which may be more difficult for beginners.
202
- Blockly.Msg.COLOUR_RGB_HELPURL = 'https://www.december.com/html/spec/colorpercompact.html';
203
- /** @type {string} */
204
- /// block text - Title of block for [https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components].
205
- Blockly.Msg.COLOUR_RGB_TITLE = 'colour with';
206
- /** @type {string} */
207
- /// block input text - The amount of red (from 0 to 100) to use when [https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components].\n{{Identical|Red}}
208
- Blockly.Msg.COLOUR_RGB_RED = 'red';
209
- /** @type {string} */
210
- /// block input text - The amount of green (from 0 to 100) to use when [https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components].
211
- Blockly.Msg.COLOUR_RGB_GREEN = 'green';
212
- /** @type {string} */
213
- /// block input text - The amount of blue (from 0 to 100) to use when [https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components].\n{{Identical|Blue}}
214
- Blockly.Msg.COLOUR_RGB_BLUE = 'blue';
215
- /** @type {string} */
216
- /// tooltip - See [https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components https://github.com/google/blockly/wiki/Colour#creating-a-colour-from-red-green-and-blue-components].
217
- Blockly.Msg.COLOUR_RGB_TOOLTIP = 'Create a colour with the specified amount of red, green, and blue. All values must be between 0 and 100.';
218
- /** @type {string} */
219
- /// {{Optional}} url - A useful link that displays blending of two colours.
220
- Blockly.Msg.COLOUR_BLEND_HELPURL = 'https://meyerweb.com/eric/tools/color-blend/#:::rgbp';
221
- /** @type {string} */
222
- /// block text - A verb for blending two shades of paint.
223
- Blockly.Msg.COLOUR_BLEND_TITLE = 'blend';
224
- /** @type {string} */
225
- /// block input text - The first of two colours to [https://github.com/google/blockly/wiki/Colour#blending-colours blend].
226
- Blockly.Msg.COLOUR_BLEND_COLOUR1 = 'colour 1';
227
- /** @type {string} */
228
- /// block input text - The second of two colours to [https://github.com/google/blockly/wiki/Colour#blending-colours blend].
229
- Blockly.Msg.COLOUR_BLEND_COLOUR2 = 'colour 2';
230
- /** @type {string} */
231
- /// block input text - The proportion of the [https://github.com/google/blockly/wiki/Colour#blending-colours blend] containing the first colour; the remaining proportion is of the second colour. For example, if the first colour is red and the second colour blue, a ratio of 1 would yield pure red, a ratio of .5 would yield purple (equal amounts of red and blue), and a ratio of 0 would yield pure blue.\n{{Identical|Ratio}}
232
- Blockly.Msg.COLOUR_BLEND_RATIO = 'ratio';
233
- /** @type {string} */
234
- /// tooltip - See [https://github.com/google/blockly/wiki/Colour#blending-colours https://github.com/google/blockly/wiki/Colour#blending-colours].
235
- Blockly.Msg.COLOUR_BLEND_TOOLTIP = 'Blends two colours together with a given ratio (0.0 - 1.0).';
236
-
237
- // Loop Blocks.
238
- /** @type {string} */
239
- /// {{Optional}} url - Describes 'repeat loops' in computer programs; consider using the translation of the page [https://en.wikipedia.org/wiki/Control_flow https://en.wikipedia.org/wiki/Control_flow].
240
- Blockly.Msg.CONTROLS_REPEAT_HELPURL = 'https://en.wikipedia.org/wiki/For_loop';
241
- /** @type {string} */
242
- /// block input text - Title of [https://github.com/google/blockly/wiki/Loops#repeat repeat block].\n\nParameters:\n* %1 - the number of times the body of the loop should be repeated.
243
- Blockly.Msg.CONTROLS_REPEAT_TITLE = 'repeat %1 times';
244
- /** @type {string} */
245
- /// block text - Preceding the blocks in the body of the loop. See [https://github.com/google/blockly/wiki/Loops https://github.com/google/blockly/wiki/Loops].\n{{Identical|Do}}
246
- Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = 'do';
247
- /** @type {string} */
248
- /// tooltip - See [https://github.com/google/blockly/wiki/Loops#repeat https://github.com/google/blockly/wiki/Loops#repeat].
249
- Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = 'Do some statements several times.';
250
- /** @type {string} */
251
- /// {{Optional}} url - Describes 'while loops' in computer programs; consider using the translation of [https://en.wikipedia.org/wiki/While_loop https://en.wikipedia.org/wiki/While_loop], if present, or [https://en.wikipedia.org/wiki/Control_flow https://en.wikipedia.org/wiki/Control_flow].
252
- Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = 'https://github.com/google/blockly/wiki/Loops#repeat';
253
- /** @type {string} */
254
- Blockly.Msg.CONTROLS_WHILEUNTIL_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
255
- /** @type {string} */
256
- /// dropdown - Specifies that a loop should [https://github.com/google/blockly/wiki/Loops#repeat-while repeat while] the following condition is true.
257
- Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = 'repeat while';
258
- /** @type {string} */
259
- /// dropdown - Specifies that a loop should [https://github.com/google/blockly/wiki/Loops#repeat-until repeat until] the following condition becomes true.
260
- Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = 'repeat until';
261
- /** @type {string} */
262
- /// tooltip - See [https://github.com/google/blockly/wiki/Loops#repeat-while Loops#repeat-while https://github.com/google/blockly/wiki/Loops#repeat-while Loops#repeat-while].
263
- Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = 'While a value is true, then do some statements.';
264
- /** @type {string} */
265
- /// tooltip - See [https://github.com/google/blockly/wiki/Loops#repeat-until https://github.com/google/blockly/wiki/Loops#repeat-until].
266
- Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = 'While a value is false, then do some statements.';
267
-
268
- /** @type {string} */
269
- /// {{Optional}} url - Describes 'for loops' in computer programs. Consider using your language's translation of [https://en.wikipedia.org/wiki/For_loop https://en.wikipedia.org/wiki/For_loop], if present.
270
- Blockly.Msg.CONTROLS_FOR_HELPURL = 'https://github.com/google/blockly/wiki/Loops#count-with';
271
- /** @type {string} */
272
- /// tooltip - See [https://github.com/google/blockly/wiki/Loops#count-with https://github.com/google/blockly/wiki/Loops#count-with].\n\nParameters:\n* %1 - the name of the loop variable.
273
- Blockly.Msg.CONTROLS_FOR_TOOLTIP = 'Have the variable "%1" take on the values from the start number to the end number, counting by the specified interval, and do the specified blocks.';
274
- /** @type {string} */
275
- /// block text - Repeatedly counts a variable (%1)
276
- /// starting with a (usually lower) number in a range (%2),
277
- /// ending with a (usually higher) number in a range (%3), and counting the
278
- /// iterations by a number of steps (%4). As in
279
- /// [https://github.com/google/blockly/wiki/Loops#count-with
280
- /// https://github.com/google/blockly/wiki/Loops#count-with].
281
- /// [[File:Blockly-count-with.png]]
282
- Blockly.Msg.CONTROLS_FOR_TITLE = 'count with %1 from %2 to %3 by %4';
283
- /** @type {string} */
284
- Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
285
-
286
- /** @type {string} */
287
- /// {{Optional}} url - Describes 'for-each loops' in computer programs. Consider using your language's translation of [https://en.wikipedia.org/wiki/Foreach https://en.wikipedia.org/wiki/Foreach] if present.
288
- Blockly.Msg.CONTROLS_FOREACH_HELPURL = 'https://github.com/google/blockly/wiki/Loops#for-each';
289
- /** @type {string} */
290
- /// block text - Title of [https://github.com/google/blockly/wiki/Loops#for-each for each block].
291
- /// Sequentially assigns every item in array %2 to the valiable %1.
292
- Blockly.Msg.CONTROLS_FOREACH_TITLE = 'for each item %1 in list %2';
293
- /** @type {string} */
294
- Blockly.Msg.CONTROLS_FOREACH_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
295
- /** @type {string} */
296
- /// block text - Description of [https://github.com/google/blockly/wiki/Loops#for-each for each blocks].\n\nParameters:\n* %1 - the name of the loop variable.
297
- Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = 'For each item in a list, set the variable "%1" to the item, and then do some statements.';
298
-
299
- /** @type {string} */
300
- /// {{Optional}} url - Describes control flow in computer programs. Consider using your language's translation of [https://en.wikipedia.org/wiki/Control_flow https://en.wikipedia.org/wiki/Control_flow], if it exists.
301
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = 'https://github.com/google/blockly/wiki/Loops#loop-termination-blocks';
302
- /** @type {string} */
303
- /// dropdown - The current loop should be exited. See [https://github.com/google/blockly/wiki/Loops#break https://github.com/google/blockly/wiki/Loops#break].
304
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = 'break out of loop';
305
- /** @type {string} */
306
- /// dropdown - The current iteration of the loop should be ended and the next should begin. See [https://github.com/google/blockly/wiki/Loops#continue-with-next-iteration https://github.com/google/blockly/wiki/Loops#continue-with-next-iteration].
307
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = 'continue with next iteration of loop';
308
- /** @type {string} */
309
- /// tooltip - See [https://github.com/google/blockly/wiki/Loops#break-out-of-loop https://github.com/google/blockly/wiki/Loops#break-out-of-loop].
310
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = 'Break out of the containing loop.';
311
- /** @type {string} */
312
- /// tooltip - See [https://github.com/google/blockly/wiki/Loops#continue-with-next-iteration https://github.com/google/blockly/wiki/Loops#continue-with-next-iteration].
313
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = 'Skip the rest of this loop, and continue with the next iteration.';
314
- /** @type {string} */
315
- /// warning - The user has tried placing a block outside of a loop (for each, while, repeat, etc.), but this type of block may only be used within a loop. See [https://github.com/google/blockly/wiki/Loops#loop-termination-blocks https://github.com/google/blockly/wiki/Loops#loop-termination-blocks].
316
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = 'Warning: This block may only be used within a loop.';
317
-
318
- // Logic Blocks.
319
- /** @type {string} */
320
- /// {{Optional}} url - Describes conditional statements (if-then-else) in computer programs. Consider using your language's translation of [https://en.wikipedia.org/wiki/If_else https://en.wikipedia.org/wiki/If_else], if present.
321
- Blockly.Msg.CONTROLS_IF_HELPURL = 'https://github.com/google/blockly/wiki/IfElse';
322
- /** @type {string} */
323
- /// tooltip - Describes [https://github.com/google/blockly/wiki/IfElse#if-blocks 'if' blocks]. Consider using your language's translation of [https://en.wikipedia.org/wiki/If_statement https://en.wikipedia.org/wiki/If_statement], if present.
324
- Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = 'If a value is true, then do some statements.';
325
- /** @type {string} */
326
- /// tooltip - Describes [https://github.com/google/blockly/wiki/IfElse#if-else-blocks if-else blocks]. Consider using your language's translation of [https://en.wikipedia.org/wiki/If_statement https://en.wikipedia.org/wiki/If_statement], if present.
327
- Blockly.Msg.CONTROLS_IF_TOOLTIP_2 = 'If a value is true, then do the first block of statements. Otherwise, do the second block of statements.';
328
- /** @type {string} */
329
- /// tooltip - Describes [https://github.com/google/blockly/wiki/IfElse#if-else-if-blocks if-else-if blocks]. Consider using your language's translation of [https://en.wikipedia.org/wiki/If_statement https://en.wikipedia.org/wiki/If_statement], if present.
330
- Blockly.Msg.CONTROLS_IF_TOOLTIP_3 = 'If the first value is true, then do the first block of statements. Otherwise, if the second value is true, do the second block of statements.';
331
- /** @type {string} */
332
- /// tooltip - Describes [https://github.com/google/blockly/wiki/IfElse#if-else-if-else-blocks if-else-if-else blocks]. Consider using your language's translation of [https://en.wikipedia.org/wiki/If_statement https://en.wikipedia.org/wiki/If_statement], if present.
333
- Blockly.Msg.CONTROLS_IF_TOOLTIP_4 = 'If the first value is true, then do the first block of statements. Otherwise, if the second value is true, do the second block of statements. If none of the values are true, do the last block of statements.';
334
- /** @type {string} */
335
- /// block text - See [https://github.com/google/blockly/wiki/IfElse https://github.com/google/blockly/wiki/IfElse].
336
- /// It is recommended, but not essential, that this have text in common with the translation of 'else if'\n{{Identical|If}}
337
- Blockly.Msg.CONTROLS_IF_MSG_IF = 'if';
338
- /** @type {string} */
339
- /// block text - See [https://github.com/google/blockly/wiki/IfElse https://github.com/google/blockly/wiki/IfElse]. The English words "otherwise if" would probably be clearer than "else if", but the latter is used because it is traditional and shorter.
340
- Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = 'else if';
341
- /** @type {string} */
342
- /// block text - See [https://github.com/google/blockly/wiki/IfElse https://github.com/google/blockly/wiki/IfElse]. The English word "otherwise" would probably be superior to "else", but the latter is used because it is traditional and shorter.
343
- Blockly.Msg.CONTROLS_IF_MSG_ELSE = 'else';
344
- /** @type {string} */
345
- Blockly.Msg.CONTROLS_IF_MSG_THEN = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
346
- /** @type {string} */
347
- Blockly.Msg.CONTROLS_IF_IF_TITLE_IF = Blockly.Msg.CONTROLS_IF_MSG_IF;
348
- /** @type {string} */
349
- /// tooltip - Describes [https://github.com/google/blockly/wiki/IfElse#block-modification if block modification].
350
- Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this if block.';
351
- /** @type {string} */
352
- Blockly.Msg.CONTROLS_IF_ELSEIF_TITLE_ELSEIF = Blockly.Msg.CONTROLS_IF_MSG_ELSEIF;
353
- /** @type {string} */
354
- /// tooltip - Describes the 'else if' subblock during [https://github.com/google/blockly/wiki/IfElse#block-modification if block modification].
355
- Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = 'Add a condition to the if block.';
356
- /** @type {string} */
357
- Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE;
358
- /** @type {string} */
359
- /// tooltip - Describes the 'else' subblock during [https://github.com/google/blockly/wiki/IfElse#block-modification if block modification].
360
- Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = 'Add a final, catch-all condition to the if block.';
361
-
362
- /** @type {string} */
363
- /// {{Optional}} url - Information about comparisons.
364
- Blockly.Msg.LOGIC_COMPARE_HELPURL = 'https://en.wikipedia.org/wiki/Inequality_(mathematics)';
365
- /** @type {string} */
366
- /// tooltip - Describes the equals (=) block.
367
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ = 'Return true if both inputs equal each other.';
368
- /** @type {string} */
369
- /// tooltip - Describes the not equals (≠) block.
370
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ = 'Return true if both inputs are not equal to each other.';
371
- /** @type {string} */
372
- /// tooltip - Describes the less than (<) block.
373
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT = 'Return true if the first input is smaller than the second input.';
374
- /** @type {string} */
375
- /// tooltip - Describes the less than or equals (≤) block.
376
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE = 'Return true if the first input is smaller than or equal to the second input.';
377
- /** @type {string} */
378
- /// tooltip - Describes the greater than (>) block.
379
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = 'Return true if the first input is greater than the second input.';
380
- /** @type {string} */
381
- /// tooltip - Describes the greater than or equals (≥) block.
382
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = 'Return true if the first input is greater than or equal to the second input.';
383
-
384
- /** @type {string} */
385
- /// {{Optional}} url - Information about the Boolean conjunction ("and") and disjunction ("or") operators. Consider using the translation of [https://en.wikipedia.org/wiki/Boolean_logic https://en.wikipedia.org/wiki/Boolean_logic], if it exists in your language.
386
- Blockly.Msg.LOGIC_OPERATION_HELPURL = 'https://github.com/google/blockly/wiki/Logic#logical-operations';
387
- /** @type {string} */
388
- /// tooltip - See [https://en.wikipedia.org/wiki/Logical_conjunction https://en.wikipedia.org/wiki/Logical_conjunction].
389
- Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = 'Return true if both inputs are true.';
390
- /** @type {string} */
391
- /// block text - See [https://en.wikipedia.org/wiki/Logical_conjunction https://en.wikipedia.org/wiki/Logical_conjunction].\n{{Identical|And}}
392
- Blockly.Msg.LOGIC_OPERATION_AND = 'and';
393
- /** @type {string} */
394
- /// block text - See [https://en.wikipedia.org/wiki/Disjunction https://en.wikipedia.org/wiki/Disjunction].
395
- Blockly.Msg.LOGIC_OPERATION_TOOLTIP_OR = 'Return true if at least one of the inputs is true.';
396
- /** @type {string} */
397
- /// block text - See [https://en.wikipedia.org/wiki/Disjunction https://en.wikipedia.org/wiki/Disjunction].\n{{Identical|Or}}
398
- Blockly.Msg.LOGIC_OPERATION_OR = 'or';
399
-
400
- /** @type {string} */
401
- /// {{Optional}} url - Information about logical negation. The translation of [https://en.wikipedia.org/wiki/Logical_negation https://en.wikipedia.org/wiki/Logical_negation] is recommended if it exists in the target language.
402
- Blockly.Msg.LOGIC_NEGATE_HELPURL = 'https://github.com/google/blockly/wiki/Logic#not';
403
- /** @type {string} */
404
- /// block text - This is a unary operator that returns ''false'' when the input is ''true'', and ''true'' when the input is ''false''.
405
- /// \n\nParameters:\n* %1 - the input (which should be either the value "true" or "false")
406
- Blockly.Msg.LOGIC_NEGATE_TITLE = 'not %1';
407
- /** @type {string} */
408
- /// tooltip - See [https://en.wikipedia.org/wiki/Logical_negation https://en.wikipedia.org/wiki/Logical_negation].
409
- Blockly.Msg.LOGIC_NEGATE_TOOLTIP = 'Returns true if the input is false. Returns false if the input is true.';
410
-
411
- /** @type {string} */
412
- /// {{Optional}} url - Information about the logic values ''true'' and ''false''. Consider using the translation of [https://en.wikipedia.org/wiki/Truth_value https://en.wikipedia.org/wiki/Truth_value] if it exists in your language.
413
- Blockly.Msg.LOGIC_BOOLEAN_HELPURL = 'https://github.com/google/blockly/wiki/Logic#values';
414
- /** @type {string} */
415
- /// block text - The word for the [https://en.wikipedia.org/wiki/Truth_value logical value] ''true''.\n{{Identical|True}}
416
- Blockly.Msg.LOGIC_BOOLEAN_TRUE = 'true';
417
- /** @type {string} */
418
- /// block text - The word for the [https://en.wikipedia.org/wiki/Truth_value logical value] ''false''.\n{{Identical|False}}
419
- Blockly.Msg.LOGIC_BOOLEAN_FALSE = 'false';
420
- /** @type {string} */
421
- /// tooltip - Indicates that the block returns either of the two possible [https://en.wikipedia.org/wiki/Truth_value logical values].
422
- Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP = 'Returns either true or false.';
423
-
424
- /** @type {string} */
425
- /// {{Optional}} url - Provide a link to the translation of [https://en.wikipedia.org/wiki/Nullable_type https://en.wikipedia.org/wiki/Nullable_type], if it exists in your language; otherwise, do not worry about translating this advanced concept.
426
- Blockly.Msg.LOGIC_NULL_HELPURL = 'https://en.wikipedia.org/wiki/Nullable_type';
427
- /** @type {string} */
428
- /// block text - In computer languages, ''null'' is a special value that indicates that no value has been set. You may use your language's word for "nothing" or "invalid".\n{{Identical|Null}}
429
- Blockly.Msg.LOGIC_NULL = 'null';
430
- /** @type {string} */
431
- /// tooltip - This should use the word from the previous message.
432
- Blockly.Msg.LOGIC_NULL_TOOLTIP = 'Returns null.';
433
-
434
- /** @type {string} */
435
- /// {{Optional}} url - Describes the programming language operator known as the ''ternary'' or ''conditional'' operator. It is recommended that you use the translation of [https://en.wikipedia.org/wiki/%3F: https://en.wikipedia.org/wiki/%3F:] if it exists.
436
- Blockly.Msg.LOGIC_TERNARY_HELPURL = 'https://en.wikipedia.org/wiki/%3F:';
437
- /** @type {string} */
438
- /// block input text - Label for the input whose value determines which of the other two inputs is returned. In some programming languages, this is called a ''''predicate''''.
439
- Blockly.Msg.LOGIC_TERNARY_CONDITION = 'test';
440
- /** @type {string} */
441
- /// block input text - Indicates that the following input should be returned (used as output) if the test input is true. Remember to try to keep block text terse (short).
442
- Blockly.Msg.LOGIC_TERNARY_IF_TRUE = 'if true';
443
- /** @type {string} */
444
- /// block input text - Indicates that the following input should be returned (used as output) if the test input is false.
445
- Blockly.Msg.LOGIC_TERNARY_IF_FALSE = 'if false';
446
- /** @type {string} */
447
- /// tooltip - See [https://en.wikipedia.org/wiki/%3F: https://en.wikipedia.org/wiki/%3F:].
448
- Blockly.Msg.LOGIC_TERNARY_TOOLTIP = 'Check the condition in "test". If the condition is true, returns the "if true" value; otherwise returns the "if false" value.';
449
-
450
- // Math Blocks.
451
- /** @type {string} */
452
- /// {{Optional}} url - Information about (real) numbers.
453
- Blockly.Msg.MATH_NUMBER_HELPURL = 'https://en.wikipedia.org/wiki/Number';
454
- /** @type {string} */
455
- /// tooltip - Any positive or negative number, not necessarily an integer.
456
- Blockly.Msg.MATH_NUMBER_TOOLTIP = 'A number.';
457
-
458
- /** @type {string} */
459
- /// {{Optional}} math - The symbol for the binary operation addition.
460
- Blockly.Msg.MATH_ADDITION_SYMBOL = '+';
461
- /** @type {string} */
462
- /// {{Optional}} math - The symbol for the binary operation indicating that the right operand should be
463
- /// subtracted from the left operand.
464
- Blockly.Msg.MATH_SUBTRACTION_SYMBOL = '-';
465
- /** @type {string} */
466
- /// {{Optional}} math - The binary operation indicating that the left operand should be divided by
467
- /// the right operand.
468
- Blockly.Msg.MATH_DIVISION_SYMBOL = '÷';
469
- /** @type {string} */
470
- /// {{Optional}} math - The symbol for the binary operation multiplication.
471
- Blockly.Msg.MATH_MULTIPLICATION_SYMBOL = '×';
472
- /** @type {string} */
473
- /// {{Optional}} math - The symbol for the binary operation exponentiation. Specifically, if the
474
- /// value of the left operand is L and the value of the right operand (the exponent) is
475
- /// R, multiply L by itself R times. (Fractional and negative exponents are also legal.)
476
- Blockly.Msg.MATH_POWER_SYMBOL = '^';
477
-
478
- /** @type {string} */
479
- /// math - The short name of the trigonometric function
480
- /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent sine].
481
- Blockly.Msg.MATH_TRIG_SIN = 'sin';
482
- /** @type {string} */
483
- /// math - The short name of the trigonometric function
484
- /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent cosine].
485
- Blockly.Msg.MATH_TRIG_COS = 'cos';
486
- /** @type {string} */
487
- /// math - The short name of the trigonometric function
488
- /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent tangent].
489
- Blockly.Msg.MATH_TRIG_TAN = 'tan';
490
- /** @type {string} */
491
- /// math - The short name of the ''inverse of'' the trigonometric function
492
- /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent sine].
493
- Blockly.Msg.MATH_TRIG_ASIN = 'asin';
494
- /** @type {string} */
495
- /// math - The short name of the ''inverse of'' the trigonometric function
496
- /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent cosine].
497
- Blockly.Msg.MATH_TRIG_ACOS = 'acos';
498
- /** @type {string} */
499
- /// math - The short name of the ''inverse of'' the trigonometric function
500
- /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent tangent].
501
- Blockly.Msg.MATH_TRIG_ATAN = 'atan';
502
-
503
- /** @type {string} */
504
- /// {{Optional}} url - Information about addition, subtraction, multiplication, division, and exponentiation.
505
- Blockly.Msg.MATH_ARITHMETIC_HELPURL = 'https://en.wikipedia.org/wiki/Arithmetic';
506
- /** @type {string} */
507
- /// tooltip - See [https://en.wikipedia.org/wiki/Addition https://en.wikipedia.org/wiki/Addition].
508
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_ADD = 'Return the sum of the two numbers.';
509
- /** @type {string} */
510
- /// tooltip - See [https://en.wikipedia.org/wiki/Subtraction https://en.wikipedia.org/wiki/Subtraction].
511
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MINUS = 'Return the difference of the two numbers.';
512
- /** @type {string} */
513
- /// tooltip - See [https://en.wikipedia.org/wiki/Multiplication https://en.wikipedia.org/wiki/Multiplication].
514
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MULTIPLY = 'Return the product of the two numbers.';
515
- /** @type {string} */
516
- /// tooltip - See [https://en.wikipedia.org/wiki/Division_(mathematics) https://en.wikipedia.org/wiki/Division_(mathematics)].
517
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_DIVIDE = 'Return the quotient of the two numbers.';
518
- /** @type {string} */
519
- /// tooltip - See [https://en.wikipedia.org/wiki/Exponentiation https://en.wikipedia.org/wiki/Exponentiation].
520
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_POWER = 'Return the first number raised to the power of the second number.';
521
-
522
- /** @type {string} */
523
- /// {{Optional}} url - Information about the square root operation.
524
- Blockly.Msg.MATH_SINGLE_HELPURL = 'https://en.wikipedia.org/wiki/Square_root';
525
- /** @type {string} */
526
- /// dropdown - This computes the positive [https://en.wikipedia.org/wiki/Square_root square root] of its input. For example, the square root of 16 is 4.
527
- Blockly.Msg.MATH_SINGLE_OP_ROOT = 'square root';
528
- /** @type {string} */
529
- /// tooltip - Please use the same term as in the previous message.
530
- Blockly.Msg.MATH_SINGLE_TOOLTIP_ROOT = 'Return the square root of a number.';
531
- /** @type {string} */
532
- /// dropdown - This leaves positive numeric inputs changed and inverts negative inputs. For example, the absolute value of 5 is 5; the absolute value of -5 is also 5. For more information, see [https://en.wikipedia.org/wiki/Absolute_value https://en.wikipedia.org/wiki/Absolute_value].
533
- Blockly.Msg.MATH_SINGLE_OP_ABSOLUTE = 'absolute';
534
- /** @type {string} */
535
- /// tooltip - Please use the same term as in the previous message.
536
- Blockly.Msg.MATH_SINGLE_TOOLTIP_ABS = 'Return the absolute value of a number.';
537
-
538
- /** @type {string} */
539
- /// tooltip - Calculates '''0-n''', where '''n''' is the single numeric input.
540
- Blockly.Msg.MATH_SINGLE_TOOLTIP_NEG = 'Return the negation of a number.';
541
- /** @type {string} */
542
- /// tooltip - Calculates the [https://en.wikipedia.org/wiki/Natural_logarithm|natural logarithm] of its single numeric input.
543
- Blockly.Msg.MATH_SINGLE_TOOLTIP_LN = 'Return the natural logarithm of a number.';
544
- /** @type {string} */
545
- /// tooltip - Calculates the [https://en.wikipedia.org/wiki/Common_logarithm common logarithm] of its single numeric input.
546
- Blockly.Msg.MATH_SINGLE_TOOLTIP_LOG10 = 'Return the base 10 logarithm of a number.';
547
- /** @type {string} */
548
- /// tooltip - Multiplies [https://en.wikipedia.org/wiki/E_(mathematical_constant) e] by itself n times, where n is the single numeric input.
549
- Blockly.Msg.MATH_SINGLE_TOOLTIP_EXP = 'Return e to the power of a number.';
550
- /** @type {string} */
551
- /// tooltip - Multiplies 10 by itself n times, where n is the single numeric input.
552
- Blockly.Msg.MATH_SINGLE_TOOLTIP_POW10 = 'Return 10 to the power of a number.';
553
-
554
- /** @type {string} */
555
- /// {{Optional}} url - Information about the trigonometric functions sine, cosine, tangent, and their inverses (ideally using degrees, not radians).
556
- Blockly.Msg.MATH_TRIG_HELPURL = 'https://en.wikipedia.org/wiki/Trigonometric_functions';
557
- /** @type {string} */
558
- /// tooltip - Return the [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent sine] of an [https://en.wikipedia.org/wiki/Degree_(angle) angle in degrees], not radians.
559
- Blockly.Msg.MATH_TRIG_TOOLTIP_SIN = 'Return the sine of a degree (not radian).';
560
- /** @type {string} */
561
- /// tooltip - Return the [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent cosine] of an [https://en.wikipedia.org/wiki/Degree_(angle) angle in degrees], not radians.
562
- Blockly.Msg.MATH_TRIG_TOOLTIP_COS = 'Return the cosine of a degree (not radian).';
563
- /** @type {string} */
564
- /// tooltip - Return the [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent tangent] of an [https://en.wikipedia.org/wiki/Degree_(angle) angle in degrees], not radians.
565
- Blockly.Msg.MATH_TRIG_TOOLTIP_TAN = 'Return the tangent of a degree (not radian).';
566
- /** @type {string} */
567
- /// tooltip - The [https://en.wikipedia.org/wiki/Inverse_trigonometric_functions inverse] of the [https://en.wikipedia.org/wiki/Cosine#Sine.2C_cosine_and_tangent sine function], using [https://en.wikipedia.org/wiki/Degree_(angle) degrees], not radians.
568
- Blockly.Msg.MATH_TRIG_TOOLTIP_ASIN = 'Return the arcsine of a number.';
569
- /** @type {string} */
570
- /// tooltip - The [https://en.wikipedia.org/wiki/Inverse_trigonometric_functions inverse] of the [https://en.wikipedia.org/wiki/Cosine#Sine.2C_cosine_and_tangent cosine] function, using [https://en.wikipedia.org/wiki/Degree_(angle) degrees], not radians.
571
- Blockly.Msg.MATH_TRIG_TOOLTIP_ACOS = 'Return the arccosine of a number.';
572
- /** @type {string} */
573
- /// tooltip - The [https://en.wikipedia.org/wiki/Inverse_trigonometric_functions inverse] of the [https://en.wikipedia.org/wiki/Cosine#Sine.2C_cosine_and_tangent tangent] function, using [https://en.wikipedia.org/wiki/Degree_(angle) degrees], not radians.
574
- Blockly.Msg.MATH_TRIG_TOOLTIP_ATAN = 'Return the arctangent of a number.';
575
-
576
- /** @type {string} */
577
- /// {{Optional}} url - Information about the mathematical constants Pi (π), e, the golden ratio (φ), √ 2, √ 1/2, and infinity (∞).
578
- Blockly.Msg.MATH_CONSTANT_HELPURL = 'https://en.wikipedia.org/wiki/Mathematical_constant';
579
- /** @type {string} */
580
- /// tooltip - Provides the specified [https://en.wikipedia.org/wiki/Mathematical_constant mathematical constant].
581
- Blockly.Msg.MATH_CONSTANT_TOOLTIP = 'Return one of the common constants: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), sqrt(½) (0.707…), or ∞ (infinity).';
582
- /** @type {string} */
583
- /// dropdown - A number is '''even''' if it is a multiple of 2. For example, 4 is even (yielding true), but 3 is not (false).
584
- Blockly.Msg.MATH_IS_EVEN = 'is even';
585
- /** @type {string} */
586
- /// dropdown - A number is '''odd''' if it is not a multiple of 2. For example, 3 is odd (yielding true), but 4 is not (false). The opposite of "odd" is "even".
587
- Blockly.Msg.MATH_IS_ODD = 'is odd';
588
- /** @type {string} */
589
- /// dropdown - A number is [https://en.wikipedia.org/wiki/Prime_number prime] if it cannot be evenly divided by any positive integers except for 1 and itself. For example, 5 is prime, but 6 is not because 2 × 3 = 6.
590
- Blockly.Msg.MATH_IS_PRIME = 'is prime';
591
- /** @type {string} */
592
- /// dropdown - A number is '''whole''' if it is an [https://en.wikipedia.org/wiki/Integer integer]. For example, 5 is whole, but 5.1 is not.
593
- Blockly.Msg.MATH_IS_WHOLE = 'is whole';
594
- /** @type {string} */
595
- /// dropdown - A number is '''positive''' if it is greater than 0. (0 is neither negative nor positive.)
596
- Blockly.Msg.MATH_IS_POSITIVE = 'is positive';
597
- /** @type {string} */
598
- /// dropdown - A number is '''negative''' if it is less than 0. (0 is neither negative nor positive.)
599
- Blockly.Msg.MATH_IS_NEGATIVE = 'is negative';
600
- /** @type {string} */
601
- /// dropdown - A number x is divisible by y if y goes into x evenly. For example, 10 is divisible by 5, but 10 is not divisible by 3.
602
- Blockly.Msg.MATH_IS_DIVISIBLE_BY = 'is divisible by';
603
- /** @type {string} */
604
- /// tooltip - This block lets the user specify via a dropdown menu whether to check if the numeric input is even, odd, prime, whole, positive, negative, or divisible by a given value.
605
- Blockly.Msg.MATH_IS_TOOLTIP = 'Check if a number is an even, odd, prime, whole, positive, negative, or if it is divisible by certain number. Returns true or false.';
606
-
607
- /** @type {string} */
608
- /// {{Optional}} url - Information about incrementing (increasing the value of) a variable.
609
- /// For other languages, just use the translation of the Wikipedia page about
610
- /// addition ([https://en.wikipedia.org/wiki/Addition https://en.wikipedia.org/wiki/Addition]).
611
- Blockly.Msg.MATH_CHANGE_HELPURL = 'https://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter';
612
- /** @type {string} */
613
- /// - As in: ''change'' [the value of variable] ''item'' ''by'' 1 (e.g., if the variable named 'item' had the value 5, change it to 6).
614
- /// %1 is a variable name.
615
- /// %2 is the amount of change.
616
- Blockly.Msg.MATH_CHANGE_TITLE = 'change %1 by %2';
617
- /** @type {string} */
618
- Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;
619
- /** @type {string} */
620
- /// tooltip - This updates the value of the variable by adding to it the following numeric input.\n\nParameters:\n* %1 - the name of the variable whose value should be increased.
621
- Blockly.Msg.MATH_CHANGE_TOOLTIP = 'Add a number to variable "%1".';
622
-
623
- /** @type {string} */
624
- /// {{Optional}} url - Information about how numbers are rounded to the nearest integer
625
- Blockly.Msg.MATH_ROUND_HELPURL = 'https://en.wikipedia.org/wiki/Rounding';
626
- /** @type {string} */
627
- /// tooltip - See [https://en.wikipedia.org/wiki/Rounding https://en.wikipedia.org/wiki/Rounding].
628
- Blockly.Msg.MATH_ROUND_TOOLTIP = 'Round a number up or down.';
629
- /** @type {string} */
630
- /// dropdown - This rounds its input to the nearest whole number. For example, 3.4 is rounded to 3.
631
- Blockly.Msg.MATH_ROUND_OPERATOR_ROUND = 'round';
632
- /** @type {string} */
633
- /// dropdown - This rounds its input up to the nearest whole number. For example, if the input was 2.2, the result would be 3.
634
- Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDUP = 'round up';
635
- /** @type {string} */
636
- /// dropdown - This rounds its input down to the nearest whole number. For example, if the input was 3.8, the result would be 3.
637
- Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDDOWN = 'round down';
638
-
639
- /** @type {string} */
640
- /// {{Optional}} url - Information about applying a function to a list of numbers. (We were unable to find such information in English. Feel free to skip this and any other URLs that are difficult.)
641
- Blockly.Msg.MATH_ONLIST_HELPURL = '';
642
- /** @type {string} */
643
- /// dropdown - This computes the sum of the numeric elements in the list. For example, the sum of the list {1, 4} is 5.
644
- Blockly.Msg.MATH_ONLIST_OPERATOR_SUM = 'sum of list';
645
- /** @type {string} */
646
- /// tooltip - Please use the same term for "sum" as in the previous message.
647
- Blockly.Msg.MATH_ONLIST_TOOLTIP_SUM = 'Return the sum of all the numbers in the list.';
648
- /** @type {string} */
649
- /// dropdown - This finds the smallest (minimum) number in a list. For example, the smallest number in the list [-5, 0, 3] is -5.
650
- Blockly.Msg.MATH_ONLIST_OPERATOR_MIN = 'min of list';
651
- /** @type {string} */
652
- /// tooltip - Please use the same term for "min" or "minimum" as in the previous message.
653
- Blockly.Msg.MATH_ONLIST_TOOLTIP_MIN = 'Return the smallest number in the list.';
654
- /** @type {string} */
655
- /// dropdown - This finds the largest (maximum) number in a list. For example, the largest number in the list [-5, 0, 3] is 3.
656
- Blockly.Msg.MATH_ONLIST_OPERATOR_MAX = 'max of list';
657
- /** @type {string} */
658
- /// tooltip
659
- Blockly.Msg.MATH_ONLIST_TOOLTIP_MAX = 'Return the largest number in the list.';
660
- /** @type {string} */
661
- /// dropdown - This adds up all of the numbers in a list and divides the sum by the number of elements in the list. For example, the [https://en.wikipedia.org/wiki/Arithmetic_mean average] of the list [1, 2, 3, 4] is 2.5 (10/4).
662
- Blockly.Msg.MATH_ONLIST_OPERATOR_AVERAGE = 'average of list';
663
- /** @type {string} */
664
- /// tooltip - See [https://en.wikipedia.org/wiki/Arithmetic_mean https://en.wikipedia.org/wiki/Arithmetic_mean] for more informatin.
665
- Blockly.Msg.MATH_ONLIST_TOOLTIP_AVERAGE = 'Return the average (arithmetic mean) of the numeric values in the list.';
666
- /** @type {string} */
667
- /// dropdown - This finds the [https://en.wikipedia.org/wiki/Median median] of the numeric values in a list. For example, the median of the list {1, 2, 7, 12, 13} is 7.
668
- Blockly.Msg.MATH_ONLIST_OPERATOR_MEDIAN = 'median of list';
669
- /** @type {string} */
670
- /// tooltip - See [https://en.wikipedia.org/wiki/Median median https://en.wikipedia.org/wiki/Median median] for more information.
671
- Blockly.Msg.MATH_ONLIST_TOOLTIP_MEDIAN = 'Return the median number in the list.';
672
- /** @type {string} */
673
- /// dropdown - This finds the most common numbers ([https://en.wikipedia.org/wiki/Mode_(statistics) modes]) in a list. For example, the modes of the list {1, 3, 9, 3, 9} are {3, 9}.
674
- Blockly.Msg.MATH_ONLIST_OPERATOR_MODE = 'modes of list';
675
- /** @type {string} */
676
- /// tooltip - See [https://en.wikipedia.org/wiki/Mode_(statistics) https://en.wikipedia.org/wiki/Mode_(statistics)] for more information.
677
- Blockly.Msg.MATH_ONLIST_TOOLTIP_MODE = 'Return a list of the most common item(s) in the list.';
678
- /** @type {string} */
679
- /// dropdown - This finds the [https://en.wikipedia.org/wiki/Standard_deviation standard deviation] of the numeric values in a list.
680
- Blockly.Msg.MATH_ONLIST_OPERATOR_STD_DEV = 'standard deviation of list';
681
- /** @type {string} */
682
- /// tooltip - See [https://en.wikipedia.org/wiki/Standard_deviation https://en.wikipedia.org/wiki/Standard_deviation] for more information.
683
- Blockly.Msg.MATH_ONLIST_TOOLTIP_STD_DEV = 'Return the standard deviation of the list.';
684
- /** @type {string} */
685
- /// dropdown - This choose an element at random from a list. Each element is chosen with equal probability.
686
- Blockly.Msg.MATH_ONLIST_OPERATOR_RANDOM = 'random item of list';
687
- /** @type {string} */
688
- /// tooltip - Please use same term for 'random' as in previous entry.
689
- Blockly.Msg.MATH_ONLIST_TOOLTIP_RANDOM = 'Return a random element from the list.';
690
-
691
- /** @type {string} */
692
- /// {{Optional}} url - information about the modulo (remainder) operation.
693
- Blockly.Msg.MATH_MODULO_HELPURL = 'https://en.wikipedia.org/wiki/Modulo_operation';
694
- /** @type {string} */
695
- /// block text - Title of block providing the remainder when dividing the first numerical input by the second. For example, the remainder of 10 divided by 3 is 1.\n\nParameters:\n* %1 - the dividend (10, in our example)\n* %2 - the divisor (3 in our example).
696
- Blockly.Msg.MATH_MODULO_TITLE = 'remainder of %1 ÷ %2';
697
- /** @type {string} */
698
- /// tooltip - For example, the remainder of 10 divided by 3 is 1.
699
- Blockly.Msg.MATH_MODULO_TOOLTIP = 'Return the remainder from dividing the two numbers.';
700
-
701
- /** @type {string} */
702
- /// {{Optional}} url - Information about constraining a numeric value to be in a specific range. (The English URL is not ideal. Recall that translating URLs is the lowest priority.)
703
- Blockly.Msg.MATH_CONSTRAIN_HELPURL = 'https://en.wikipedia.org/wiki/Clamping_(graphics)';
704
- /** @type {string} */
705
- /// block text - The title of the block that '''constrain'''s (forces) a number to be in a given range.
706
- ///For example, if the number 150 is constrained to be between 5 and 100, the result will be 100.
707
- ///\n\nParameters:\n* %1 - the value to constrain (e.g., 150)\n* %2 - the minimum value (e.g., 5)\n* %3 - the maximum value (e.g., 100).
708
- Blockly.Msg.MATH_CONSTRAIN_TITLE = 'constrain %1 low %2 high %3';
709
- /** @type {string} */
710
- /// tooltip - This compares a number ''x'' to a low value ''L'' and a high value ''H''. If ''x'' is less then ''L'', the result is ''L''. If ''x'' is greater than ''H'', the result is ''H''. Otherwise, the result is ''x''.
711
- Blockly.Msg.MATH_CONSTRAIN_TOOLTIP = 'Constrain a number to be between the specified limits (inclusive).';
712
-
713
- /** @type {string} */
714
- /// {{Optional}} url - Information about how computers generate random numbers.
715
- Blockly.Msg.MATH_RANDOM_INT_HELPURL = 'https://en.wikipedia.org/wiki/Random_number_generation';
716
- /** @type {string} */
717
- /// block text - The title of the block that generates a random integer (whole number) in the specified range. For example, if the range is from 5 to 7, this returns 5, 6, or 7 with equal likelihood. %1 is a placeholder for the lower number, %2 is the placeholder for the larger number.
718
- Blockly.Msg.MATH_RANDOM_INT_TITLE = 'random integer from %1 to %2';
719
- /** @type {string} */
720
- /// tooltip - Return a random integer between two values specified as inputs. For example, if one input was 7 and another 9, any of the numbers 7, 8, or 9 could be produced.
721
- Blockly.Msg.MATH_RANDOM_INT_TOOLTIP = 'Return a random integer between the two specified limits, inclusive.';
722
-
723
- /** @type {string} */
724
- /// {{Optional}} url - Information about how computers generate random numbers (specifically, numbers in the range from 0 to just below 1).
725
- Blockly.Msg.MATH_RANDOM_FLOAT_HELPURL = 'https://en.wikipedia.org/wiki/Random_number_generation';
726
- /** @type {string} */
727
- /// block text - The title of the block that generates a random number greater than or equal to 0 and less than 1.
728
- Blockly.Msg.MATH_RANDOM_FLOAT_TITLE_RANDOM = 'random fraction';
729
- /** @type {string} */
730
- /// tooltip - Return a random fraction between 0 and 1. The value may be equal to 0 but must be less than 1.
731
- Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = 'Return a random fraction between 0.0 (inclusive) and 1.0 (exclusive).';
732
-
733
- /** @type {string} */
734
- /// {{Optional}} url - Information about how to calculate atan2.
735
- Blockly.Msg.MATH_ATAN2_HELPURL = 'https://en.wikipedia.org/wiki/Atan2';
736
- /** @type {string} */
737
- /// block text - The title of the block that calculates atan2 of point (X, Y). For example, if the point is (-1, -1), this returns -135. %1 is a placeholder for the X coordinate, %2 is the placeholder for the Y coordinate.
738
- Blockly.Msg.MATH_ATAN2_TITLE = 'atan2 of X:%1 Y:%2';
739
- /** @type {string} */
740
- /// tooltip - Return the arctangent of point (X, Y) in degrees from -180 to 180. For example, if the point is (-1, -1) this returns -135.
741
- Blockly.Msg.MATH_ATAN2_TOOLTIP = 'Return the arctangent of point (X, Y) in degrees from -180 to 180.';
742
-
743
- // Text Blocks.
744
- /** @type {string} */
745
- /// {{Optional}} url - Information about how computers represent text (sometimes referred to as ''string''s).
746
- Blockly.Msg.TEXT_TEXT_HELPURL = 'https://en.wikipedia.org/wiki/String_(computer_science)';
747
- /** @type {string} */
748
- /// tooltip - See [https://github.com/google/blockly/wiki/Text https://github.com/google/blockly/wiki/Text].
749
- Blockly.Msg.TEXT_TEXT_TOOLTIP = 'A letter, word, or line of text.';
750
-
751
- /** @type {string} */
752
- /// {{Optional}} url - Information on concatenating/appending pieces of text.
753
- Blockly.Msg.TEXT_JOIN_HELPURL = 'https://github.com/google/blockly/wiki/Text#text-creation';
754
- /** @type {string} */
755
- /// block text - See [https://github.com/google/blockly/wiki/Text#text-creation https://github.com/google/blockly/wiki/Text#text-creation].
756
- Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = 'create text with';
757
- /** @type {string} */
758
- /// tooltip - See [https://github.com/google/blockly/wiki/Text#text-creation create text with] for more information.
759
- Blockly.Msg.TEXT_JOIN_TOOLTIP = 'Create a piece of text by joining together any number of items.';
760
-
761
- /** @type {string} */
762
- /// block text - This is shown when the programmer wants to change the number of pieces of text being joined together. See [https://github.com/google/blockly/wiki/Text#text-creation https://github.com/google/blockly/wiki/Text#text-creation], specifically the last picture in the 'Text creation' section.\n{{Identical|Join}}
763
- Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = 'join';
764
- /** @type {string} */
765
- /// tooltip - See [https://github.com/google/blockly/wiki/Text#text-creation https://github.com/google/blockly/wiki/Text#text-creation], specifically the last picture in the 'Text creation' section.
766
- Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this text block.';
767
- /** @type {string} */
768
- Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;
769
- /** @type {string} */
770
- /// block text - See [https://github.com/google/blockly/wiki/Text#text-creation https://github.com/google/blockly/wiki/Text#text-creation], specifically the last picture in the 'Text creation' section.
771
- Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = 'Add an item to the text.';
772
-
773
- /** @type {string} */
774
- /// {{Optional}} url - This and the other text-related URLs are going to be hard to translate. As always, it is okay to leave untranslated or paste in the English-language URL. For these URLs, you might also consider a general URL about how computers represent text (such as the translation of [https://en.wikipedia.org/wiki/String_(computer_science) this Wikipedia page]).
775
- Blockly.Msg.TEXT_APPEND_HELPURL = 'https://github.com/google/blockly/wiki/Text#text-modification';
776
- /** @type {string} */
777
- /// block input text - Message that the variable name at %1 will have the item at %2 appended to it.
778
- /// [[File:blockly-append-text.png]]
779
- Blockly.Msg.TEXT_APPEND_TITLE = 'to %1 append text %2';
780
- /** @type {string} */
781
- Blockly.Msg.TEXT_APPEND_VARIABLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;
782
- /** @type {string} */
783
- /// tooltip - See [https://github.com/google/blockly/wiki/Text#text-modification https://github.com/google/blockly/wiki/Text#text-modification] for more information.\n\nParameters:\n* %1 - the name of the variable to which text should be appended
784
- Blockly.Msg.TEXT_APPEND_TOOLTIP = 'Append some text to variable "%1".';
785
-
786
- /** @type {string} */
787
- /// {{Optional}} url - Information about text on computers (usually referred to as 'strings').
788
- Blockly.Msg.TEXT_LENGTH_HELPURL = 'https://github.com/google/blockly/wiki/Text#text-modification';
789
- /** @type {string} */
790
- /// block text - See [https://github.com/google/blockly/wiki/Text#text-length https://github.com/google/blockly/wiki/Text#text-length].
791
- /// \n\nParameters:\n* %1 - the piece of text to take the length of
792
- Blockly.Msg.TEXT_LENGTH_TITLE = 'length of %1';
793
- /** @type {string} */
794
- /// tooltip - See [https://github.com/google/blockly/wiki/Text#text-length https://github.com/google/blockly/wiki/Text#text-length].
795
- Blockly.Msg.TEXT_LENGTH_TOOLTIP = 'Returns the number of letters (including spaces) in the provided text.';
796
-
797
- /** @type {string} */
798
- /// {{Optional}} url - Information about empty pieces of text on computers (usually referred to as 'empty strings').
799
- Blockly.Msg.TEXT_ISEMPTY_HELPURL = 'https://github.com/google/blockly/wiki/Text#checking-for-empty-text';
800
- /** @type {string} */
801
- /// block text - See [https://github.com/google/blockly/wiki/Text#checking-for-empty-text https://github.com/google/blockly/wiki/Text#checking-for-empty-text].
802
- /// \n\nParameters:\n* %1 - the piece of text to test for emptiness
803
- Blockly.Msg.TEXT_ISEMPTY_TITLE = '%1 is empty';
804
- /** @type {string} */
805
- /// tooltip - See [https://github.com/google/blockly/wiki/Text#checking-for-empty-text https://github.com/google/blockly/wiki/Text#checking-for-empty-text].
806
- Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = 'Returns true if the provided text is empty.';
807
-
808
- /** @type {string} */
809
- /// {{Optional}} url - Information about finding a character in a piece of text.
810
- Blockly.Msg.TEXT_INDEXOF_HELPURL = 'https://github.com/google/blockly/wiki/Text#finding-text';
811
- /** @type {string} */
812
- /// tooltip - %1 will be replaced by either the number 0 or -1 depending on the indexing mode. See [https://github.com/google/blockly/wiki/Text#finding-text https://github.com/google/blockly/wiki/Text#finding-text].
813
- Blockly.Msg.TEXT_INDEXOF_TOOLTIP = 'Returns the index of the first/last occurrence of the first text in the second text. Returns %1 if text is not found.';
814
- /** @type {string} */
815
- /// block text - Title of blocks allowing users to find text. See
816
- /// [https://github.com/google/blockly/wiki/Text#finding-text
817
- /// https://github.com/google/blockly/wiki/Text#finding-text].
818
- /// [[File:Blockly-find-text.png]].
819
- /// In English the expanded message is "in text %1 find (first|last) occurance of text %3"
820
- /// where %1 and %3 are added by the user. See TEXT_INDEXOF_OPERATOR_FIRST and
821
- /// TEXT_INDEXOF_OPERATOR_LAST for the dropdown text that replaces %2.
822
- Blockly.Msg.TEXT_INDEXOF_TITLE = 'in text %1 %2 %3';
823
- /** @type {string} */
824
- /// dropdown - See [https://github.com/google/blockly/wiki/Text#finding-text
825
- /// https://github.com/google/blockly/wiki/Text#finding-text].
826
- /// [[File:Blockly-find-text.png]].
827
- Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = 'find first occurrence of text';
828
- /** @type {string} */
829
- /// dropdown - See [https://github.com/google/blockly/wiki/Text#finding-text
830
- /// https://github.com/google/blockly/wiki/Text#finding-text]. This would
831
- /// replace "find first occurrence of text" below. (For more information on
832
- /// how common text is factored out of dropdown menus, see
833
- /// [https://translatewiki.net/wiki/Translating:Blockly#Drop-Down_Menus
834
- /// https://translatewiki.net/wiki/Translating:Blockly#Drop-Down_Menus)].)
835
- /// [[File:Blockly-find-text.png]].
836
- Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = 'find last occurrence of text';
837
- /** @type {string} */
838
-
839
- /// {{Optional}} url - Information about extracting characters (letters, number, symbols, etc.) from text.
840
- Blockly.Msg.TEXT_CHARAT_HELPURL = 'https://github.com/google/blockly/wiki/Text#extracting-text';
841
- /** @type {string} */
842
- /// block text - Text for a block to extract a letter (or number,
843
- /// punctuation character, etc.) from a string, as shown below. %1 is added by
844
- /// the user and %2 is replaced by a dropdown of options, possibly followed by
845
- /// another user supplied string. TEXT_CHARAT_TAIL is then added to the end. See
846
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
847
- /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
848
- /// [[File:Blockly-text-get.png]]
849
- Blockly.Msg.TEXT_CHARAT_TITLE = 'in text %1 %2';
850
- /** @type {string} */
851
- /// dropdown - Indicates that the letter (or number, punctuation character, etc.) with the
852
- /// specified index should be obtained from the preceding piece of text. See
853
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
854
- /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
855
- /// [[File:Blockly-text-get.png]]
856
- Blockly.Msg.TEXT_CHARAT_FROM_START = 'get letter #';
857
- /** @type {string} */
858
- /// block text - Indicates that the letter (or number, punctuation character, etc.) with the
859
- /// specified index from the end of a given piece of text should be obtained. See
860
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
861
- /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
862
- /// [[File:Blockly-text-get.png]]
863
- Blockly.Msg.TEXT_CHARAT_FROM_END = 'get letter # from end';
864
- /** @type {string} */
865
- /// block text - Indicates that the first letter of the following piece of text should be
866
- /// retrieved. See [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
867
- /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
868
- /// [[File:Blockly-text-get.png]]
869
- Blockly.Msg.TEXT_CHARAT_FIRST = 'get first letter';
870
- /** @type {string} */
871
- /// block text - Indicates that the last letter (or number, punctuation mark, etc.) of the
872
- /// following piece of text should be retrieved. See
873
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
874
- /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
875
- /// [[File:Blockly-text-get.png]]
876
- Blockly.Msg.TEXT_CHARAT_LAST = 'get last letter';
877
- /** @type {string} */
878
- /// block text - Indicates that any letter (or number, punctuation mark, etc.) in the
879
- /// following piece of text should be randomly selected. See
880
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
881
- /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
882
- /// [[File:Blockly-text-get.png]]
883
- Blockly.Msg.TEXT_CHARAT_RANDOM = 'get random letter';
884
- /** @type {string} */
885
- /// {{Optional|Supply translation only if your language requires it. Most do not.}}
886
- /// block text - Text that goes after the rightmost block/dropdown when getting a single letter from
887
- /// a piece of text, as in [https://blockly-demo.appspot.com/static/apps/code/index.html#3m23km these
888
- /// blocks] or shown below. For most languages, this will be blank.
889
- /// [[File:Blockly-text-get.png]]
890
- Blockly.Msg.TEXT_CHARAT_TAIL = '';
891
- /** @type {string} */
892
- /// tooltip - See [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
893
- /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
894
- /// [[File:Blockly-text-get.png]]
895
- Blockly.Msg.TEXT_CHARAT_TOOLTIP = 'Returns the letter at the specified position.';
896
-
897
- /** @type {string} */
898
- /// See [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
899
- /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
900
- Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP = 'Returns a specified portion of the text.';
901
- /** @type {string} */
902
- /// {{Optional}} url - Information about extracting characters from text. Reminder: urls are the
903
- /// lowest priority translations. Feel free to skip.
904
- Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = 'https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text';
905
- /** @type {string} */
906
- /// block text - Precedes a piece of text from which a portion should be extracted.
907
- /// [[File:Blockly-get-substring.png]]
908
- Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT = 'in text';
909
- /** @type {string} */
910
- /// dropdown - Indicates that the following number specifies the position (relative to the start
911
- /// position) of the beginning of the region of text that should be obtained from the preceding
912
- /// piece of text. See [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
913
- /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
914
- /// [[File:Blockly-get-substring.png]]
915
- Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = 'get substring from letter #';
916
- /** @type {string} */
917
- /// dropdown - Indicates that the following number specifies the position (relative to the end
918
- /// position) of the beginning of the region of text that should be obtained from the preceding
919
- /// piece of text. See [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
920
- /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
921
- /// Note: If {{msg-blockly|ORDINAL_NUMBER_SUFFIX}} is defined, it will
922
- /// automatically appear ''after'' this and any other
923
- /// [https://translatewiki.net/wiki/Translating:Blockly#Ordinal_numbers ordinal numbers]
924
- /// on this block.
925
- /// [[File:Blockly-get-substring.png]]
926
- Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END = 'get substring from letter # from end';
927
- /** @type {string} */
928
- /// block text - Indicates that a region starting with the first letter of the preceding piece
929
- /// of text should be extracted. See
930
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
931
- /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
932
- /// [[File:Blockly-get-substring.png]]
933
- Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST = 'get substring from first letter';
934
- /** @type {string} */
935
- /// dropdown - Indicates that the following number specifies the position (relative to
936
- /// the start position) of the end of the region of text that should be obtained from the
937
- /// preceding piece of text. See
938
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
939
- /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
940
- /// [[File:Blockly-get-substring.png]]
941
- Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START = 'to letter #';
942
- /** @type {string} */
943
- /// dropdown - Indicates that the following number specifies the position (relative to the
944
- /// end position) of the end of the region of text that should be obtained from the preceding
945
- /// piece of text. See
946
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
947
- /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
948
- /// [[File:Blockly-get-substring.png]]
949
- Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END = 'to letter # from end';
950
- /** @type {string} */
951
- /// block text - Indicates that a region ending with the last letter of the preceding piece
952
- /// of text should be extracted. See
953
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
954
- /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
955
- /// [[File:Blockly-get-substring.png]]
956
- Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST = 'to last letter';
957
- /** @type {string} */
958
- /// {{Optional|Supply translation only if your language requires it. Most do not.}}
959
- /// block text - Text that should go after the rightmost block/dropdown when
960
- /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
961
- /// extracting a region of text]. In most languages, this will be the empty string.
962
- /// [[File:Blockly-get-substring.png]]
963
- Blockly.Msg.TEXT_GET_SUBSTRING_TAIL = '';
964
-
965
- /** @type {string} */
966
- /// {{Optional}} url - Information about the case of letters (upper-case and lower-case).
967
- Blockly.Msg.TEXT_CHANGECASE_HELPURL = 'https://github.com/google/blockly/wiki/Text#adjusting-text-case';
968
- /** @type {string} */
969
- /// tooltip - Describes a block to adjust the case of letters. For more information on this block,
970
- /// see [https://github.com/google/blockly/wiki/Text#adjusting-text-case
971
- /// https://github.com/google/blockly/wiki/Text#adjusting-text-case].
972
- Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = 'Return a copy of the text in a different case.';
973
- /** @type {string} */
974
- /// block text - Indicates that all of the letters in the following piece of text should be
975
- /// capitalized. If your language does not use case, you may indicate that this is not
976
- /// applicable to your language. For more information on this block, see
977
- /// [https://github.com/google/blockly/wiki/Text#adjusting-text-case
978
- /// https://github.com/google/blockly/wiki/Text#adjusting-text-case].
979
- Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = 'to UPPER CASE';
980
- /** @type {string} */
981
- /// block text - Indicates that all of the letters in the following piece of text should be converted to lower-case. If your language does not use case, you may indicate that this is not applicable to your language. For more information on this block, see [https://github.com/google/blockly/wiki/Text#adjusting-text-case https://github.com/google/blockly/wiki/Text#adjusting-text-case].
982
- Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = 'to lower case';
983
- /** @type {string} */
984
- /// block text - Indicates that the first letter of each of the following words should be capitalized and the rest converted to lower-case. If your language does not use case, you may indicate that this is not applicable to your language. For more information on this block, see [https://github.com/google/blockly/wiki/Text#adjusting-text-case https://github.com/google/blockly/wiki/Text#adjusting-text-case].
985
- Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = 'to Title Case';
986
-
987
- /** @type {string} */
988
- /// {{Optional}} url - Information about trimming (removing) text off the beginning and ends of pieces of text.
989
- Blockly.Msg.TEXT_TRIM_HELPURL = 'https://github.com/google/blockly/wiki/Text#trimming-removing-spaces';
990
- /** @type {string} */
991
- /// tooltip - See [https://github.com/google/blockly/wiki/Text#trimming-removing-spaces
992
- /// https://github.com/google/blockly/wiki/Text#trimming-removing-spaces].
993
- Blockly.Msg.TEXT_TRIM_TOOLTIP = 'Return a copy of the text with spaces removed from one or both ends.';
994
- /** @type {string} */
995
- /// dropdown - Removes spaces from the beginning and end of a piece of text. See
996
- /// [https://github.com/google/blockly/wiki/Text#trimming-removing-spaces
997
- /// https://github.com/google/blockly/wiki/Text#trimming-removing-spaces]. Note that neither
998
- /// this nor the other options modify the original piece of text (that follows);
999
- /// the block just returns a version of the text without the specified spaces.
1000
- Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = 'trim spaces from both sides of';
1001
- /** @type {string} */
1002
- /// dropdown - Removes spaces from the beginning of a piece of text. See
1003
- /// [https://github.com/google/blockly/wiki/Text#trimming-removing-spaces
1004
- /// https://github.com/google/blockly/wiki/Text#trimming-removing-spaces].
1005
- /// Note that in right-to-left scripts, this will remove spaces from the right side.
1006
- Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = 'trim spaces from left side of';
1007
- /** @type {string} */
1008
- /// dropdown - Removes spaces from the end of a piece of text. See
1009
- /// [https://github.com/google/blockly/wiki/Text#trimming-removing-spaces
1010
- /// https://github.com/google/blockly/wiki/Text#trimming-removing-spaces].
1011
- /// Note that in right-to-left scripts, this will remove spaces from the left side.
1012
- Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = 'trim spaces from right side of';
1013
-
1014
- /** @type {string} */
1015
- /// {{Optional}} url - Information about displaying text on computers.
1016
- Blockly.Msg.TEXT_PRINT_HELPURL = 'https://github.com/google/blockly/wiki/Text#printing-text';
1017
- /** @type {string} */
1018
- /// block text - Display the input on the screen. See
1019
- /// [https://github.com/google/blockly/wiki/Text#printing-text
1020
- /// https://github.com/google/blockly/wiki/Text#printing-text].
1021
- /// \n\nParameters:\n* %1 - the value to print
1022
- Blockly.Msg.TEXT_PRINT_TITLE = 'print %1';
1023
- /** @type {string} */
1024
- /// tooltip - See [https://github.com/google/blockly/wiki/Text#printing-text
1025
- /// https://github.com/google/blockly/wiki/Text#printing-text].
1026
- Blockly.Msg.TEXT_PRINT_TOOLTIP = 'Print the specified text, number or other value.';
1027
- /** @type {string} */
1028
- /// {{Optional}} url - Information about getting text from users.
1029
- Blockly.Msg.TEXT_PROMPT_HELPURL = 'https://github.com/google/blockly/wiki/Text#getting-input-from-the-user';
1030
- /** @type {string} */
1031
- /// dropdown - Specifies that a piece of text should be requested from the user with
1032
- /// the following message. See [https://github.com/google/blockly/wiki/Text#printing-text
1033
- /// https://github.com/google/blockly/wiki/Text#printing-text].
1034
- Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = 'prompt for text with message';
1035
- /** @type {string} */
1036
- /// dropdown - Specifies that a number should be requested from the user with the
1037
- /// following message. See [https://github.com/google/blockly/wiki/Text#printing-text
1038
- /// https://github.com/google/blockly/wiki/Text#printing-text].
1039
- Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = 'prompt for number with message';
1040
- /** @type {string} */
1041
- /// dropdown - Precedes the message with which the user should be prompted for
1042
- /// a number. See [https://github.com/google/blockly/wiki/Text#printing-text
1043
- /// https://github.com/google/blockly/wiki/Text#printing-text].
1044
- Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = 'Prompt for user for a number.';
1045
- /** @type {string} */
1046
- /// dropdown - Precedes the message with which the user should be prompted for some text.
1047
- /// See [https://github.com/google/blockly/wiki/Text#printing-text
1048
- /// https://github.com/google/blockly/wiki/Text#printing-text].
1049
- Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = 'Prompt for user for some text.';
1050
-
1051
- /** @type {string} */
1052
- /// block text - Title of a block that counts the number of instances of
1053
- /// a smaller pattern (%1) inside a longer string (%2).
1054
- Blockly.Msg.TEXT_COUNT_MESSAGE0 = 'count %1 in %2';
1055
- /** @type {string} */
1056
- /// {{Optional}} url - Information about counting how many times a string appears in another string.
1057
- Blockly.Msg.TEXT_COUNT_HELPURL = 'https://github.com/google/blockly/wiki/Text#counting-substrings';
1058
- /** @type {string} */
1059
- /// tooltip - Short description of a block that counts how many times some text occurs within some other text.
1060
- Blockly.Msg.TEXT_COUNT_TOOLTIP = 'Count how many times some text occurs within some other text.';
1061
-
1062
- /** @type {string} */
1063
- /// block text - Title of a block that returns a copy of text (%3) with all
1064
- /// instances of some smaller text (%1) replaced with other text (%2).
1065
- Blockly.Msg.TEXT_REPLACE_MESSAGE0 = 'replace %1 with %2 in %3';
1066
- /** @type {string} */
1067
- /// {{Optional}} url - Information about replacing each copy text (or string, in computer lingo) with other text.
1068
- Blockly.Msg.TEXT_REPLACE_HELPURL = 'https://github.com/google/blockly/wiki/Text#replacing-substrings';
1069
- /** @type {string} */
1070
- /// tooltip - Short description of a block that replaces copies of text in a large text with other text.
1071
- Blockly.Msg.TEXT_REPLACE_TOOLTIP = 'Replace all occurances of some text within some other text.';
1072
-
1073
- /** @type {string} */
1074
- /// block text - Title of block that returns a copy of text (%1) with the order
1075
- /// of letters and characters reversed.
1076
- Blockly.Msg.TEXT_REVERSE_MESSAGE0 = 'reverse %1';
1077
- /** @type {string} */
1078
- /// {{Optional}} url - Information about reversing a letters/characters in text.
1079
- Blockly.Msg.TEXT_REVERSE_HELPURL = 'https://github.com/google/blockly/wiki/Text#reversing-text';
1080
- /** @type {string} */
1081
- /// tooltip - See [https://github.com/google/blockly/wiki/Text].
1082
- Blockly.Msg.TEXT_REVERSE_TOOLTIP = 'Reverses the order of the characters in the text.';
1083
-
1084
- // Lists Blocks.
1085
- /** @type {string} */
1086
- /// {{Optional}} url - Information on empty lists.
1087
- Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = 'https://github.com/google/blockly/wiki/Lists#create-empty-list';
1088
- /** @type {string} */
1089
- /// block text - See [https://github.com/google/blockly/wiki/Lists#create-empty-list https://github.com/google/blockly/wiki/Lists#create-empty-list].
1090
- Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = 'create empty list';
1091
- /** @type {string} */
1092
- /// block text - See [https://github.com/google/blockly/wiki/Lists#create-empty-list https://github.com/google/blockly/wiki/Lists#create-empty-list].
1093
- Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = 'Returns a list, of length 0, containing no data records';
1094
-
1095
- /** @type {string} */
1096
- /// {{Optional}} url - Information on building lists.
1097
- Blockly.Msg.LISTS_CREATE_WITH_HELPURL = 'https://github.com/google/blockly/wiki/Lists#create-list-with';
1098
- /** @type {string} */
1099
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#create-list-with https://github.com/google/blockly/wiki/Lists#create-list-with].
1100
- Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = 'Create a list with any number of items.';
1101
- /** @type {string} */
1102
- /// block text - See [https://github.com/google/blockly/wiki/Lists#create-list-with https://github.com/google/blockly/wiki/Lists#create-list-with].
1103
- Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = 'create list with';
1104
- /** @type {string} */
1105
- /// block text - This appears in a sub-block when [https://github.com/google/blockly/wiki/Lists#changing-number-of-inputs changing the number of inputs in a ''''create list with'''' block].\n{{Identical|List}}
1106
- Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = 'list';
1107
- /** @type {string} */
1108
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#changing-number-of-inputs https://github.com/google/blockly/wiki/Lists#changing-number-of-inputs].
1109
- Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this list block.';
1110
- /** @type {string} */
1111
- Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;
1112
- /** @type {string} */
1113
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#changing-number-of-inputs https://github.com/google/blockly/wiki/Lists#changing-number-of-inputs].
1114
- Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = 'Add an item to the list.';
1115
-
1116
- /** @type {string} */
1117
- /// {{Optional}} url - Information about [https://github.com/google/blockly/wiki/Lists#create-list-with creating a list with multiple copies of a single item].
1118
- Blockly.Msg.LISTS_REPEAT_HELPURL = 'https://github.com/google/blockly/wiki/Lists#create-list-with';
1119
- /** @type {string} */
1120
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#create-list-with creating a list with multiple copies of a single item].
1121
- Blockly.Msg.LISTS_REPEAT_TOOLTIP = 'Creates a list consisting of the given value repeated the specified number of times.';
1122
- /** @type {string} */
1123
- /// block text - See [https://github.com/google/blockly/wiki/Lists#create-list-with
1124
- /// https://github.com/google/blockly/wiki/Lists#create-list-with].
1125
- ///\n\nParameters:\n* %1 - the item (text) to be repeated\n* %2 - the number of times to repeat it
1126
- Blockly.Msg.LISTS_REPEAT_TITLE = 'create list with item %1 repeated %2 times';
1127
-
1128
- /** @type {string} */
1129
- /// {{Optional}} url - Information about how the length of a list is computed (i.e., by the total number of elements, not the number of different elements).
1130
- Blockly.Msg.LISTS_LENGTH_HELPURL = 'https://github.com/google/blockly/wiki/Lists#length-of';
1131
- /** @type {string} */
1132
- /// block text - See [https://github.com/google/blockly/wiki/Lists#length-of https://github.com/google/blockly/wiki/Lists#length-of].
1133
- /// \n\nParameters:\n* %1 - the list whose length is desired
1134
- Blockly.Msg.LISTS_LENGTH_TITLE = 'length of %1';
1135
- /** @type {string} */
1136
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#length-of https://github.com/google/blockly/wiki/Lists#length-of Blockly:Lists:length of].
1137
- Blockly.Msg.LISTS_LENGTH_TOOLTIP = 'Returns the length of a list.';
1138
-
1139
- /** @type {string} */
1140
- /// {{Optional}} url - See [https://github.com/google/blockly/wiki/Lists#is-empty https://github.com/google/blockly/wiki/Lists#is-empty].
1141
- Blockly.Msg.LISTS_ISEMPTY_HELPURL = 'https://github.com/google/blockly/wiki/Lists#is-empty';
1142
- /** @type {string} */
1143
- /// block text - See [https://github.com/google/blockly/wiki/Lists#is-empty
1144
- /// https://github.com/google/blockly/wiki/Lists#is-empty].
1145
- /// \n\nParameters:\n* %1 - the list to test
1146
- Blockly.Msg.LISTS_ISEMPTY_TITLE = '%1 is empty';
1147
- /** @type {string} */
1148
- /// block tooltip - See [https://github.com/google/blockly/wiki/Lists#is-empty
1149
- /// https://github.com/google/blockly/wiki/Lists#is-empty].
1150
- Blockly.Msg.LISTS_ISEMPTY_TOOLTIP = 'Returns true if the list is empty.';
1151
-
1152
- /** @type {string} */
1153
- /// block text - Title of blocks operating on [https://github.com/google/blockly/wiki/Lists lists].
1154
- Blockly.Msg.LISTS_INLIST = 'in list';
1155
-
1156
- /** @type {string} */
1157
- /// {{Optional}} url - See [https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list
1158
- /// https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list].
1159
- Blockly.Msg.LISTS_INDEX_OF_HELPURL = 'https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list';
1160
- /** @type {string} */
1161
- Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
1162
- /** @type {string} */
1163
- /// dropdown - See [https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list
1164
- /// Lists#finding-items-in-a-list].
1165
- /// [[File:Blockly-list-find.png]]
1166
- Blockly.Msg.LISTS_INDEX_OF_FIRST = 'find first occurrence of item';
1167
- /** @type {string} */
1168
- /// dropdown - See [https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list
1169
- /// https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list].
1170
- /// [[File:Blockly-list-find.png]]
1171
- Blockly.Msg.LISTS_INDEX_OF_LAST = 'find last occurrence of item';
1172
- /** @type {string} */
1173
- /// tooltip - %1 will be replaced by either the number 0 or -1 depending on the indexing mode. See [https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list
1174
- /// https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list].
1175
- /// [[File:Blockly-list-find.png]]
1176
- Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = 'Returns the index of the first/last occurrence of the item in the list. Returns %1 if item is not found.';
1177
-
1178
- /** @type {string} */
1179
- /// {{Optional}} url - See [https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list
1180
- /// https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list].
1181
- Blockly.Msg.LISTS_GET_INDEX_HELPURL = 'https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list';
1182
- /** @type {string} */
1183
- /// dropdown - Indicates that the user wishes to
1184
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item
1185
- /// get an item from a list] without removing it from the list.
1186
- Blockly.Msg.LISTS_GET_INDEX_GET = 'get';
1187
- /** @type {string} */
1188
- /// dropdown - Indicates that the user wishes to
1189
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item
1190
- /// get and remove an item from a list], as opposed to merely getting
1191
- /// it without modifying the list.
1192
- Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = 'get and remove';
1193
- /** @type {string} */
1194
- /// dropdown - Indicates that the user wishes to
1195
- /// [https://github.com/google/blockly/wiki/Lists#removing-an-item
1196
- /// remove an item from a list].\n{{Identical|Remove}}
1197
- Blockly.Msg.LISTS_GET_INDEX_REMOVE = 'remove';
1198
- /** @type {string} */
1199
- /// dropdown - Indicates that an index relative to the front of the list should be used to
1200
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item get and/or remove
1201
- /// an item from a list]. Note: If {{msg-blockly|ORDINAL_NUMBER_SUFFIX}} is defined, it will
1202
- /// automatically appear ''after'' this number (and any other ordinal numbers on this block).
1203
- /// See [[Translating:Blockly#Ordinal_numbers]] for more information on ordinal numbers in Blockly.
1204
- /// [[File:Blockly-list-get-item.png]]
1205
- Blockly.Msg.LISTS_GET_INDEX_FROM_START = '#';
1206
- /** @type {string} */
1207
- /// dropdown - Indicates that an index relative to the end of the list should be used
1208
- /// to [https://github.com/google/blockly/wiki/Lists#getting-a-single-item access an item in a list].
1209
- /// [[File:Blockly-list-get-item.png]]
1210
- Blockly.Msg.LISTS_GET_INDEX_FROM_END = '# from end';
1211
- /** @type {string} */
1212
- /// dropdown - Indicates that the '''first''' item should be
1213
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item accessed in a list].
1214
- /// [[File:Blockly-list-get-item.png]]
1215
- Blockly.Msg.LISTS_GET_INDEX_FIRST = 'first';
1216
- /** @type {string} */
1217
- /// dropdown - Indicates that the '''last''' item should be
1218
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item accessed in a list].
1219
- /// [[File:Blockly-list-get-item.png]]
1220
- Blockly.Msg.LISTS_GET_INDEX_LAST = 'last';
1221
- /** @type {string} */
1222
- /// dropdown - Indicates that a '''random''' item should be
1223
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item accessed in a list].
1224
- /// [[File:Blockly-list-get-item.png]]
1225
- Blockly.Msg.LISTS_GET_INDEX_RANDOM = 'random';
1226
- /** @type {string} */
1227
- /// {{Optional|Supply translation only if your language requires it. Most do not.}}
1228
- /// block text - Text that should go after the rightmost block/dropdown when
1229
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item
1230
- /// accessing an item from a list]. In most languages, this will be the empty string.
1231
- /// [[File:Blockly-list-get-item.png]]
1232
- Blockly.Msg.LISTS_GET_INDEX_TAIL = '';
1233
- /** @type {string} */
1234
- Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
1235
- /** @type {string} */
1236
- /// tooltip - Indicates the ordinal number that the first item in a list is referenced by. %1 will be replaced by either "#0" or "#1" depending on the indexing mode.
1237
- Blockly.Msg.LISTS_INDEX_FROM_START_TOOLTIP = '%1 is the first item.';
1238
- /** @type {string} */
1239
- /// tooltip - Indicates the ordinal number that the last item in a list is referenced by. %1 will be replaced by either "#0" or "#1" depending on the indexing mode.
1240
- Blockly.Msg.LISTS_INDEX_FROM_END_TOOLTIP = '%1 is the last item.';
1241
- /** @type {string} */
1242
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for more information.
1243
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM = 'Returns the item at the specified position in a list.';
1244
- /** @type {string} */
1245
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for more information.
1246
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = 'Returns the first item in a list.';
1247
- /** @type {string} */
1248
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for more information.
1249
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = 'Returns the last item in a list.';
1250
- /** @type {string} */
1251
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for more information.
1252
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = 'Returns a random item in a list.';
1253
- /** @type {string} */
1254
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-and-removing-an-item] (for remove and return) and [https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for '#' or '# from end'.
1255
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM = 'Removes and returns the item at the specified position in a list.';
1256
- /** @type {string} */
1257
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-and-removing-an-item] (for remove and return) and [https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for 'first'.
1258
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = 'Removes and returns the first item in a list.';
1259
- /** @type {string} */
1260
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-and-removing-an-item] (for remove and return) and [https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for 'last'.
1261
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = 'Removes and returns the last item in a list.';
1262
- /** @type {string} */
1263
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-and-removing-an-item] (for remove and return) and [https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for 'random'.
1264
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = 'Removes and returns a random item in a list.';
1265
- /** @type {string} */
1266
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-and-removing-an-item] (for remove and return) and [https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for '#' or '# from end'.
1267
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM = 'Removes the item at the specified position in a list.';
1268
- /** @type {string} */
1269
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-and-removing-an-item] (for remove and return) and [https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for 'first'.
1270
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = 'Removes the first item in a list.';
1271
- /** @type {string} */
1272
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-and-removing-an-item] (for remove and return) and [https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for 'last'.
1273
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = 'Removes the last item in a list.';
1274
- /** @type {string} */
1275
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-and-removing-an-item] (for remove and return) and [https://github.com/google/blockly/wiki/Lists#getting-a-single-item] for 'random'.
1276
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = 'Removes a random item in a list.';
1277
- /** @type {string} */
1278
- /// {{Optional}} url - Information about putting items in lists.
1279
- Blockly.Msg.LISTS_SET_INDEX_HELPURL = 'https://github.com/google/blockly/wiki/Lists#in-list--set';
1280
- /** @type {string} */
1281
- Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
1282
- /** @type {string} */
1283
- /// block text - [https://github.com/google/blockly/wiki/Lists#in-list--set
1284
- /// Replaces an item in a list].
1285
- /// [[File:Blockly-in-list-set-insert.png]]
1286
- Blockly.Msg.LISTS_SET_INDEX_SET = 'set';
1287
- /** @type {string} */
1288
- /// block text - [https://github.com/google/blockly/wiki/Lists#in-list--insert-at
1289
- /// Inserts an item into a list].
1290
- /// [[File:Blockly-in-list-set-insert.png]]
1291
- Blockly.Msg.LISTS_SET_INDEX_INSERT = 'insert at';
1292
- /** @type {string} */
1293
- /// block text - The word(s) after the position in the list and before the item to be set/inserted.
1294
- /// [[File:Blockly-in-list-set-insert.png]]
1295
- Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = 'as';
1296
- /** @type {string} */
1297
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item} (even though the page describes the "get" block, the idea is the same for the "set" block).
1298
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM = 'Sets the item at the specified position in a list.';
1299
- /** @type {string} */
1300
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item} (even though the page describes the "get" block, the idea is the same for the "set" block).
1301
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = 'Sets the first item in a list.';
1302
- /** @type {string} */
1303
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item} (even though the page describes the "get" block, the idea is the same for the "set" block).
1304
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = 'Sets the last item in a list.';
1305
- /** @type {string} */
1306
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item} (even though the page describes the "get" block, the idea is the same for the "set" block).
1307
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = 'Sets a random item in a list.';
1308
- /** @type {string} */
1309
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item} (even though the page describes the "get" block, the idea is the same for the "insert" block).
1310
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM = 'Inserts the item at the specified position in a list.';
1311
- /** @type {string} */
1312
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item} (even though the page describes the "get" block, the idea is the same for the "insert" block).
1313
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = 'Inserts the item at the start of a list.';
1314
- /** @type {string} */
1315
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item} (even though the page describes the "get" block, the idea is the same for the "insert" block).
1316
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = 'Append the item to the end of a list.';
1317
- /** @type {string} */
1318
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-single-item} (even though the page describes the "get" block, the idea is the same for the "insert" block).
1319
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = 'Inserts the item randomly in a list.';
1320
-
1321
- /** @type {string} */
1322
- /// {{Optional}} url - Information describing extracting a sublist from an existing list.
1323
- Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = 'https://github.com/google/blockly/wiki/Lists#getting-a-sublist';
1324
- /** @type {string} */
1325
- Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
1326
- /** @type {string} */
1327
- /// dropdown - Indicates that an index relative to the front of the list should be used
1328
- /// to specify the beginning of the range from which to
1329
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist get a sublist].
1330
- /// [[File:Blockly-get-sublist.png]]
1331
- /// Note: If {{msg-blockly|ORDINAL_NUMBER_SUFFIX}} is defined, it will
1332
- /// automatically appear ''after'' this number (and any other ordinal numbers on this block).
1333
- /// See [[Translating:Blockly#Ordinal_numbers]] for more information on ordinal numbers in Blockly.
1334
- Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START = 'get sub-list from #';
1335
- /** @type {string} */
1336
- /// dropdown - Indicates that an index relative to the end of the list should be used
1337
- /// to specify the beginning of the range from which to
1338
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist get a sublist].
1339
- Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END = 'get sub-list from # from end';
1340
- /** @type {string} */
1341
- /// dropdown - Indicates that the
1342
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist sublist to extract]
1343
- /// should begin with the list's first item.
1344
- Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST = 'get sub-list from first';
1345
- /** @type {string} */
1346
- /// dropdown - Indicates that an index relative to the front of the list should be
1347
- /// used to specify the end of the range from which to
1348
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist get a sublist].
1349
- /// [[File:Blockly-get-sublist.png]]
1350
- Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START = 'to #';
1351
- /** @type {string} */
1352
- /// dropdown - Indicates that an index relative to the end of the list should be
1353
- /// used to specify the end of the range from which to
1354
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist get a sublist].
1355
- /// [[File:Blockly-get-sublist.png]]
1356
- Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END = 'to # from end';
1357
- /** @type {string} */
1358
- /// dropdown - Indicates that the '''last''' item in the given list should be
1359
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist the end
1360
- /// of the selected sublist].
1361
- /// [[File:Blockly-get-sublist.png]]
1362
- Blockly.Msg.LISTS_GET_SUBLIST_END_LAST = 'to last';
1363
- /** @type {string} */
1364
- /// {{Optional|Supply translation only if your language requires it. Most do not.}}
1365
- /// block text - This appears in the rightmost position ("tail") of the
1366
- /// sublist block, as described at
1367
- /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist
1368
- /// https://github.com/google/blockly/wiki/Lists#getting-a-sublist].
1369
- /// In English and most other languages, this is the empty string.
1370
- /// [[File:Blockly-get-sublist.png]]
1371
- Blockly.Msg.LISTS_GET_SUBLIST_TAIL = '';
1372
- /** @type {string} */
1373
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-sublist
1374
- /// https://github.com/google/blockly/wiki/Lists#getting-a-sublist] for more information.
1375
- /// [[File:Blockly-get-sublist.png]]
1376
- Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = 'Creates a copy of the specified portion of a list.';
1377
-
1378
- /** @type {string} */
1379
- /// {{Optional}} url - Information describing sorting a list.
1380
- Blockly.Msg.LISTS_SORT_HELPURL = 'https://github.com/google/blockly/wiki/Lists#sorting-a-list';
1381
- /** @type {string} */
1382
- /// Sort as type %1 (numeric or alphabetic) in order %2 (ascending or descending) a list of items %3.\n{{Identical|Sort}}
1383
- Blockly.Msg.LISTS_SORT_TITLE = 'sort %1 %2 %3';
1384
- /** @type {string} */
1385
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#sorting-a-list].
1386
- Blockly.Msg.LISTS_SORT_TOOLTIP = 'Sort a copy of a list.';
1387
- /** @type {string} */
1388
- /// sorting order or direction from low to high value for numeric, or A-Z for alphabetic.\n{{Identical|Ascending}}
1389
- Blockly.Msg.LISTS_SORT_ORDER_ASCENDING = 'ascending';
1390
- /** @type {string} */
1391
- /// sorting order or direction from high to low value for numeric, or Z-A for alphabetic.\n{{Identical|Descending}}
1392
- Blockly.Msg.LISTS_SORT_ORDER_DESCENDING = 'descending';
1393
- /** @type {string} */
1394
- /// sort by treating each item as a number.
1395
- Blockly.Msg.LISTS_SORT_TYPE_NUMERIC = 'numeric';
1396
- /** @type {string} */
1397
- /// sort by treating each item alphabetically, case-sensitive.
1398
- Blockly.Msg.LISTS_SORT_TYPE_TEXT = 'alphabetic';
1399
- /** @type {string} */
1400
- /// sort by treating each item alphabetically, ignoring differences in case.
1401
- Blockly.Msg.LISTS_SORT_TYPE_IGNORECASE = 'alphabetic, ignore case';
1402
-
1403
- /** @type {string} */
1404
- /// {{Optional}} url - Information describing splitting text into a list, or joining a list into text.
1405
- Blockly.Msg.LISTS_SPLIT_HELPURL = 'https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists';
1406
- /** @type {string} */
1407
- /// dropdown - Indicates that text will be split up into a list (e.g. "a-b-c" -> ["a", "b", "c"]).
1408
- Blockly.Msg.LISTS_SPLIT_LIST_FROM_TEXT = 'make list from text';
1409
- /** @type {string} */
1410
- /// dropdown - Indicates that a list will be joined together to form text (e.g. ["a", "b", "c"] -> "a-b-c").
1411
- Blockly.Msg.LISTS_SPLIT_TEXT_FROM_LIST = 'make text from list';
1412
- /** @type {string} */
1413
- /// block text - Prompts for a letter to be used as a separator when splitting or joining text.
1414
- Blockly.Msg.LISTS_SPLIT_WITH_DELIMITER = 'with delimiter';
1415
- /** @type {string} */
1416
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#make-list-from-text
1417
- /// https://github.com/google/blockly/wiki/Lists#make-list-from-text] for more information.
1418
- Blockly.Msg.LISTS_SPLIT_TOOLTIP_SPLIT = 'Split text into a list of texts, breaking at each delimiter.';
1419
- /** @type {string} */
1420
- /// tooltip - See [https://github.com/google/blockly/wiki/Lists#make-text-from-list
1421
- /// https://github.com/google/blockly/wiki/Lists#make-text-from-list] for more information.
1422
- Blockly.Msg.LISTS_SPLIT_TOOLTIP_JOIN = 'Join a list of texts into one text, separated by a delimiter.';
1423
-
1424
- /** @type {string} */
1425
- /// {{Optional}} url - Information describing reversing a list.
1426
- Blockly.Msg.LISTS_REVERSE_HELPURL = 'https://github.com/google/blockly/wiki/Lists#reversing-a-list';
1427
- /** @type {string} */
1428
- /// block text - Title of block that returns a copy of a list (%1) with the order of items reversed.
1429
- Blockly.Msg.LISTS_REVERSE_MESSAGE0 = 'reverse %1';
1430
- /** @type {string} */
1431
- /// tooltip - Short description for a block that reverses a copy of a list.
1432
- Blockly.Msg.LISTS_REVERSE_TOOLTIP = 'Reverse a copy of a list.';
1433
-
1434
- /** @type {string} */
1435
- /// {{Optional|Supply translation only if your language requires it. Most do not.}}
1436
- /// grammar - Text that follows an ordinal number (a number that indicates
1437
- /// position relative to other numbers). In most languages, such text appears
1438
- /// before the number, so this should be blank. An exception is Hungarian.
1439
- /// See [[Translating:Blockly#Ordinal_numbers]] for more information.
1440
- Blockly.Msg.ORDINAL_NUMBER_SUFFIX = '';
1441
-
1442
- // Variables Blocks.
1443
- /** @type {string} */
1444
- /// {{Optional}} url - Information about ''variables'' in computer programming. Consider using your language's translation of [https://en.wikipedia.org/wiki/Variable_(computer_science) https://en.wikipedia.org/wiki/Variable_(computer_science)], if it exists.
1445
- Blockly.Msg.VARIABLES_GET_HELPURL = 'https://github.com/google/blockly/wiki/Variables#get';
1446
- /** @type {string} */
1447
- /// tooltip - This gets the value of the named variable without modifying it.
1448
- Blockly.Msg.VARIABLES_GET_TOOLTIP = 'Returns the value of this variable.';
1449
- /** @type {string} */
1450
- /// context menu - Selecting this creates a block to set (change) the value of this variable.
1451
- /// \n\nParameters:\n* %1 - the name of the variable.
1452
- Blockly.Msg.VARIABLES_GET_CREATE_SET = 'Create "set %1"';
1453
-
1454
- /** @type {string} */
1455
- /// {{Optional}} url - Information about ''variables'' in computer programming. Consider using your language's translation of [https://en.wikipedia.org/wiki/Variable_(computer_science) https://en.wikipedia.org/wiki/Variable_(computer_science)], if it exists.
1456
- Blockly.Msg.VARIABLES_SET_HELPURL = 'https://github.com/google/blockly/wiki/Variables#set';
1457
- /** @type {string} */
1458
- /// block text - Change the value of a mathematical variable: '''set [the value of] x to 7'''.\n\nParameters:\n* %1 - the name of the variable.\n* %2 - the value to be assigned.
1459
- Blockly.Msg.VARIABLES_SET = 'set %1 to %2';
1460
- /** @type {string} */
1461
- /// tooltip - This initializes or changes the value of the named variable.
1462
- Blockly.Msg.VARIABLES_SET_TOOLTIP = 'Sets this variable to be equal to the input.';
1463
- /** @type {string} */
1464
- /// context menu - Selecting this creates a block to get (change) the value of
1465
- /// this variable.\n\nParameters:\n* %1 - the name of the variable.
1466
- Blockly.Msg.VARIABLES_SET_CREATE_GET = 'Create "get %1"';
1467
-
1468
- // Procedures Blocks.
1469
- /** @type {string} */
1470
- /// {{Optional}} url - Information about defining [https://en.wikipedia.org/wiki/Subroutine functions] that do not have return values.
1471
- Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL = 'https://en.wikipedia.org/wiki/Subroutine';
1472
- /** @type {string} */
1473
- /// block text - This precedes the name of the function when defining it. See
1474
- /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#c84aoc this sample
1475
- /// function definition].
1476
- Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = 'to';
1477
- /** @type {string} */
1478
- /// default name - This acts as a placeholder for the name of a function on a
1479
- /// function definition block, as shown on
1480
- /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#w7cfju this block].
1481
- /// The user will replace it with the function's name.
1482
- Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = 'do something';
1483
- /** @type {string} */
1484
- /// block text - This precedes the list of parameters on a function's definition block. See
1485
- /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#voztpd this sample
1486
- /// function with parameters].
1487
- Blockly.Msg.PROCEDURES_BEFORE_PARAMS = 'with:';
1488
- /** @type {string} */
1489
- /// block text - This precedes the list of parameters on a function's caller block. See
1490
- /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#voztpd this sample
1491
- /// function with parameters].
1492
- Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS = 'with:';
1493
- /** @type {string} */
1494
- /// warning - This appears if a block that runs a function can't run because the function
1495
- /// definition block is disabled. See
1496
- /// [https://blockly-demo.appspot.com/static/demos/code/index.html#q947d7 this sample of a
1497
- /// disabled function definition and call block].
1498
- Blockly.Msg.PROCEDURES_CALL_DISABLED_DEF_WARNING = 'Can\'t run the user-defined function "%1" because the definition block is disabled.';
1499
- /** @type {string} */
1500
- /// {{Optional|Supply translation only if your language requires it. Most do not.}}
1501
- /// block text - This appears next to the function's "body", the blocks that should be
1502
- /// run when the function is called, as shown in
1503
- /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#voztpd this sample
1504
- /// function definition].
1505
- Blockly.Msg.PROCEDURES_DEFNORETURN_DO = '';
1506
- /** @type {string} */
1507
- /// tooltip
1508
- Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = 'Creates a function with no output.';
1509
- /** @type {string} */
1510
- /// Placeholder text that the user is encouraged to replace with a description of what their function does.
1511
- Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT = 'Describe this function...';
1512
- /** @type {string} */
1513
- /// {{Optional}} url - Information about defining [https://en.wikipedia.org/wiki/Subroutine functions] that have return values.
1514
- Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL = 'https://en.wikipedia.org/wiki/Subroutine';
1515
- /** @type {string} */
1516
- Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE;
1517
- /** @type {string} */
1518
- Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE;
1519
- /** @type {string} */
1520
- Blockly.Msg.PROCEDURES_DEFRETURN_DO = Blockly.Msg.PROCEDURES_DEFNORETURN_DO;
1521
- /** @type {string} */
1522
- Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT = Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT;
1523
- /** @type {string} */
1524
- /// block text - This imperative or infinite verb precedes the value that is used as the return value
1525
- /// (output) of this function. See
1526
- /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#6ot5y5 this sample
1527
- /// function that returns a value].
1528
- Blockly.Msg.PROCEDURES_DEFRETURN_RETURN = 'return';
1529
- /** @type {string} */
1530
- /// tooltip
1531
- Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = 'Creates a function with an output.';
1532
- /** @type {string} */
1533
- /// Label for a checkbox that controls if statements are allowed in a function.
1534
- Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS = 'allow statements';
1535
-
1536
- /** @type {string} */
1537
- /// alert - The user has created a function with two parameters that have the same name. Every parameter must have a different name.
1538
- Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING = 'Warning: This function has duplicate parameters.';
1539
-
1540
- /** @type {string} */
1541
- /// {{Optional}} url - Information about calling [https://en.wikipedia.org/wiki/Subroutine functions] that do not return values.
1542
- Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = 'https://en.wikipedia.org/wiki/Subroutine';
1543
- /** @type {string} */
1544
- /// tooltip - This block causes the body (blocks inside) of the named function definition to be run.
1545
- Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = 'Run the user-defined function "%1".';
1546
-
1547
- /** @type {string} */
1548
- /// {{Optional}} url - Information about calling [https://en.wikipedia.org/wiki/Subroutine functions] that return values.
1549
- Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = 'https://en.wikipedia.org/wiki/Subroutine';
1550
- /** @type {string} */
1551
- /// tooltip - This block causes the body (blocks inside) of the named function definition to be run.\n\nParameters:\n* %1 - the name of the function.
1552
- Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = 'Run the user-defined function "%1" and use its output.';
1553
-
1554
- /** @type {string} */
1555
- /// block text - This text appears on a block in a window that appears when the user clicks
1556
- /// on the plus sign or star on a function definition block. It refers to the set of parameters
1557
- /// (referred to by the simpler term "inputs") to the function. See
1558
- /// [[Translating:Blockly#function_definitions]].\n{{Identical|Input}}
1559
- Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = 'inputs';
1560
- /** @type {string} */
1561
- /// tooltip
1562
- Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP = 'Add, remove, or reorder inputs to this function.';
1563
- /** @type {string} */
1564
- /// block text - This text appears on a block in a window that appears when the user clicks
1565
- /// on the plus sign or star on a function definition block]. It appears on the block for
1566
- /// adding an individual parameter (referred to by the simpler term "inputs") to the function.
1567
- /// See [[Translating:Blockly#function_definitions]].
1568
- Blockly.Msg.PROCEDURES_MUTATORARG_TITLE = 'input name:';
1569
- /** @type {string} */
1570
- /// tooltip
1571
- Blockly.Msg.PROCEDURES_MUTATORARG_TOOLTIP = 'Add an input to the function.';
1572
-
1573
- /** @type {string} */
1574
- /// context menu - This appears on the context menu for function calls. Selecting
1575
- /// it causes the corresponding function definition to be highlighted (as shown at
1576
- /// [[Translating:Blockly#context_menus]].
1577
- Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF = 'Highlight function definition';
1578
- /** @type {string} */
1579
- /// context menu - This appears on the context menu for function definitions.
1580
- /// Selecting it creates a block to call the function.\n\nParameters:\n* %1 - the name of the function.\n{{Identical|Create}}
1581
- Blockly.Msg.PROCEDURES_CREATE_DO = 'Create "%1"';
1582
-
1583
- /** @type {string} */
1584
- /// tooltip - If the first value is true, this causes the second value to be returned
1585
- /// immediately from the enclosing function.
1586
- Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP = 'If a value is true, then return a second value.';
1587
- /** @type {string} */
1588
- /// {{Optional}} url - Information about guard clauses.
1589
- Blockly.Msg.PROCEDURES_IFRETURN_HELPURL = 'https://c2.com/cgi/wiki?GuardClause';
1590
- /** @type {string} */
1591
- /// warning - This appears if the user tries to use this block outside of a function definition.
1592
- Blockly.Msg.PROCEDURES_IFRETURN_WARNING = 'Warning: This block may be used only within a function definition.';
1593
-
1594
- /** @type {string} */
1595
- /// comment text - This text appears in a new workspace comment, to hint that
1596
- /// the user can type here.
1597
- Blockly.Msg.WORKSPACE_COMMENT_DEFAULT_TEXT = 'Say something...';
1598
-
1599
- /** @type {string} */
1600
- /// workspace - This text is read out when a user navigates to the workspace while
1601
- /// using a screen reader.
1602
- Blockly.Msg.WORKSPACE_ARIA_LABEL = 'Blockly Workspace';
1603
-
1604
- /** @type {string} */
1605
- /// warning - This appears if the user collapses a block, and blocks inside
1606
- /// that block have warnings attached to them. It should inform the user that the
1607
- /// block they collapsed contains blocks that have warnings.
1608
- Blockly.Msg.COLLAPSED_WARNINGS_WARNING = 'Collapsed blocks contain warnings.';
1609
-
1610
- /** @type {string} */
1611
- /// button label - Pressing this button closes help information.\n{{Identical|OK}}
1612
- Blockly.Msg.DIALOG_OK = 'OK';
1613
-
1614
- /** @type {string} */
1615
- /// button label - Pressing this button cancels a proposed action.\n{{Identical|Cancel}}
1616
- Blockly.Msg.DIALOG_CANCEL = 'Cancel';