diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index 179dd212d..df0dea230 100644 Binary files a/apps/locale/zh/LC_MESSAGES/django.mo and b/apps/locale/zh/LC_MESSAGES/django.mo differ diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index f97ca171a..7a2caa346 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -4085,7 +4085,7 @@ msgstr "邮箱地址错误,重新输入" #: users/views/profile/reset.py:51 msgid "" -"The user is from A, please go to the corresponding system to change the " +"The user is from {}, please go to the corresponding system to change the " "password" msgstr "用户来自 {} 请去相应系统修改密码" diff --git a/apps/users/views/profile/reset.py b/apps/users/views/profile/reset.py index 50897e112..c5fa09eb5 100644 --- a/apps/users/views/profile/reset.py +++ b/apps/users/views/profile/reset.py @@ -48,7 +48,7 @@ class UserForgotPasswordView(FormView): if not user.is_local: error = _( - 'The user is from A, please go to the corresponding system to change the password' + 'The user is from {}, please go to the corresponding system to change the password' ''.format(user.get_source_display()) ) form.add_error('email', error)