mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 01:53:59 +00:00
python: Convert percent formatting to .format for translated strings.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
eda396376c
commit
f364d06fb5
@@ -174,7 +174,7 @@ def get_existing_user_errors(
|
||||
|
||||
if existing_user_profile.is_active:
|
||||
if verbose:
|
||||
msg = _('%s already has an account') % (email,)
|
||||
msg = _('{email} already has an account').format(email=email)
|
||||
else:
|
||||
msg = _("Already has an account.")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user