mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3739 from JohniFi/fix-dont-use-fstring-for-internationalization
Don't use f-string for i18n
This commit is contained in:
commit
042f6c8b5c
1 changed files with 1 additions and 1 deletions
|
|
@ -516,7 +516,7 @@ class DefaultAccount(AccountDB, metaclass=TypeclassBase):
|
|||
and len(self.get_all_puppets()) >= _MAX_NR_SIMULTANEOUS_PUPPETS
|
||||
):
|
||||
self.msg(
|
||||
_(f"You cannot control any more puppets (max {_MAX_NR_SIMULTANEOUS_PUPPETS})")
|
||||
_("You cannot control any more puppets (max {max_puppets})".format(max_puppets=_MAX_NR_SIMULTANEOUS_PUPPETS))
|
||||
)
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue