1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 06:33:48 +00:00

[locale] Update source files

This commit is contained in:
zhengxie
2018-08-31 13:19:19 +08:00
parent 808453ad95
commit 8d5b80ca0f
3 changed files with 615 additions and 556 deletions

View File

@@ -35,10 +35,10 @@ def make(default=True, lang='en'):
_inplace_change('locale/%s/LC_MESSAGES/django.po' % lang, '%%s', '%s')
_inplace_change('locale/%s/LC_MESSAGES/django.po' % lang, '%%(', '%(')
local('django-admin.py makemessages -l %s -d djangojs -i "thirdpart" -i "node_modules" -i "media" -i "static/scripts/dist" -i "static/scripts/lib" -i "tests" -i "tools" -i "tagging" -i "static/scripts/i18n" --verbosity 2' % lang)
makejs(lang)
@task
def makejs(default=True, lang='en'):
def makejs(lang='en'):
local('django-admin.py makemessages -l %s -d djangojs -i "thirdpart" -i "node_modules" -i "media" -i "static/scripts/dist" -i "static/scripts/lib" -i "tests" -i "tools" -i "tagging" -i "static/scripts/i18n" -i "frontend/build" -i "frontend/config" -i "frontend/scripts" --verbosity 2' % lang)