mirror of https://github.com/zulip/zulip.git
i18n: Retrieve mobile translations.
This commit also adds a tool to push translation sources to Transifex. This tool makes sure that we don't push mobile source file. Mobile source file is supposed to be handled from Zulip-Mobile repo.
This commit is contained in:
parent
53e4dc1a46
commit
8700e8aeaf
|
@ -13,3 +13,9 @@ source_file = static/locale/en/translations.json
|
|||
source_lang = en
|
||||
type = KEYVALUEJSON
|
||||
file_filter = static/locale/<lang>/translations.json
|
||||
|
||||
[zulip.messages]
|
||||
source_file = static/locale/en/mobile.json
|
||||
source_lang = en
|
||||
type = KEYVALUEJSON
|
||||
file_filter = static/locale/<lang>/mobile.json
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
tx push -s -r zulip.djangopo,zulip.translationsjson
|
Loading…
Reference in New Issue