mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Adding support for untranslated messages. (#819)
This will be used to define constants accessible in JSON block definitions. Messages with descriptions that include `{{Notranslate}}` will not be included in the translation files sent to TranslateWiki. Instead, they are written to `msg/json/constants.json`, and later merged back into the `.js` files, similar to synonyms.
Template details: https://translatewiki.net/wiki/Template:Notranslate
This commit is contained in:
committed by
GitHub
parent
45be30432a
commit
560d373c93
1
msg/json/constants.json
Normal file
1
msg/json/constants.json
Normal file
@@ -0,0 +1 @@
|
||||
{"MATH_HUE": "230", "LOOPS_HUE": "120", "LISTS_HUE": "260", "LOGIC_HUE": "210", "VARIABLES_HUE": "330", "TEXTS_HUE": "160", "PROCEDURES_HUE": "290", "COLOUR_HUE": "20"}
|
||||
Reference in New Issue
Block a user