diff --git a/.tx/config b/.tx/config index 7459abdb36..4303c4c466 100644 --- a/.tx/config +++ b/.tx/config @@ -13,3 +13,9 @@ source_file = static/locale/en/translations.json source_lang = en type = KEYVALUEJSON file_filter = static/locale//translations.json + +[zulip.messages] +source_file = static/locale/en/mobile.json +source_lang = en +type = KEYVALUEJSON +file_filter = static/locale//mobile.json diff --git a/docs/translating/translating.md b/docs/translating/translating.md index dc46d8c8cb..7bdc98238e 100644 --- a/docs/translating/translating.md +++ b/docs/translating/translating.md @@ -98,7 +98,7 @@ translating, you should check out the contains a translated text. 3. Those resource files are uploaded to Transifex by a maintainer using the - `tx push -s -a` command. + `./tools/push-translations` command. 4. Translators translate the strings in Transifex. diff --git a/tools/push-translations b/tools/push-translations new file mode 100755 index 0000000000..cf76edcf5f --- /dev/null +++ b/tools/push-translations @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -e +set -x + +tx push -s -r zulip.djangopo,zulip.translationsjson