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:
|
if last_ledger_entry.licenses > licenses:
|
||||||
raise JsonableError(
|
raise JsonableError(
|
||||||
_("You cannot decrease the licenses in the current billing period.").format(
|
_("You cannot decrease the licenses in the current billing period.")
|
||||||
licenses=licenses
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
validate_licenses(
|
validate_licenses(
|
||||||
plan.charge_automatically,
|
plan.charge_automatically,
|
||||||
|
|
|
@ -262,7 +262,7 @@ class HomepageForm(forms.Form):
|
||||||
_(
|
_(
|
||||||
"Your email address, {email}, is not in one of the domains "
|
"Your email address, {email}, is not in one of the domains "
|
||||||
"that are allowed to register for accounts in this organization."
|
"that are allowed to register for accounts in this organization."
|
||||||
).format(string_id=realm.string_id, email=email)
|
).format(email=email)
|
||||||
)
|
)
|
||||||
except DisposableEmailError:
|
except DisposableEmailError:
|
||||||
raise ValidationError(_("Please use your real email address."))
|
raise ValidationError(_("Please use your real email address."))
|
||||||
|
|
Loading…
Reference in New Issue