From 3116f728948c25a117f0ca1917a90ded99c5613f Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 30 Apr 2021 16:35:54 -0700 Subject: [PATCH] tools/i18n: Add support for branch parameters. One could do other things with this, but what I expect us to do is pass `-b {branch}`. --- tools/i18n/push-translations | 2 +- tools/i18n/sync-translations | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/i18n/push-translations b/tools/i18n/push-translations index 296a4f75ff..c2a56f8ac8 100755 --- a/tools/i18n/push-translations +++ b/tools/i18n/push-translations @@ -7,4 +7,4 @@ set -e set -x ./manage.py makemessages --locale=en -tx push -s -r zulip.djangopo,zulip.translationsjson +tx push -s -r zulip.djangopo,zulip.translationsjson "$@" diff --git a/tools/i18n/sync-translations b/tools/i18n/sync-translations index 2f96c2fdf7..f81801ac04 100755 --- a/tools/i18n/sync-translations +++ b/tools/i18n/sync-translations @@ -7,6 +7,6 @@ set -e set -x ./manage.py makemessages --all -tx pull -a -f --mode=onlytranslated --minimum-perc=5 +tx pull -a -f --mode=onlytranslated --minimum-perc=5 "$@" ./manage.py compilemessages ./tools/i18n/process-mobile-i18n