build: Add script to update translations

This commit is contained in:
Bastien Nocera
2020-02-05 15:24:15 +01:00
parent 0724413eda
commit 4ed46deaf2
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Updating translations
=====================
The update-transifex.sh script should be run regularly to both pull
translations from the Transifex service, and push new strings to translate.
Transifex.net Token Verification Transifex.net Token Verification
================================ ================================

9
update-transifex.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
test -f .tx/config || exit 1
echo Pulling translations from Transifex
tx --root `dirname $0` pull --all --force --skip
echo Pushing strings to Transifex
tx push --source