i18n: Adjust Transifex sync-translations download mode.

It appears that some server-side change to Transifex resulted in the
"onlytranslated" mode deleting some (all?) strings from django.po files that
were not translated.

Testing determined that the "translator" mode appears to now be the
only mode that works with both our django.po and translations.json
files (We want to avoid both copying the English strings and deleting
strings), so we're switching to that.

Background is available here:
https://chat.zulip.org/#narrow/stream/3-backend/topic/4.2Ex.20branch.20translations.20sync/near/1187324
This commit is contained in:
Tim Abbott
2021-06-02 09:33:16 -07:00
parent 6c3a6ef6c1
commit 33d7aa9d47

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=translator --minimum-perc=5 "$@"
./manage.py compilemessages
./tools/i18n/process-mobile-i18n