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:
Andrew n marshall
2017-01-13 15:32:00 -08:00
committed by GitHub
parent 45be30432a
commit 560d373c93
72 changed files with 738 additions and 147 deletions

1
msg/json/constants.json Normal file
View 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"}