fix: 修改翻译

pull/5459/head
Bai 2021-01-18 15:04:53 +08:00 committed by Jiangjie.Bai
parent 31f098449f
commit f6622f5e01
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -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 "用户来自 {} 请去相应系统修改密码"

View File

@ -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)