Updating string format syntax part 1
This commit is contained in:
parent
5196db8cf5
commit
377a4e1ef1
11 changed files with 73 additions and 71 deletions
|
@ -261,7 +261,7 @@ class CreateInviteForm(CustomForm):
|
|||
),
|
||||
"use_limit": widgets.Select(
|
||||
choices=[
|
||||
(i, _("%(count)d uses" % {"count": i}))
|
||||
(i, _(f"{i} uses"))
|
||||
for i in [1, 5, 10, 25, 50, 100]
|
||||
]
|
||||
+ [(None, _("Unlimited"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue