Automatically commit new translations

This commit is contained in:
Gautier Pelloux-Prayer 2019-03-15 18:57:56 +01:00
parent 1f81c043ad
commit e426a425f2

View file

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"build": "gulp", "build": "gulp",
"transifex-push": "gulp i18next && tx push --source", "transifex-push": "gulp i18next && tx push --source",
"transifex-pull": "tx pull --all --minimum-perc 1 --force", "transifex-pull": "tx pull --all --minimum-perc 1 --force && (git add locales/*.json && git commit locales/*.json -m 'Update translations' || true)",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"repository": { "repository": {