[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/kajongg/src
From:       Wolfgang Rohdewald <wolfgang () rohdewald ! de>
Date:       2012-03-09 4:48:11
Message-ID: 20120309044811.57B8CAC89C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1284541 by wrohdewald:

sound: for specials like 'dangerous game' the wrong fiename was searched

kajongg searched the localized string while the filename always is
english

 M  +3 -3      message.py  


--- trunk/KDE/kdegames/kajongg/src/message.py #1284540:1284541
@@ -380,7 +380,7 @@
     """the game server tells us who violated an original call"""
     def clientAction(self, client, move):
         """violation: player may not say mah jongg"""
-        move.player.popupMsg(m18nc('kajongg', 'Violates Original Call'))
+        move.player.popupMsg('Violates Original Call')
         move.player.mayWin = False
         if Debug.originalCall:
             logDebug('%s: cleared mayWin' % move.player)
@@ -468,7 +468,7 @@
     """the game server tells us who played dangerous game"""
     def clientAction(self, client, move):
         """mirror the dangerous game action locally"""
-        move.player.popupMsg(m18nc('kajongg', 'Dangerous Game'))
+        move.player.popupMsg('Dangerous Game')
         move.player.playedDangerous = True
         return client.ask(move, [Message.OK])
 
@@ -481,7 +481,7 @@
     def clientAction(self, client, move):
         """mirror the no choice action locally"""
         self.move = move
-        move.player.popupMsg(m18nc('kajongg', 'No Choice'))
+        move.player.popupMsg('No Choice')
         move.player.claimedNoChoice = True
         move.player.showConcealedTiles(move.tile)
         # otherwise we have a visible artifact of the discarded tile.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic