Minor updates to the translation helper files.
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
[main]
|
[main]
|
||||||
host = https://www.transifex.com
|
host = https://www.transifex.com
|
||||||
lang_map = sr@latin:sr_Latn
|
lang_map = sr@latin:sr_Latn, zh_CN:zh_Hans, zh_TW:zh_Hant
|
||||||
type = PO
|
|
||||||
|
|
||||||
[django-formtools.main]
|
[django-formtools.main]
|
||||||
file_filter = formtools/locale/<lang>/LC_MESSAGES/django.po
|
file_filter = formtools/locale/<lang>/LC_MESSAGES/django.po
|
||||||
|
|||||||
2
tasks.py
2
tasks.py
@@ -30,7 +30,7 @@ def test():
|
|||||||
def translations(pull=False):
|
def translations(pull=False):
|
||||||
if pull:
|
if pull:
|
||||||
run('tx pull -a')
|
run('tx pull -a')
|
||||||
run('cd formtools; django-admin.py makemessages -a; django-admin.py compilemessages; cd ..')
|
run('cd formtools; django-admin.py makemessages -a; django-admin compilemessages; cd ..')
|
||||||
|
|
||||||
|
|
||||||
@task
|
@task
|
||||||
|
|||||||
Reference in New Issue
Block a user