[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [translation-tools/master] only pull reviewed translations for tails. ref #16774. https://redmine.tails.boum.org/code/issues/16774



commit 09438bacd794b1698a218727b10d6e409f795d84
Author: emma peel <emma.peel@xxxxxxxxxx>
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;

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits