Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/docker-ci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-10-19 12:13:07 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-19 12:13:07 +0300
commit58f0febdbb50b05b0dc23a4e624bc20c2f21e2fd (patch)
treeae8cd6c036834e11b1c3e74b61c93e0e36b966f3
parent663e3ffebcc06c832e6f1ff31aa75a95f80da790 (diff)
Update the translation config in all translated branches
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rwxr-xr-xtranslations/handlePlainTranslations.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/translations/handlePlainTranslations.sh b/translations/handlePlainTranslations.sh
index 033c71c..b65eae3 100755
--- a/translations/handlePlainTranslations.sh
+++ b/translations/handlePlainTranslations.sh
@@ -13,13 +13,6 @@ git clone git@github.com:$1/$2 /app
versions="master $(git branch -r | grep -E "origin\/stable\-[0-9\.]+$" | cut -f2 -d"/")"
-# Migrate the transifex config to the new client version
-tx migrate
-git add .tx/config
-rm .tx/config_*
-git commit -am "[tx-robot] Update transifex configuration" -s || true
-git push
-
# remove existing translations to cleanup not maintained languages
# default Android app
if [ -d src/main/res ]; then
@@ -69,6 +62,14 @@ if [ $1 = "nextcloud" -a $2 = "talk-android" ]; then
for version in $versions
do
git checkout $version
+
+ # Migrate the transifex config to the new client version
+ tx migrate
+ git add .tx/config
+ rm .tx/config_*
+ git commit -am "[tx-robot] Update transifex configuration" -s || true
+ git push
+
cp app/src/main/res/values/strings.xml stable-values/$version.xml
done