From abb0a028125bdf9225455ba1a5729de3a0a2d6c4 Mon Sep 17 00:00:00 2001 From: Goffi Date: Sat, 27 Aug 2011 17:24:17 +0200 Subject: [PATCH] primitivus: added forgotten gettext i18n call --- frontends/src/primitivus/chat.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontends/src/primitivus/chat.py b/frontends/src/primitivus/chat.py index 178e15ba..2e06a94b 100644 --- a/frontends/src/primitivus/chat.py +++ b/frontends/src/primitivus/chat.py @@ -233,9 +233,9 @@ class Chat(urwid.WidgetWrap, QuickChat): self.host.redraw() if not self.host.notify.hasFocus(): if self.type=="one2one": - self.host.notify.sendNotification("Primitivus: %s is talking to you" % from_jid) + self.host.notify.sendNotification(_("Primitivus: %s is talking to you") % from_jid) elif self.getUserNick().lower() in msg.lower(): - self.host.notify.sendNotification("Primitivus: Somebody pinged your name in %s room" % self.target) + self.host.notify.sendNotification(_("Primitivus: Somebody pinged your name in %s room") % self.target) def printInfo(self, msg, type='normal'): """Print general info @@ -249,9 +249,9 @@ class Chat(urwid.WidgetWrap, QuickChat): self.host.redraw() if not self.host.notify.hasFocus(): if self.type=="one2one": - self.host.notify.sendNotification("Primitivus: there is a message about you") + self.host.notify.sendNotification(_("Primitivus: there is a message about you")) elif self.getUserNick().lower() in msg.lower(): - self.host.notify.sendNotification("Primitivus: Somebody is talking about you in %s room" % self.target) + self.host.notify.sendNotification(_("Primitivus: Somebody is talking about you in %s room") % self.target) def startGame(self, game_type, referee, players): """Configure the chat window to start a game"""