mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-10 21:18:53 -04:00
Clarifications and consistency
* removed all the generated files (<locale>.json, <locale>.js) except for ‘en’ versions and added them to git ignore. * updated cleanup.sh to use our messages. * added validation check to fail if any translations include newlines * skip generating js files other than ‘en’ as we don’t use them * Revised messages.js to use _single_ quoted strings instead of double (consistent with Blockly - if we need to import more strings), and switch the validations to check for single not double quotes. * additional small changes for simplicity and ergonomics Not handling category menu at this time as it’s managed differently in scratch-gui.
This commit is contained in:
parent
3ec20a5a60
commit
5cb1651e56
12 changed files with 333 additions and 317 deletions
msg/js
18
msg/js/en.js
18
msg/js/en.js
|
@ -246,23 +246,23 @@ Blockly.Msg["COLOUR_SATURATION_LABEL"] = "Saturation";
|
|||
Blockly.Msg["COLOUR_BRIGHTNESS_LABEL"] = "Brightness";
|
||||
Blockly.Msg["CHANGE_VALUE_TITLE"] = "Change value:";
|
||||
Blockly.Msg["RENAME_VARIABLE"] = "Rename variable";
|
||||
Blockly.Msg["RENAME_VARIABLE_TITLE"] = "Rename all '%1' variables to:";
|
||||
Blockly.Msg["RENAME_VARIABLE_TITLE"] = "Rename all \"%1\" variables to:";
|
||||
Blockly.Msg["RENAME_VARIABLE_MODAL_TITLE"] = "Rename Variable";
|
||||
Blockly.Msg["NEW_VARIABLE"] = "Make a Variable";
|
||||
Blockly.Msg["NEW_VARIABLE_TITLE"] = "New variable name:";
|
||||
Blockly.Msg["VARIABLE_MODAL_TITLE"] = "New Variable";
|
||||
Blockly.Msg["VARIABLE_ALREADY_EXISTS"] = "A variable named '%1' already exists.";
|
||||
Blockly.Msg["VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE"] = "A variable named '%1' already exists for another variable of type '%2'.";
|
||||
Blockly.Msg["DELETE_VARIABLE_CONFIRMATION"] = "Delete %1 uses of the '%2' variable?";
|
||||
Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "Can't delete the variable '%1' because it's part of the definition of the function '%2'";
|
||||
Blockly.Msg["DELETE_VARIABLE"] = "Delete the '%1' variable";
|
||||
Blockly.Msg["VARIABLE_ALREADY_EXISTS"] = "A variable named \"%1\" already exists.";
|
||||
Blockly.Msg["VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE"] = "A variable named \"%1\" already exists for another variable of type \"%2\".";
|
||||
Blockly.Msg["DELETE_VARIABLE_CONFIRMATION"] = "Delete %1 uses of the \"%2\" variable?";
|
||||
Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "Can't delete the variable \"%1\" because it's part of the definition of the function \"%2\"";
|
||||
Blockly.Msg["DELETE_VARIABLE"] = "Delete the \"%1\" variable";
|
||||
Blockly.Msg["NEW_PROCEDURE"] = "Make a Block";
|
||||
Blockly.Msg["PROCEDURE_ALREADY_EXISTS"] = "A procedure named '%1' already exists.";
|
||||
Blockly.Msg["PROCEDURE_ALREADY_EXISTS"] = "A procedure named \"%1\" already exists.";
|
||||
Blockly.Msg["NEW_LIST"] = "Make a List";
|
||||
Blockly.Msg["NEW_LIST_TITLE"] = "New list name:";
|
||||
Blockly.Msg["LIST_MODAL_TITLE"] = "New List";
|
||||
Blockly.Msg["LIST_ALREADY_EXISTS"] = "A list named '%1' already exists.";
|
||||
Blockly.Msg["RENAME_LIST_TITLE"] = "Rename all '%1' lists to:";
|
||||
Blockly.Msg["LIST_ALREADY_EXISTS"] = "A list named \"%1\" already exists.";
|
||||
Blockly.Msg["RENAME_LIST_TITLE"] = "Rename all \"%1\" lists to:";
|
||||
Blockly.Msg["RENAME_LIST_MODAL_TITLE"] = "Rename List";
|
||||
Blockly.Msg["NEW_BROADCAST_MESSAGE"] = "New message";
|
||||
Blockly.Msg["NEW_BROADCAST_MESSAGE_TITLE"] = "New message name:";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue