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}`.
This commit is contained in:
Tim Abbott 2021-04-30 16:35:54 -07:00
parent c7ff4228ed
commit 3116f72894
2 changed files with 2 additions and 2 deletions

View File

@ -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 "$@"

View File

@ -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