minimadolly 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/assets/js/blockly_compressed.js +1522 -0
  3. data/assets/js/blocks_compressed.js +153 -0
  4. data/assets/main.scss +41 -0
  5. data/assets/main_blockly.scss +42 -0
  6. data/assets/media/1x1.gif +0 -0
  7. data/assets/media/click.mp3 +0 -0
  8. data/assets/media/click.ogg +0 -0
  9. data/assets/media/click.wav +0 -0
  10. data/assets/media/delete.mp3 +0 -0
  11. data/assets/media/delete.ogg +0 -0
  12. data/assets/media/delete.wav +0 -0
  13. data/assets/media/disconnect.mp3 +0 -0
  14. data/assets/media/disconnect.ogg +0 -0
  15. data/assets/media/disconnect.wav +0 -0
  16. data/assets/media/handclosed.cur +0 -0
  17. data/assets/media/handdelete.cur +0 -0
  18. data/assets/media/handopen.cur +0 -0
  19. data/assets/media/quote0.png +0 -0
  20. data/assets/media/quote1.png +0 -0
  21. data/assets/media/sprites.png +0 -0
  22. data/assets/media/sprites.svg +74 -0
  23. data/assets/msg/js/ar.js +391 -0
  24. data/assets/msg/js/az.js +391 -0
  25. data/assets/msg/js/ba.js +391 -0
  26. data/assets/msg/js/bcc.js +391 -0
  27. data/assets/msg/js/be-tarask.js +391 -0
  28. data/assets/msg/js/bg.js +391 -0
  29. data/assets/msg/js/bn.js +391 -0
  30. data/assets/msg/js/br.js +391 -0
  31. data/assets/msg/js/ca.js +391 -0
  32. data/assets/msg/js/cs.js +391 -0
  33. data/assets/msg/js/da.js +391 -0
  34. data/assets/msg/js/de.js +391 -0
  35. data/assets/msg/js/diq.js +391 -0
  36. data/assets/msg/js/el.js +391 -0
  37. data/assets/msg/js/en-gb.js +391 -0
  38. data/assets/msg/js/en.js +391 -0
  39. data/assets/msg/js/es.js +391 -0
  40. data/assets/msg/js/et.js +391 -0
  41. data/assets/msg/js/fa.js +391 -0
  42. data/assets/msg/js/fi.js +391 -0
  43. data/assets/msg/js/fr.js +391 -0
  44. data/assets/msg/js/he.js +391 -0
  45. data/assets/msg/js/hi.js +391 -0
  46. data/assets/msg/js/hrx.js +391 -0
  47. data/assets/msg/js/hu.js +391 -0
  48. data/assets/msg/js/ia.js +391 -0
  49. data/assets/msg/js/id.js +391 -0
  50. data/assets/msg/js/is.js +391 -0
  51. data/assets/msg/js/it.js +391 -0
  52. data/assets/msg/js/ja.js +391 -0
  53. data/assets/msg/js/ko.js +391 -0
  54. data/assets/msg/js/lb.js +391 -0
  55. data/assets/msg/js/lki.js +391 -0
  56. data/assets/msg/js/lrc.js +391 -0
  57. data/assets/msg/js/lt.js +391 -0
  58. data/assets/msg/js/mk.js +391 -0
  59. data/assets/msg/js/ms.js +391 -0
  60. data/assets/msg/js/nb.js +391 -0
  61. data/assets/msg/js/nl.js +391 -0
  62. data/assets/msg/js/oc.js +391 -0
  63. data/assets/msg/js/pl.js +391 -0
  64. data/assets/msg/js/pms.js +391 -0
  65. data/assets/msg/js/pt-br.js +391 -0
  66. data/assets/msg/js/pt.js +391 -0
  67. data/assets/msg/js/ro.js +391 -0
  68. data/assets/msg/js/ru.js +391 -0
  69. data/assets/msg/js/sc.js +391 -0
  70. data/assets/msg/js/sd.js +391 -0
  71. data/assets/msg/js/shn.js +391 -0
  72. data/assets/msg/js/sk.js +391 -0
  73. data/assets/msg/js/sl.js +391 -0
  74. data/assets/msg/js/sq.js +391 -0
  75. data/assets/msg/js/sr.js +391 -0
  76. data/assets/msg/js/sv.js +391 -0
  77. data/assets/msg/js/ta.js +391 -0
  78. data/assets/msg/js/tcy.js +391 -0
  79. data/assets/msg/js/th.js +391 -0
  80. data/assets/msg/js/tl.js +391 -0
  81. data/assets/msg/js/tlh.js +391 -0
  82. data/assets/msg/js/tr.js +391 -0
  83. data/assets/msg/js/uk.js +391 -0
  84. data/assets/msg/js/vi.js +391 -0
  85. data/assets/msg/js/zh-hans.js +391 -0
  86. data/assets/msg/js/zh-hant.js +391 -0
  87. data/assets/msg/json/ar.json +336 -0
  88. data/assets/msg/json/az.json +296 -0
  89. data/assets/msg/json/ba.json +210 -0
  90. data/assets/msg/json/bcc.json +289 -0
  91. data/assets/msg/json/be-tarask.json +314 -0
  92. data/assets/msg/json/bg.json +316 -0
  93. data/assets/msg/json/bn.json +156 -0
  94. data/assets/msg/json/br.json +315 -0
  95. data/assets/msg/json/ca.json +293 -0
  96. data/assets/msg/json/cs.json +331 -0
  97. data/assets/msg/json/da.json +308 -0
  98. data/assets/msg/json/de.json +350 -0
  99. data/assets/msg/json/diq.json +173 -0
  100. data/assets/msg/json/el.json +336 -0
  101. data/assets/msg/json/en-gb.json +139 -0
  102. data/assets/msg/json/en.json +371 -0
  103. data/assets/msg/json/es.json +321 -0
  104. data/assets/msg/json/et.json +314 -0
  105. data/assets/msg/json/fa.json +309 -0
  106. data/assets/msg/json/fi.json +334 -0
  107. data/assets/msg/json/fr.json +325 -0
  108. data/assets/msg/json/he.json +277 -0
  109. data/assets/msg/json/hi.json +255 -0
  110. data/assets/msg/json/hrx.json +289 -0
  111. data/assets/msg/json/hu.json +330 -0
  112. data/assets/msg/json/ia.json +298 -0
  113. data/assets/msg/json/id.json +335 -0
  114. data/assets/msg/json/is.json +357 -0
  115. data/assets/msg/json/it.json +319 -0
  116. data/assets/msg/json/ja.json +346 -0
  117. data/assets/msg/json/ko.json +378 -0
  118. data/assets/msg/json/lb.json +126 -0
  119. data/assets/msg/json/lki.json +296 -0
  120. data/assets/msg/json/lrc.json +133 -0
  121. data/assets/msg/json/lt.json +257 -0
  122. data/assets/msg/json/lv.json +313 -0
  123. data/assets/msg/json/mk.json +112 -0
  124. data/assets/msg/json/ms.json +314 -0
  125. data/assets/msg/json/nb.json +342 -0
  126. data/assets/msg/json/nl.json +364 -0
  127. data/assets/msg/json/oc.json +132 -0
  128. data/assets/msg/json/pl.json +347 -0
  129. data/assets/msg/json/pms.json +314 -0
  130. data/assets/msg/json/pt-br.json +327 -0
  131. data/assets/msg/json/pt.json +338 -0
  132. data/assets/msg/json/qqq.json +372 -0
  133. data/assets/msg/json/ro.json +318 -0
  134. data/assets/msg/json/ru.json +321 -0
  135. data/assets/msg/json/sc.json +299 -0
  136. data/assets/msg/json/sd.json +126 -0
  137. data/assets/msg/json/shn.json +108 -0
  138. data/assets/msg/json/sk.json +308 -0
  139. data/assets/msg/json/sl.json +363 -0
  140. data/assets/msg/json/sq.json +324 -0
  141. data/assets/msg/json/sr.json +332 -0
  142. data/assets/msg/json/sv.json +337 -0
  143. data/assets/msg/json/synonyms.json +1 -0
  144. data/assets/msg/json/ta.json +298 -0
  145. data/assets/msg/json/tcy.json +307 -0
  146. data/assets/msg/json/th.json +311 -0
  147. data/assets/msg/json/tl.json +305 -0
  148. data/assets/msg/json/tlh.json +182 -0
  149. data/assets/msg/json/tr.json +351 -0
  150. data/assets/msg/json/uk.json +336 -0
  151. data/assets/msg/json/vi.json +298 -0
  152. data/assets/msg/json/zh-hans.json +336 -0
  153. data/assets/msg/json/zh-hant.json +319 -0
  154. data/assets/msg/messages.js +1113 -0
  155. metadata +154 -1
@@ -0,0 +1,1113 @@
1
+ /**
2
+ * @license
3
+ * Visual Blocks Language
4
+ *
5
+ * Copyright 2012 Google Inc.
6
+ * https://developers.google.com/blockly/
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ */
20
+
21
+ /**
22
+ * @fileoverview English strings.
23
+ * @author fraser@google.com (Neil Fraser)
24
+ *
25
+ * After modifying this file, either run "build.py" from the parent directory,
26
+ * or run (from this directory):
27
+ * ../i18n/js_to_json.py
28
+ * to regenerate json/{en,qqq,synonyms}.json.
29
+ *
30
+ * To convert all of the json files to .js files, run:
31
+ * ../i18n/create_messages.py json/*.json
32
+ */
33
+ 'use strict';
34
+
35
+ goog.provide('Blockly.Msg.en');
36
+
37
+ goog.require('Blockly.Msg');
38
+
39
+
40
+ /**
41
+ * Due to the frequency of long strings, the 80-column wrap rule need not apply
42
+ * to message files.
43
+ */
44
+
45
+ /**
46
+ * Each message is preceded with a tripple-slash comment that becomes the
47
+ * message descriptor. The build process extracts these descriptors, adds
48
+ * them to msg/json/qqq.json, and they show up in the translation console.
49
+ */
50
+
51
+ /// default name - A simple, general default name for a variable, preferably short.
52
+ /// For more context, see
53
+ /// [[Translating:Blockly#infrequent_message_types]].\n{{Identical|Item}}
54
+ Blockly.Msg.VARIABLES_DEFAULT_NAME = 'item';
55
+ /// button text - Button that sets a calendar to today's date.\n{{Identical|Today}}
56
+ Blockly.Msg.TODAY = 'Today';
57
+
58
+ // Context menus.
59
+ /// context menu - Make a copy of the selected block (and any blocks it contains).\n{{Identical|Duplicate}}
60
+ Blockly.Msg.DUPLICATE_BLOCK = 'Duplicate';
61
+ /// context menu - Add a descriptive comment to the selected block.
62
+ Blockly.Msg.ADD_COMMENT = 'Add Comment';
63
+ /// context menu - Remove the descriptive comment from the selected block.
64
+ Blockly.Msg.REMOVE_COMMENT = 'Remove Comment';
65
+ /// context menu - Change from 'external' to 'inline' mode for displaying blocks used as inputs to the selected block. See [[Translating:Blockly#context_menus]].
66
+ Blockly.Msg.EXTERNAL_INPUTS = 'External Inputs';
67
+ /// context menu - Change from 'internal' to 'external' mode for displaying blocks used as inputs to the selected block. See [[Translating:Blockly#context_menus]].
68
+ Blockly.Msg.INLINE_INPUTS = 'Inline Inputs';
69
+ /// context menu - Permanently delete the selected block.
70
+ Blockly.Msg.DELETE_BLOCK = 'Delete Block';
71
+ /// context menu - Permanently delete the %1 selected blocks.\n\nParameters:\n* %1 - an integer greater than 1.
72
+ Blockly.Msg.DELETE_X_BLOCKS = 'Delete %1 Blocks';
73
+ /// confirmation prompt - Question the user if they really wanted to permanently delete all %1 blocks.\n\nParameters:\n* %1 - an integer greater than 1.
74
+ Blockly.Msg.DELETE_ALL_BLOCKS = 'Delete all %1 blocks?';
75
+ /// context menu - Reposition all the blocks so that they form a neat line.
76
+ Blockly.Msg.CLEAN_UP = 'Clean up Blocks';
77
+ /// context menu - Make the appearance of the selected block smaller by hiding some information about it.
78
+ Blockly.Msg.COLLAPSE_BLOCK = 'Collapse Block';
79
+ /// context menu - Make the appearance of all blocks smaller by hiding some information about it. Use the same terminology as in the previous message.
80
+ Blockly.Msg.COLLAPSE_ALL = 'Collapse Blocks';
81
+ /// context menu - Restore the appearance of the selected block by showing information about it that was hidden (collapsed) earlier.
82
+ Blockly.Msg.EXPAND_BLOCK = 'Expand Block';
83
+ /// 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.
84
+ Blockly.Msg.EXPAND_ALL = 'Expand Blocks';
85
+ /// context menu - Make the selected block have no effect (unless reenabled).
86
+ Blockly.Msg.DISABLE_BLOCK = 'Disable Block';
87
+ /// context menu - Make the selected block have effect (after having been disabled earlier).
88
+ Blockly.Msg.ENABLE_BLOCK = 'Enable Block';
89
+ /// context menu - Provide helpful information about the selected block.\n{{Identical|Help}}
90
+ Blockly.Msg.HELP = 'Help';
91
+ /// context menu - Undo the previous action.\n{{Identical|Undo}}
92
+ Blockly.Msg.UNDO = 'Undo';
93
+ /// context menu - Undo the previous undo action.\n{{Identical|Redo}}
94
+ Blockly.Msg.REDO = 'Redo';
95
+
96
+ // Variable renaming.
97
+ /// prompt - This message is only seen in the Opera browser. With most browsers, users can edit numeric values in blocks by just clicking and typing. Opera does not allows this, so we have to open a new window and prompt users with this message to chanage a value.
98
+ Blockly.Msg.CHANGE_VALUE_TITLE = 'Change value:';
99
+ /// 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].
100
+ Blockly.Msg.RENAME_VARIABLE = 'Rename variable...';
101
+ /// 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.
102
+ Blockly.Msg.RENAME_VARIABLE_TITLE = 'Rename all "%1" variables to:';
103
+
104
+ // Variable creation
105
+ /// button text - Text on the button used to launch the variable creation dialogue.
106
+ Blockly.Msg.NEW_VARIABLE = 'Create variable...';
107
+ /// 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].
108
+ Blockly.Msg.NEW_VARIABLE_TITLE = 'New variable name:';
109
+ /// alert - Tells the user that the name they entered is already in use.
110
+ Blockly.Msg.VARIABLE_ALREADY_EXISTS = 'A variable named "%1" already exists.'
111
+
112
+ // Variable deletion.
113
+ /// confirm - Ask the user to confirm their deletion of multiple uses of a variable.
114
+ Blockly.Msg.DELETE_VARIABLE_CONFIRMATION = 'Delete %1 uses of the "%2" variable?';
115
+ /// alert - Tell the user that they can't delete a variable because it's part of the definition of a procedure.
116
+ Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = 'Can\'t delete the variable "%1" because it is part of the definition of the procedure "%2"';
117
+ /// dropdown choice - Delete the currently selected variable.
118
+ Blockly.Msg.DELETE_VARIABLE = 'Delete the "%1" variable';
119
+
120
+ // Colour Blocks.
121
+ /// url - Information about colour.
122
+ Blockly.Msg.COLOUR_PICKER_HELPURL = 'https://en.wikipedia.org/wiki/Color';
123
+ /// 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].
124
+ Blockly.Msg.COLOUR_PICKER_TOOLTIP = 'Choose a colour from the palette.';
125
+ /// url - A link that displays a random colour each time you visit it.
126
+ Blockly.Msg.COLOUR_RANDOM_HELPURL = 'http://randomcolour.com';
127
+ /// block text - Title of block that generates a colour at random.
128
+ Blockly.Msg.COLOUR_RANDOM_TITLE = 'random colour';
129
+ /// tooltip - See [https://github.com/google/blockly/wiki/Colour#generating-a-random-colour https://github.com/google/blockly/wiki/Colour#generating-a-random-colour].
130
+ Blockly.Msg.COLOUR_RANDOM_TOOLTIP = 'Choose a colour at random.';
131
+ /// url - A link for color codes with percentages (0-100%) for each component, instead of the more common 0-255, which may be more difficult for beginners.
132
+ Blockly.Msg.COLOUR_RGB_HELPURL = 'http://www.december.com/html/spec/colorper.html';
133
+ /// 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].
134
+ Blockly.Msg.COLOUR_RGB_TITLE = 'colour with';
135
+ /// 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}}
136
+ Blockly.Msg.COLOUR_RGB_RED = 'red';
137
+ /// 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].
138
+ Blockly.Msg.COLOUR_RGB_GREEN = 'green';
139
+ /// 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}}
140
+ Blockly.Msg.COLOUR_RGB_BLUE = 'blue';
141
+ /// 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].
142
+ 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.';
143
+ /// url - A useful link that displays blending of two colors.
144
+ Blockly.Msg.COLOUR_BLEND_HELPURL = 'http://meyerweb.com/eric/tools/color-blend/';
145
+ /// block text - A verb for blending two shades of paint.
146
+ Blockly.Msg.COLOUR_BLEND_TITLE = 'blend';
147
+ /// block input text - The first of two colours to [https://github.com/google/blockly/wiki/Colour#blending-colours blend].
148
+ Blockly.Msg.COLOUR_BLEND_COLOUR1 = 'colour 1';
149
+ /// block input text - The second of two colours to [https://github.com/google/blockly/wiki/Colour#blending-colours blend].
150
+ Blockly.Msg.COLOUR_BLEND_COLOUR2 = 'colour 2';
151
+ /// block input text - The proportion of the [https://github.com/google/blockly/wiki/Colour#blending-colours blend] containing the first color; the remaining proportion is of the second colour. For example, if the first colour is red and the second color 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}}
152
+ Blockly.Msg.COLOUR_BLEND_RATIO = 'ratio';
153
+ /// tooltip - See [https://github.com/google/blockly/wiki/Colour#blending-colours https://github.com/google/blockly/wiki/Colour#blending-colours].
154
+ Blockly.Msg.COLOUR_BLEND_TOOLTIP = 'Blends two colours together with a given ratio (0.0 - 1.0).';
155
+
156
+ // Loop Blocks.
157
+ /// url - Describes 'repeat loops' in computer programs; consider using the translation of the page [https://en.wikipedia.org/wiki/Control_flow http://en.wikipedia.org/wiki/Control_flow].
158
+ Blockly.Msg.CONTROLS_REPEAT_HELPURL = 'https://en.wikipedia.org/wiki/For_loop';
159
+ /// 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.
160
+ Blockly.Msg.CONTROLS_REPEAT_TITLE = 'repeat %1 times';
161
+ /// 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}}
162
+ Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = 'do';
163
+ /// tooltip - See [https://github.com/google/blockly/wiki/Loops#repeat https://github.com/google/blockly/wiki/Loops#repeat].
164
+ Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = 'Do some statements several times.';
165
+ /// 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].
166
+ Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = 'https://github.com/google/blockly/wiki/Loops#repeat';
167
+ Blockly.Msg.CONTROLS_WHILEUNTIL_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
168
+ /// dropdown - Specifies that a loop should [https://github.com/google/blockly/wiki/Loops#repeat-while repeat while] the following condition is true.
169
+ Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = 'repeat while';
170
+ /// dropdown - Specifies that a loop should [https://github.com/google/blockly/wiki/Loops#repeat-until repeat until] the following condition becomes true.
171
+ Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = 'repeat until';
172
+ /// 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].
173
+ Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = 'While a value is true, then do some statements.';
174
+ /// tooltip - See [https://github.com/google/blockly/wiki/Loops#repeat-until https://github.com/google/blockly/wiki/Loops#repeat-until].
175
+ Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = 'While a value is false, then do some statements.';
176
+
177
+ /// 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.
178
+ Blockly.Msg.CONTROLS_FOR_HELPURL = 'https://github.com/google/blockly/wiki/Loops#count-with';
179
+ /// 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.
180
+ 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.';
181
+ /// block text - Repeatedly counts a variable (%1)
182
+ /// starting with a (usually lower) number in a range (%2),
183
+ /// ending with a (usually higher) number in a range (%3), and counting the
184
+ /// iterations by a number of steps (%4). As in
185
+ /// [https://github.com/google/blockly/wiki/Loops#count-with
186
+ /// https://github.com/google/blockly/wiki/Loops#count-with].
187
+ /// [[File:Blockly-count-with.png]]
188
+ Blockly.Msg.CONTROLS_FOR_TITLE = 'count with %1 from %2 to %3 by %4';
189
+ Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
190
+
191
+ /// 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.
192
+ Blockly.Msg.CONTROLS_FOREACH_HELPURL = 'https://github.com/google/blockly/wiki/Loops#for-each';
193
+ /// block text - Title of [https://github.com/google/blockly/wiki/Loops#for-each for each block].
194
+ /// Sequentially assigns every item in array %2 to the valiable %1.
195
+ Blockly.Msg.CONTROLS_FOREACH_TITLE = 'for each item %1 in list %2';
196
+ Blockly.Msg.CONTROLS_FOREACH_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
197
+ /// 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.
198
+ Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = 'For each item in a list, set the variable "%1" to the item, and then do some statements.';
199
+
200
+ /// 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.
201
+ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = 'https://github.com/google/blockly/wiki/Loops#loop-termination-blocks';
202
+ /// dropdown - The current loop should be exited. See [https://github.com/google/blockly/wiki/Loops#break https://github.com/google/blockly/wiki/Loops#break].
203
+ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = 'break out of loop';
204
+ /// 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].
205
+ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = 'continue with next iteration of loop';
206
+ /// tooltip - See [https://github.com/google/blockly/wiki/Loops#break-out-of-loop https://github.com/google/blockly/wiki/Loops#break-out-of-loop].
207
+ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = 'Break out of the containing loop.';
208
+ /// tooltip - See [https://github.com/google/blockly/wiki/Loops#continue-with-next-iteration https://github.com/google/blockly/wiki/Loops#continue-with-next-iteration].
209
+ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = 'Skip the rest of this loop, and continue with the next iteration.';
210
+ /// 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].
211
+ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = 'Warning: This block may only be used within a loop.';
212
+
213
+ // Logic Blocks.
214
+ /// 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.
215
+ Blockly.Msg.CONTROLS_IF_HELPURL = 'https://github.com/google/blockly/wiki/IfElse';
216
+ /// 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.
217
+ Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = 'If a value is true, then do some statements.';
218
+ /// 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.
219
+ 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.';
220
+ /// 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.
221
+ 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.';
222
+ /// 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.
223
+ 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.';
224
+ /// block text - See [https://github.com/google/blockly/wiki/IfElse https://github.com/google/blockly/wiki/IfElse].
225
+ /// It is recommended, but not essential, that this have text in common with the translation of 'else if'
226
+ Blockly.Msg.CONTROLS_IF_MSG_IF = 'if';
227
+ /// 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.
228
+ Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = 'else if';
229
+ /// 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.
230
+ Blockly.Msg.CONTROLS_IF_MSG_ELSE = 'else';
231
+ Blockly.Msg.CONTROLS_IF_MSG_THEN = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
232
+ Blockly.Msg.CONTROLS_IF_IF_TITLE_IF = Blockly.Msg.CONTROLS_IF_MSG_IF;
233
+ /// tooltip - Describes [https://github.com/google/blockly/wiki/IfElse#block-modification if block modification].
234
+ Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this if block.';
235
+ Blockly.Msg.CONTROLS_IF_ELSEIF_TITLE_ELSEIF = Blockly.Msg.CONTROLS_IF_MSG_ELSEIF;
236
+ /// tooltip - Describes the 'else if' subblock during [https://github.com/google/blockly/wiki/IfElse#block-modification if block modification].
237
+ Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = 'Add a condition to the if block.';
238
+ Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE;
239
+ /// tooltip - Describes the 'else' subblock during [https://github.com/google/blockly/wiki/IfElse#block-modification if block modification].
240
+ Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = 'Add a final, catch-all condition to the if block.';
241
+
242
+ /// url - Information about comparisons.
243
+ Blockly.Msg.LOGIC_COMPARE_HELPURL = 'https://en.wikipedia.org/wiki/Inequality_(mathematics)';
244
+ /// tooltip - Describes the equals (=) block.
245
+ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ = 'Return true if both inputs equal each other.';
246
+ /// tooltip - Describes the not equals (≠) block.
247
+ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ = 'Return true if both inputs are not equal to each other.';
248
+ /// tooltip - Describes the less than (<) block.
249
+ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT = 'Return true if the first input is smaller than the second input.';
250
+ /// tooltip - Describes the less than or equals (≤) block.
251
+ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE = 'Return true if the first input is smaller than or equal to the second input.';
252
+ /// tooltip - Describes the greater than (>) block.
253
+ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = 'Return true if the first input is greater than the second input.';
254
+ /// tooltip - Describes the greater than or equals (≥) block.
255
+ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = 'Return true if the first input is greater than or equal to the second input.';
256
+
257
+ /// 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.
258
+ Blockly.Msg.LOGIC_OPERATION_HELPURL = 'https://github.com/google/blockly/wiki/Logic#logical-operations';
259
+ /// tooltip - See [https://en.wikipedia.org/wiki/Logical_conjunction https://en.wikipedia.org/wiki/Logical_conjunction].
260
+ Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = 'Return true if both inputs are true.';
261
+ /// block text - See [https://en.wikipedia.org/wiki/Logical_conjunction https://en.wikipedia.org/wiki/Logical_conjunction].\n{{Identical|And}}
262
+ Blockly.Msg.LOGIC_OPERATION_AND = 'and';
263
+ /// block text - See [https://en.wikipedia.org/wiki/Disjunction https://en.wikipedia.org/wiki/Disjunction].
264
+ Blockly.Msg.LOGIC_OPERATION_TOOLTIP_OR = 'Return true if at least one of the inputs is true.';
265
+ /// block text - See [https://en.wikipedia.org/wiki/Disjunction https://en.wikipedia.org/wiki/Disjunction].\n{{Identical|Or}}
266
+ Blockly.Msg.LOGIC_OPERATION_OR = 'or';
267
+
268
+ /// 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.
269
+ Blockly.Msg.LOGIC_NEGATE_HELPURL = 'https://github.com/google/blockly/wiki/Logic#not';
270
+ /// block text - This is a unary operator that returns ''false'' when the input is ''true'', and ''true'' when the input is ''false''.
271
+ /// \n\nParameters:\n* %1 - the input (which should be either the value "true" or "false")
272
+ Blockly.Msg.LOGIC_NEGATE_TITLE = 'not %1';
273
+ /// tooltip - See [https://en.wikipedia.org/wiki/Logical_negation https://en.wikipedia.org/wiki/Logical_negation].
274
+ Blockly.Msg.LOGIC_NEGATE_TOOLTIP = 'Returns true if the input is false. Returns false if the input is true.';
275
+
276
+ /// 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.
277
+ Blockly.Msg.LOGIC_BOOLEAN_HELPURL = 'https://github.com/google/blockly/wiki/Logic#values';
278
+ /// block text - The word for the [https://en.wikipedia.org/wiki/Truth_value logical value] ''true''.\n{{Identical|True}}
279
+ Blockly.Msg.LOGIC_BOOLEAN_TRUE = 'true';
280
+ /// block text - The word for the [https://en.wikipedia.org/wiki/Truth_value logical value] ''false''.\n{{Identical|False}}
281
+ Blockly.Msg.LOGIC_BOOLEAN_FALSE = 'false';
282
+ /// tooltip - Indicates that the block returns either of the two possible [https://en.wikipedia.org/wiki/Truth_value logical values].
283
+ Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP = 'Returns either true or false.';
284
+
285
+ /// 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.
286
+ Blockly.Msg.LOGIC_NULL_HELPURL = 'https://en.wikipedia.org/wiki/Nullable_type';
287
+ /// 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}}
288
+ Blockly.Msg.LOGIC_NULL = 'null';
289
+ /// tooltip - This should use the word from the previous message.
290
+ Blockly.Msg.LOGIC_NULL_TOOLTIP = 'Returns null.';
291
+
292
+ /// 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.
293
+ Blockly.Msg.LOGIC_TERNARY_HELPURL = 'https://en.wikipedia.org/wiki/%3F:';
294
+ /// 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''''.
295
+ Blockly.Msg.LOGIC_TERNARY_CONDITION = 'test';
296
+ /// 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).
297
+ Blockly.Msg.LOGIC_TERNARY_IF_TRUE = 'if true';
298
+ /// block input text - Indicates that the following input should be returned (used as output) if the test input is false.
299
+ Blockly.Msg.LOGIC_TERNARY_IF_FALSE = 'if false';
300
+ /// tooltip - See [https://en.wikipedia.org/wiki/%3F: https://en.wikipedia.org/wiki/%3F:].
301
+ 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.';
302
+
303
+ // Math Blocks.
304
+ /// url - Information about (real) numbers.
305
+ Blockly.Msg.MATH_NUMBER_HELPURL = 'https://en.wikipedia.org/wiki/Number';
306
+ /// tooltip - Any positive or negative number, not necessarily an integer.
307
+ Blockly.Msg.MATH_NUMBER_TOOLTIP = 'A number.';
308
+
309
+ /// {{optional}}\nmath - The symbol for the binary operation addition.
310
+ Blockly.Msg.MATH_ADDITION_SYMBOL = '+';
311
+ /// {{optional}}\nmath - The symbol for the binary operation indicating that the right operand should be
312
+ /// subtracted from the left operand.
313
+ Blockly.Msg.MATH_SUBTRACTION_SYMBOL = '-';
314
+ /// {{optional}}\nmath - The binary operation indicating that the left operand should be divided by
315
+ /// the right operand.
316
+ Blockly.Msg.MATH_DIVISION_SYMBOL = '÷';
317
+ /// {{optional}}\nmath - The symbol for the binary operation multiplication.
318
+ Blockly.Msg.MATH_MULTIPLICATION_SYMBOL = '×';
319
+ /// {{optional}}\nmath - The symbol for the binary operation exponentiation. Specifically, if the
320
+ /// value of the left operand is L and the value of the right operand (the exponent) is
321
+ /// R, multiply L by itself R times. (Fractional and negative exponents are also legal.)
322
+ Blockly.Msg.MATH_POWER_SYMBOL = '^';
323
+
324
+ /// math - The short name of the trigonometric function
325
+ /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent sine].
326
+ Blockly.Msg.MATH_TRIG_SIN = 'sin';
327
+ /// math - The short name of the trigonometric function
328
+ /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent cosine].
329
+ Blockly.Msg.MATH_TRIG_COS = 'cos';
330
+ /// math - The short name of the trigonometric function
331
+ /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent tangent].
332
+ Blockly.Msg.MATH_TRIG_TAN = 'tan';
333
+ /// math - The short name of the ''inverse of'' the trigonometric function
334
+ /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent sine].
335
+ Blockly.Msg.MATH_TRIG_ASIN = 'asin';
336
+ /// math - The short name of the ''inverse of'' the trigonometric function
337
+ /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent cosine].
338
+ Blockly.Msg.MATH_TRIG_ACOS = 'acos';
339
+ /// math - The short name of the ''inverse of'' the trigonometric function
340
+ /// [https://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent tangent].
341
+ Blockly.Msg.MATH_TRIG_ATAN = 'atan';
342
+
343
+ /// url - Information about addition, subtraction, multiplication, division, and exponentiation.
344
+ Blockly.Msg.MATH_ARITHMETIC_HELPURL = 'https://en.wikipedia.org/wiki/Arithmetic';
345
+ /// tooltip - See [https://en.wikipedia.org/wiki/Addition https://en.wikipedia.org/wiki/Addition].
346
+ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_ADD = 'Return the sum of the two numbers.';
347
+ /// tooltip - See [https://en.wikipedia.org/wiki/Subtraction https://en.wikipedia.org/wiki/Subtraction].
348
+ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MINUS = 'Return the difference of the two numbers.';
349
+ /// tooltip - See [https://en.wikipedia.org/wiki/Multiplication https://en.wikipedia.org/wiki/Multiplication].
350
+ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MULTIPLY = 'Return the product of the two numbers.';
351
+ /// tooltip - See [https://en.wikipedia.org/wiki/Division_(mathematics) https://en.wikipedia.org/wiki/Division_(mathematics)].
352
+ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_DIVIDE = 'Return the quotient of the two numbers.';
353
+ /// tooltip - See [https://en.wikipedia.org/wiki/Exponentiation https://en.wikipedia.org/wiki/Exponentiation].
354
+ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_POWER = 'Return the first number raised to the power of the second number.';
355
+
356
+ /// url - Information about the square root operation.
357
+ Blockly.Msg.MATH_SINGLE_HELPURL = 'https://en.wikipedia.org/wiki/Square_root';
358
+ /// 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.
359
+ Blockly.Msg.MATH_SINGLE_OP_ROOT = 'square root';
360
+ /// tooltip - Please use the same term as in the previous message.
361
+ Blockly.Msg.MATH_SINGLE_TOOLTIP_ROOT = 'Return the square root of a number.';
362
+ /// 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].
363
+ Blockly.Msg.MATH_SINGLE_OP_ABSOLUTE = 'absolute';
364
+ /// tooltip - Please use the same term as in the previous message.
365
+ Blockly.Msg.MATH_SINGLE_TOOLTIP_ABS = 'Return the absolute value of a number.';
366
+
367
+ /// tooltip - Calculates '''0-n''', where '''n''' is the single numeric input.
368
+ Blockly.Msg.MATH_SINGLE_TOOLTIP_NEG = 'Return the negation of a number.';
369
+ /// tooltip - Calculates the [https://en.wikipedia.org/wiki/Natural_logarithm|natural logarithm] of its single numeric input.
370
+ Blockly.Msg.MATH_SINGLE_TOOLTIP_LN = 'Return the natural logarithm of a number.';
371
+ /// tooltip - Calculates the [https://en.wikipedia.org/wiki/Common_logarithm common logarithm] of its single numeric input.
372
+ Blockly.Msg.MATH_SINGLE_TOOLTIP_LOG10 = 'Return the base 10 logarithm of a number.';
373
+ /// tooltip - Multiplies [https://en.wikipedia.org/wiki/E_%28mathematical_constant%29 e] by itself n times, where n is the single numeric input.
374
+ Blockly.Msg.MATH_SINGLE_TOOLTIP_EXP = 'Return e to the power of a number.';
375
+ /// tooltip - Multiplies 10 by itself n times, where n is the single numeric input.
376
+ Blockly.Msg.MATH_SINGLE_TOOLTIP_POW10 = 'Return 10 to the power of a number.';
377
+
378
+ /// url - Information about the trigonometric functions sine, cosine, tangent, and their inverses (ideally using degrees, not radians).
379
+ Blockly.Msg.MATH_TRIG_HELPURL = 'https://en.wikipedia.org/wiki/Trigonometric_functions';
380
+ /// 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.
381
+ Blockly.Msg.MATH_TRIG_TOOLTIP_SIN = 'Return the sine of a degree (not radian).';
382
+ /// 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.
383
+ Blockly.Msg.MATH_TRIG_TOOLTIP_COS = 'Return the cosine of a degree (not radian).';
384
+ /// 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.
385
+ Blockly.Msg.MATH_TRIG_TOOLTIP_TAN = 'Return the tangent of a degree (not radian).';
386
+ /// 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.
387
+ Blockly.Msg.MATH_TRIG_TOOLTIP_ASIN = 'Return the arcsine of a number.';
388
+ /// 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.
389
+ Blockly.Msg.MATH_TRIG_TOOLTIP_ACOS = 'Return the arccosine of a number.';
390
+ /// 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.
391
+ Blockly.Msg.MATH_TRIG_TOOLTIP_ATAN = 'Return the arctangent of a number.';
392
+
393
+ /// url - Information about the mathematical constants Pi (π), e, the golden ratio (φ), √ 2, √ 1/2, and infinity (∞).
394
+ Blockly.Msg.MATH_CONSTANT_HELPURL = 'https://en.wikipedia.org/wiki/Mathematical_constant';
395
+ /// tooltip - Provides the specified [https://en.wikipedia.org/wiki/Mathematical_constant mathematical constant].
396
+ 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).';
397
+ /// dropdown - A number is '''even''' if it is a multiple of 2. For example, 4 is even (yielding true), but 3 is not (false).
398
+ Blockly.Msg.MATH_IS_EVEN = 'is even';
399
+ /// 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".
400
+ Blockly.Msg.MATH_IS_ODD = 'is odd';
401
+ /// dropdown - A number is [https://en.wikipedia.org/wiki/Prime 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.
402
+ Blockly.Msg.MATH_IS_PRIME = 'is prime';
403
+ /// 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.
404
+ Blockly.Msg.MATH_IS_WHOLE = 'is whole';
405
+ /// dropdown - A number is '''positive''' if it is greater than 0. (0 is neither negative nor positive.)
406
+ Blockly.Msg.MATH_IS_POSITIVE = 'is positive';
407
+ /// dropdown - A number is '''negative''' if it is less than 0. (0 is neither negative nor positive.)
408
+ Blockly.Msg.MATH_IS_NEGATIVE = 'is negative';
409
+ /// 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.
410
+ Blockly.Msg.MATH_IS_DIVISIBLE_BY = 'is divisible by';
411
+ /// 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.
412
+ 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.';
413
+
414
+ /// url - Information about incrementing (increasing the value of) a variable.
415
+ /// For other languages, just use the translation of the Wikipedia page about
416
+ /// addition ([https://en.wikipedia.org/wiki/Addition https://en.wikipedia.org/wiki/Addition]).
417
+ Blockly.Msg.MATH_CHANGE_HELPURL = 'https://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter';
418
+ /// - 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).
419
+ /// %1 is a variable name.
420
+ /// %2 is the amount of change.
421
+ Blockly.Msg.MATH_CHANGE_TITLE = 'change %1 by %2';
422
+ Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;
423
+ /// 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.
424
+ Blockly.Msg.MATH_CHANGE_TOOLTIP = 'Add a number to variable "%1".';
425
+
426
+ /// url - Information about how numbers are rounded to the nearest integer
427
+ Blockly.Msg.MATH_ROUND_HELPURL = 'https://en.wikipedia.org/wiki/Rounding';
428
+ /// tooltip - See [https://en.wikipedia.org/wiki/Rounding https://en.wikipedia.org/wiki/Rounding].
429
+ Blockly.Msg.MATH_ROUND_TOOLTIP = 'Round a number up or down.';
430
+ /// dropdown - This rounds its input to the nearest whole number. For example, 3.4 is rounded to 3.
431
+ Blockly.Msg.MATH_ROUND_OPERATOR_ROUND = 'round';
432
+ /// dropdown - This rounds its input up to the nearest whole number. For example, if the input was 2.2, the result would be 3.
433
+ Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDUP = 'round up';
434
+ /// dropdown - This rounds its input down to the nearest whole number. For example, if the input was 3.8, the result would be 3.
435
+ Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDDOWN = 'round down';
436
+
437
+ /// 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.)
438
+ Blockly.Msg.MATH_ONLIST_HELPURL = '';
439
+ /// dropdown - This computes the sum of the numeric elements in the list. For example, the sum of the list {1, 4} is 5.
440
+ Blockly.Msg.MATH_ONLIST_OPERATOR_SUM = 'sum of list';
441
+ /// tooltip - Please use the same term for "sum" as in the previous message.
442
+ Blockly.Msg.MATH_ONLIST_TOOLTIP_SUM = 'Return the sum of all the numbers in the list.';
443
+ /// dropdown - This finds the smallest (minimum) number in a list. For example, the smallest number in the list [-5, 0, 3] is -5.
444
+ Blockly.Msg.MATH_ONLIST_OPERATOR_MIN = 'min of list';
445
+ /// tooltip - Please use the same term for "min" or "minimum" as in the previous message.
446
+ Blockly.Msg.MATH_ONLIST_TOOLTIP_MIN = 'Return the smallest number in the list.';
447
+ /// dropdown - This finds the largest (maximum) number in a list. For example, the largest number in the list [-5, 0, 3] is 3.
448
+ Blockly.Msg.MATH_ONLIST_OPERATOR_MAX = 'max of list';
449
+ /// tooltip
450
+ Blockly.Msg.MATH_ONLIST_TOOLTIP_MAX = 'Return the largest number in the list.';
451
+ /// 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).
452
+ Blockly.Msg.MATH_ONLIST_OPERATOR_AVERAGE = 'average of list';
453
+ /// tooltip - See [https://en.wikipedia.org/wiki/Arithmetic_mean https://en.wikipedia.org/wiki/Arithmetic_mean] for more informatin.
454
+ Blockly.Msg.MATH_ONLIST_TOOLTIP_AVERAGE = 'Return the average (arithmetic mean) of the numeric values in the list.';
455
+ /// 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.
456
+ Blockly.Msg.MATH_ONLIST_OPERATOR_MEDIAN = 'median of list';
457
+ /// tooltip - See [https://en.wikipedia.org/wiki/Median median https://en.wikipedia.org/wiki/Median median] for more information.
458
+ Blockly.Msg.MATH_ONLIST_TOOLTIP_MEDIAN = 'Return the median number in the list.';
459
+ /// 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}.
460
+ Blockly.Msg.MATH_ONLIST_OPERATOR_MODE = 'modes of list';
461
+ /// tooltip - See [https://en.wikipedia.org/wiki/Mode_(statistics) https://en.wikipedia.org/wiki/Mode_(statistics)] for more information.
462
+ Blockly.Msg.MATH_ONLIST_TOOLTIP_MODE = 'Return a list of the most common item(s) in the list.';
463
+ /// dropdown - This finds the [https://en.wikipedia.org/wiki/Standard_deviation standard deviation] of the numeric values in a list.
464
+ Blockly.Msg.MATH_ONLIST_OPERATOR_STD_DEV = 'standard deviation of list';
465
+ /// tooltip - See [https://en.wikipedia.org/wiki/Standard_deviation https://en.wikipedia.org/wiki/Standard_deviation] for more information.
466
+ Blockly.Msg.MATH_ONLIST_TOOLTIP_STD_DEV = 'Return the standard deviation of the list.';
467
+ /// dropdown - This choose an element at random from a list. Each element is chosen with equal probability.
468
+ Blockly.Msg.MATH_ONLIST_OPERATOR_RANDOM = 'random item of list';
469
+ /// tooltip - Please use same term for 'random' as in previous entry.
470
+ Blockly.Msg.MATH_ONLIST_TOOLTIP_RANDOM = 'Return a random element from the list.';
471
+
472
+ /// url - information about the modulo (remainder) operation.
473
+ Blockly.Msg.MATH_MODULO_HELPURL = 'https://en.wikipedia.org/wiki/Modulo_operation';
474
+ /// 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).
475
+ Blockly.Msg.MATH_MODULO_TITLE = 'remainder of %1 ÷ %2';
476
+ /// tooltip - For example, the remainder of 10 divided by 3 is 1.
477
+ Blockly.Msg.MATH_MODULO_TOOLTIP = 'Return the remainder from dividing the two numbers.';
478
+
479
+ /// 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.)
480
+ Blockly.Msg.MATH_CONSTRAIN_HELPURL = 'https://en.wikipedia.org/wiki/Clamping_%28graphics%29';
481
+ /// block text - The title of the block that '''constrain'''s (forces) a number to be in a given range.
482
+ ///For example, if the number 150 is constrained to be between 5 and 100, the result will be 100.
483
+ ///\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).
484
+ Blockly.Msg.MATH_CONSTRAIN_TITLE = 'constrain %1 low %2 high %3';
485
+ /// 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''.
486
+ Blockly.Msg.MATH_CONSTRAIN_TOOLTIP = 'Constrain a number to be between the specified limits (inclusive).';
487
+
488
+ /// url - Information about how computers generate random numbers.
489
+ Blockly.Msg.MATH_RANDOM_INT_HELPURL = 'https://en.wikipedia.org/wiki/Random_number_generation';
490
+ /// 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.
491
+ Blockly.Msg.MATH_RANDOM_INT_TITLE = 'random integer from %1 to %2';
492
+ /// 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.
493
+ Blockly.Msg.MATH_RANDOM_INT_TOOLTIP = 'Return a random integer between the two specified limits, inclusive.';
494
+
495
+ /// url - Information about how computers generate random numbers (specifically, numbers in the range from 0 to just below 1).
496
+ Blockly.Msg.MATH_RANDOM_FLOAT_HELPURL = 'https://en.wikipedia.org/wiki/Random_number_generation';
497
+ /// block text - The title of the block that generates a random number greater than or equal to 0 and less than 1.
498
+ Blockly.Msg.MATH_RANDOM_FLOAT_TITLE_RANDOM = 'random fraction';
499
+ /// tooltip - Return a random fraction between 0 and 1. The value may be equal to 0 but must be less than 1.
500
+ Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = 'Return a random fraction between 0.0 (inclusive) and 1.0 (exclusive).';
501
+
502
+ // Text Blocks.
503
+ /// url - Information about how computers represent text (sometimes referred to as ''string''s).
504
+ Blockly.Msg.TEXT_TEXT_HELPURL = 'https://en.wikipedia.org/wiki/String_(computer_science)';
505
+ /// tooltip - See [https://github.com/google/blockly/wiki/Text https://github.com/google/blockly/wiki/Text].
506
+ Blockly.Msg.TEXT_TEXT_TOOLTIP = 'A letter, word, or line of text.';
507
+
508
+ /// url - Information on concatenating/appending pieces of text.
509
+ Blockly.Msg.TEXT_JOIN_HELPURL = 'https://github.com/google/blockly/wiki/Text#text-creation';
510
+ /// block text - See [https://github.com/google/blockly/wiki/Text#text-creation https://github.com/google/blockly/wiki/Text#text-creation].
511
+ Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = 'create text with';
512
+ /// tooltip - See [https://github.com/google/blockly/wiki/Text#text-creation create text with] for more information.
513
+ Blockly.Msg.TEXT_JOIN_TOOLTIP = 'Create a piece of text by joining together any number of items.';
514
+
515
+ /// 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}}
516
+ Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = 'join';
517
+ /// 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.
518
+ Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this text block.';
519
+ Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;
520
+ /// 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.
521
+ Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = 'Add an item to the text.';
522
+
523
+ /// 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]).
524
+ Blockly.Msg.TEXT_APPEND_HELPURL = 'https://github.com/google/blockly/wiki/Text#text-modification';
525
+ /// block input text - Message preceding the name of a variable to which text should be appended.
526
+ /// [[File:blockly-append-text.png]]
527
+ Blockly.Msg.TEXT_APPEND_TO = 'to';
528
+ /// block input text - Message following the variable and preceding the piece of text that should
529
+ /// be appended, as shown below.
530
+ /// [[File:blockly-append-text.png]]
531
+ Blockly.Msg.TEXT_APPEND_APPENDTEXT = 'append text';
532
+ Blockly.Msg.TEXT_APPEND_VARIABLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;
533
+ /// 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
534
+ Blockly.Msg.TEXT_APPEND_TOOLTIP = 'Append some text to variable "%1".';
535
+
536
+ /// url - Information about text on computers (usually referred to as 'strings').
537
+ Blockly.Msg.TEXT_LENGTH_HELPURL = 'https://github.com/google/blockly/wiki/Text#text-modification';
538
+ /// block text - See [https://github.com/google/blockly/wiki/Text#text-length https://github.com/google/blockly/wiki/Text#text-length].
539
+ /// \n\nParameters:\n* %1 - the piece of text to take the length of
540
+ Blockly.Msg.TEXT_LENGTH_TITLE = 'length of %1';
541
+ /// tooltip - See [https://github.com/google/blockly/wiki/Text#text-length https://github.com/google/blockly/wiki/Text#text-length].
542
+ Blockly.Msg.TEXT_LENGTH_TOOLTIP = 'Returns the number of letters (including spaces) in the provided text.';
543
+
544
+ /// url - Information about empty pieces of text on computers (usually referred to as 'empty strings').
545
+ Blockly.Msg.TEXT_ISEMPTY_HELPURL = 'https://github.com/google/blockly/wiki/Text#checking-for-empty-text';
546
+ /// 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].
547
+ /// \n\nParameters:\n* %1 - the piece of text to test for emptiness
548
+ Blockly.Msg.TEXT_ISEMPTY_TITLE = '%1 is empty';
549
+ /// tooltip - See [https://github.com/google/blockly/wiki/Text#checking-for-empty-text https://github.com/google/blockly/wiki/Text#checking-for-empty-text].
550
+ Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = 'Returns true if the provided text is empty.';
551
+
552
+ /// url - Information about finding a character in a piece of text.
553
+ Blockly.Msg.TEXT_INDEXOF_HELPURL = 'https://github.com/google/blockly/wiki/Text#finding-text';
554
+ /// 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].
555
+ 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.';
556
+ /// block text - Title of blocks allowing users to find text. See
557
+ /// [https://github.com/google/blockly/wiki/Text#finding-text
558
+ /// https://github.com/google/blockly/wiki/Text#finding-text].
559
+ /// [[File:Blockly-find-text.png]].
560
+ Blockly.Msg.TEXT_INDEXOF_INPUT_INTEXT = 'in text';
561
+ /// dropdown - See [https://github.com/google/blockly/wiki/Text#finding-text
562
+ /// https://github.com/google/blockly/wiki/Text#finding-text].
563
+ /// [[File:Blockly-find-text.png]].
564
+ Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = 'find first occurrence of text';
565
+ /// dropdown - See [https://github.com/google/blockly/wiki/Text#finding-text
566
+ /// https://github.com/google/blockly/wiki/Text#finding-text]. This would
567
+ /// replace "find first occurrence of text" below. (For more information on
568
+ /// how common text is factored out of dropdown menus, see
569
+ /// [https://translatewiki.net/wiki/Translating:Blockly#Drop-Down_Menus
570
+ /// https://translatewiki.net/wiki/Translating:Blockly#Drop-Down_Menus)].)
571
+ /// [[File:Blockly-find-text.png]].
572
+ Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = 'find last occurrence of text';
573
+ /// block text - Optional text to follow the rightmost block in a
574
+ /// [https://github.com/google/blockly/wiki/Text#finding-text
575
+ /// https://github.com/google/blockly/wiki/Text#finding-text in text ... find block]
576
+ /// (after the "a" in the below picture). This will be the empty string in most languages.
577
+ /// [[File:Blockly-find-text.png]].
578
+ Blockly.Msg.TEXT_INDEXOF_TAIL = '';
579
+
580
+ /// url - Information about extracting characters (letters, number, symbols, etc.) from text.
581
+ Blockly.Msg.TEXT_CHARAT_HELPURL = 'https://github.com/google/blockly/wiki/Text#extracting-text';
582
+ /// block text - Appears before the piece of text from which a letter (or number,
583
+ /// punctuation character, etc.) should be extracted, as shown below. See
584
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
585
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
586
+ /// [[File:Blockly-text-get.png]]
587
+ Blockly.Msg.TEXT_CHARAT_INPUT_INTEXT = 'in text';
588
+ /// dropdown - Indicates that the letter (or number, punctuation character, etc.) with the
589
+ /// specified index should be obtained from the preceding piece of text. See
590
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
591
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
592
+ /// [[File:Blockly-text-get.png]]
593
+ Blockly.Msg.TEXT_CHARAT_FROM_START = 'get letter #';
594
+ /// block text - Indicates that the letter (or number, punctuation character, etc.) with the
595
+ /// specified index from the end of a given piece of text should be obtained. See
596
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
597
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
598
+ /// [[File:Blockly-text-get.png]]
599
+ Blockly.Msg.TEXT_CHARAT_FROM_END = 'get letter # from end';
600
+ /// block text - Indicates that the first letter of the following piece of text should be
601
+ /// retrieved. See [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
602
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
603
+ /// [[File:Blockly-text-get.png]]
604
+ Blockly.Msg.TEXT_CHARAT_FIRST = 'get first letter';
605
+ /// block text - Indicates that the last letter (or number, punctuation mark, etc.) of the
606
+ /// following piece of text should be retrieved. See
607
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
608
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
609
+ /// [[File:Blockly-text-get.png]]
610
+ Blockly.Msg.TEXT_CHARAT_LAST = 'get last letter';
611
+ /// block text - Indicates that any letter (or number, punctuation mark, etc.) in the
612
+ /// following piece of text should be randomly selected. See
613
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
614
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
615
+ /// [[File:Blockly-text-get.png]]
616
+ Blockly.Msg.TEXT_CHARAT_RANDOM = 'get random letter';
617
+ /// block text - Text that goes after the rightmost block/dropdown when getting a single letter from
618
+ /// a piece of text, as in [https://blockly-demo.appspot.com/static/apps/code/index.html#3m23km these
619
+ /// blocks] or shown below. For most languages, this will be blank.
620
+ /// [[File:Blockly-text-get.png]]
621
+ Blockly.Msg.TEXT_CHARAT_TAIL = '';
622
+ /// tooltip - See [https://github.com/google/blockly/wiki/Text#extracting-a-single-character
623
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-single-character].
624
+ /// [[File:Blockly-text-get.png]]
625
+ Blockly.Msg.TEXT_CHARAT_TOOLTIP = 'Returns the letter at the specified position.';
626
+
627
+ /// See [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
628
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
629
+ Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP = 'Returns a specified portion of the text.';
630
+ /// url - Information about extracting characters from text. Reminder: urls are the
631
+ /// lowest priority translations. Feel free to skip.
632
+ Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = 'https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text';
633
+ /// block text - Precedes a piece of text from which a portion should be extracted.
634
+ /// [[File:Blockly-get-substring.png]]
635
+ Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT = 'in text';
636
+ /// dropdown - Indicates that the following number specifies the position (relative to the start
637
+ /// position) of the beginning of the region of text that should be obtained from the preceding
638
+ /// piece of text. See [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
639
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
640
+ /// [[File:Blockly-get-substring.png]]
641
+ Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = 'get substring from letter #';
642
+ /// dropdown - Indicates that the following number specifies the position (relative to the end
643
+ /// position) of the beginning of the region of text that should be obtained from the preceding
644
+ /// piece of text. See [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
645
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
646
+ /// Note: If {{msg-Blockly|ORDINAL_NUMBER_SUFFIX}} is defined, it will
647
+ /// automatically appear ''after'' this and any other
648
+ /// [https://translatewiki.net/wiki/Translating:Blockly#Ordinal_numbers ordinal numbers]
649
+ /// on this block.
650
+ /// [[File:Blockly-get-substring.png]]
651
+ Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END = 'get substring from letter # from end';
652
+ /// block text - Indicates that a region starting with the first letter of the preceding piece
653
+ /// of text should be extracted. See
654
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
655
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
656
+ /// [[File:Blockly-get-substring.png]]
657
+ Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST = 'get substring from first letter';
658
+ /// dropdown - Indicates that the following number specifies the position (relative to
659
+ /// the start position) of the end of the region of text that should be obtained from the
660
+ /// preceding piece of text. See
661
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
662
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
663
+ /// [[File:Blockly-get-substring.png]]
664
+ Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START = 'to letter #';
665
+ /// dropdown - Indicates that the following number specifies the position (relative to the
666
+ /// end position) of the end of the region of text that should be obtained from the preceding
667
+ /// piece of text. See
668
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
669
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
670
+ /// [[File:Blockly-get-substring.png]]
671
+ Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END = 'to letter # from end';
672
+ /// block text - Indicates that a region ending with the last letter of the preceding piece
673
+ /// of text should be extracted. See
674
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
675
+ /// https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text].
676
+ /// [[File:Blockly-get-substring.png]]
677
+ Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST = 'to last letter';
678
+ /// block text - Text that should go after the rightmost block/dropdown when
679
+ /// [https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text
680
+ /// extracting a region of text]. In most languages, this will be the empty string.
681
+ /// [[File:Blockly-get-substring.png]]
682
+ Blockly.Msg.TEXT_GET_SUBSTRING_TAIL = '';
683
+
684
+ /// url - Information about the case of letters (upper-case and lower-case).
685
+ Blockly.Msg.TEXT_CHANGECASE_HELPURL = 'https://github.com/google/blockly/wiki/Text#adjusting-text-case';
686
+ /// tooltip - Describes a block to adjust the case of letters. For more information on this block,
687
+ /// see [https://github.com/google/blockly/wiki/Text#adjusting-text-case
688
+ /// https://github.com/google/blockly/wiki/Text#adjusting-text-case].
689
+ Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = 'Return a copy of the text in a different case.';
690
+ /// block text - Indicates that all of the letters in the following piece of text should be
691
+ /// capitalized. If your language does not use case, you may indicate that this is not
692
+ /// applicable to your language. For more information on this block, see
693
+ /// [https://github.com/google/blockly/wiki/Text#adjusting-text-case
694
+ /// https://github.com/google/blockly/wiki/Text#adjusting-text-case].
695
+ Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = 'to UPPER CASE';
696
+ /// 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].
697
+ Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = 'to lower case';
698
+ /// 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].
699
+ Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = 'to Title Case';
700
+
701
+ /// url - Information about trimming (removing) text off the beginning and ends of pieces of text.
702
+ Blockly.Msg.TEXT_TRIM_HELPURL = 'https://github.com/google/blockly/wiki/Text#trimming-removing-spaces';
703
+ /// tooltip - See [https://github.com/google/blockly/wiki/Text#trimming-removing-spaces
704
+ /// https://github.com/google/blockly/wiki/Text#trimming-removing-spaces].
705
+ Blockly.Msg.TEXT_TRIM_TOOLTIP = 'Return a copy of the text with spaces removed from one or both ends.';
706
+ /// dropdown - Removes spaces from the beginning and end of a piece of text. See
707
+ /// [https://github.com/google/blockly/wiki/Text#trimming-removing-spaces
708
+ /// https://github.com/google/blockly/wiki/Text#trimming-removing-spaces]. Note that neither
709
+ /// this nor the other options modify the original piece of text (that follows);
710
+ /// the block just returns a version of the text without the specified spaces.
711
+ Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = 'trim spaces from both sides of';
712
+ /// dropdown - Removes spaces from the beginning of a piece of text. See
713
+ /// [https://github.com/google/blockly/wiki/Text#trimming-removing-spaces
714
+ /// https://github.com/google/blockly/wiki/Text#trimming-removing-spaces].
715
+ /// Note that in right-to-left scripts, this will remove spaces from the right side.
716
+ Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = 'trim spaces from left side of';
717
+ /// dropdown - Removes spaces from the end of a piece of text. See
718
+ /// [https://github.com/google/blockly/wiki/Text#trimming-removing-spaces
719
+ /// https://github.com/google/blockly/wiki/Text#trimming-removing-spaces].
720
+ /// Note that in right-to-left scripts, this will remove spaces from the left side.
721
+ Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = 'trim spaces from right side of';
722
+
723
+ /// url - Information about displaying text on computers.
724
+ Blockly.Msg.TEXT_PRINT_HELPURL = 'https://github.com/google/blockly/wiki/Text#printing-text';
725
+ /// block text - Display the input on the screen. See
726
+ /// [https://github.com/google/blockly/wiki/Text#printing-text
727
+ /// https://github.com/google/blockly/wiki/Text#printing-text].
728
+ /// \n\nParameters:\n* %1 - the value to print
729
+ Blockly.Msg.TEXT_PRINT_TITLE = 'print %1';
730
+ /// tooltip - See [https://github.com/google/blockly/wiki/Text#printing-text
731
+ /// https://github.com/google/blockly/wiki/Text#printing-text].
732
+ Blockly.Msg.TEXT_PRINT_TOOLTIP = 'Print the specified text, number or other value.';
733
+ /// url - Information about getting text from users.
734
+ Blockly.Msg.TEXT_PROMPT_HELPURL = 'https://github.com/google/blockly/wiki/Text#getting-input-from-the-user';
735
+ /// dropdown - Specifies that a piece of text should be requested from the user with
736
+ /// the following message. See [https://github.com/google/blockly/wiki/Text#printing-text
737
+ /// https://github.com/google/blockly/wiki/Text#printing-text].
738
+ Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = 'prompt for text with message';
739
+ /// dropdown - Specifies that a number should be requested from the user with the
740
+ /// following message. See [https://github.com/google/blockly/wiki/Text#printing-text
741
+ /// https://github.com/google/blockly/wiki/Text#printing-text].
742
+ Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = 'prompt for number with message';
743
+ /// dropdown - Precedes the message with which the user should be prompted for
744
+ /// a number. See [https://github.com/google/blockly/wiki/Text#printing-text
745
+ /// https://github.com/google/blockly/wiki/Text#printing-text].
746
+ Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = 'Prompt for user for a number.';
747
+ /// dropdown - Precedes the message with which the user should be prompted for some text.
748
+ /// See [https://github.com/google/blockly/wiki/Text#printing-text
749
+ /// https://github.com/google/blockly/wiki/Text#printing-text].
750
+ Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = 'Prompt for user for some text.';
751
+
752
+ // Lists Blocks.
753
+ /// url - Information on empty lists.
754
+ Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = 'https://github.com/google/blockly/wiki/Lists#create-empty-list';
755
+ /// block text - See [https://github.com/google/blockly/wiki/Lists#create-empty-list https://github.com/google/blockly/wiki/Lists#create-empty-list].
756
+ Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = 'create empty list';
757
+ /// block text - See [https://github.com/google/blockly/wiki/Lists#create-empty-list https://github.com/google/blockly/wiki/Lists#create-empty-list].
758
+ Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = 'Returns a list, of length 0, containing no data records';
759
+
760
+ /// url - Information on building lists.
761
+ Blockly.Msg.LISTS_CREATE_WITH_HELPURL = 'https://github.com/google/blockly/wiki/Lists#create-list-with';
762
+ /// tooltip - See [https://github.com/google/blockly/wiki/Lists#create-list-with https://github.com/google/blockly/wiki/Lists#create-list-with].
763
+ Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = 'Create a list with any number of items.';
764
+ /// block text - See [https://github.com/google/blockly/wiki/Lists#create-list-with https://github.com/google/blockly/wiki/Lists#create-list-with].
765
+ Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = 'create list with';
766
+ /// 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}}
767
+ Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = 'list';
768
+ /// tooltip - See [https://github.com/google/blockly/wiki/Lists#changing-number-of-inputs https://github.com/google/blockly/wiki/Lists#changing-number-of-inputs].
769
+ Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this list block.';
770
+ Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;
771
+ /// tooltip - See [https://github.com/google/blockly/wiki/Lists#changing-number-of-inputs https://github.com/google/blockly/wiki/Lists#changing-number-of-inputs].
772
+ Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = 'Add an item to the list.';
773
+
774
+ /// url - Information about [https://github.com/google/blockly/wiki/Lists#create-list-with creating a list with multiple copies of a single item].
775
+ Blockly.Msg.LISTS_REPEAT_HELPURL = 'https://github.com/google/blockly/wiki/Lists#create-list-with';
776
+ /// url - See [https://github.com/google/blockly/wiki/Lists#create-list-with creating a list with multiple copies of a single item].
777
+ Blockly.Msg.LISTS_REPEAT_TOOLTIP = 'Creates a list consisting of the given value repeated the specified number of times.';
778
+ /// block text - See [https://github.com/google/blockly/wiki/Lists#create-list-with
779
+ /// https://github.com/google/blockly/wiki/Lists#create-list-with].
780
+ ///\n\nParameters:\n* %1 - the item (text) to be repeated\n* %2 - the number of times to repeat it
781
+ Blockly.Msg.LISTS_REPEAT_TITLE = 'create list with item %1 repeated %2 times';
782
+
783
+ /// 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).
784
+ Blockly.Msg.LISTS_LENGTH_HELPURL = 'https://github.com/google/blockly/wiki/Lists#length-of';
785
+ /// block text - See [https://github.com/google/blockly/wiki/Lists#length-of https://github.com/google/blockly/wiki/Lists#length-of].
786
+ /// \n\nParameters:\n* %1 - the list whose length is desired
787
+ Blockly.Msg.LISTS_LENGTH_TITLE = 'length of %1';
788
+ /// tooltip - See [https://github.com/google/blockly/wiki/Lists#length-of https://github.com/google/blockly/wiki/Lists#length-of Blockly:Lists:length of].
789
+ Blockly.Msg.LISTS_LENGTH_TOOLTIP = 'Returns the length of a list.';
790
+
791
+ /// url - See [https://github.com/google/blockly/wiki/Lists#is-empty https://github.com/google/blockly/wiki/Lists#is-empty].
792
+ Blockly.Msg.LISTS_ISEMPTY_HELPURL = 'https://github.com/google/blockly/wiki/Lists#is-empty';
793
+ /// block text - See [https://github.com/google/blockly/wiki/Lists#is-empty
794
+ /// https://github.com/google/blockly/wiki/Lists#is-empty].
795
+ /// \n\nParameters:\n* %1 - the list to test
796
+ Blockly.Msg.LISTS_ISEMPTY_TITLE = '%1 is empty';
797
+ /// block tooltip - See [https://github.com/google/blockly/wiki/Lists#is-empty
798
+ /// https://github.com/google/blockly/wiki/Lists#is-empty].
799
+ Blockly.Msg.LISTS_ISEMPTY_TOOLTIP = 'Returns true if the list is empty.';
800
+
801
+ /// block text - Title of blocks operating on [https://github.com/google/blockly/wiki/Lists lists].
802
+ Blockly.Msg.LISTS_INLIST = 'in list';
803
+
804
+ /// url - See [https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list
805
+ /// https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list].
806
+ Blockly.Msg.LISTS_INDEX_OF_HELPURL = 'https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list';
807
+ Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
808
+ /// dropdown - See [https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list
809
+ /// Lists#finding-items-in-a-list].
810
+ /// [[File:Blockly-list-find.png]]
811
+ Blockly.Msg.LISTS_INDEX_OF_FIRST = 'find first occurrence of item';
812
+ /// dropdown - See [https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list
813
+ /// https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list].
814
+ /// [[File:Blockly-list-find.png]]
815
+ Blockly.Msg.LISTS_INDEX_OF_LAST = 'find last occurrence of item';
816
+ /// 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
817
+ /// https://github.com/google/blockly/wiki/Lists#finding-items-in-a-list].
818
+ /// [[File:Blockly-list-find.png]]
819
+ 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.';
820
+
821
+ Blockly.Msg.LISTS_GET_INDEX_HELPURL = Blockly.Msg.LISTS_INDEX_OF_HELPURL;
822
+ /// dropdown - Indicates that the user wishes to
823
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item
824
+ /// get an item from a list] without removing it from the list.
825
+ Blockly.Msg.LISTS_GET_INDEX_GET = 'get';
826
+ /// dropdown - Indicates that the user wishes to
827
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item
828
+ /// get and remove an item from a list], as opposed to merely getting
829
+ /// it without modifying the list.
830
+ Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = 'get and remove';
831
+ /// dropdown - Indicates that the user wishes to
832
+ /// [https://github.com/google/blockly/wiki/Lists#removing-an-item
833
+ /// remove an item from a list].\n{{Identical|Remove}}
834
+ Blockly.Msg.LISTS_GET_INDEX_REMOVE = 'remove';
835
+ /// dropdown - Indicates that an index relative to the front of the list should be used to
836
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item get and/or remove
837
+ /// an item from a list]. Note: If {{msg-Blockly|ORDINAL_NUMBER_SUFFIX}} is defined, it will
838
+ /// automatically appear ''after'' this number (and any other ordinal numbers on this block).
839
+ /// See [[Translating:Blockly#Ordinal_numbers]] for more information on ordinal numbers in Blockly.
840
+ /// [[File:Blockly-list-get-item.png]]
841
+ Blockly.Msg.LISTS_GET_INDEX_FROM_START = '#';
842
+ /// dropdown - Indicates that an index relative to the end of the list should be used
843
+ /// to [https://github.com/google/blockly/wiki/Lists#getting-a-single-item access an item in a list].
844
+ /// [[File:Blockly-list-get-item.png]]
845
+ Blockly.Msg.LISTS_GET_INDEX_FROM_END = '# from end';
846
+ /// dropdown - Indicates that the '''first''' item should be
847
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item accessed in a list].
848
+ /// [[File:Blockly-list-get-item.png]]
849
+ Blockly.Msg.LISTS_GET_INDEX_FIRST = 'first';
850
+ /// dropdown - Indicates that the '''last''' item should be
851
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item accessed in a list].
852
+ /// [[File:Blockly-list-get-item.png]]
853
+ Blockly.Msg.LISTS_GET_INDEX_LAST = 'last';
854
+ /// dropdown - Indicates that a '''random''' item should be
855
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item accessed in a list].
856
+ /// [[File:Blockly-list-get-item.png]]
857
+ Blockly.Msg.LISTS_GET_INDEX_RANDOM = 'random';
858
+ /// block text - Text that should go after the rightmost block/dropdown when
859
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-single-item
860
+ /// accessing an item from a list]. In most languages, this will be the empty string.
861
+ /// [[File:Blockly-list-get-item.png]]
862
+ Blockly.Msg.LISTS_GET_INDEX_TAIL = '';
863
+ Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
864
+ /// 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.
865
+ Blockly.Msg.LISTS_INDEX_FROM_START_TOOLTIP = '%1 is the first item.';
866
+ /// 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.
867
+ Blockly.Msg.LISTS_INDEX_FROM_END_TOOLTIP = '%1 is the last item.';
868
+ /// 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.
869
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM = 'Returns the item at the specified position in a list.';
870
+ /// 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.
871
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = 'Returns the first item in a list.';
872
+ /// 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.
873
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = 'Returns the last item in a list.';
874
+ /// 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.
875
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = 'Returns a random item in a list.';
876
+ /// 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'.
877
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM = 'Removes and returns the item at the specified position in a list.';
878
+ /// 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'.
879
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = 'Removes and returns the first item in a list.';
880
+ /// 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'.
881
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = 'Removes and returns the last item in a list.';
882
+ /// 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'.
883
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = 'Removes and returns a random item in a list.';
884
+ /// 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'.
885
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM = 'Removes the item at the specified position in a list.';
886
+ /// 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'.
887
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = 'Removes the first item in a list.';
888
+ /// 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'.
889
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = 'Removes the last item in a list.';
890
+ /// 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'.
891
+ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = 'Removes a random item in a list.';
892
+ /// url - Information about putting items in lists.
893
+ Blockly.Msg.LISTS_SET_INDEX_HELPURL = 'https://github.com/google/blockly/wiki/Lists#in-list--set';
894
+ Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
895
+ /// block text - [https://github.com/google/blockly/wiki/Lists#in-list--set
896
+ /// Replaces an item in a list].
897
+ /// [[File:Blockly-in-list-set-insert.png]]
898
+ Blockly.Msg.LISTS_SET_INDEX_SET = 'set';
899
+ /// block text - [https://github.com/google/blockly/wiki/Lists#in-list--insert-at
900
+ /// Inserts an item into a list].
901
+ /// [[File:Blockly-in-list-set-insert.png]]
902
+ Blockly.Msg.LISTS_SET_INDEX_INSERT = 'insert at';
903
+ /// block text - The word(s) after the position in the list and before the item to be set/inserted.
904
+ /// [[File:Blockly-in-list-set-insert.png]]
905
+ Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = 'as';
906
+ /// 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).
907
+ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM = 'Sets the item at the specified position in a list.';
908
+ /// 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).
909
+ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = 'Sets the first item in a list.';
910
+ /// 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).
911
+ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = 'Sets the last item in a list.';
912
+ /// 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).
913
+ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = 'Sets a random item in a list.';
914
+ /// 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).
915
+ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM = 'Inserts the item at the specified position in a list.';
916
+ /// 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).
917
+ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = 'Inserts the item at the start of a list.';
918
+ /// 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).
919
+ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = 'Append the item to the end of a list.';
920
+ /// 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).
921
+ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = 'Inserts the item randomly in a list.';
922
+
923
+ /// url - Information describing extracting a sublist from an existing list.
924
+ Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = 'https://github.com/google/blockly/wiki/Lists#getting-a-sublist';
925
+ Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
926
+ /// dropdown - Indicates that an index relative to the front of the list should be used
927
+ /// to specify the beginning of the range from which to
928
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist get a sublist].
929
+ /// [[File:Blockly-get-sublist.png]]
930
+ /// Note: If {{msg-Blockly|ORDINAL_NUMBER_SUFFIX}} is defined, it will
931
+ /// automatically appear ''after'' this number (and any other ordinal numbers on this block).
932
+ /// See [[Translating:Blockly#Ordinal_numbers]] for more information on ordinal numbers in Blockly.
933
+ Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START = 'get sub-list from #';
934
+ /// dropdown - Indicates that an index relative to the end of the list should be used
935
+ /// to specify the beginning of the range from which to
936
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist get a sublist].
937
+ Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END = 'get sub-list from # from end';
938
+ /// dropdown - Indicates that the
939
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist sublist to extract]
940
+ /// should begin with the list's first item.
941
+ Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST = 'get sub-list from first';
942
+ /// dropdown - Indicates that an index relative to the front of the list should be
943
+ /// used to specify the end of the range from which to
944
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist get a sublist].
945
+ /// [[File:Blockly-get-sublist.png]]
946
+ Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START = 'to #';
947
+ /// dropdown - Indicates that an index relative to the end of the list should be
948
+ /// used to specify the end of the range from which to
949
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist get a sublist].
950
+ /// [[File:Blockly-get-sublist.png]]
951
+ Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END = 'to # from end';
952
+ /// dropdown - Indicates that the '''last''' item in the given list should be
953
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist the end
954
+ /// of the selected sublist].
955
+ /// [[File:Blockly-get-sublist.png]]
956
+ Blockly.Msg.LISTS_GET_SUBLIST_END_LAST = 'to last';
957
+ /// block text - This appears in the rightmost position ("tail") of the
958
+ /// sublist block, as described at
959
+ /// [https://github.com/google/blockly/wiki/Lists#getting-a-sublist
960
+ /// https://github.com/google/blockly/wiki/Lists#getting-a-sublist].
961
+ /// In English and most other languages, this is the empty string.
962
+ /// [[File:Blockly-get-sublist.png]]
963
+ Blockly.Msg.LISTS_GET_SUBLIST_TAIL = '';
964
+ /// tooltip - See [https://github.com/google/blockly/wiki/Lists#getting-a-sublist
965
+ /// https://github.com/google/blockly/wiki/Lists#getting-a-sublist] for more information.
966
+ /// [[File:Blockly-get-sublist.png]]
967
+ Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = 'Creates a copy of the specified portion of a list.';
968
+
969
+ /// url - Information describing sorting a list.
970
+ Blockly.Msg.LISTS_SORT_HELPURL = 'https://github.com/google/blockly/wiki/Lists#sorting-a-list';
971
+ /// Sort as type %1 (numeric or alphabetic) in order %2 (ascending or descending) a list of items %3.\n{{Identical|Sort}}
972
+ Blockly.Msg.LISTS_SORT_TITLE = 'sort %1 %2 %3';
973
+ /// tooltip - See [https://github.com/google/blockly/wiki/Lists#sorting-a-list].
974
+ Blockly.Msg.LISTS_SORT_TOOLTIP = 'Sort a copy of a list.';
975
+ /// sorting order or direction from low to high value for numeric, or A-Z for alphabetic.\n{{Identical|Ascending}}
976
+ Blockly.Msg.LISTS_SORT_ORDER_ASCENDING = 'ascending';
977
+ /// sorting order or direction from high to low value for numeric, or Z-A for alphabetic.\n{{Identical|Descending}}
978
+ Blockly.Msg.LISTS_SORT_ORDER_DESCENDING = 'descending';
979
+ /// sort by treating each item as a number.
980
+ Blockly.Msg.LISTS_SORT_TYPE_NUMERIC = 'numeric';
981
+ /// sort by treating each item alphabetically, case-sensitive.
982
+ Blockly.Msg.LISTS_SORT_TYPE_TEXT = 'alphabetic';
983
+ /// sort by treating each item alphabetically, ignoring differences in case.
984
+ Blockly.Msg.LISTS_SORT_TYPE_IGNORECASE = 'alphabetic, ignore case';
985
+
986
+ /// url - Information describing splitting text into a list, or joining a list into text.
987
+ Blockly.Msg.LISTS_SPLIT_HELPURL = 'https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists';
988
+ /// dropdown - Indicates that text will be split up into a list (e.g. "a-b-c" -> ["a", "b", "c"]).
989
+ Blockly.Msg.LISTS_SPLIT_LIST_FROM_TEXT = 'make list from text';
990
+ /// dropdown - Indicates that a list will be joined together to form text (e.g. ["a", "b", "c"] -> "a-b-c").
991
+ Blockly.Msg.LISTS_SPLIT_TEXT_FROM_LIST = 'make text from list';
992
+ /// block text - Prompts for a letter to be used as a separator when splitting or joining text.
993
+ Blockly.Msg.LISTS_SPLIT_WITH_DELIMITER = 'with delimiter';
994
+ /// tooltip - See [https://github.com/google/blockly/wiki/Lists#make-list-from-text
995
+ /// https://github.com/google/blockly/wiki/Lists#make-list-from-text] for more information.
996
+ Blockly.Msg.LISTS_SPLIT_TOOLTIP_SPLIT = 'Split text into a list of texts, breaking at each delimiter.';
997
+ /// tooltip - See [https://github.com/google/blockly/wiki/Lists#make-text-from-list
998
+ /// https://github.com/google/blockly/wiki/Lists#make-text-from-list] for more information.
999
+ Blockly.Msg.LISTS_SPLIT_TOOLTIP_JOIN = 'Join a list of texts into one text, separated by a delimiter.';
1000
+
1001
+ /// grammar - Text that follows an ordinal number (a number that indicates
1002
+ /// position relative to other numbers). In most languages, such text appears
1003
+ /// before the number, so this should be blank. An exception is Hungarian.
1004
+ /// See [[Translating:Blockly#Ordinal_numbers]] for more information.
1005
+ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = '';
1006
+
1007
+ // Variables Blocks.
1008
+ /// 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.
1009
+ Blockly.Msg.VARIABLES_GET_HELPURL = 'https://github.com/google/blockly/wiki/Variables#get';
1010
+ /// tooltip - This gets the value of the named variable without modifying it.
1011
+ Blockly.Msg.VARIABLES_GET_TOOLTIP = 'Returns the value of this variable.';
1012
+ /// context menu - Selecting this creates a block to set (change) the value of this variable.
1013
+ /// \n\nParameters:\n* %1 - the name of the variable.
1014
+ Blockly.Msg.VARIABLES_GET_CREATE_SET = 'Create "set %1"';
1015
+
1016
+ /// 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.
1017
+ Blockly.Msg.VARIABLES_SET_HELPURL = 'https://github.com/google/blockly/wiki/Variables#set';
1018
+ /// 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.
1019
+ Blockly.Msg.VARIABLES_SET = 'set %1 to %2';
1020
+ /// tooltip - This initializes or changes the value of the named variable.
1021
+ Blockly.Msg.VARIABLES_SET_TOOLTIP = 'Sets this variable to be equal to the input.';
1022
+ /// context menu - Selecting this creates a block to get (change) the value of
1023
+ /// this variable.\n\nParameters:\n* %1 - the name of the variable.
1024
+ Blockly.Msg.VARIABLES_SET_CREATE_GET = 'Create "get %1"';
1025
+
1026
+ // Procedures Blocks.
1027
+ /// url - Information about defining [https://en.wikipedia.org/wiki/Procedure_(computer_science) functions] that do not have return values.
1028
+ Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL = 'https://en.wikipedia.org/wiki/Procedure_%28computer_science%29';
1029
+ /// block text - This precedes the name of the function when defining it. See
1030
+ /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#c84aoc this sample
1031
+ /// function definition].
1032
+ Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = 'to';
1033
+ /// default name - This acts as a placeholder for the name of a function on a
1034
+ /// function definition block, as shown on
1035
+ /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#w7cfju this block].
1036
+ /// The user will replace it with the function's name.
1037
+ Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = 'do something';
1038
+ /// block text - This precedes the list of parameters on a function's defiition block. See
1039
+ /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#voztpd this sample
1040
+ /// function with parameters].
1041
+ Blockly.Msg.PROCEDURES_BEFORE_PARAMS = 'with:';
1042
+ /// block text - This precedes the list of parameters on a function's caller block. See
1043
+ /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#voztpd this sample
1044
+ /// function with parameters].
1045
+ Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS = 'with:';
1046
+ /// block text - This appears next to the function's "body", the blocks that should be
1047
+ /// run when the function is called, as shown in
1048
+ /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#voztpd this sample
1049
+ /// function definition].
1050
+ Blockly.Msg.PROCEDURES_DEFNORETURN_DO = '';
1051
+ /// tooltip
1052
+ Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = 'Creates a function with no output.';
1053
+ /// Placeholder text that the user is encouraged to replace with a description of what their function does.
1054
+ Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT = 'Describe this function...';
1055
+ /// url - Information about defining [https://en.wikipedia.org/wiki/Procedure_(computer_science) functions] that have return values.
1056
+ Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL = 'https://en.wikipedia.org/wiki/Procedure_%28computer_science%29';
1057
+ Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE;
1058
+ Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE;
1059
+ Blockly.Msg.PROCEDURES_DEFRETURN_DO = Blockly.Msg.PROCEDURES_DEFNORETURN_DO;
1060
+ Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT = Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT;
1061
+ /// block text - This imperative or infinite verb precedes the value that is used as the return value
1062
+ /// (output) of this function. See
1063
+ /// [https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#6ot5y5 this sample
1064
+ /// function that returns a value].
1065
+ Blockly.Msg.PROCEDURES_DEFRETURN_RETURN = 'return';
1066
+ /// tooltip
1067
+ Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = 'Creates a function with an output.';
1068
+ /// Label for a checkbox that controls if statements are allowed in a function.
1069
+ Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS = 'allow statements';
1070
+
1071
+ /// alert - The user has created a function with two parameters that have the same name. Every parameter must have a different name.
1072
+ Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING = 'Warning: This function has duplicate parameters.';
1073
+
1074
+ /// url - Information about calling [https://en.wikipedia.org/wiki/Procedure_(computer_science) functions] that do not return values.
1075
+ Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = 'https://en.wikipedia.org/wiki/Procedure_%28computer_science%29';
1076
+ /// tooltip - This block causes the body (blocks inside) of the named function definition to be run.
1077
+ Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = 'Run the user-defined function "%1".';
1078
+
1079
+ /// url - Information about calling [https://en.wikipedia.org/wiki/Procedure_(computer_science) functions] that return values.
1080
+ Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = 'https://en.wikipedia.org/wiki/Procedure_%28computer_science%29';
1081
+ /// 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.
1082
+ Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = 'Run the user-defined function "%1" and use its output.';
1083
+
1084
+ /// block text - This text appears on a block in a window that appears when the user clicks
1085
+ /// on the plus sign or star on a function definition block. It refers to the set of parameters
1086
+ /// (referred to by the simpler term "inputs") to the function. See
1087
+ /// [[Translating:Blockly#function_definitions]].
1088
+ Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = 'inputs';
1089
+ /// tooltip
1090
+ Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP = 'Add, remove, or reorder inputs to this function.';
1091
+ /// block text - This text appears on a block in a window that appears when the user clicks
1092
+ /// on the plus sign or star on a function definition block]. It appears on the block for
1093
+ /// adding an individual parameter (referred to by the simpler term "inputs") to the function.
1094
+ /// See [[Translating:Blockly#function_definitions]].
1095
+ Blockly.Msg.PROCEDURES_MUTATORARG_TITLE = 'input name:';
1096
+ /// tooltip
1097
+ Blockly.Msg.PROCEDURES_MUTATORARG_TOOLTIP = 'Add an input to the function.';
1098
+
1099
+ /// context menu - This appears on the context menu for function calls. Selecting
1100
+ /// it causes the corresponding function definition to be highlighted (as shown at
1101
+ /// [[Translating:Blockly#context_menus]].
1102
+ Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF = 'Highlight function definition';
1103
+ /// context menu - This appears on the context menu for function definitions.
1104
+ /// Selecting it creates a block to call the function.\n\nParameters:\n* %1 - the name of the function.\n{{Identical|Create}}
1105
+ Blockly.Msg.PROCEDURES_CREATE_DO = 'Create "%1"';
1106
+
1107
+ /// tooltip - If the first value is true, this causes the second value to be returned
1108
+ /// immediately from the enclosing function.
1109
+ Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP = 'If a value is true, then return a second value.';
1110
+ /// url - Information about guard clauses.
1111
+ Blockly.Msg.PROCEDURES_IFRETURN_HELPURL = 'http://c2.com/cgi/wiki?GuardClause';
1112
+ /// warning - This appears if the user tries to use this block outside of a function definition.
1113
+ Blockly.Msg.PROCEDURES_IFRETURN_WARNING = 'Warning: This block may be used only within a function definition.';