mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
Use a Blockly.Msg for button text
This commit is contained in:
@@ -96,8 +96,8 @@ Blockly.Msg.REDO = 'Redo';
|
||||
// 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://github.com/google/blockly/wiki/Variables#dropdown-menu https://github.com/google/blockly/wiki/Variables#dropdown-menu].
|
||||
Blockly.Msg.NEW_VARIABLE = 'New variable...';
|
||||
/// button text - Text on the button used to launch the variable creation dialogue.
|
||||
Blockly.Msg.NEW_VARIABLE = 'Create variable...';
|
||||
/// 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://github.com/google/blockly/wiki/Variables#dropdown-menu https://github.com/google/blockly/wiki/Variables#dropdown-menu].
|
||||
|
||||
Reference in New Issue
Block a user