mirror of https://github.com/zulip/zulip.git
python: Remove unused arguments for translated format strings.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
b188e6fa04
commit
db6323b2c4
|
@ -233,9 +233,7 @@ def update_plan(
|
|||
)
|
||||
if last_ledger_entry.licenses > licenses:
|
||||
raise JsonableError(
|
||||
_("You cannot decrease the licenses in the current billing period.").format(
|
||||
licenses=licenses
|
||||
)
|
||||
_("You cannot decrease the licenses in the current billing period.")
|
||||
)
|
||||
validate_licenses(
|
||||
plan.charge_automatically,
|
||||
|
|
|
@ -262,7 +262,7 @@ class HomepageForm(forms.Form):
|
|||
_(
|
||||
"Your email address, {email}, is not in one of the domains "
|
||||
"that are allowed to register for accounts in this organization."
|
||||
).format(string_id=realm.string_id, email=email)
|
||||
).format(email=email)
|
||||
)
|
||||
except DisposableEmailError:
|
||||
raise ValidationError(_("Please use your real email address."))
|
||||
|
|
Loading…
Reference in New Issue