Commit graph

7 commits

Author SHA1 Message Date
Cori Hudson
f298a58aeb fix: use stdout instead of console 2022-09-22 13:39:36 -04:00
Cori Hudson
137b6e3d09 fix(scripts): add retries, correct formatting for editor
retries flaky transifex api calls up to 5 times; converts message with description to plain message for editor translations
2022-09-20 14:40:38 -04:00
seotts
dd2ed99ece Use transifex .download() to download
Undo tr change
2022-09-20 14:40:26 -04:00
seotts
842704fb55 Asyncify www pull & handle failed pulls 2022-09-20 14:40:15 -04:00
seotts
9d30b4c4a3 Use new TX api to pull www translations
Comment
2022-09-20 14:40:15 -04:00
chrisgarrity
a995aa5413 Helpers for failing validations
* Update Slack notification to always notify.
* Add optional parameter to `tx-pull-www` to pull just resources for a particular language. Helpful when validations are failing for one language.
2019-03-21 11:00:12 +01:00
chrisgarrity
50761ad970 New scripts to support www in scratch-l10n
* tx-pull-www: pull www translations from transifex
* validate-www: check www for correct placeholders
* add commands to pull and validate www to package.json
* add validating www to the test step
* add pulling www to the update-translations script for the cron job
* changed .tx/config to match the new folder names `scratch-website.<resource-slug>`, and added missing folders. This isn’t needed for the scripts, but it’s useful if you need to pull the translation for a single language/resource
2019-02-12 10:50:43 +01:00