diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-04 23:06:50 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-04 23:08:27 +0100 |
| commit | 2692a0c6217b1b5ea2730f5861cb96c991fc8673 (patch) | |
| tree | d98c67d52712f42ef10c77df7511b204d7cb2114 /scripts | |
| parent | c717ebbfecd248d1a0ffeffa6d167109936fbe3f (diff) | |
Fixed `python scripts/manage_translations.py update_catalogs`.
It used to generate languages 'e' and 'n'.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/manage_translations.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/manage_translations.py b/scripts/manage_translations.py index 83d5b87c87..078cc7f9bb 100644 --- a/scripts/manage_translations.py +++ b/scripts/manage_translations.py @@ -88,7 +88,7 @@ def update_catalogs(resources=None, languages=None): os.chdir(os.path.join(os.getcwd(), 'django')) print("Updating main en catalog") - call_command('makemessages', locale='en') + call_command('makemessages', locale=['en']) _check_diff('core', os.path.join(os.getcwd(), 'conf', 'locale')) # Contrib catalogs @@ -96,9 +96,9 @@ def update_catalogs(resources=None, languages=None): os.chdir(os.path.join(dir_, '..')) print("Updating en catalog in %s" % dir_) if name.endswith('-js'): - call_command('makemessages', locale='en', domain='djangojs') + call_command('makemessages', locale=['en'], domain='djangojs') else: - call_command('makemessages', locale='en') + call_command('makemessages', locale=['en']) _check_diff(name, dir_) |
