Commit graph

856 commits

Author SHA1 Message Date
Chris Garrity
6e1b2d68ad Update dependencies for security vulnerabilities 2019-06-12 11:37:54 -04:00
Chris Garrity
ba8497f945 Add initial json files for uz and rap 2019-05-09 10:57:18 -04:00
Nikhil Jha
a4305a3a8c Upgrade Dependencies 2019-02-02 09:53:30 -08:00
chrisgarrity
6ebde7c676 push/pull scripts need transifex as a dependency
Scripts won’t work in dependent repos unless they also have transifex installed.
2018-11-29 17:02:00 -05:00
chrisgarrity
c286f62d69 Add scripts for automation
* bumped minor version
* added localeMap for converting between transifex locales and the ones used by Scratch (e.g., pt-br - pt_BR)
* using the transifex node package to automatically sync translations
* added scripts:
  * sync_tx_src: uploads an en.json source file, for use by client packages
  * sync_tx_translations: downloads gui translations, used by this repo, flattens Chrome i18n json into plain key-value json.
  * sync_tx_blocks: same as above, but blocks need slightly different handling
  * validate_translations: check the translation json files for basic translation errors
  * tx_util - methods shared by sync and validate
* simplified build-data because jsons have already been flattened
* added new npm tasks
2018-11-25 18:05:44 -05:00
chrisgarrity
669f2cd128 Sync translations 2018-11-08 09:07:42 -05:00