From 4ed46deaf20732516e2a74f8ef1b9313ea8f2835 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 5 Feb 2020 15:24:15 +0100 Subject: [PATCH] build: Add script to update translations --- README.transifex | 6 ++++++ update-transifex.sh | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100755 update-transifex.sh diff --git a/README.transifex b/README.transifex index 389bd01..c391636 100644 --- a/README.transifex +++ b/README.transifex @@ -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 ================================ diff --git a/update-transifex.sh b/update-transifex.sh new file mode 100755 index 0000000..33512a1 --- /dev/null +++ b/update-transifex.sh @@ -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