mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-07-28 06:39:19 -04:00
Point context help to GitHub from Google Code.
This commit is contained in:
parent
7122410373
commit
c44c629725
169 changed files with 2143 additions and 2044 deletions
msg
452
msg/messages.js
452
msg/messages.js
|
@ -94,146 +94,146 @@ Blockly.Msg.ME = 'Me';
|
|||
// Variable renaming.
|
||||
/// 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.
|
||||
Blockly.Msg.CHANGE_VALUE_TITLE = 'Change value:';
|
||||
/// dropdown choice - When the user clicks on a variable block, this is one of the dropdown menu choices. It is used to define a new variable. See [https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu].
|
||||
/// dropdown choice - When the user clicks on a variable block, this is one of the dropdown menu choices. It is used to define a new variable. See [https://github.com/google/blockly/wiki/Variables#Dropdown_menu https://github.com/google/blockly/wiki/Variables#Dropdown_menu].
|
||||
Blockly.Msg.NEW_VARIABLE = 'New variable...';
|
||||
/// prompt - Prompts the user to enter the name for a new variable. See [https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu].
|
||||
/// 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].
|
||||
Blockly.Msg.NEW_VARIABLE_TITLE = 'New variable name:';
|
||||
/// 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://code.google.com/p/blockly/wiki/Variables#Dropdown_menu https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu].
|
||||
/// 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].
|
||||
Blockly.Msg.RENAME_VARIABLE = 'Rename variable...';
|
||||
/// prompt - Prompts the user to enter the new name for the selected variable. See [https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu].\n\nParameters:\n* %1 - the name of the variable to be renamed.
|
||||
/// 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.
|
||||
Blockly.Msg.RENAME_VARIABLE_TITLE = 'Rename all "%1" variables to:';
|
||||
|
||||
// Colour Blocks.
|
||||
/// url - Information about colour.
|
||||
Blockly.Msg.COLOUR_PICKER_HELPURL = 'https://en.wikipedia.org/wiki/Color';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Colour#Picking_a_colour_from_a_palette https://code.google.com/p/blockly/wiki/Colour#Picking_a_colour_from_a_palette].
|
||||
/// 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].
|
||||
Blockly.Msg.COLOUR_PICKER_TOOLTIP = 'Choose a colour from the palette.';
|
||||
/// url - A link that displays a random colour each time you visit it.
|
||||
Blockly.Msg.COLOUR_RANDOM_HELPURL = 'http://randomcolour.com';
|
||||
/// block text - Title of block that generates a colour at random.
|
||||
Blockly.Msg.COLOUR_RANDOM_TITLE = 'random colour';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Colour#Generating_a_random_colour https://code.google.com/p/blockly/wiki/Colour#Generating_a_random_colour].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Colour#Generating_a_random_colour https://github.com/google/blockly/wiki/Colour#Generating_a_random_colour].
|
||||
Blockly.Msg.COLOUR_RANDOM_TOOLTIP = 'Choose a colour at random.';
|
||||
/// 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.
|
||||
Blockly.Msg.COLOUR_RGB_HELPURL = 'http://www.december.com/html/spec/colorper.html';
|
||||
/// block text - Title of block for [https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components].
|
||||
/// 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].
|
||||
Blockly.Msg.COLOUR_RGB_TITLE = 'colour with';
|
||||
/// block input text - The amount of red (from 0 to 100) to use when [https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components].\n{{Identical|Red}}
|
||||
/// 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}}
|
||||
Blockly.Msg.COLOUR_RGB_RED = 'red';
|
||||
/// block input text - The amount of green (from 0 to 100) to use when [https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components].
|
||||
/// 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].
|
||||
Blockly.Msg.COLOUR_RGB_GREEN = 'green';
|
||||
/// block input text - The amount of blue (from 0 to 100) to use when [https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components].\n{{Identical|Blue}}
|
||||
/// 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}}
|
||||
Blockly.Msg.COLOUR_RGB_BLUE = 'blue';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components https://code.google.com/p/blockly/wiki/Colour#Creating_a_colour_from_red,_green,_and_blue_components].
|
||||
/// 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].
|
||||
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.';
|
||||
/// url - A useful link that displays blending of two colors.
|
||||
Blockly.Msg.COLOUR_BLEND_HELPURL = 'http://meyerweb.com/eric/tools/color-blend/';
|
||||
/// block text - A verb for blending two shades of paint.
|
||||
Blockly.Msg.COLOUR_BLEND_TITLE = 'blend';
|
||||
/// block input text - The first of two colours to [https://code.google.com/p/blockly/wiki/Colour#Blending_colours blend].
|
||||
/// block input text - The first of two colours to [https://github.com/google/blockly/wiki/Colour#Blending_colours blend].
|
||||
Blockly.Msg.COLOUR_BLEND_COLOUR1 = 'colour 1';
|
||||
/// block input text - The second of two colours to [https://code.google.com/p/blockly/wiki/Colour#Blending_colours blend].
|
||||
/// block input text - The second of two colours to [https://github.com/google/blockly/wiki/Colour#Blending_colours blend].
|
||||
Blockly.Msg.COLOUR_BLEND_COLOUR2 = 'colour 2';
|
||||
/// block input text - The proportion of the [https://code.google.com/p/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.
|
||||
/// 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.
|
||||
Blockly.Msg.COLOUR_BLEND_RATIO = 'ratio';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Colour#Blending_colours https://code.google.com/p/blockly/wiki/Colour#Blending_colours].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Colour#Blending_colours https://github.com/google/blockly/wiki/Colour#Blending_colours].
|
||||
Blockly.Msg.COLOUR_BLEND_TOOLTIP = 'Blends two colours together with a given ratio (0.0 - 1.0).';
|
||||
|
||||
// Loop Blocks.
|
||||
/// 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].
|
||||
Blockly.Msg.CONTROLS_REPEAT_HELPURL = 'https://en.wikipedia.org/wiki/For_loop';
|
||||
/// block input text - Title of [https://code.google.com/p/blockly/wiki/Loops#repeat repeat block].\n\nParameters:\n* %1 - the number of times the body of the loop should be repeated.
|
||||
/// 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.
|
||||
Blockly.Msg.CONTROLS_REPEAT_TITLE = 'repeat %1 times';
|
||||
/// block text - Text preceding the number of repetitions in a [https://code.google.com/p/blockly/wiki/Loops#repeat repeat block].
|
||||
/// block text - Text preceding the number of repetitions in a [https://github.com/google/blockly/wiki/Loops#repeat repeat block].
|
||||
/// (This is redundant with the previous message but is needed to support older code.)
|
||||
Blockly.Msg.CONTROLS_REPEAT_TITLE_REPEAT = 'repeat';
|
||||
/// block text - Text following the number of times a [https://code.google.com/p/blockly/wiki/Loops#repeat repeat loop] should be repeated.
|
||||
/// block text - Text following the number of times a [https://github.com/google/blockly/wiki/Loops#repeat repeat loop] should be repeated.
|
||||
/// (This is redundant but is needed to support older code.)
|
||||
Blockly.Msg.CONTROLS_REPEAT_TITLE_TIMES = 'times';
|
||||
/// block text - Preceding the blocks in the body of the loop. See [https://code.google.com/p/blockly/wiki/Loops https://code.google.com/p/blockly/wiki/Loops].
|
||||
/// 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].
|
||||
Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = 'do';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Loops#repeat https://code.google.com/p/blockly/wiki/Loops#repeat].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Loops#repeat https://github.com/google/blockly/wiki/Loops#repeat].
|
||||
Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = 'Do some statements several times.';
|
||||
/// 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].
|
||||
Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = 'https://code.google.com/p/blockly/wiki/Loops#repeat';
|
||||
Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = 'https://github.com/google/blockly/wiki/Loops#repeat';
|
||||
Blockly.Msg.CONTROLS_WHILEUNTIL_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
|
||||
/// dropdown - Specifies that a loop should [https://code.google.com/p/blockly/wiki/Loops#Repeat_while repeat while] the following condition is true.
|
||||
/// dropdown - Specifies that a loop should [https://github.com/google/blockly/wiki/Loops#Repeat_while repeat while] the following condition is true.
|
||||
Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = 'repeat while';
|
||||
/// dropdown - Specifies that a loop should [https://code.google.com/p/blockly/wiki/Loops#Repeat_until repeat until] the following condition becomes true.
|
||||
/// dropdown - Specifies that a loop should [https://github.com/google/blockly/wiki/Loops#Repeat_until repeat until] the following condition becomes true.
|
||||
Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = 'repeat until';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Loops#repeat_while Loops#repeat_while https://code.google.com/p/blockly/wiki/Loops#repeat_while Loops#repeat_while].
|
||||
/// 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].
|
||||
Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = 'While a value is true, then do some statements.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Loops#repeat_until https://code.google.com/p/blockly/wiki/Loops#repeat_until].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Loops#repeat_until https://github.com/google/blockly/wiki/Loops#repeat_until].
|
||||
Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = 'While a value is false, then do some statements.';
|
||||
|
||||
/// 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.
|
||||
Blockly.Msg.CONTROLS_FOR_HELPURL = 'https://code.google.com/p/blockly/wiki/Loops#count_with';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Loops#count_with https://code.google.com/p/blockly/wiki/Loops#count_with].\n\nParameters:\n* %1 - the name of the loop variable.
|
||||
Blockly.Msg.CONTROLS_FOR_HELPURL = 'https://github.com/google/blockly/wiki/Loops#count_with';
|
||||
/// 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.
|
||||
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.';
|
||||
/// block title - Title of [https://code.google.com/p/blockly/wiki/Loops#count_with count with] blocks.
|
||||
/// block title - Title of [https://github.com/google/blockly/wiki/Loops#count_with count with] blocks.
|
||||
/// [[File:Blockly-count-with.png]]
|
||||
Blockly.Msg.CONTROLS_FOR_INPUT_WITH = 'count with';
|
||||
/// block text - Starting with a (usually lower) number in a range (%1),
|
||||
/// ending with a (usually higher) number in a range (%2), and counting the
|
||||
/// iterations by a number of steps (%3). As in
|
||||
/// [https://code.google.com/p/blockly/wiki/Loops#count_with
|
||||
/// https://code.google.com/p/blockly/wiki/Loops#count_with].
|
||||
/// [https://github.com/google/blockly/wiki/Loops#count_with
|
||||
/// https://github.com/google/blockly/wiki/Loops#count_with].
|
||||
/// [[File:Blockly-count-with.png]]
|
||||
Blockly.Msg.CONTROLS_FOR_INPUT_FROM_TO_BY = 'from %1 to %2 by %3';
|
||||
Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
|
||||
|
||||
/// 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.
|
||||
Blockly.Msg.CONTROLS_FOREACH_HELPURL = 'https://code.google.com/p/blockly/wiki/Loops#for_each for each block';
|
||||
/// block text - Title of [https://code.google.com/p/blockly/wiki/Loops#for_each for each block].
|
||||
Blockly.Msg.CONTROLS_FOREACH_HELPURL = 'https://github.com/google/blockly/wiki/Loops#for_each for each block';
|
||||
/// block text - Title of [https://github.com/google/blockly/wiki/Loops#for_each for each block].
|
||||
Blockly.Msg.CONTROLS_FOREACH_INPUT_ITEM = 'for each item';
|
||||
/// block text - Preceding the list that should be iterated over in a [https://code.google.com/p/blockly/wiki/Loops#for_each for each loop].
|
||||
/// block text - Preceding the list that should be iterated over in a [https://github.com/google/blockly/wiki/Loops#for_each for each loop].
|
||||
Blockly.Msg.CONTROLS_FOREACH_INPUT_INLIST = 'in list';
|
||||
/// block text - Following the list that should be iterated over in a [https://code.google.com/p/blockly/wiki/Loops#for_each for each loop]. This is empty in most, but not all, languages.
|
||||
/// block text - Following the list that should be iterated over in a [https://github.com/google/blockly/wiki/Loops#for_each for each loop]. This is empty in most, but not all, languages.
|
||||
Blockly.Msg.CONTROLS_FOREACH_INPUT_INLIST_TAIL = '';
|
||||
Blockly.Msg.CONTROLS_FOREACH_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
|
||||
/// block text - Description of [https://code.google.com/p/blockly/wiki/Loops#for_each for each blocks].\n\nParameters:\n* %1 - the name of the loop variable.
|
||||
/// 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.
|
||||
Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = 'For each item in a list, set the variable "%1" to the item, and then do some statements.';
|
||||
|
||||
/// 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.
|
||||
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = 'https://code.google.com/p/blockly/wiki/Loops#Loop_Termination_Blocks';
|
||||
/// dropdown - The current loop should be exited. See [https://code.google.com/p/blockly/wiki/Loops#break https://code.google.com/p/blockly/wiki/Loops#break].
|
||||
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = 'https://github.com/google/blockly/wiki/Loops#Loop_Termination_Blocks';
|
||||
/// dropdown - The current loop should be exited. See [https://github.com/google/blockly/wiki/Loops#break https://github.com/google/blockly/wiki/Loops#break].
|
||||
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = 'break out of loop';
|
||||
/// dropdown - The current iteration of the loop should be ended and the next should begin. See [https://code.google.com/p/blockly/wiki/Loops#continue_with_next_iteration https://code.google.com/p/blockly/wiki/Loops#continue_with_next_iteration].
|
||||
/// 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].
|
||||
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = 'continue with next iteration of loop';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Loops#break_out_of_loop https://code.google.com/p/blockly/wiki/Loops#break_out_of_loop].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Loops#break_out_of_loop https://github.com/google/blockly/wiki/Loops#break_out_of_loop].
|
||||
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = 'Break out of the containing loop.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Loops#continue_with_next_iteration https://code.google.com/p/blockly/wiki/Loops#continue_with_next_iteration].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Loops#continue_with_next_iteration https://github.com/google/blockly/wiki/Loops#continue_with_next_iteration].
|
||||
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = 'Skip the rest of this loop, and continue with the next iteration.';
|
||||
/// 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://code.google.com/p/blockly/wiki/Loops#Loop_Termination_Blocks https://code.google.com/p/blockly/wiki/Loops#Loop_Termination_Blocks].
|
||||
/// 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].
|
||||
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = 'Warning: This block may only be used within a loop.';
|
||||
|
||||
// Logic Blocks.
|
||||
/// 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.
|
||||
Blockly.Msg.CONTROLS_IF_HELPURL = 'https://code.google.com/p/blockly/wiki/If_Then';
|
||||
/// tooltip - Describes [https://code.google.com/p/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.
|
||||
Blockly.Msg.CONTROLS_IF_HELPURL = 'https://github.com/google/blockly/wiki/If_Then';
|
||||
/// 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.
|
||||
Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = 'If a value is true, then do some statements.';
|
||||
/// tooltip - Describes [https://code.google.com/p/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.
|
||||
/// 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.
|
||||
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.';
|
||||
/// tooltip - Describes [https://code.google.com/p/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.
|
||||
/// 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.
|
||||
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.';
|
||||
/// tooltip - Describes [https://code.google.com/p/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.
|
||||
/// 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.
|
||||
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.';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/IfElse https://code.google.com/p/blockly/wiki/IfElse].
|
||||
/// block text - See [https://github.com/google/blockly/wiki/IfElse https://github.com/google/blockly/wiki/IfElse].
|
||||
/// It is recommended, but not essential, that this have text in common with the translation of 'else if'
|
||||
Blockly.Msg.CONTROLS_IF_MSG_IF = 'if';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/IfElse https://code.google.com/p/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.
|
||||
/// 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.
|
||||
Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = 'else if';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/IfElse https://code.google.com/p/blockly/wiki/IfElse]. The English word "otherwise" would probably be superior to "else", but the latter is used because it is traditional and shorter.
|
||||
/// 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.
|
||||
Blockly.Msg.CONTROLS_IF_MSG_ELSE = 'else';
|
||||
Blockly.Msg.CONTROLS_IF_MSG_THEN = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
|
||||
Blockly.Msg.CONTROLS_IF_IF_TITLE_IF = Blockly.Msg.CONTROLS_IF_MSG_IF;
|
||||
/// tooltip - Describes [https://code.google.com/p/blockly/wiki/IfElse#Block_Modification if block modification].
|
||||
/// tooltip - Describes [https://github.com/google/blockly/wiki/IfElse#Block_Modification if block modification].
|
||||
Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this if block.';
|
||||
Blockly.Msg.CONTROLS_IF_ELSEIF_TITLE_ELSEIF = Blockly.Msg.CONTROLS_IF_MSG_ELSEIF;
|
||||
/// tooltip - Describes the 'else if' subblock during [https://code.google.com/p/blockly/wiki/IfElse#Block_Modification if block modification].
|
||||
/// tooltip - Describes the 'else if' subblock during [https://github.com/google/blockly/wiki/IfElse#Block_Modification if block modification].
|
||||
Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = 'Add a condition to the if block.';
|
||||
Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE;
|
||||
/// tooltip - Describes the 'else' subblock during [https://code.google.com/p/blockly/wiki/IfElse#Block_Modification if block modification].
|
||||
/// tooltip - Describes the 'else' subblock during [https://github.com/google/blockly/wiki/IfElse#Block_Modification if block modification].
|
||||
Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = 'Add a final, catch-all condition to the if block.';
|
||||
|
||||
/// url - Information about comparisons.
|
||||
|
@ -252,7 +252,7 @@ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = 'Return true if the first input is greate
|
|||
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = 'Return true if the first input is greater than or equal to the second input.';
|
||||
|
||||
/// 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.
|
||||
Blockly.Msg.LOGIC_OPERATION_HELPURL = 'https://code.google.com/p/blockly/wiki/And_Or';
|
||||
Blockly.Msg.LOGIC_OPERATION_HELPURL = 'https://github.com/google/blockly/wiki/And_Or';
|
||||
/// tooltip - See [https://en.wikipedia.org/wiki/Logical_conjunction https://en.wikipedia.org/wiki/Logical_conjunction].
|
||||
Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = 'Return true if both inputs are true.';
|
||||
/// block text - See [https://en.wikipedia.org/wiki/Logical_conjunction https://en.wikipedia.org/wiki/Logical_conjunction].
|
||||
|
@ -271,7 +271,7 @@ Blockly.Msg.LOGIC_NEGATE_TITLE = 'not %1';
|
|||
Blockly.Msg.LOGIC_NEGATE_TOOLTIP = 'Returns true if the input is false. Returns false if the input is true.';
|
||||
|
||||
/// 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.
|
||||
Blockly.Msg.LOGIC_BOOLEAN_HELPURL = 'https://code.google.com/p/blockly/wiki/True_False';
|
||||
Blockly.Msg.LOGIC_BOOLEAN_HELPURL = 'https://github.com/google/blockly/wiki/True_False';
|
||||
/// block text - The word for the [https://en.wikipedia.org/wiki/Truth_value logical value] ''true''.
|
||||
Blockly.Msg.LOGIC_BOOLEAN_TRUE = 'true';
|
||||
/// block text - The word for the [https://en.wikipedia.org/wiki/Truth_value logical value] ''false''.
|
||||
|
@ -499,26 +499,26 @@ Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = 'Return a random fraction between 0.0 (i
|
|||
// Text Blocks.
|
||||
/// url - Information about how computers represent text (sometimes referred to as ''string''s).
|
||||
Blockly.Msg.TEXT_TEXT_HELPURL = 'https://en.wikipedia.org/wiki/String_(computer_science)';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Introduction https://code.google.com/p/blockly/wiki/Text#Introduction].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Text#Introduction https://github.com/google/blockly/wiki/Text#Introduction].
|
||||
Blockly.Msg.TEXT_TEXT_TOOLTIP = 'A letter, word, or line of text.';
|
||||
|
||||
/// url - Information on concatenating/appending pieces of text.
|
||||
Blockly.Msg.TEXT_JOIN_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Text_creation';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Text#Text_creation https://code.google.com/p/blockly/wiki/Text#Text_creation].
|
||||
Blockly.Msg.TEXT_JOIN_HELPURL = 'https://github.com/google/blockly/wiki/Text#Text_creation';
|
||||
/// block text - See [https://github.com/google/blockly/wiki/Text#Text_creation https://github.com/google/blockly/wiki/Text#Text_creation].
|
||||
Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = 'create text with';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Text_creation create text with] for more information.
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Text#Text_creation create text with] for more information.
|
||||
Blockly.Msg.TEXT_JOIN_TOOLTIP = 'Create a piece of text by joining together any number of items.';
|
||||
|
||||
/// block text - This is shown when the programmer wants to change the number of pieces of text being joined together. See [https://code.google.com/p/blockly/wiki/Text#Text_creation https://code.google.com/p/blockly/wiki/Text#Text_creation], specifically the last picture in the 'Text creation' section.
|
||||
/// 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.
|
||||
Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = 'join';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Text_creation https://code.google.com/p/blockly/wiki/Text#Text_creation], specifically the last picture in the 'Text creation' section.
|
||||
/// 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.
|
||||
Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this text block.';
|
||||
Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Text#Text_creation https://code.google.com/p/blockly/wiki/Text#Text_creation], specifically the last picture in the 'Text creation' section.
|
||||
/// 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.
|
||||
Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = 'Add an item to the text.';
|
||||
|
||||
/// 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]).
|
||||
Blockly.Msg.TEXT_APPEND_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Text_modification';
|
||||
Blockly.Msg.TEXT_APPEND_HELPURL = 'https://github.com/google/blockly/wiki/Text#Text_modification';
|
||||
/// block input text - Message preceding the name of a variable to which text should be appended.
|
||||
/// [[File:blockly-append-text.png]]
|
||||
Blockly.Msg.TEXT_APPEND_TO = 'to';
|
||||
|
@ -527,40 +527,40 @@ Blockly.Msg.TEXT_APPEND_TO = 'to';
|
|||
/// [[File:blockly-append-text.png]]
|
||||
Blockly.Msg.TEXT_APPEND_APPENDTEXT = 'append text';
|
||||
Blockly.Msg.TEXT_APPEND_VARIABLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Text_modification https://code.google.com/p/blockly/wiki/Text#Text_modification] for more information.\n\nParameters:\n* %1 - the name of the variable to which text should be appended
|
||||
/// 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
|
||||
Blockly.Msg.TEXT_APPEND_TOOLTIP = 'Append some text to variable "%1".';
|
||||
|
||||
/// url - Information about text on computers (usually referred to as 'strings').
|
||||
Blockly.Msg.TEXT_LENGTH_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Text_modification';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Text#Text_length https://code.google.com/p/blockly/wiki/Text#Text_length].
|
||||
Blockly.Msg.TEXT_LENGTH_HELPURL = 'https://github.com/google/blockly/wiki/Text#Text_modification';
|
||||
/// block text - See [https://github.com/google/blockly/wiki/Text#Text_length https://github.com/google/blockly/wiki/Text#Text_length].
|
||||
/// \n\nParameters:\n* %1 - the piece of text to take the length of
|
||||
Blockly.Msg.TEXT_LENGTH_TITLE = 'length of %1';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Text_length https://code.google.com/p/blockly/wiki/Text#Text_length].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Text#Text_length https://github.com/google/blockly/wiki/Text#Text_length].
|
||||
Blockly.Msg.TEXT_LENGTH_TOOLTIP = 'Returns the number of letters (including spaces) in the provided text.';
|
||||
|
||||
/// url - Information about empty pieces of text on computers (usually referred to as 'empty strings').
|
||||
Blockly.Msg.TEXT_ISEMPTY_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Checking_for_empty_text';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Text#Checking_for_empty_text https://code.google.com/p/blockly/wiki/Text#Checking_for_empty_text].
|
||||
Blockly.Msg.TEXT_ISEMPTY_HELPURL = 'https://github.com/google/blockly/wiki/Text#Checking_for_empty_text';
|
||||
/// 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].
|
||||
/// \n\nParameters:\n* %1 - the piece of text to test for emptiness
|
||||
Blockly.Msg.TEXT_ISEMPTY_TITLE = '%1 is empty';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Checking_for_empty_text https://code.google.com/p/blockly/wiki/Text#Checking_for_empty_text].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Text#Checking_for_empty_text https://github.com/google/blockly/wiki/Text#Checking_for_empty_text].
|
||||
Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = 'Returns true if the provided text is empty.';
|
||||
|
||||
/// url - Information about finding a character in a piece of text.
|
||||
Blockly.Msg.TEXT_INDEXOF_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Finding_text';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Finding_text https://code.google.com/p/blockly/wiki/Text#Finding_text].
|
||||
Blockly.Msg.TEXT_INDEXOF_HELPURL = 'https://github.com/google/blockly/wiki/Text#Finding_text';
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Text#Finding_text https://github.com/google/blockly/wiki/Text#Finding_text].
|
||||
Blockly.Msg.TEXT_INDEXOF_TOOLTIP = 'Returns the index of the first/last occurrence of first text in the second text. Returns 0 if text is not found.';
|
||||
/// block text - Title of blocks allowing users to find text. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Finding_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Finding_text].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Finding_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Finding_text].
|
||||
/// [[File:Blockly-find-text.png]].
|
||||
Blockly.Msg.TEXT_INDEXOF_INPUT_INTEXT = 'in text';
|
||||
/// dropdown - See [https://code.google.com/p/blockly/wiki/Text#Finding_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Finding_text].
|
||||
/// dropdown - See [https://github.com/google/blockly/wiki/Text#Finding_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Finding_text].
|
||||
/// [[File:Blockly-find-text.png]].
|
||||
Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = 'find first occurrence of text';
|
||||
/// dropdown - See [https://code.google.com/p/blockly/wiki/Text#Finding_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Finding_text]. This would
|
||||
/// dropdown - See [https://github.com/google/blockly/wiki/Text#Finding_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Finding_text]. This would
|
||||
/// replace "find first occurrence of text" below. (For more information on
|
||||
/// how common text is factored out of dropdown menus, see
|
||||
/// [https://translatewiki.net/wiki/Translating:Blockly#Drop-Down_Menus
|
||||
|
@ -568,47 +568,47 @@ Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = 'find first occurrence of text';
|
|||
/// [[File:Blockly-find-text.png]].
|
||||
Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = 'find last occurrence of text';
|
||||
/// block text - Optional text to follow the rightmost block in a
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Finding_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Finding_text in text ... find block]
|
||||
/// [https://github.com/google/blockly/wiki/Text#Finding_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Finding_text in text ... find block]
|
||||
/// (after the "a" in the below picture). This will be the empty string in most languages.
|
||||
/// [[File:Blockly-find-text.png]].
|
||||
Blockly.Msg.TEXT_INDEXOF_TAIL = '';
|
||||
|
||||
/// url - Information about extracting characters (letters, number, symbols, etc.) from text.
|
||||
Blockly.Msg.TEXT_CHARAT_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Extracting_text';
|
||||
Blockly.Msg.TEXT_CHARAT_HELPURL = 'https://github.com/google/blockly/wiki/Text#Extracting_text';
|
||||
/// block text - Appears before the piece of text from which a letter (or number,
|
||||
/// punctuation character, etc.) should be extracted, as shown below. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [[File:Blockly-text-get.png]]
|
||||
Blockly.Msg.TEXT_CHARAT_INPUT_INTEXT = 'in text';
|
||||
/// dropdown - Indicates that the letter (or number, punctuation character, etc.) with the
|
||||
/// specified index should be obtained from the preceding piece of text. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [[File:Blockly-text-get.png]]
|
||||
Blockly.Msg.TEXT_CHARAT_FROM_START = 'get letter #';
|
||||
/// block text - Indicates that the letter (or number, punctuation character, etc.) with the
|
||||
/// specified index from the end of a given piece of text should be obtained. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [[File:Blockly-text-get.png]]
|
||||
Blockly.Msg.TEXT_CHARAT_FROM_END = 'get letter # from end';
|
||||
/// block text - Indicates that the first letter of the following piece of text should be
|
||||
/// retrieved. See [https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// retrieved. See [https://github.com/google/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [[File:Blockly-text-get.png]]
|
||||
Blockly.Msg.TEXT_CHARAT_FIRST = 'get first letter';
|
||||
/// block text - Indicates that the last letter (or number, punctuation mark, etc.) of the
|
||||
/// following piece of text should be retrieved. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [[File:Blockly-text-get.png]]
|
||||
Blockly.Msg.TEXT_CHARAT_LAST = 'get last letter';
|
||||
/// block text - Indicates that any letter (or number, punctuation mark, etc.) in the
|
||||
/// following piece of text should be randomly selected. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [[File:Blockly-text-get.png]]
|
||||
Blockly.Msg.TEXT_CHARAT_RANDOM = 'get random letter';
|
||||
/// block text - Text that goes after the rightmost block/dropdown when getting a single letter from
|
||||
|
@ -616,30 +616,30 @@ Blockly.Msg.TEXT_CHARAT_RANDOM = 'get random letter';
|
|||
/// blocks] or shown below. For most languages, this will be blank.
|
||||
/// [[File:Blockly-text-get.png]]
|
||||
Blockly.Msg.TEXT_CHARAT_TAIL = '';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Text#Extracting_a_single_character
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_single_character].
|
||||
/// [[File:Blockly-text-get.png]]
|
||||
Blockly.Msg.TEXT_CHARAT_TOOLTIP = 'Returns the letter at the specified position.';
|
||||
|
||||
/// See [https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// See [https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP = 'Returns a specified portion of the text.';
|
||||
/// url - Information about extracting characters from text. Reminder: urls are the
|
||||
/// lowest priority translations. Feel free to skip.
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text';
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = 'https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text';
|
||||
/// block text - Precedes a piece of text from which a portion should be extracted.
|
||||
/// [[File:Blockly-get-substring.png]]
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT = 'in text';
|
||||
/// dropdown - Indicates that the following number specifies the position (relative to the start
|
||||
/// position) of the beginning of the region of text that should be obtained from the preceding
|
||||
/// piece of text. See [https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// piece of text. See [https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// [[File:Blockly-get-substring.png]]
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = 'get substring from letter #';
|
||||
/// dropdown - Indicates that the following number specifies the position (relative to the end
|
||||
/// position) of the beginning of the region of text that should be obtained from the preceding
|
||||
/// piece of text. See [https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// piece of text. See [https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// Note: If {{msg-Blockly|ORDINAL_NUMBER_SUFFIX}} is defined, it will
|
||||
/// automatically appear ''after'' this and any other
|
||||
/// [https://translatewiki.net/wiki/Translating:Blockly#Ordinal_numbers ordinal numbers]
|
||||
|
@ -648,292 +648,292 @@ Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = 'get substring from letter #';
|
|||
Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END = 'get substring from letter # from end';
|
||||
/// block text - Indicates that a region starting with the first letter of the preceding piece
|
||||
/// of text should be extracted. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// [[File:Blockly-get-substring.png]]
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST = 'get substring from first letter';
|
||||
/// dropdown - Indicates that the following number specifies the position (relative to
|
||||
/// the start position) of the end of the region of text that should be obtained from the
|
||||
/// preceding piece of text. See [
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// [[File:Blockly-get-substring.png]]
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START = 'to letter #';
|
||||
/// dropdown - Indicates that the following number specifies the position (relative to the
|
||||
/// end position) of the end of the region of text that should be obtained from the preceding
|
||||
/// piece of text. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// [[File:Blockly-get-substring.png]]
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END = 'to letter # from end';
|
||||
/// block text - Indicates that a region ending with the last letter of the preceding piece
|
||||
/// of text should be extracted. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text].
|
||||
/// [[File:Blockly-get-substring.png]]
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST = 'to last letter';
|
||||
/// block text - Text that should go after the rightmost block/dropdown when
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// [https://github.com/google/blockly/wiki/Text#Extracting_a_region_of_text
|
||||
/// extracting a region of text]. In most languages, this will be the empty string.
|
||||
/// [[File:Blockly-get-substring.png]]
|
||||
Blockly.Msg.TEXT_GET_SUBSTRING_TAIL = '';
|
||||
|
||||
/// url - Information about the case of letters (upper-case and lower-case).
|
||||
Blockly.Msg.TEXT_CHANGECASE_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Adjusting_text_case'
|
||||
Blockly.Msg.TEXT_CHANGECASE_HELPURL = 'https://github.com/google/blockly/wiki/Text#Adjusting_text_case'
|
||||
/// tooltip - Describes a block to adjust the case of letters. For more information on this block,
|
||||
/// see [https://code.google.com/p/blockly/wiki/Text#Adjusting_text_case
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Adjusting_text_case].
|
||||
/// see [https://github.com/google/blockly/wiki/Text#Adjusting_text_case
|
||||
/// https://github.com/google/blockly/wiki/Text#Adjusting_text_case].
|
||||
Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = 'Return a copy of the text in a different case.';
|
||||
/// block text - Indicates that all of the letters in the following piece of text should be
|
||||
/// capitalized. 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://code.google.com/p/blockly/wiki/Text#Adjusting_text_case
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Adjusting_text_case].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Adjusting_text_case
|
||||
/// https://github.com/google/blockly/wiki/Text#Adjusting_text_case].
|
||||
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = 'to UPPER CASE';
|
||||
/// 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://code.google.com/p/blockly/wiki/Text#Adjusting_text_case https://code.google.com/p/blockly/wiki/Text#Adjusting_text_case].
|
||||
/// 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].
|
||||
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = 'to lower case';
|
||||
/// 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://code.google.com/p/blockly/wiki/Text#Adjusting_text_case https://code.google.com/p/blockly/wiki/Text#Adjusting_text_case].
|
||||
/// 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].
|
||||
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = 'to Title Case';
|
||||
|
||||
/// url - Information about trimming (removing) text off the beginning and ends of pieces of text.
|
||||
Blockly.Msg.TEXT_TRIM_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Trimming_%28removing%29_spaces';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Trimming_(removing)_spaces
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Trimming_(removing)_spaces].
|
||||
Blockly.Msg.TEXT_TRIM_HELPURL = 'https://github.com/google/blockly/wiki/Text#Trimming_%28removing%29_spaces';
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Text#Trimming_(removing)_spaces
|
||||
/// https://github.com/google/blockly/wiki/Text#Trimming_(removing)_spaces].
|
||||
Blockly.Msg.TEXT_TRIM_TOOLTIP = 'Return a copy of the text with spaces removed from one or both ends.';
|
||||
/// dropdown - Removes spaces from the beginning and end of a piece of text. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Trimming_(removing)_spaces
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Trimming_(removing)_spaces]. Note that neither
|
||||
/// [https://github.com/google/blockly/wiki/Text#Trimming_(removing)_spaces
|
||||
/// https://github.com/google/blockly/wiki/Text#Trimming_(removing)_spaces]. Note that neither
|
||||
/// this nor the other options modify the original piece of text (that follows);
|
||||
/// the block just returns a version of the text without the specified spaces.
|
||||
Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = 'trim spaces from both sides of';
|
||||
/// dropdown - Removes spaces from the beginning of a piece of text. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Trimming_(removing)_spaces
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Trimming_(removing)_spaces].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Trimming_(removing)_spaces
|
||||
/// https://github.com/google/blockly/wiki/Text#Trimming_(removing)_spaces].
|
||||
/// Note that in right-to-left scripts, this will remove spaces from the right side.
|
||||
Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = 'trim spaces from left side of';
|
||||
/// dropdown - Removes spaces from the end of a piece of text. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Trimming_(removing)_spaces
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Trimming_(removing)_spaces].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Trimming_(removing)_spaces
|
||||
/// https://github.com/google/blockly/wiki/Text#Trimming_(removing)_spaces].
|
||||
/// Note that in right-to-left scripts, this will remove spaces from the left side.
|
||||
Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = 'trim spaces from right side of';
|
||||
|
||||
/// url - Information about displaying text on computers.
|
||||
Blockly.Msg.TEXT_PRINT_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Printing_text';
|
||||
Blockly.Msg.TEXT_PRINT_HELPURL = 'https://github.com/google/blockly/wiki/Text#Printing_text';
|
||||
/// block text - Display the input on the screen. See
|
||||
/// [https://code.google.com/p/blockly/wiki/Text#Printing_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Printing_text].
|
||||
/// [https://github.com/google/blockly/wiki/Text#Printing_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Printing_text].
|
||||
/// \n\nParameters:\n* %1 - the value to print
|
||||
Blockly.Msg.TEXT_PRINT_TITLE = 'print %1';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Text#Printing_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Printing_text].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Text#Printing_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Printing_text].
|
||||
Blockly.Msg.TEXT_PRINT_TOOLTIP = 'Print the specified text, number or other value.';
|
||||
/// url - Information about getting text from users.
|
||||
Blockly.Msg.TEXT_PROMPT_HELPURL = 'https://code.google.com/p/blockly/wiki/Text#Getting_input_from_the_user';
|
||||
Blockly.Msg.TEXT_PROMPT_HELPURL = 'https://github.com/google/blockly/wiki/Text#Getting_input_from_the_user';
|
||||
/// dropdown - Specifies that a piece of text should be requested from the user with
|
||||
/// the following message. See [https://code.google.com/p/blockly/wiki/Text#Printing_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Printing_text].
|
||||
/// the following message. See [https://github.com/google/blockly/wiki/Text#Printing_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Printing_text].
|
||||
Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = 'prompt for text with message';
|
||||
/// dropdown - Specifies that a number should be requested from the user with the
|
||||
/// following message. See [https://code.google.com/p/blockly/wiki/Text#Printing_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Printing_text].
|
||||
/// following message. See [https://github.com/google/blockly/wiki/Text#Printing_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Printing_text].
|
||||
Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = 'prompt for number with message';
|
||||
/// dropdown - Precedes the message with which the user should be prompted for
|
||||
/// a number. See [https://code.google.com/p/blockly/wiki/Text#Printing_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Printing_text].
|
||||
/// a number. See [https://github.com/google/blockly/wiki/Text#Printing_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Printing_text].
|
||||
Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = 'Prompt for user for a number.';
|
||||
/// dropdown - Precedes the message with which the user should be prompted for some text.
|
||||
/// See [https://code.google.com/p/blockly/wiki/Text#Printing_text
|
||||
/// https://code.google.com/p/blockly/wiki/Text#Printing_text].
|
||||
/// See [https://github.com/google/blockly/wiki/Text#Printing_text
|
||||
/// https://github.com/google/blockly/wiki/Text#Printing_text].
|
||||
Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = 'Prompt for user for some text.';
|
||||
|
||||
// Lists Blocks.
|
||||
/// url - Information on empty lists.
|
||||
Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = 'https://en.wikipedia.org/wiki/Linked_list#Empty_lists';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Lists#create_empty_list https://code.google.com/p/blockly/wiki/Lists#create_empty_list].
|
||||
/// block text - See [https://github.com/google/blockly/wiki/Lists#create_empty_list https://github.com/google/blockly/wiki/Lists#create_empty_list].
|
||||
Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = 'create empty list';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Lists#create_empty_list https://code.google.com/p/blockly/wiki/Lists#create_empty_list].
|
||||
/// block text - See [https://github.com/google/blockly/wiki/Lists#create_empty_list https://github.com/google/blockly/wiki/Lists#create_empty_list].
|
||||
Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = 'Returns a list, of length 0, containing no data records';
|
||||
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#create_list_with https://code.google.com/p/blockly/wiki/Lists#create_list_with].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Lists#create_list_with https://github.com/google/blockly/wiki/Lists#create_list_with].
|
||||
Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = 'Create a list with any number of items.';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Lists#create_list_with https://code.google.com/p/blockly/wiki/Lists#create_list_with].
|
||||
/// block text - See [https://github.com/google/blockly/wiki/Lists#create_list_with https://github.com/google/blockly/wiki/Lists#create_list_with].
|
||||
Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = 'create list with';
|
||||
/// block text - This appears in a sub-block when [https://code.google.com/p/blockly/wiki/Lists#changing_number_of_inputs changing the number of inputs in a ''''create list with'''' block].
|
||||
/// 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].
|
||||
Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = 'list';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#changing_number_of_inputs https://code.google.com/p/blockly/wiki/Lists#changing_number_of_inputs].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Lists#changing_number_of_inputs https://github.com/google/blockly/wiki/Lists#changing_number_of_inputs].
|
||||
Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this list block.';
|
||||
Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#changing_number_of_inputs https://code.google.com/p/blockly/wiki/Lists#changing_number_of_inputs].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Lists#changing_number_of_inputs https://github.com/google/blockly/wiki/Lists#changing_number_of_inputs].
|
||||
Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = 'Add an item to the list.';
|
||||
|
||||
/// url - Information about [https://code.google.com/p/blockly/wiki/Lists#create_list_with creating a list with multiple copies of a single item].
|
||||
Blockly.Msg.LISTS_REPEAT_HELPURL = 'https://code.google.com/p/blockly/wiki/Lists#create_list_with';
|
||||
/// url - See [https://code.google.com/p/blockly/wiki/Lists#create_list_with creating a list with multiple copies of a single item].
|
||||
/// url - Information about [https://github.com/google/blockly/wiki/Lists#create_list_with creating a list with multiple copies of a single item].
|
||||
Blockly.Msg.LISTS_REPEAT_HELPURL = 'https://github.com/google/blockly/wiki/Lists#create_list_with';
|
||||
/// url - See [https://github.com/google/blockly/wiki/Lists#create_list_with creating a list with multiple copies of a single item].
|
||||
Blockly.Msg.LISTS_REPEAT_TOOLTIP = 'Creates a list consisting of the given value repeated the specified number of times.';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Lists#create_list_with
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#create_list_with].
|
||||
/// block text - See [https://github.com/google/blockly/wiki/Lists#create_list_with
|
||||
/// https://github.com/google/blockly/wiki/Lists#create_list_with].
|
||||
///\n\nParameters:\n* %1 - the item (text) to be repeated\n* %2 - the number of times to repeat it
|
||||
Blockly.Msg.LISTS_REPEAT_TITLE = 'create list with item %1 repeated %2 times';
|
||||
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_LENGTH_HELPURL = 'https://code.google.com/p/blockly/wiki/Lists#length_of';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Lists#length_of https://code.google.com/p/blockly/wiki/Lists#length_of].
|
||||
Blockly.Msg.LISTS_LENGTH_HELPURL = 'https://github.com/google/blockly/wiki/Lists#length_of';
|
||||
/// block text - See [https://github.com/google/blockly/wiki/Lists#length_of https://github.com/google/blockly/wiki/Lists#length_of].
|
||||
/// \n\nParameters:\n* %1 - the list whose length is desired
|
||||
Blockly.Msg.LISTS_LENGTH_TITLE = 'length of %1';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#length_of https://code.google.com/p/blockly/wiki/Lists#length_of Blockly:Lists:length of].
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Lists#length_of https://github.com/google/blockly/wiki/Lists#length_of Blockly:Lists:length of].
|
||||
Blockly.Msg.LISTS_LENGTH_TOOLTIP = 'Returns the length of a list.';
|
||||
|
||||
/// url - See [https://code.google.com/p/blockly/wiki/Lists#is_empty https://code.google.com/p/blockly/wiki/Lists#is_empty].
|
||||
Blockly.Msg.LISTS_IS_EMPTY_HELPURL = 'https://code.google.com/p/blockly/wiki/Lists#is_empty';
|
||||
/// block text - See [https://code.google.com/p/blockly/wiki/Lists#is_empty
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#is_empty].
|
||||
/// url - See [https://github.com/google/blockly/wiki/Lists#is_empty https://github.com/google/blockly/wiki/Lists#is_empty].
|
||||
Blockly.Msg.LISTS_IS_EMPTY_HELPURL = 'https://github.com/google/blockly/wiki/Lists#is_empty';
|
||||
/// block text - See [https://github.com/google/blockly/wiki/Lists#is_empty
|
||||
/// https://github.com/google/blockly/wiki/Lists#is_empty].
|
||||
/// \n\nParameters:\n* %1 - the list to test
|
||||
Blockly.Msg.LISTS_IS_EMPTY_TITLE = '%1 is empty';
|
||||
/// block tooltip - See [https://code.google.com/p/blockly/wiki/Lists#is_empty
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#is_empty].
|
||||
/// block tooltip - See [https://github.com/google/blockly/wiki/Lists#is_empty
|
||||
/// https://github.com/google/blockly/wiki/Lists#is_empty].
|
||||
Blockly.Msg.LISTS_TOOLTIP = 'Returns true if the list is empty.';
|
||||
|
||||
/// block text - Title of blocks operating on [https://code.google.com/p/blockly/wiki/Lists lists].
|
||||
/// block text - Title of blocks operating on [https://github.com/google/blockly/wiki/Lists lists].
|
||||
Blockly.Msg.LISTS_INLIST = 'in list';
|
||||
|
||||
/// url - See [https://code.google.com/p/blockly/wiki/Lists#Getting_Items_from_a_List
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Getting_Items_from_a_List].
|
||||
Blockly.Msg.LISTS_INDEX_OF_HELPURL = 'https://code.google.com/p/blockly/wiki/Lists#Getting_Items_from_a_List';
|
||||
/// url - See [https://github.com/google/blockly/wiki/Lists#Getting_Items_from_a_List
|
||||
/// https://github.com/google/blockly/wiki/Lists#Getting_Items_from_a_List].
|
||||
Blockly.Msg.LISTS_INDEX_OF_HELPURL = 'https://github.com/google/blockly/wiki/Lists#Getting_Items_from_a_List';
|
||||
Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
|
||||
/// dropdown - See [https://code.google.com/p/blockly/wiki/Lists#Finding_Items_in_a_List
|
||||
/// dropdown - See [https://github.com/google/blockly/wiki/Lists#Finding_Items_in_a_List
|
||||
/// Lists#Finding_Items_in_a_List].
|
||||
/// [[File:Blockly-list-find.png]]
|
||||
Blockly.Msg.LISTS_INDEX_OF_FIRST = 'find first occurrence of item';
|
||||
/// dropdown - See [https://code.google.com/p/blockly/wiki/Lists#Finding_Items_in_a_List
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Finding_Items_in_a_List].
|
||||
/// dropdown - See [https://github.com/google/blockly/wiki/Lists#Finding_Items_in_a_List
|
||||
/// https://github.com/google/blockly/wiki/Lists#Finding_Items_in_a_List].
|
||||
/// [[File:Blockly-list-find.png]]
|
||||
Blockly.Msg.LISTS_INDEX_OF_LAST = 'find last occurrence of item';
|
||||
/// dropdown - See [https://code.google.com/p/blockly/wiki/Lists#Finding_Items_in_a_List
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Finding_Items_in_a_List].
|
||||
/// dropdown - See [https://github.com/google/blockly/wiki/Lists#Finding_Items_in_a_List
|
||||
/// https://github.com/google/blockly/wiki/Lists#Finding_Items_in_a_List].
|
||||
/// [[File:Blockly-list-find.png]]
|
||||
Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = 'Returns the index of the first/last occurrence of the item in the list. Returns 0 if text is not found.';
|
||||
|
||||
Blockly.Msg.LISTS_GET_INDEX_HELPURL = Blockly.Msg.LISTS_INDEX_OF_HELPURL;
|
||||
/// dropdown - Indicates that the user wishes to
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// get an item from a list] without removing it from the list.
|
||||
Blockly.Msg.LISTS_GET_INDEX_GET = 'get';
|
||||
/// dropdown - Indicates that the user wishes to
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// get and remove an item from a list], as opposed to merely getting
|
||||
/// it without modifying the list.
|
||||
Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = 'get and remove';
|
||||
/// dropdown - Indicates that the user wishes to
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Removing_an_item
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Removing_an_item
|
||||
/// remove an item from a list].
|
||||
Blockly.Msg.LISTS_GET_INDEX_REMOVE = 'remove';
|
||||
/// dropdown - Indicates that an index relative to the front of the list should be used to
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item get and/or remove
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_single_item get and/or remove
|
||||
/// an item from a list]. Note: If {{msg-Blockly|ORDINAL_NUMBER_SUFFIX}} is defined, it will
|
||||
/// automatically appear ''after'' this number (and any other ordinal numbers on this block).
|
||||
/// See [[Translating:Blockly#Ordinal_numbers]] for more information on ordinal numbers in Blockly.
|
||||
/// [[File:Blockly-list-get-item.png]]
|
||||
Blockly.Msg.LISTS_GET_INDEX_FROM_START = '#';
|
||||
/// dropdown - Indicates that an index relative to the end of the list should be used
|
||||
/// to [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item access an item in a list].
|
||||
/// to [https://github.com/google/blockly/wiki/Lists#Getting_a_single_item access an item in a list].
|
||||
/// [[File:Blockly-list-get-item.png]]
|
||||
Blockly.Msg.LISTS_GET_INDEX_FROM_END = '# from end';
|
||||
/// dropdown - Indicates that the '''first''' item should be
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item accessed in a list].
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_single_item accessed in a list].
|
||||
/// [[File:Blockly-list-get-item.png]]
|
||||
Blockly.Msg.LISTS_GET_INDEX_FIRST = 'first';
|
||||
/// dropdown - Indicates that the '''last''' item should be
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item accessed in a list].
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_single_item accessed in a list].
|
||||
/// [[File:Blockly-list-get-item.png]]
|
||||
Blockly.Msg.LISTS_GET_INDEX_LAST = 'last';
|
||||
/// dropdown - Indicates that a '''random''' item should be
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item accessed in a list].
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_single_item accessed in a list].
|
||||
/// [[File:Blockly-list-get-item.png]]
|
||||
Blockly.Msg.LISTS_GET_INDEX_RANDOM = 'random';
|
||||
/// block text - Text that should go after the rightmost block/dropdown when
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// accessing an item from a list]. In most languages, this will be the empty string.
|
||||
/// [[File:Blockly-list-get-item.png]]
|
||||
Blockly.Msg.LISTS_GET_INDEX_TAIL = '';
|
||||
Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for more information.
|
||||
/// 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.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_START = 'Returns the item at the specified position in a list. #1 is the first item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for more information.
|
||||
/// 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.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_END = 'Returns the item at the specified position in a list. #1 is the last item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for more information.
|
||||
/// 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.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = 'Returns the first item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for more information.
|
||||
/// 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.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = 'Returns the last item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for more information.
|
||||
/// 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.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = 'Returns a random item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item]
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Lists#Getting_and_removing_an_item]
|
||||
/// (for remove and return) and
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for '# from start'.
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_single_item] for '# from start'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_START = 'Removes and returns the item at the specified position in a list. #1 is the first item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item] (for remove and return) and [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for '# from end'.
|
||||
/// 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 '# from end'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_END = 'Removes and returns the item at the specified position in a list. #1 is the last item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item] (for remove and return) and [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for 'first'.
|
||||
/// 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'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = 'Removes and returns the first item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item] (for remove and return) and [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for 'last'.
|
||||
/// 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'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = 'Removes and returns the last item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item] (for remove and return) and [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for 'random'.
|
||||
/// 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'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = 'Removes and returns a random item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item] (for remove and return) and [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for '# from start'.
|
||||
/// 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 '# from start'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_START = 'Removes the item at the specified position in a list. #1 is the first item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item] (for remove and return) and [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for '# from end'.
|
||||
/// 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 '# from end'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_END = 'Removes the item at the specified position in a list. #1 is the last item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item] (for remove and return) and [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for 'first'.
|
||||
/// 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'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = 'Removes the first item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item] (for remove and return) and [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for 'last'.
|
||||
/// 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'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = 'Removes the last item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_and_removing_an_item] (for remove and return) and [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item] for 'random'.
|
||||
/// 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'.
|
||||
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = 'Removes a random item in a list.';
|
||||
/// url - Information about putting items in lists.
|
||||
Blockly.Msg.LISTS_SET_INDEX_HELPURL = 'https://code.google.com/p/blockly/wiki/Lists#in_list_..._set';
|
||||
Blockly.Msg.LISTS_SET_INDEX_HELPURL = 'https://github.com/google/blockly/wiki/Lists#in_list_..._set';
|
||||
Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
|
||||
/// block text - [https://code.google.com/p/blockly/wiki/Lists#in_list_..._set
|
||||
/// block text - [https://github.com/google/blockly/wiki/Lists#in_list_..._set
|
||||
/// Replaces an item in a list].
|
||||
/// [[File:Blockly-in-list-set-insert.png]]
|
||||
Blockly.Msg.LISTS_SET_INDEX_SET = 'set';
|
||||
/// block text - [https://code.google.com/p/blockly/wiki/Lists#in_list_..._insert_at
|
||||
/// block text - [https://github.com/google/blockly/wiki/Lists#in_list_..._insert_at
|
||||
/// Inserts an item into a list].
|
||||
/// [[File:Blockly-in-list-set-insert.png]]
|
||||
Blockly.Msg.LISTS_SET_INDEX_INSERT = 'insert at';
|
||||
/// block text - The word(s) after the position in the list and before the item to be set/inserted.
|
||||
/// [[File:Blockly-in-list-set-insert.png]]
|
||||
Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = 'as';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "set" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_START = 'Sets the item at the specified position in a list. #1 is the first item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "set" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_END = 'Sets the item at the specified position in a list. #1 is the last item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "set" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = 'Sets the first item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "set" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = 'Sets the last item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "set" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = 'Sets a random item in a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "insert" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_START = 'Inserts the item at the specified position in a list. #1 is the first item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "insert" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_END = 'Inserts the item at the specified position in a list. #1 is the last item.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "insert" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = 'Inserts the item at the start of a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "insert" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = 'Append the item to the end of a list.';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_single_item} (even though the page describes the "get" block, the idea is the same for the "insert" block).
|
||||
/// 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).
|
||||
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = 'Inserts the item randomly in a list.';
|
||||
|
||||
/// url - Information describing extracting a sublist from an existing list.
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = 'https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist';
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = 'https://github.com/google/blockly/wiki/Lists#Getting_a_sublist';
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
|
||||
/// dropdown - Indicates that an index relative to the front of the list should be used
|
||||
/// to specify the beginning of the range from which to
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist get a sublist].
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_sublist get a sublist].
|
||||
/// [[File:Blockly-get-sublist.png]]
|
||||
/// Note: If {{msg-Blockly|ORDINAL_NUMBER_SUFFIX}} is defined, it will
|
||||
/// automatically appear ''after'' this number (and any other ordinal numbers on this block).
|
||||
|
@ -941,36 +941,36 @@ Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
|
|||
Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START = 'get sub-list from #';
|
||||
/// dropdown - Indicates that an index relative to the end of the list should be used
|
||||
/// to specify the beginning of the range from which to
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist get a sublist].
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_sublist get a sublist].
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END = 'get sub-list from # from end';
|
||||
/// dropdown - Indicates that the
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist sublist to extract]
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_sublist sublist to extract]
|
||||
/// should begin with the list's first item.
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST = 'get sub-list from first';
|
||||
/// dropdown - Indicates that an index relative to the front of the list should be
|
||||
/// used to specify the end of the range from which to
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist get a sublist].
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_sublist get a sublist].
|
||||
/// [[File:Blockly-get-sublist.png]]
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START = 'to #';
|
||||
/// dropdown - Indicates that an index relative to the end of the list should be
|
||||
/// used to specify the end of the range from which to
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist get a sublist].
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_sublist get a sublist].
|
||||
/// [[File:Blockly-get-sublist.png]]
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END = 'to # from end';
|
||||
/// dropdown - Indicates that the '''last''' item in the given list should be
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist the end
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_sublist the end
|
||||
/// of the selected sublist].
|
||||
/// [[File:Blockly-get-sublist.png]]
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_END_LAST = 'to last';
|
||||
/// block text - This appears in the rightmost position ("tail") of the
|
||||
/// sublist block, as described at
|
||||
/// [https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist].
|
||||
/// [https://github.com/google/blockly/wiki/Lists#Getting_a_sublist
|
||||
/// https://github.com/google/blockly/wiki/Lists#Getting_a_sublist].
|
||||
/// In English and most other languages, this is the empty string.
|
||||
/// [[File:Blockly-get-sublist.png]]
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_TAIL = '';
|
||||
/// tooltip - See [https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist
|
||||
/// https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist] for more information.
|
||||
/// tooltip - See [https://github.com/google/blockly/wiki/Lists#Getting_a_sublist
|
||||
/// https://github.com/google/blockly/wiki/Lists#Getting_a_sublist] for more information.
|
||||
/// [[File:Blockly-get-sublist.png]]
|
||||
Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = 'Creates a copy of the specified portion of a list.';
|
||||
|
||||
|
@ -982,7 +982,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = '';
|
|||
|
||||
// Variables Blocks.
|
||||
/// 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.
|
||||
Blockly.Msg.VARIABLES_GET_HELPURL = 'https://code.google.com/p/blockly/wiki/Variables#Get';
|
||||
Blockly.Msg.VARIABLES_GET_HELPURL = 'https://github.com/google/blockly/wiki/Variables#Get';
|
||||
/// block text - This precedes the name of a variable when getting its values. In most (all?) languages, it should be the empty string. If unsure, ask yourself if any word should go before "x" in the expression "x + 1".
|
||||
Blockly.Msg.VARIABLES_GET_TITLE = '';
|
||||
Blockly.Msg.VARIABLES_GET_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;
|
||||
|
@ -995,7 +995,7 @@ Blockly.Msg.VARIABLES_GET_TOOLTIP = 'Returns the value of this variable.';
|
|||
Blockly.Msg.VARIABLES_GET_CREATE_SET = 'Create "set %1"';
|
||||
|
||||
/// 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.
|
||||
Blockly.Msg.VARIABLES_SET_HELPURL = 'https://code.google.com/p/blockly/wiki/Variables#Set';
|
||||
Blockly.Msg.VARIABLES_SET_HELPURL = 'https://github.com/google/blockly/wiki/Variables#Set';
|
||||
/// block text - The imperative or infinitive form of the verb "set", as in: '''set''' [the value of] x to 7.
|
||||
Blockly.Msg.VARIABLES_SET_TITLE = 'set';
|
||||
Blockly.Msg.VARIABLES_SET_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue