gnome-games r7390 - in trunk/glchess: . src/lib/gtkui



Author: rancell
Date: Tue Feb 19 10:29:05 2008
New Revision: 7390
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7390&view=rev

Log:
Add translator comments (Bug #517320)


Modified:
   trunk/glchess/ChangeLog
   trunk/glchess/src/lib/gtkui/chessview.py

Modified: trunk/glchess/src/lib/gtkui/chessview.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/chessview.py	(original)
+++ trunk/glchess/src/lib/gtkui/chessview.py	Tue Feb 19 10:29:05 2008
@@ -405,9 +405,15 @@
         if status is not None:
             subs['result'] = status
         haveResult = status is not None
-            
-        subs['move'] = {True:  _('%(movenum)2iw.') % subs,
-                        False: _('%(movenum)2ib.') % subs}[isWhite]
+        
+        # Translators: This string is used in the move history to indicate which white move is being described.
+        # In a chess game the turns are '1w.', '1b.', '2w.', ...
+        whiteMovePrefix = _('%(movenum)2iw.') % subs
+        # Translators: This string is used in the move history to indicate which black move is being described.
+        # In a chess game the turns are '1w.', '1b.', '2w.', ...
+        blackMovePrefix = _('%(movenum)2ib.') % subs
+        subs['move'] = {True:  whiteMovePrefix,
+                        False: blackMovePrefix}[isWhite]
 
         if move.sanMove.startswith('O-O-O'):
             string = {(True, True):   _('%(move)s White castles long (%(result)s)'),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]