misc: fix unnamed arguments in format strings
This commit is contained in:
parent
40935cbc5e
commit
24beb81688
1 changed files with 14 additions and 14 deletions
|
|
@ -317,7 +317,7 @@ class Chat(urwid.WidgetWrap, QuickChat):
|
|||
if self.type == "one2one":
|
||||
self.host.x_notify.sendNotification(_("Primitivus: %s is talking to you") % from_jid)
|
||||
elif self.getUserNick().lower() in msg.lower():
|
||||
self.host.x_notify.sendNotification(_("Primitivus: %s mentioned you in room '%s'") % (from_jid, self.target))
|
||||
self.host.x_notify.sendNotification(_("Primitivus: %(user)s mentioned you in room '%(room)s'") % {'user': from_jid, 'room': self.target})
|
||||
|
||||
def startGame(self, game_type, referee, players):
|
||||
"""Configure the chat window to start a game"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue