[tor-commits] [translation-tools/master] only pull reviewed translations for tails. ref #16774. https://redmine.tails.boum.org/code/issues/16774
emmapeel at torproject.org
emmapeel at torproject.org
Sat Aug 17 10:13:43 UTC 2019
commit 09438bacd794b1698a218727b10d6e409f795d84
Author: emma peel <emma.peel at riseup.net>
Date: Sat Aug 17 10:13:19 2019 +0000
only pull reviewed translations for tails. ref #16774. https://redmine.tails.boum.org/code/issues/16774
---
update_translations | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/update_translations b/update_translations
index acc3c07..1d59466 100755
--- a/update_translations
+++ b/update_translations
@@ -26,8 +26,14 @@ for project in $PROJECTS; do
cd $project;
+ if echo "$project" | grep -Eqs '^tails-|^whisperback|^mat-|^liveusb-' ; then
+ TX_PULL_OPTS='--mode=reviewed'
+ else
+ TX_PULL_OPTS='--mode=developer'
+ fi
+
# Fetch new translations for this project ...
- $TX pull -a -s --mode=developer > /dev/null;
+ $TX pull -a -s $TX_PULL_OPTS > /dev/null;
# ... add them to git ...
git add -A . > /dev/null;
More information about the tor-commits
mailing list