zulip/tools/i18n/sync-translations
Tim Abbott 3116f72894 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}`.
2021-04-30 16:37:01 -07:00

13 lines
306 B
Bash
Executable File

#!/usr/bin/env bash
# See https://zulip.readthedocs.io/en/latest/translating/internationalization.html
# for background on this subsystem.
set -e
set -x
./manage.py makemessages --all
tx pull -a -f --mode=onlytranslated --minimum-perc=5 "$@"
./manage.py compilemessages
./tools/i18n/process-mobile-i18n