mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Develop (#1481)
* variables_dynamic * make test , and i18n * Issue #1470 * Blockly.Constants.VariablesDynamic.CUSTOM_CONTEXT_MENU_VARIABLE_MUTATION to make sure setCheck before event trigger * Update built files from develop. * fix copyright ,quotes , comments , and optimize some flow. * quotes,change UI , change category custom name * single setter , remove mutator , colour typo , typed variables create button message * undo the indent edits.
This commit is contained in:
@@ -62,6 +62,8 @@ Blockly.Msg.LISTS_HUE = '260';
|
||||
Blockly.Msg.COLOUR_HUE = '20';
|
||||
/// {{Notranslate}} Hue value for all variable blocks.
|
||||
Blockly.Msg.VARIABLES_HUE = '330';
|
||||
/// {{Notranslate}} Hue value for all variable dynamic blocks.
|
||||
Blockly.Msg.VARIABLES_DYNAMIC_HUE = '310';
|
||||
/// {{Notranslate}} Hue value for all procedure blocks.
|
||||
Blockly.Msg.PROCEDURES_HUE = '290';
|
||||
|
||||
@@ -121,6 +123,14 @@ Blockly.Msg.RENAME_VARIABLE_TITLE = 'Rename all "%1" variables to:';
|
||||
// Variable creation
|
||||
/// button text - Text on the button used to launch the variable creation dialogue.
|
||||
Blockly.Msg.NEW_VARIABLE = 'Create variable...';
|
||||
/// button text - Text on the button used to launch the variable creation dialogue.
|
||||
Blockly.Msg.NEW_STRING_VARIABLE = 'Create string variable...';
|
||||
/// button text - Text on the button used to launch the variable creation dialogue.
|
||||
Blockly.Msg.NEW_NUMBER_VARIABLE = 'Create number variable...';
|
||||
/// button text - Text on the button used to launch the variable creation dialogue.
|
||||
Blockly.Msg.NEW_COLOUR_VARIABLE = 'Create colour variable...';
|
||||
/// prompt - Prompts the user to enter the type for a variable.
|
||||
Blockly.Msg.NEW_VARIABLE_TYPE_TITLE = 'New variable type:';
|
||||
/// 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:';
|
||||
/// alert - Tells the user that the name they entered is already in use.
|
||||
|
||||
Reference in New Issue
Block a user