1
0
Fork 0

Updating string format syntax part 1

This commit is contained in:
Mouse Reeve 2021-09-17 21:39:18 -07:00
parent 5196db8cf5
commit 377a4e1ef1
11 changed files with 73 additions and 71 deletions

View file

@ -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"))]