mirror of
https://github.com/google/blockly.git
synced 2026-01-06 00:20:37 +01:00
Add a block to reverse a list (#844)
This commit is contained in:
committed by
Andrew n marshall
parent
f6168e1364
commit
46316c7cea
@@ -1039,6 +1039,13 @@ Blockly.Msg.LISTS_SPLIT_TOOLTIP_SPLIT = 'Split text into a list of texts, breaki
|
||||
/// https://github.com/google/blockly/wiki/Lists#make-text-from-list] for more information.
|
||||
Blockly.Msg.LISTS_SPLIT_TOOLTIP_JOIN = 'Join a list of texts into one text, separated by a delimiter.';
|
||||
|
||||
/// url - Information describing reversing a list.
|
||||
Blockly.Msg.LISTS_REVERSE_HELPURL = 'https://github.com/google/blockly/wiki/Lists#reversing-a-list';
|
||||
/// block text - Title of block that returns a copy of a list (%1) with the order of items reversed.
|
||||
Blockly.Msg.LISTS_REVERSE_MESSAGE0 = 'reverse %1';
|
||||
/// tooltip - Short description for a block that reverses a copy of a list.
|
||||
Blockly.Msg.LISTS_REVERSE_TOOLTIP = 'Reverse a copy of a list.';
|
||||
|
||||
/// grammar - Text that follows an ordinal number (a number that indicates
|
||||
/// position relative to other numbers). In most languages, such text appears
|
||||
/// before the number, so this should be blank. An exception is Hungarian.
|
||||
|
||||
Reference in New Issue
Block a user