22
33'use strict' ;
44
5- goog . provide ( 'Blockly.Msg.en' ) ;
6-
7- goog . require ( 'Blockly.Msg' ) ;
8-
95Blockly . Msg [ "ADD_COMMENT" ] = "Add Comment" ;
106Blockly . Msg [ "CANNOT_DELETE_VARIABLE_PROCEDURE" ] = "Can't delete the variable '%1' because it's part of the definition of the function '%2'" ;
117Blockly . Msg [ "CHANGE_VALUE_TITLE" ] = "Change value:" ;
128Blockly . Msg [ "CLEAN_UP" ] = "Clean up Blocks" ;
9+ Blockly . Msg [ "COLLAPSED_WARNINGS_WARNING" ] = "Collapsed blocks contain warnings." ;
1310Blockly . Msg [ "COLLAPSE_ALL" ] = "Collapse Blocks" ;
1411Blockly . Msg [ "COLLAPSE_BLOCK" ] = "Collapse Block" ;
1512Blockly . Msg [ "COLOUR_BLEND_COLOUR1" ] = "colour 1" ;
1613Blockly . 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 " ;
1815Blockly . Msg [ "COLOUR_BLEND_RATIO" ] = "ratio" ;
1916Blockly . Msg [ "COLOUR_BLEND_TITLE" ] = "blend" ;
2017Blockly . 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";
2522Blockly . Msg [ "COLOUR_RANDOM_TOOLTIP" ] = "Choose a colour at random." ;
2623Blockly . Msg [ "COLOUR_RGB_BLUE" ] = "blue" ;
2724Blockly . 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" ;
2926Blockly . Msg [ "COLOUR_RGB_RED" ] = "red" ;
3027Blockly . Msg [ "COLOUR_RGB_TITLE" ] = "colour with" ;
3128Blockly . 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
6865Blockly . Msg [ "DELETE_X_BLOCKS" ] = "Delete %1 Blocks" ;
6966Blockly . Msg [ "DISABLE_BLOCK" ] = "Disable Block" ;
7067Blockly . Msg [ "DUPLICATE_BLOCK" ] = "Duplicate" ;
68+ Blockly . Msg [ "DUPLICATE_COMMENT" ] = "Duplicate Comment" ;
7169Blockly . Msg [ "ENABLE_BLOCK" ] = "Enable Block" ;
7270Blockly . Msg [ "EXPAND_ALL" ] = "Expand Blocks" ;
7371Blockly . Msg [ "EXPAND_BLOCK" ] = "Expand Block" ;
@@ -205,6 +203,9 @@ Blockly.Msg["MATH_ARITHMETIC_TOOLTIP_DIVIDE"] = "Return the quotient of the two
205203Blockly . Msg [ "MATH_ARITHMETIC_TOOLTIP_MINUS" ] = "Return the difference of the two numbers." ;
206204Blockly . Msg [ "MATH_ARITHMETIC_TOOLTIP_MULTIPLY" ] = "Return the product of the two numbers." ;
207205Blockly . 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." ;
208209Blockly . Msg [ "MATH_CHANGE_HELPURL" ] = "https://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter" ;
209210Blockly . Msg [ "MATH_CHANGE_TITLE" ] = "change %1 by %2" ;
210211Blockly . 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.";
281282Blockly . Msg [ "MATH_TRIG_TOOLTIP_COS" ] = "Return the cosine of a degree (not radian)." ;
282283Blockly . Msg [ "MATH_TRIG_TOOLTIP_SIN" ] = "Return the sine of a degree (not radian)." ;
283284Blockly . 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..." ;
284288Blockly . Msg [ "NEW_VARIABLE" ] = "Create variable..." ;
285289Blockly . Msg [ "NEW_VARIABLE_TITLE" ] = "New variable name:" ;
290+ Blockly . Msg [ "NEW_VARIABLE_TYPE_TITLE" ] = "New variable type:" ;
286291Blockly . Msg [ "ORDINAL_NUMBER_SUFFIX" ] = "" ;
287292Blockly . Msg [ "PROCEDURES_ALLOW_STATEMENTS" ] = "allow statements" ;
288293Blockly . Msg [ "PROCEDURES_BEFORE_PARAMS" ] = "with:" ;
@@ -310,7 +315,6 @@ Blockly.Msg["PROCEDURES_MUTATORARG_TITLE"] = "input name:";
310315Blockly . Msg [ "PROCEDURES_MUTATORARG_TOOLTIP" ] = "Add an input to the function." ;
311316Blockly . Msg [ "PROCEDURES_MUTATORCONTAINER_TITLE" ] = "inputs" ;
312317Blockly . Msg [ "PROCEDURES_MUTATORCONTAINER_TOOLTIP" ] = "Add, remove, or reorder inputs to this function." ;
313- Blockly . Msg [ "PROCEDURE_ALREADY_EXISTS" ] = "A procedure named '%1' already exists." ;
314318Blockly . Msg [ "REDO" ] = "Redo" ;
315319Blockly . Msg [ "REMOVE_COMMENT" ] = "Remove Comment" ;
316320Blockly . Msg [ "RENAME_VARIABLE" ] = "Rename variable..." ;
@@ -385,6 +389,7 @@ Blockly.Msg["TEXT_TRIM_OPERATOR_RIGHT"] = "trim spaces from right side of";
385389Blockly . Msg [ "TEXT_TRIM_TOOLTIP" ] = "Return a copy of the text with spaces removed from one or both ends." ;
386390Blockly . Msg [ "TODAY" ] = "Today" ;
387391Blockly . Msg [ "UNDO" ] = "Undo" ;
392+ Blockly . Msg [ "UNNAMED_KEY" ] = "unnamed" ;
388393Blockly . Msg [ "VARIABLES_DEFAULT_NAME" ] = "item" ;
389394Blockly . Msg [ "VARIABLES_GET_CREATE_SET" ] = "Create 'set %1'" ;
390395Blockly . 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'";
394399Blockly . Msg [ "VARIABLES_SET_HELPURL" ] = "https://github.com/google/blockly/wiki/Variables#set" ;
395400Blockly . Msg [ "VARIABLES_SET_TOOLTIP" ] = "Sets this variable to be equal to the input." ;
396401Blockly . 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" ] ;
418425
419426Blockly . Msg [ "MATH_HUE" ] = "230" ;
420427Blockly . Msg [ "LOOPS_HUE" ] = "120" ;
@@ -423,4 +430,5 @@ Blockly.Msg["LOGIC_HUE"] = "210";
423430Blockly . Msg [ "VARIABLES_HUE" ] = "330" ;
424431Blockly . Msg [ "TEXTS_HUE" ] = "160" ;
425432Blockly . 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