mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-20 18:32:41 +00:00
[locale] Add two factor source strings
This commit is contained in:
@@ -9,7 +9,7 @@ from fabric.colors import red, green
|
||||
def make(default=True, lang='en'):
|
||||
"""Update source language.
|
||||
"""
|
||||
local('django-admin.py makemessages -l %s -e py,html -i "thirdpart*" -i "docs*"' % lang)
|
||||
local('django-admin.py makemessages -l %s -e py,html -i "thirdpart*" -i "docs*" -i "seahub/two_factor/gateways" -i "seahub/two_factor/templates/two_factor/core/otp_required.html" -i "seahub/two_factor/templates/two_factor/core/phone_register.html" -i "seahub/two_factor/templates/two_factor/profile/profile.html"' % lang)
|
||||
|
||||
# some version of makemessages will produce "%%" in the string, replace that
|
||||
# to "%".
|
||||
|
||||
Reference in New Issue
Block a user