From 37610c2539533f51f973e6dfb9d4571a451b994d Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 6 Oct 2014 21:12:15 +0200 Subject: [PATCH] Minor updates to the translation helper files. --- .tx/config | 3 +-- tasks.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.tx/config b/.tx/config index 3a93ee5..c25707f 100644 --- a/.tx/config +++ b/.tx/config @@ -1,7 +1,6 @@ [main] host = https://www.transifex.com -lang_map = sr@latin:sr_Latn -type = PO +lang_map = sr@latin:sr_Latn, zh_CN:zh_Hans, zh_TW:zh_Hant [django-formtools.main] file_filter = formtools/locale//LC_MESSAGES/django.po diff --git a/tasks.py b/tasks.py index dc6488b..7119395 100644 --- a/tasks.py +++ b/tasks.py @@ -30,7 +30,7 @@ def test(): def translations(pull=False): if pull: 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