misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli
2019-10-23 19:46:26 +02:00
parent d16180189e
commit 84616827ad
2 changed files with 4 additions and 2 deletions

View File

@ -136,7 +136,7 @@ class Voice:
def on_unread_messages(self, count, total):
s = 's' if count > 1 else ''
return self._('You have {count} new message{plural}!').format(num=count, plural=s)
return self._('You have {count} new message{plural}!').format(count=count, plural=s)
def on_rebooting(self):
return self._("Ops, something went wrong ... Rebooting ...")