perf: Translate

This commit is contained in:
wangruidong
2024-09-06 10:34:35 +08:00
committed by w940853815
parent e94520a3fd
commit c8b7008d42
4 changed files with 22 additions and 22 deletions

View File

@@ -172,7 +172,7 @@ class OIDCAuthCallbackView(View, FlashMessageMixin):
user = auth.authenticate(nonce=nonce, request=request, code_verifier=code_verifier)
except IntegrityError:
title = _("OpenID Error")
msg = _('Username or email already exists, Please check')
msg = _('Please check if a user with the same username or email already exists')
response = self.get_failed_response('/', title, msg)
return response
if user: