This commit is contained in:
Allan Nozomu Fukasawa 2022-04-03 16:06:31 +09:00 committed by GitHub
commit b9bcc6d7ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 13 deletions

View File

@ -41,10 +41,6 @@ msgstr "Nesprávný vstup. access_token je povinný."
msgid "Incorrect value" msgid "Incorrect value"
msgstr "Nesprávná hodnota" msgstr "Nesprávná hodnota"
#: .\registration\serializers.py:139
msgid "User is already registered with this e-mail address."
msgstr "Uživatel s touto adresou je již registrován."
#: .\registration\serializers.py:185 #: .\registration\serializers.py:185
msgid "A user is already registered with this e-mail address." msgid "A user is already registered with this e-mail address."
msgstr "Uživatel s touto adresou je již registrován." msgstr "Uživatel s touto adresou je již registrován."

View File

@ -43,10 +43,6 @@ msgstr "输入错误。access_token或code是必填项。"
msgid "Incorrect value" msgid "Incorrect value"
msgstr "错误的值" msgstr "错误的值"
#: registration/serializers.py:139
msgid "User is already registered with this e-mail address."
msgstr "该邮箱地址已被注册。"
#: registration/serializers.py:185 #: registration/serializers.py:185
msgid "A user is already registered with this e-mail address." msgid "A user is already registered with this e-mail address."
msgstr "该邮箱地址已被注册。" msgstr "该邮箱地址已被注册。"

View File

@ -42,10 +42,6 @@ msgstr ""
msgid "Incorrect value" msgid "Incorrect value"
msgstr "" msgstr ""
#: registration/serializers.py:139
msgid "User is already registered with this e-mail address."
msgstr ""
#: registration/serializers.py:185 #: registration/serializers.py:185
msgid "A user is already registered with this e-mail address." msgid "A user is already registered with this e-mail address."
msgstr "" msgstr ""

View File

@ -136,7 +136,7 @@ class SocialLoginSerializer(serializers.Serializer):
).exists() ).exists()
if account_exists: if account_exists:
raise serializers.ValidationError( raise serializers.ValidationError(
_("User is already registered with this e-mail address.") _("A user is already registered with this e-mail address.")
) )
login.lookup() login.lookup()