mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
@@ -7,6 +7,6 @@ set -e
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
./manage.py makemessages --all
|
./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
|
./manage.py compilemessages
|
||||||
./tools/i18n/process-mobile-i18n
|
./tools/i18n/process-mobile-i18n
|
||||||
|
Reference in New Issue
Block a user