2
2
3
3
'use strict' ;
4
4
5
- goog . provide ( 'Blockly.Msg.en' ) ;
6
-
7
- goog . require ( 'Blockly.Msg' ) ;
8
-
9
5
Blockly . Msg [ "ADD_COMMENT" ] = "Add Comment" ;
10
6
Blockly . Msg [ "CANNOT_DELETE_VARIABLE_PROCEDURE" ] = "Can't delete the variable '%1' because it's part of the definition of the function '%2'" ;
11
7
Blockly . Msg [ "CHANGE_VALUE_TITLE" ] = "Change value:" ;
12
8
Blockly . Msg [ "CLEAN_UP" ] = "Clean up Blocks" ;
9
+ Blockly . Msg [ "COLLAPSED_WARNINGS_WARNING" ] = "Collapsed blocks contain warnings." ;
13
10
Blockly . Msg [ "COLLAPSE_ALL" ] = "Collapse Blocks" ;
14
11
Blockly . Msg [ "COLLAPSE_BLOCK" ] = "Collapse Block" ;
15
12
Blockly . Msg [ "COLOUR_BLEND_COLOUR1" ] = "colour 1" ;
16
13
Blockly . Msg [ "COLOUR_BLEND_COLOUR2" ] = "colour 2" ;
17
- Blockly . Msg [ "COLOUR_BLEND_HELPURL" ] = "http ://meyerweb.com/eric/tools/color-blend/" ;
14
+ Blockly . Msg [ "COLOUR_BLEND_HELPURL" ] = "https ://meyerweb.com/eric/tools/color-blend/#:::rgbp " ;
18
15
Blockly . Msg [ "COLOUR_BLEND_RATIO" ] = "ratio" ;
19
16
Blockly . Msg [ "COLOUR_BLEND_TITLE" ] = "blend" ;
20
17
Blockly . Msg [ "COLOUR_BLEND_TOOLTIP" ] = "Blends two colours together with a given ratio (0.0 - 1.0)." ;
@@ -25,7 +22,7 @@ Blockly.Msg["COLOUR_RANDOM_TITLE"] = "random colour";
25
22
Blockly . Msg [ "COLOUR_RANDOM_TOOLTIP" ] = "Choose a colour at random." ;
26
23
Blockly . Msg [ "COLOUR_RGB_BLUE" ] = "blue" ;
27
24
Blockly . Msg [ "COLOUR_RGB_GREEN" ] = "green" ;
28
- Blockly . Msg [ "COLOUR_RGB_HELPURL" ] = "http ://www.december.com/html/spec/colorper .html" ;
25
+ Blockly . Msg [ "COLOUR_RGB_HELPURL" ] = "https ://www.december.com/html/spec/colorpercompact .html" ;
29
26
Blockly . Msg [ "COLOUR_RGB_RED" ] = "red" ;
30
27
Blockly . Msg [ "COLOUR_RGB_TITLE" ] = "colour with" ;
31
28
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." ;
@@ -68,6 +65,7 @@ Blockly.Msg["DELETE_VARIABLE_CONFIRMATION"] = "Delete %1 uses of the '%2' variab
68
65
Blockly . Msg [ "DELETE_X_BLOCKS" ] = "Delete %1 Blocks" ;
69
66
Blockly . Msg [ "DISABLE_BLOCK" ] = "Disable Block" ;
70
67
Blockly . Msg [ "DUPLICATE_BLOCK" ] = "Duplicate" ;
68
+ Blockly . Msg [ "DUPLICATE_COMMENT" ] = "Duplicate Comment" ;
71
69
Blockly . Msg [ "ENABLE_BLOCK" ] = "Enable Block" ;
72
70
Blockly . Msg [ "EXPAND_ALL" ] = "Expand Blocks" ;
73
71
Blockly . Msg [ "EXPAND_BLOCK" ] = "Expand Block" ;
@@ -205,6 +203,9 @@ Blockly.Msg["MATH_ARITHMETIC_TOOLTIP_DIVIDE"] = "Return the quotient of the two
205
203
Blockly . Msg [ "MATH_ARITHMETIC_TOOLTIP_MINUS" ] = "Return the difference of the two numbers." ;
206
204
Blockly . Msg [ "MATH_ARITHMETIC_TOOLTIP_MULTIPLY" ] = "Return the product of the two numbers." ;
207
205
Blockly . Msg [ "MATH_ARITHMETIC_TOOLTIP_POWER" ] = "Return the first number raised to the power of the second number." ;
206
+ Blockly . Msg [ "MATH_ATAN2_HELPURL" ] = "https://en.wikipedia.org/wiki/Atan2" ;
207
+ Blockly . Msg [ "MATH_ATAN2_TITLE" ] = "atan2 of X:%1 Y:%2" ;
208
+ Blockly . Msg [ "MATH_ATAN2_TOOLTIP" ] = "Return the arctangent of point (X, Y) in degrees from -180 to 180." ;
208
209
Blockly . Msg [ "MATH_CHANGE_HELPURL" ] = "https://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter" ;
209
210
Blockly . Msg [ "MATH_CHANGE_TITLE" ] = "change %1 by %2" ;
210
211
Blockly . Msg [ "MATH_CHANGE_TOOLTIP" ] = "Add a number to variable '%1'." ;
@@ -281,8 +282,12 @@ Blockly.Msg["MATH_TRIG_TOOLTIP_ATAN"] = "Return the arctangent of a number.";
281
282
Blockly . Msg [ "MATH_TRIG_TOOLTIP_COS" ] = "Return the cosine of a degree (not radian)." ;
282
283
Blockly . Msg [ "MATH_TRIG_TOOLTIP_SIN" ] = "Return the sine of a degree (not radian)." ;
283
284
Blockly . Msg [ "MATH_TRIG_TOOLTIP_TAN" ] = "Return the tangent of a degree (not radian)." ;
285
+ Blockly . Msg [ "NEW_COLOUR_VARIABLE" ] = "Create colour variable..." ;
286
+ Blockly . Msg [ "NEW_NUMBER_VARIABLE" ] = "Create number variable..." ;
287
+ Blockly . Msg [ "NEW_STRING_VARIABLE" ] = "Create string variable..." ;
284
288
Blockly . Msg [ "NEW_VARIABLE" ] = "Create variable..." ;
285
289
Blockly . Msg [ "NEW_VARIABLE_TITLE" ] = "New variable name:" ;
290
+ Blockly . Msg [ "NEW_VARIABLE_TYPE_TITLE" ] = "New variable type:" ;
286
291
Blockly . Msg [ "ORDINAL_NUMBER_SUFFIX" ] = "" ;
287
292
Blockly . Msg [ "PROCEDURES_ALLOW_STATEMENTS" ] = "allow statements" ;
288
293
Blockly . Msg [ "PROCEDURES_BEFORE_PARAMS" ] = "with:" ;
@@ -310,7 +315,6 @@ Blockly.Msg["PROCEDURES_MUTATORARG_TITLE"] = "input name:";
310
315
Blockly . Msg [ "PROCEDURES_MUTATORARG_TOOLTIP" ] = "Add an input to the function." ;
311
316
Blockly . Msg [ "PROCEDURES_MUTATORCONTAINER_TITLE" ] = "inputs" ;
312
317
Blockly . Msg [ "PROCEDURES_MUTATORCONTAINER_TOOLTIP" ] = "Add, remove, or reorder inputs to this function." ;
313
- Blockly . Msg [ "PROCEDURE_ALREADY_EXISTS" ] = "A procedure named '%1' already exists." ;
314
318
Blockly . Msg [ "REDO" ] = "Redo" ;
315
319
Blockly . Msg [ "REMOVE_COMMENT" ] = "Remove Comment" ;
316
320
Blockly . Msg [ "RENAME_VARIABLE" ] = "Rename variable..." ;
@@ -385,6 +389,7 @@ Blockly.Msg["TEXT_TRIM_OPERATOR_RIGHT"] = "trim spaces from right side of";
385
389
Blockly . Msg [ "TEXT_TRIM_TOOLTIP" ] = "Return a copy of the text with spaces removed from one or both ends." ;
386
390
Blockly . Msg [ "TODAY" ] = "Today" ;
387
391
Blockly . Msg [ "UNDO" ] = "Undo" ;
392
+ Blockly . Msg [ "UNNAMED_KEY" ] = "unnamed" ;
388
393
Blockly . Msg [ "VARIABLES_DEFAULT_NAME" ] = "item" ;
389
394
Blockly . Msg [ "VARIABLES_GET_CREATE_SET" ] = "Create 'set %1'" ;
390
395
Blockly . Msg [ "VARIABLES_GET_HELPURL" ] = "https://github.com/google/blockly/wiki/Variables#get" ;
@@ -394,27 +399,29 @@ Blockly.Msg["VARIABLES_SET_CREATE_GET"] = "Create 'get %1'";
394
399
Blockly . Msg [ "VARIABLES_SET_HELPURL" ] = "https://github.com/google/blockly/wiki/Variables#set" ;
395
400
Blockly . Msg [ "VARIABLES_SET_TOOLTIP" ] = "Sets this variable to be equal to the input." ;
396
401
Blockly . Msg [ "VARIABLE_ALREADY_EXISTS" ] = "A variable named '%1' already exists." ;
397
- Blockly . Msg [ "VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE" ] = "A variable named '%1' already exists for another variable of type '%2'." ;
398
- Blockly . Msg . PROCEDURES_DEFRETURN_TITLE = Blockly . Msg . PROCEDURES_DEFNORETURN_TITLE ;
399
- Blockly . Msg . CONTROLS_IF_IF_TITLE_IF = Blockly . Msg . CONTROLS_IF_MSG_IF ;
400
- Blockly . Msg . CONTROLS_WHILEUNTIL_INPUT_DO = Blockly . Msg . CONTROLS_REPEAT_INPUT_DO ;
401
- Blockly . Msg . CONTROLS_IF_MSG_THEN = Blockly . Msg . CONTROLS_REPEAT_INPUT_DO ;
402
- Blockly . Msg . CONTROLS_IF_ELSE_TITLE_ELSE = Blockly . Msg . CONTROLS_IF_MSG_ELSE ;
403
- Blockly . Msg . PROCEDURES_DEFRETURN_PROCEDURE = Blockly . Msg . PROCEDURES_DEFNORETURN_PROCEDURE ;
404
- Blockly . Msg . LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly . Msg . LISTS_INLIST ;
405
- Blockly . Msg . LISTS_GET_INDEX_INPUT_IN_LIST = Blockly . Msg . LISTS_INLIST ;
406
- Blockly . Msg . MATH_CHANGE_TITLE_ITEM = Blockly . Msg . VARIABLES_DEFAULT_NAME ;
407
- Blockly . Msg . PROCEDURES_DEFRETURN_DO = Blockly . Msg . PROCEDURES_DEFNORETURN_DO ;
408
- Blockly . Msg . CONTROLS_IF_ELSEIF_TITLE_ELSEIF = Blockly . Msg . CONTROLS_IF_MSG_ELSEIF ;
409
- Blockly . Msg . LISTS_GET_INDEX_HELPURL = Blockly . Msg . LISTS_INDEX_OF_HELPURL ;
410
- Blockly . Msg . CONTROLS_FOREACH_INPUT_DO = Blockly . Msg . CONTROLS_REPEAT_INPUT_DO ;
411
- Blockly . Msg . LISTS_SET_INDEX_INPUT_IN_LIST = Blockly . Msg . LISTS_INLIST ;
412
- Blockly . Msg . CONTROLS_FOR_INPUT_DO = Blockly . Msg . CONTROLS_REPEAT_INPUT_DO ;
413
- Blockly . Msg . LISTS_CREATE_WITH_ITEM_TITLE = Blockly . Msg . VARIABLES_DEFAULT_NAME ;
414
- Blockly . Msg . TEXT_APPEND_VARIABLE = Blockly . Msg . VARIABLES_DEFAULT_NAME ;
415
- Blockly . Msg . TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = Blockly . Msg . VARIABLES_DEFAULT_NAME ;
416
- Blockly . Msg . LISTS_INDEX_OF_INPUT_IN_LIST = Blockly . Msg . LISTS_INLIST ;
417
- Blockly . Msg . PROCEDURES_DEFRETURN_COMMENT = Blockly . Msg . PROCEDURES_DEFNORETURN_COMMENT ;
402
+ Blockly . Msg [ "VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE" ] = "A variable named '%1' already exists for another type: '%2'." ;
403
+ Blockly . Msg [ "WORKSPACE_ARIA_LABEL" ] = "Blockly Workspace" ;
404
+ Blockly . Msg [ "WORKSPACE_COMMENT_DEFAULT_TEXT" ] = "Say something..." ;
405
+ Blockly . Msg [ "CONTROLS_FOREACH_INPUT_DO" ] = Blockly . Msg [ "CONTROLS_REPEAT_INPUT_DO" ] ;
406
+ Blockly . Msg [ "CONTROLS_FOR_INPUT_DO" ] = Blockly . Msg [ "CONTROLS_REPEAT_INPUT_DO" ] ;
407
+ Blockly . Msg [ "CONTROLS_IF_ELSEIF_TITLE_ELSEIF" ] = Blockly . Msg [ "CONTROLS_IF_MSG_ELSEIF" ] ;
408
+ Blockly . Msg [ "CONTROLS_IF_ELSE_TITLE_ELSE" ] = Blockly . Msg [ "CONTROLS_IF_MSG_ELSE" ] ;
409
+ Blockly . Msg [ "CONTROLS_IF_IF_TITLE_IF" ] = Blockly . Msg [ "CONTROLS_IF_MSG_IF" ] ;
410
+ Blockly . Msg [ "CONTROLS_IF_MSG_THEN" ] = Blockly . Msg [ "CONTROLS_REPEAT_INPUT_DO" ] ;
411
+ Blockly . Msg [ "CONTROLS_WHILEUNTIL_INPUT_DO" ] = Blockly . Msg [ "CONTROLS_REPEAT_INPUT_DO" ] ;
412
+ Blockly . Msg [ "LISTS_CREATE_WITH_ITEM_TITLE" ] = Blockly . Msg [ "VARIABLES_DEFAULT_NAME" ] ;
413
+ Blockly . Msg [ "LISTS_GET_INDEX_HELPURL" ] = Blockly . Msg [ "LISTS_INDEX_OF_HELPURL" ] ;
414
+ Blockly . Msg [ "LISTS_GET_INDEX_INPUT_IN_LIST" ] = Blockly . Msg [ "LISTS_INLIST" ] ;
415
+ Blockly . Msg [ "LISTS_GET_SUBLIST_INPUT_IN_LIST" ] = Blockly . Msg [ "LISTS_INLIST" ] ;
416
+ Blockly . Msg [ "LISTS_INDEX_OF_INPUT_IN_LIST" ] = Blockly . Msg [ "LISTS_INLIST" ] ;
417
+ Blockly . Msg [ "LISTS_SET_INDEX_INPUT_IN_LIST" ] = Blockly . Msg [ "LISTS_INLIST" ] ;
418
+ Blockly . Msg [ "MATH_CHANGE_TITLE_ITEM" ] = Blockly . Msg [ "VARIABLES_DEFAULT_NAME" ] ;
419
+ Blockly . Msg [ "PROCEDURES_DEFRETURN_COMMENT" ] = Blockly . Msg [ "PROCEDURES_DEFNORETURN_COMMENT" ] ;
420
+ Blockly . Msg [ "PROCEDURES_DEFRETURN_DO" ] = Blockly . Msg [ "PROCEDURES_DEFNORETURN_DO" ] ;
421
+ Blockly . Msg [ "PROCEDURES_DEFRETURN_PROCEDURE" ] = Blockly . Msg [ "PROCEDURES_DEFNORETURN_PROCEDURE" ] ;
422
+ Blockly . Msg [ "PROCEDURES_DEFRETURN_TITLE" ] = Blockly . Msg [ "PROCEDURES_DEFNORETURN_TITLE" ] ;
423
+ Blockly . Msg [ "TEXT_APPEND_VARIABLE" ] = Blockly . Msg [ "VARIABLES_DEFAULT_NAME" ] ;
424
+ Blockly . Msg [ "TEXT_CREATE_JOIN_ITEM_TITLE_ITEM" ] = Blockly . Msg [ "VARIABLES_DEFAULT_NAME" ] ;
418
425
419
426
Blockly . Msg [ "MATH_HUE" ] = "230" ;
420
427
Blockly . Msg [ "LOOPS_HUE" ] = "120" ;
@@ -423,4 +430,5 @@ Blockly.Msg["LOGIC_HUE"] = "210";
423
430
Blockly . Msg [ "VARIABLES_HUE" ] = "330" ;
424
431
Blockly . Msg [ "TEXTS_HUE" ] = "160" ;
425
432
Blockly . Msg [ "PROCEDURES_HUE" ] = "290" ;
426
- Blockly . Msg [ "COLOUR_HUE" ] = "20" ;
433
+ Blockly . Msg [ "COLOUR_HUE" ] = "20" ;
434
+ Blockly . Msg [ "VARIABLES_DYNAMIC_HUE" ] = "310" ;
0 commit comments