mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
forms: Fix missing translation tag for disposable emails.
This commit is contained in:
@@ -153,7 +153,7 @@ class HomepageForm(forms.Form):
|
|||||||
"that are allowed to register for accounts in this organization.").format(
|
"that are allowed to register for accounts in this organization.").format(
|
||||||
string_id=realm.string_id, email=email))
|
string_id=realm.string_id, email=email))
|
||||||
except DisposableEmailError:
|
except DisposableEmailError:
|
||||||
raise ValidationError("Please use your real email address.")
|
raise ValidationError(_("Please use your real email address."))
|
||||||
|
|
||||||
validate_email_for_realm(realm, email)
|
validate_email_for_realm(realm, email)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user