changeset 381:1f7a14d0343d

primitivus: added forgotten gettext i18n call
author Goffi <goffi@goffi.org>
date Sat, 27 Aug 2011 17:24:17 +0200
parents ede26abf6ca1
children f6deca4e328e
files frontends/src/primitivus/chat.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/primitivus/chat.py	Sat Aug 27 17:15:41 2011 +0200
+++ b/frontends/src/primitivus/chat.py	Sat Aug 27 17:24:17 2011 +0200
@@ -233,9 +233,9 @@
         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 @@
         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"""