misc: fix unnamed arguments in format strings

This commit is contained in:
souliane 2014-02-17 14:58:26 +01:00
commit 24beb81688

View file

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