mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
python: Convert translated positional {} fields to {named} fields.
Translators benefit from the extra information in the field names, and need the reordering freedom that isn’t available with multiple positional fields. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
db6323b2c4
commit
143baa4243
@@ -709,7 +709,7 @@ def create_user_backend(
|
||||
|
||||
try:
|
||||
get_user_by_delivery_email(email, user_profile.realm)
|
||||
raise JsonableError(_("Email '{}' already in use").format(email))
|
||||
raise JsonableError(_("Email '{email}' already in use").format(email=email))
|
||||
except UserProfile.DoesNotExist:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user