fix: 修改翻译内容 (#5489)

* fix: 修改翻译内容

* fix: 修改翻译内容(2)

Co-authored-by: Bai <bugatti_it@163.com>
This commit is contained in:
fit2bot
2021-01-20 11:38:09 +08:00
committed by GitHub
parent 4de9e608b1
commit ea16088c08
2 changed files with 27 additions and 28 deletions

View File

@@ -49,8 +49,7 @@ class UserForgotPasswordView(FormView):
if not user.is_local:
error = _(
'The user is from {}, please go to the corresponding system to change the password'
''.format(user.get_source_display())
)
).format(user.get_source_display())
form.add_error('email', error)
return self.form_invalid(form)