gnome-games r8103 - in branches/gnome-2-24/glchess: glade src/lib src/lib/gtkui src/lib/scene



Author: rancell
Date: Sun Oct 19 08:31:55 2008
New Revision: 8103
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8103&view=rev

Log:
Add/update translator comments

Modified:
   branches/gnome-2-24/glchess/glade/chess_view.glade
   branches/gnome-2-24/glchess/glade/glchess.glade
   branches/gnome-2-24/glchess/glade/load_game.glade
   branches/gnome-2-24/glchess/glade/log.glade
   branches/gnome-2-24/glchess/glade/network_game.glade
   branches/gnome-2-24/glchess/glade/new_game.glade
   branches/gnome-2-24/glchess/glade/preferences.glade
   branches/gnome-2-24/glchess/glade/save_game.glade
   branches/gnome-2-24/glchess/src/lib/cecp.py
   branches/gnome-2-24/glchess/src/lib/display.py
   branches/gnome-2-24/glchess/src/lib/gtkui/chessview.py
   branches/gnome-2-24/glchess/src/lib/gtkui/dialogs.py
   branches/gnome-2-24/glchess/src/lib/gtkui/gtkui.py
   branches/gnome-2-24/glchess/src/lib/gtkui/network.py
   branches/gnome-2-24/glchess/src/lib/main.py
   branches/gnome-2-24/glchess/src/lib/scene/__init__.py

Modified: branches/gnome-2-24/glchess/glade/chess_view.glade
==============================================================================
--- branches/gnome-2-24/glchess/glade/chess_view.glade	(original)
+++ branches/gnome-2-24/glchess/glade/chess_view.glade	Sun Oct 19 08:31:55 2008
@@ -2,7 +2,6 @@
 <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd";>
 
 <glade-interface>
-<requires lib="gnome"/>
 
 <widget class="GtkWindow" id="window1">
   <property name="width_request">300</property>
@@ -174,7 +173,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label1">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">label1</property>
+		      <property name="label">(message tab)</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">False</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -210,7 +209,7 @@
 		      <property name="left_margin">0</property>
 		      <property name="right_margin">0</property>
 		      <property name="indent">0</property>
-		      <property name="text" translatable="yes"></property>
+		      <property name="text"></property>
 		    </widget>
 		    <packing>
 		      <property name="tab_expand">True</property>
@@ -221,7 +220,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label2">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">label2</property>
+		      <property name="label">(comment tab)</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">False</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>

Modified: branches/gnome-2-24/glchess/glade/glchess.glade
==============================================================================
--- branches/gnome-2-24/glchess/glade/glchess.glade	(original)
+++ branches/gnome-2-24/glchess/glade/glchess.glade	Sun Oct 19 08:31:55 2008
@@ -38,7 +38,7 @@
 	  <child>
 	    <widget class="GtkMenuItem" id="menuitem1">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">_Game</property>
+	      <property name="label" translatable="yes" comments="The Game menu">_Game</property>
 	      <property name="use_underline">True</property>
 
 	      <child>
@@ -90,7 +90,7 @@
 		  <child>
 		    <widget class="GtkImageMenuItem" id="menu_play_online_item">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">Network _Game</property>
+		      <property name="label" translatable="yes" comments="The Game|Network Game menu">Network _Game</property>
 		      <property name="use_underline">True</property>
 		      <signal name="activate" handler="_on_join_game_button_clicked" last_modification_time="Sun, 30 Jul 2006 14:16:15 GMT"/>
 		      <accelerator key="L" modifiers="GDK_CONTROL_MASK" signal="activate"/>
@@ -118,7 +118,7 @@
 		  <child>
 		    <widget class="GtkImageMenuItem" id="menu_resign">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">_Resign</property>
+		      <property name="label" translatable="yes" comments="The Game|Resign menu">_Resign</property>
 		      <property name="use_underline">True</property>
 		      <signal name="activate" handler="_on_resign_clicked" last_modification_time="Sun, 20 Jan 2008 19:45:39 GMT"/>
 
@@ -139,7 +139,7 @@
 		  <child>
 		    <widget class="GtkImageMenuItem" id="menu_claim_draw">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">Claim _Draw</property>
+		      <property name="label" translatable="yes" comments="The Game|Claim Draw menu">Claim _Draw</property>
 		      <property name="use_underline">True</property>
 		      <signal name="activate" handler="_on_claim_draw_clicked" last_modification_time="Sun, 20 Jan 2008 19:45:39 GMT"/>
 
@@ -179,7 +179,7 @@
 	  <child>
 	    <widget class="GtkMenuItem" id="menuitem3">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">_View</property>
+	      <property name="label" translatable="yes" comments="The View menu">_View</property>
 	      <property name="use_underline">True</property>
 
 	      <child>
@@ -188,7 +188,7 @@
 		  <child>
 		    <widget class="GtkImageMenuItem" id="menu_fullscreen">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">_Fullscreen</property>
+		      <property name="label" translatable="yes" comments="The View|Fullscreen menu">_Fullscreen</property>
 		      <property name="use_underline">True</property>
 		      <signal name="activate" handler="_on_view_fullscreen_clicked" last_modification_time="Mon, 30 Oct 2006 21:20:40 GMT"/>
 		      <accelerator key="F11" modifiers="0" signal="activate"/>
@@ -209,7 +209,7 @@
 
 		  <child>
 		    <widget class="GtkImageMenuItem" id="menu_leave_fullscreen">
-		      <property name="label" translatable="yes">Leave _Fullscreen</property>
+		      <property name="label" translatable="yes" comments="The View|Leave Fullscreen menu">Leave _Fullscreen</property>
 		      <property name="use_underline">True</property>
 		      <signal name="activate" handler="_on_view_unfullscreen_clicked" last_modification_time="Mon, 30 Oct 2006 21:43:10 GMT"/>
 		      <accelerator key="F11" modifiers="0" signal="activate"/>
@@ -231,7 +231,7 @@
 		  <child>
 		    <widget class="GtkCheckMenuItem" id="menu_view_3d">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">3_D Chess View</property>
+		      <property name="label" translatable="yes" comments="The View|3D Chess View menu">3_D Chess View</property>
 		      <property name="use_underline">True</property>
 		      <property name="active">False</property>
 		      <signal name="activate" handler="_on_toggle_3d_clicked" last_modification_time="Thu, 14 Sep 2006 19:40:59 GMT"/>
@@ -241,7 +241,7 @@
 		  <child>
 		    <widget class="GtkCheckMenuItem" id="menu_view_logs">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">Show _Logs</property>
+		      <property name="label" translatable="yes" comments="The View|Show Logs menu">Show _Logs</property>
 		      <property name="use_underline">True</property>
 		      <property name="active">False</property>
 		      <signal name="activate" handler="_on_show_logs_clicked" last_modification_time="Sat, 01 Sep 2007 15:42:25 GMT"/>
@@ -255,7 +255,7 @@
 	  <child>
 	    <widget class="GtkMenuItem" id="settings">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">_Settings</property>
+	      <property name="label" translatable="yes" comments="The Settings menu">_Settings</property>
 	      <property name="use_underline">True</property>
 
 	      <child>
@@ -280,7 +280,7 @@
 	  <child>
 	    <widget class="GtkMenuItem" id="help2">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">_Help</property>
+	      <property name="label" translatable="yes" comments="The Help menu">_Help</property>
 	      <property name="use_underline">True</property>
 
 	      <child>
@@ -288,7 +288,7 @@
 
 		  <child>
 		    <widget class="GtkImageMenuItem" id="menu_help">
-		      <property name="label" translatable="yes">_Contents</property>
+		      <property name="label" translatable="yes" comments="The Help|Contents menu">_Contents</property>
 		      <property name="use_underline">True</property>
 		      <signal name="activate" handler="_on_help_clicked" last_modification_time="Fri, 11 Aug 2006 12:43:28 GMT"/>
 
@@ -337,8 +337,8 @@
 	  <child>
 	    <widget class="GtkToolButton" id="new_game_button">
 	      <property name="visible">True</property>
-	      <property name="tooltip" translatable="yes">Start a new game</property>
-	      <property name="label" translatable="yes">New Game</property>
+	      <property name="tooltip" translatable="yes" comments="Tooltip for the New Game toolbar button">Start a new game</property>
+	      <property name="label" translatable="yes" comments="The New Game toolbar button">New Game</property>
 	      <property name="use_underline">True</property>
 	      <property name="stock_id">gtk-new</property>
 	      <property name="visible_horizontal">True</property>
@@ -355,8 +355,8 @@
 	  <child>
 	    <widget class="GtkToolButton" id="play_online_button">
 	      <property name="visible">True</property>
-	      <property name="tooltip" translatable="yes">Start a new multiplayer network game</property>
-	      <property name="label" translatable="yes">Network _Game</property>
+	      <property name="tooltip" translatable="yes" comments="Tooltip for the Network Game toolbar button">Start a new multiplayer network game</property>
+	      <property name="label" translatable="yes" comments="The Network Game toolbar button">Network _Game</property>
 	      <property name="use_underline">True</property>
 	      <property name="stock_id">gtk-network</property>
 	      <property name="visible_horizontal">True</property>
@@ -373,7 +373,7 @@
 	  <child>
 	    <widget class="GtkToolButton" id="toolbutton1">
 	      <property name="visible">True</property>
-	      <property name="tooltip" translatable="yes">Load a saved game</property>
+	      <property name="tooltip" translatable="yes" comments="The tooltip for the Open toolbar button">Load a saved game</property>
 	      <property name="stock_id">gtk-open</property>
 	      <property name="visible_horizontal">True</property>
 	      <property name="visible_vertical">True</property>
@@ -390,7 +390,7 @@
 	    <widget class="GtkToolButton" id="save_game_button">
 	      <property name="visible">True</property>
 	      <property name="sensitive">False</property>
-	      <property name="tooltip" translatable="yes">Save the current game</property>
+	      <property name="tooltip" translatable="yes" comments="The tooltip for the Save toolbar button">Save the current game</property>
 	      <property name="stock_id">gtk-save</property>
 	      <property name="visible_horizontal">True</property>
 	      <property name="visible_vertical">True</property>
@@ -406,7 +406,7 @@
 	  <child>
 	    <widget class="GtkToolButton" id="resign_button">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">Resign</property>
+	      <property name="label" translatable="yes" comments="The tooltip for the Resign toolbar button">Resign</property>
 	      <property name="use_underline">True</property>
 	      <property name="stock_id">gtk-dialog-warning</property>
 	      <property name="visible_horizontal">True</property>
@@ -467,7 +467,7 @@
 		    <widget class="GtkButton" id="first_move_button">
 		      <property name="visible">True</property>
 		      <property name="sensitive">False</property>
-		      <property name="tooltip" translatable="yes">Rewind to the game start</property>
+		      <property name="tooltip" translatable="yes" comments="The tooltip for the go to start button on the move navigator">Rewind to the game start</property>
 		      <property name="can_focus">True</property>
 		      <property name="relief">GTK_RELIEF_NORMAL</property>
 		      <property name="focus_on_click">True</property>
@@ -496,7 +496,7 @@
 		    <widget class="GtkButton" id="prev_move_button">
 		      <property name="visible">True</property>
 		      <property name="sensitive">False</property>
-		      <property name="tooltip" translatable="yes">Show the previous move</property>
+		      <property name="tooltip" translatable="yes" comments="The tooltip for the go to previous move button on the move navigator">Show the previous move</property>
 		      <property name="can_focus">True</property>
 		      <property name="relief">GTK_RELIEF_NORMAL</property>
 		      <property name="focus_on_click">True</property>
@@ -525,7 +525,7 @@
 		    <widget class="GtkButton" id="next_move_button">
 		      <property name="visible">True</property>
 		      <property name="sensitive">False</property>
-		      <property name="tooltip" translatable="yes">Show the next move</property>
+		      <property name="tooltip" translatable="yes" comments="The tooltip for the go to next move button on the move navigator">Show the next move</property>
 		      <property name="can_focus">True</property>
 		      <property name="relief">GTK_RELIEF_NORMAL</property>
 		      <property name="focus_on_click">True</property>
@@ -554,7 +554,7 @@
 		    <widget class="GtkButton" id="last_move_button">
 		      <property name="visible">True</property>
 		      <property name="sensitive">False</property>
-		      <property name="tooltip" translatable="yes">Show the current move</property>
+		      <property name="tooltip" translatable="yes" comments="The tooltip for the show current move button on the move navigator">Show the current move</property>
 		      <property name="can_focus">True</property>
 		      <property name="relief">GTK_RELIEF_NORMAL</property>
 		      <property name="focus_on_click">True</property>
@@ -658,7 +658,7 @@
 
 <widget class="GtkWindow" id="log_window">
   <property name="border_width">6</property>
-  <property name="title" translatable="yes">Logs</property>
+  <property name="title" translatable="yes" comments="The title of the log dialaog">Logs</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>
@@ -711,7 +711,7 @@
 	  <child>
 	    <widget class="GtkLabel" id="label57">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">There are no active logs.</property>
+	      <property name="label" translatable="yes" comments="Message displayed in log window when no logs are present">There are no active logs.</property>
 	      <property name="use_underline">False</property>
 	      <property name="use_markup">False</property>
 	      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -742,7 +742,7 @@
       <child>
 	<widget class="GtkLabel" id="label51">
 	  <property name="visible">True</property>
-	  <property name="label" translatable="yes">Summary</property>
+	  <property name="label"></property>
 	  <property name="use_underline">False</property>
 	  <property name="use_markup">False</property>
 	  <property name="justify">GTK_JUSTIFY_LEFT</property>

Modified: branches/gnome-2-24/glchess/glade/load_game.glade
==============================================================================
--- branches/gnome-2-24/glchess/glade/load_game.glade	(original)
+++ branches/gnome-2-24/glchess/glade/load_game.glade	Sun Oct 19 08:31:55 2008
@@ -6,7 +6,7 @@
 <widget class="GtkDialog" id="game_load_dialog">
   <property name="border_width">5</property>
   <property name="visible">True</property>
-  <property name="title" translatable="yes">Load Chess Game</property>
+  <property name="title" translatable="yes" comments="Title of load game dialog">Load Chess Game</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>

Modified: branches/gnome-2-24/glchess/glade/log.glade
==============================================================================
--- branches/gnome-2-24/glchess/glade/log.glade	(original)
+++ branches/gnome-2-24/glchess/glade/log.glade	Sun Oct 19 08:31:55 2008
@@ -31,7 +31,7 @@
       <child>
 	<widget class="GtkLabel" id="label52">
 	  <property name="visible">True</property>
-	  <property name="label" translatable="yes">Executable:</property>
+	  <property name="label" translatable="yes" comments="Log window: Label before name of executable being logged">Executable:</property>
 	  <property name="use_underline">False</property>
 	  <property name="use_markup">False</property>
 	  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -87,7 +87,7 @@
       <child>
 	<widget class="GtkLabel" id="label55">
 	  <property name="visible">True</property>
-	  <property name="label" translatable="yes">Playing as:</property>
+	  <property name="label" translatable="yes" comments="Log window: Label before name of player being logged">Playing as:</property>
 	  <property name="use_underline">False</property>
 	  <property name="use_markup">False</property>
 	  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -165,7 +165,7 @@
 	      <property name="left_margin">0</property>
 	      <property name="right_margin">0</property>
 	      <property name="indent">0</property>
-	      <property name="text" translatable="yes"></property>
+	      <property name="text"></property>
 	    </widget>
 	  </child>
 	</widget>
@@ -181,7 +181,7 @@
       <child>
 	<widget class="GtkLabel" id="label58">
 	  <property name="visible">True</property>
-	  <property name="label" translatable="yes">Communication:</property>
+	  <property name="label" translatable="yes" comments="Log window: Title above data being logged">Communication:</property>
 	  <property name="use_underline">False</property>
 	  <property name="use_markup">False</property>
 	  <property name="justify">GTK_JUSTIFY_LEFT</property>

Modified: branches/gnome-2-24/glchess/glade/network_game.glade
==============================================================================
--- branches/gnome-2-24/glchess/glade/network_game.glade	(original)
+++ branches/gnome-2-24/glchess/glade/network_game.glade	Sun Oct 19 08:31:55 2008
@@ -4,7 +4,7 @@
 <glade-interface>
 
 <widget class="GtkDialog" id="network_game_dialog">
-  <property name="title" translatable="yes">Join Game</property>
+  <property name="title" translatable="yes" comments="Title of network game dialog">Join Game</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>
@@ -200,7 +200,7 @@
 			  <child>
 			    <widget class="GtkLabel" id="label3">
 			      <property name="visible">True</property>
-			      <property name="label" translatable="yes">_Profile:</property>
+			      <property name="label" translatable="yes" comments="Network Game Dialog: Label before the server profile combo box">_Profile:</property>
 			      <property name="use_underline">True</property>
 			      <property name="use_markup">False</property>
 			      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -269,7 +269,7 @@
 	      <child>
 		<widget class="GtkLabel" id="label6">
 		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">&lt;b&gt;Server&lt;/b&gt;</property>
+		  <property name="label" translatable="yes" comments="Network Game Dialog: Title above the server settings. Do not translate the &lt;b&gt; tag.">&lt;b&gt;Server&lt;/b&gt;</property>
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">True</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -377,7 +377,7 @@
 				  <property name="sensitive">False</property>
 				  <property name="can_default">True</property>
 				  <property name="can_focus">True</property>
-				  <property name="label" translatable="yes">Join</property>
+				  <property name="label" translatable="yes" comments="Network Game Dialog: Button to join a table">Join</property>
 				  <property name="use_underline">True</property>
 				  <property name="relief">GTK_RELIEF_NORMAL</property>
 				  <property name="focus_on_click">True</property>
@@ -446,7 +446,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label9">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;b&gt;Rooms&lt;/b&gt;</property>
+		      <property name="label" translatable="yes" comments="Network Game Dialog: Title above room list. Do not translate the &lt;b&gt; tag.">&lt;b&gt;Rooms&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -534,7 +534,7 @@
 			  <child>
 			    <widget class="GtkLabel" id="game_name_label">
 			      <property name="visible">True</property>
-			      <property name="label" translatable="yes">Game Name</property>
+			      <property name="label">(game name)</property>
 			      <property name="use_underline">False</property>
 			      <property name="use_markup">False</property>
 			      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -569,7 +569,7 @@
 				  <property name="visible">True</property>
 				  <property name="can_default">True</property>
 				  <property name="can_focus">True</property>
-				  <property name="label" translatable="yes">Leave</property>
+				  <property name="label" translatable="yes" comments="Network Game Dialog: Leave table button">Leave</property>
 				  <property name="use_underline">True</property>
 				  <property name="relief">GTK_RELIEF_NORMAL</property>
 				  <property name="focus_on_click">True</property>
@@ -593,7 +593,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label8">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;b&gt;Game&lt;/b&gt;</property>
+		      <property name="label" translatable="yes" comments="Network Game Dialog: Title above the game settings. Do not translate the &lt;b&gt; tag.">&lt;b&gt;Game&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -679,7 +679,7 @@
 				      <property name="left_margin">0</property>
 				      <property name="right_margin">0</property>
 				      <property name="indent">0</property>
-				      <property name="text" translatable="yes"></property>
+				      <property name="text"></property>
 				    </widget>
 				  </child>
 				</widget>
@@ -697,7 +697,7 @@
 				  <property name="editable">True</property>
 				  <property name="visibility">True</property>
 				  <property name="max_length">0</property>
-				  <property name="text" translatable="yes"></property>
+				  <property name="text"></property>
 				  <property name="has_frame">True</property>
 				  <property name="invisible_char">â</property>
 				  <property name="activates_default">False</property>
@@ -758,7 +758,7 @@
 		  <child>
 		    <widget class="GtkLabel" id="label7">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;b&gt;Status/Chat&lt;/b&gt;</property>
+		      <property name="label" translatable="yes" comments="Network Game Dialog: Title above the chat text. Do not translate the &lt;b&gt; tag.">&lt;b&gt;Status/Chat&lt;/b&gt;</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>

Modified: branches/gnome-2-24/glchess/glade/new_game.glade
==============================================================================
--- branches/gnome-2-24/glchess/glade/new_game.glade	(original)
+++ branches/gnome-2-24/glchess/glade/new_game.glade	Sun Oct 19 08:31:55 2008
@@ -5,7 +5,7 @@
 
 <widget class="GtkDialog" id="new_game_dialog">
   <property name="border_width">5</property>
-  <property name="title" translatable="yes">New Game</property>
+  <property name="title" translatable="yes" comments="Title of the new game dialog">New Game</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>
@@ -48,7 +48,7 @@
 	  <child>
 	    <widget class="GtkButton" id="start_button">
 	      <property name="visible">True</property>
-	      <property name="tooltip" translatable="yes">Start the game. The game can be started once all fields are complete</property>
+	      <property name="tooltip" translatable="yes" comments="New Game Dialog: Tooltip on start game button">Start the game. The game can be started once all fields are complete</property>
 	      <property name="can_default">True</property>
 	      <property name="has_default">True</property>
 	      <property name="can_focus">True</property>
@@ -95,7 +95,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label57">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">_Start</property>
+			  <property name="label" translatable="yes" comments="New Game Dialog: Button to start a new game">_Start</property>
 			  <property name="use_underline">True</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -237,7 +237,7 @@
 	      <child>
 		<widget class="GtkLabel" id="label60">
 		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">&lt;b&gt;Game Properties&lt;/b&gt;</property>
+		  <property name="label" translatable="yes" comments="New Game Dialog: Title above the game properties widgets">&lt;b&gt;Game Properties&lt;/b&gt;</property>
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">True</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -274,7 +274,7 @@
 		  <child>
 		    <widget class="GtkTable" id="table5">
 		      <property name="visible">True</property>
-		      <property name="n_rows">4</property>
+		      <property name="n_rows">3</property>
 		      <property name="n_columns">3</property>
 		      <property name="homogeneous">False</property>
 		      <property name="row_spacing">6</property>
@@ -283,7 +283,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label1">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">_Game name:</property>
+			  <property name="label" translatable="yes" comments="New Game Dialog: Label before the game name entry">_Game name:</property>
 			  <property name="use_underline">True</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -312,12 +312,12 @@
 		      <child>
 			<widget class="GtkEntry" id="game_name_entry">
 			  <property name="visible">True</property>
-			  <property name="tooltip" translatable="yes">Enter the title for this game</property>
+			  <property name="tooltip" translatable="yes" comments="New Game Dialog: Tooltip for the game name entry">Enter the title for this game</property>
 			  <property name="can_focus">True</property>
 			  <property name="editable">True</property>
 			  <property name="visibility">True</property>
 			  <property name="max_length">0</property>
-			  <property name="text" translatable="yes">Local chess game</property>
+			  <property name="text"></property>
 			  <property name="has_frame">True</property>
 			  <property name="invisible_char">*</property>
 			  <property name="activates_default">False</property>
@@ -334,30 +334,9 @@
 		      </child>
 
 		      <child>
-			<widget class="GtkCheckButton" id="spectator_checkbutton">
-			  <property name="tooltip" translatable="yes">Allow remote clients to watch this game</property>
-			  <property name="can_focus">True</property>
-			  <property name="label" translatable="yes">_Allow spectators</property>
-			  <property name="use_underline">True</property>
-			  <property name="relief">GTK_RELIEF_NORMAL</property>
-			  <property name="focus_on_click">True</property>
-			  <property name="active">True</property>
-			  <property name="inconsistent">False</property>
-			  <property name="draw_indicator">True</property>
-			</widget>
-			<packing>
-			  <property name="left_attach">1</property>
-			  <property name="right_attach">3</property>
-			  <property name="top_attach">3</property>
-			  <property name="bottom_attach">4</property>
-			  <property name="y_options"></property>
-			</packing>
-		      </child>
-
-		      <child>
 			<widget class="GtkLabel" id="label2">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">Move _Time:</property>
+			  <property name="label" translatable="yes" comments="New Game Dialog: Label before game timer settings">Move _Time:</property>
 			  <property name="use_underline">True</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -413,7 +392,7 @@
 			  <property name="left_attach">0</property>
 			  <property name="right_attach">1</property>
 			  <property name="top_attach">0</property>
-			  <property name="bottom_attach">4</property>
+			  <property name="bottom_attach">3</property>
 			  <property name="x_options">fill</property>
 			  <property name="y_options">fill</property>
 			</packing>
@@ -446,7 +425,7 @@
 				  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 				  <property name="snap_to_ticks">False</property>
 				  <property name="wrap">False</property>
-				  <property name="adjustment">1 0 300 1 10 10</property>
+				  <property name="adjustment">1 0 300 1 10 0</property>
 				</widget>
 				<packing>
 				  <property name="padding">0</property>
@@ -505,7 +484,7 @@
 	      <child>
 		<widget class="GtkLabel" id="label58">
 		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">&lt;b&gt;Players&lt;/b&gt;</property>
+		  <property name="label" translatable="yes" comments="New Game Dialog: Title above player options">&lt;b&gt;Players&lt;/b&gt;</property>
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">True</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -551,7 +530,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label4">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">_Black:</property>
+			  <property name="label" translatable="yes" comments="New Game Dialog: Label before black player combo box">_Black:</property>
 			  <property name="use_underline">True</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -580,7 +559,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label3">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">_White:</property>
+			  <property name="label" translatable="yes" comments="New Game Dialog: Label before white player combo box">_White:</property>
 			  <property name="use_underline">True</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -683,7 +662,7 @@
 	      <child>
 		<widget class="GtkLabel" id="label59">
 		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">&lt;b&gt;Difficulty&lt;/b&gt;</property>
+		  <property name="label" translatable="yes" comments="New Game Dialog: Title above difficulty options">&lt;b&gt;Difficulty&lt;/b&gt;</property>
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">True</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -749,7 +728,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label5">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">W_hite:</property>
+			  <property name="label" translatable="yes" comments="New Game Dialog: Label before white player difficulty">W_hite:</property>
 			  <property name="use_underline">True</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -778,7 +757,7 @@
 		      <child>
 			<widget class="GtkLabel" id="label6">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">B_lack:</property>
+			  <property name="label" translatable="yes" comments="New Game Dialog: Label before black player difficulty">B_lack:</property>
 			  <property name="use_underline">True</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>

Modified: branches/gnome-2-24/glchess/glade/preferences.glade
==============================================================================
--- branches/gnome-2-24/glchess/glade/preferences.glade	(original)
+++ branches/gnome-2-24/glchess/glade/preferences.glade	Sun Oct 19 08:31:55 2008
@@ -2,10 +2,9 @@
 <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd";>
 
 <glade-interface>
-<requires lib="gnome"/>
 
 <widget class="GtkDialog" id="preferences">
-  <property name="title" translatable="yes">Preferences</property>
+  <property name="title" translatable="yes" comments="Title for preferences dialog">Preferences</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>
@@ -77,7 +76,7 @@
 	      <child>
 		<widget class="GtkLabel" id="board_label">
 		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">Board Orientation:</property>
+		  <property name="label" translatable="yes" comments="Preferences Dialog: Label before board orientation combo box">Board Orientation:</property>
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -105,7 +104,7 @@
 	      <child>
 		<widget class="GtkLabel" id="format_label">
 		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">Move Format:</property>
+		  <property name="label" translatable="yes" comments="Preferences Dialog: Label before move format combo box">Move Format:</property>
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -133,7 +132,7 @@
 	      <child>
 		<widget class="GtkLabel" id="label5">
 		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">Promotion Type:</property>
+		  <property name="label" translatable="yes" comments="Preferences Dialog: Label before promotion type combo box">Promotion Type:</property>
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -161,7 +160,7 @@
 	      <child>
 		<widget class="GtkComboBox" id="board_combo">
 		  <property name="visible">True</property>
-		  <property name="items" translatable="yes"></property>
+		  <property name="items"></property>
 		  <property name="add_tearoffs">False</property>
 		  <property name="focus_on_click">True</property>
 		  <signal name="changed" handler="_on_board_combo_changed" last_modification_time="Sun, 20 Jan 2008 12:51:36 GMT"/>
@@ -178,7 +177,7 @@
 	      <child>
 		<widget class="GtkComboBox" id="move_format_combo">
 		  <property name="visible">True</property>
-		  <property name="items" translatable="yes"></property>
+		  <property name="items"></property>
 		  <property name="add_tearoffs">False</property>
 		  <property name="focus_on_click">True</property>
 		  <signal name="changed" handler="_on_move_format_combo_changed" last_modification_time="Sun, 20 Jan 2008 18:45:14 GMT"/>
@@ -196,7 +195,7 @@
 	      <child>
 		<widget class="GtkComboBox" id="promotion_type_combo">
 		  <property name="visible">True</property>
-		  <property name="items" translatable="yes"></property>
+		  <property name="items"></property>
 		  <property name="add_tearoffs">False</property>
 		  <property name="focus_on_click">True</property>
 		  <signal name="changed" handler="_on_promotion_type_combo_changed" last_modification_time="Sun, 20 Jan 2008 12:52:19 GMT"/>
@@ -220,7 +219,7 @@
 	  <child>
 	    <widget class="GtkLabel" id="game_label">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">_Game</property>
+	      <property name="label" translatable="yes" comments="Preferences Dialog: Title of game options tab">_Game</property>
 	      <property name="use_underline">True</property>
 	      <property name="use_markup">False</property>
 	      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -250,9 +249,9 @@
 	      <child>
 		<widget class="GtkCheckButton" id="show_3d">
 		  <property name="visible">True</property>
-		  <property name="tooltip" translatable="yes">View the chess board by default in 2D mode, or optionally in 3D mode using OpenGL.</property>
+		  <property name="tooltip" translatable="yes" comments="Preferences Dialog: Tooltip for 3D Chess View option">View the chess board by default in 2D mode, or optionally in 3D mode using OpenGL.</property>
 		  <property name="can_focus">True</property>
-		  <property name="label" translatable="yes">3_D Chess View</property>
+		  <property name="label" translatable="yes" comments="Preferences Dialog: Check box for selecting if 3D view is available">3_D Chess View</property>
 		  <property name="use_underline">True</property>
 		  <property name="relief">GTK_RELIEF_NORMAL</property>
 		  <property name="focus_on_click">True</property>
@@ -271,9 +270,9 @@
 	      <child>
 		<widget class="GtkCheckButton" id="show_toolbar">
 		  <property name="visible">True</property>
-		  <property name="tooltip" translatable="yes">Show or hide the toolbar</property>
+		  <property name="tooltip" translatable="yes" comments="Preferences Dialog: Tooltip for Show Toolbar option">Show or hide the toolbar</property>
 		  <property name="can_focus">True</property>
-		  <property name="label" translatable="yes">Show _Toolbar</property>
+		  <property name="label" translatable="yes" comments="Preferences Dialog: Check box for selecting if toolbar is visible">Show _Toolbar</property>
 		  <property name="use_underline">True</property>
 		  <property name="relief">GTK_RELIEF_NORMAL</property>
 		  <property name="focus_on_click">True</property>
@@ -292,9 +291,9 @@
 	      <child>
 		<widget class="GtkCheckButton" id="show_history">
 		  <property name="visible">True</property>
-		  <property name="tooltip" translatable="yes">Show or hide the game history panel</property>
+		  <property name="tooltip" translatable="yes" comments="Preferences Dialog: Tooltip for Show History option">Show or hide the game history panel</property>
 		  <property name="can_focus">True</property>
-		  <property name="label" translatable="yes">Show _History</property>
+		  <property name="label" translatable="yes" comments="Preferences Dialog: Check box for selecting if history browser is visible">Show _History</property>
 		  <property name="use_underline">True</property>
 		  <property name="relief">GTK_RELIEF_NORMAL</property>
 		  <property name="focus_on_click">True</property>
@@ -313,9 +312,9 @@
 	      <child>
 		<widget class="GtkCheckButton" id="show_move_hints">
 		  <property name="visible">True</property>
-		  <property name="tooltip" translatable="yes">Shows hints during chess games</property>
+		  <property name="tooltip" translatable="yes" comments="Preferences Dialog: Tooltip for Move Hints option">Shows hints during chess games</property>
 		  <property name="can_focus">True</property>
-		  <property name="label" translatable="yes">_Move Hints</property>
+		  <property name="label" translatable="yes" comments="Preferences Dialog: Check box for selecting if move hints are visible">_Move Hints</property>
 		  <property name="use_underline">True</property>
 		  <property name="relief">GTK_RELIEF_NORMAL</property>
 		  <property name="focus_on_click">True</property>
@@ -334,9 +333,9 @@
 	      <child>
 		<widget class="GtkCheckButton" id="show_numbering">
 		  <property name="visible">True</property>
-		  <property name="tooltip" translatable="yes">Show or hide numbering on the chess board</property>
+		  <property name="tooltip" translatable="yes" comments="Preferences Dialog: Tooltip for Board Numbering option">Show or hide numbering on the chess board</property>
 		  <property name="can_focus">True</property>
-		  <property name="label" translatable="yes">_Board Numbering</property>
+		  <property name="label" translatable="yes" comments="Preferences Dialog: Check box for selecting if board numbering is visible">_Board Numbering</property>
 		  <property name="use_underline">True</property>
 		  <property name="relief">GTK_RELIEF_NORMAL</property>
 		  <property name="focus_on_click">True</property>
@@ -361,7 +360,7 @@
 	  <child>
 	    <widget class="GtkLabel" id="view_label">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">_View</property>
+	      <property name="label" translatable="yes" comments="Preferences Dialog: Title of view options tab">_View</property>
 	      <property name="use_underline">True</property>
 	      <property name="use_markup">False</property>
 	      <property name="justify">GTK_JUSTIFY_LEFT</property>

Modified: branches/gnome-2-24/glchess/glade/save_game.glade
==============================================================================
--- branches/gnome-2-24/glchess/glade/save_game.glade	(original)
+++ branches/gnome-2-24/glchess/glade/save_game.glade	Sun Oct 19 08:31:55 2008
@@ -6,7 +6,7 @@
 <widget class="GtkDialog" id="save_dialog">
   <property name="border_width">5</property>
   <property name="visible">True</property>
-  <property name="title" translatable="yes">Save Chess Game</property>
+  <property name="title" translatable="yes" comments="Title of save game dialog">Save Chess Game</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>
@@ -99,7 +99,7 @@
 	  <child>
 	    <widget class="GtkLabel" id="error_title_label">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="no">&lt;big&gt;&lt;b&gt;Error Title&lt;/b&gt;&lt;/big&gt;</property>
+	      <property name="label">&lt;big&gt;&lt;b&gt;Error Title&lt;/b&gt;&lt;/big&gt;</property>
 	      <property name="use_underline">False</property>
 	      <property name="use_markup">True</property>
 	      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -126,7 +126,7 @@
 	  <child>
 	    <widget class="GtkLabel" id="error_description_label">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="no">&lt;i&gt;Error description&lt;/i&gt;</property>
+	      <property name="label">&lt;i&gt;Error description&lt;/i&gt;</property>
 	      <property name="use_underline">False</property>
 	      <property name="use_markup">True</property>
 	      <property name="justify">GTK_JUSTIFY_LEFT</property>

Modified: branches/gnome-2-24/glchess/src/lib/cecp.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/cecp.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/cecp.py	Sun Oct 19 08:31:55 2008
@@ -58,6 +58,9 @@
         """Called when the AI resigns"""
         print 'CECP AI resigns'
         
+    def logText(self, text, style):
+        print 'LOG: %s' % text
+        
     # Public methods
     
     def sendSetSearchDepth(self, searchDepth):

Modified: branches/gnome-2-24/glchess/src/lib/display.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/display.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/display.py	Sun Oct 19 08:31:55 2008
@@ -281,7 +281,7 @@
         """Called by ui.ViewFeedback"""
         self.scene.showBoardNumbering(showNumbering)
         self.cairoScene.showBoardNumbering(showNumbering)
-        
+
     def showMoveHints(self, showHints):
         """Called by ui.ViewFeedback"""
         pass

Modified: branches/gnome-2-24/glchess/src/lib/gtkui/chessview.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/gtkui/chessview.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/gtkui/chessview.py	Sun Oct 19 08:31:55 2008
@@ -14,13 +14,13 @@
 try:
     import OpenGL.GL
 except:
-    # Translators: This message is displayed when 3D mode is not available due to no Python OpenGL libraries
+    # Translators: Error message displayed when 3D mode is not available due to no Python OpenGL libraries
     openGLErrors.append(_('No Python OpenGL support'))
 try:
     import gtk.gtkgl
     import gtk.gdkgl
 except:
-    # Translators: This message is displayed when 3D mode is not available due to no Python GTKGLExt libraries
+    # Translators: Error message displayed when 3D mode is not available due to no Python GTKGLExt libraries
     openGLErrors.append(_('No Python GTKGLExt support'))
 else:
     display_mode = (gtk.gdkgl.MODE_RGB | gtk.gdkgl.MODE_DEPTH | gtk.gdkgl.MODE_DOUBLE)
@@ -31,7 +31,7 @@
         try:
             glConfig = gtk.gdkgl.Config(mode = display_mode)
         except gtk.gdkgl.NoMatches:
-            # Translators: This message is displayed when 3D mode is not available due to their 3D drivers not being able to provide a suitable display mode
+            # Translators: Error message displayed when 3D mode is not available due to their 3D drivers not being able to provide a suitable display mode
             openGLErrors.append(_('OpenGL libraries do not support required display mode'))
 haveGLSupport = len(openGLErrors) == 0
 
@@ -251,6 +251,7 @@
         # Make a model for navigation (move object, number, description) 
         model = gtk.ListStore(gobject.TYPE_PYOBJECT, int, str)
         iter = model.append()
+        # Translators: Move History Combo: Go to the start of the game
         model.set(iter, 0, None, 1, 0, 2, _('Game Start'))
         self.moveModel = model
 
@@ -288,6 +289,7 @@
             else:
                 titleLabel.set_markup('<big><b>%s</b></big>' % self.generateMoveString(move))
             
+            # Translators: Comment text when move has no comment
             comment = _('No comment')
             if move is not None and len(move.comment) > 0:
                 comment = move.comment
@@ -464,7 +466,7 @@
             self.ui._updateViewButtons()
 
     def endGame(self, game):
-        # Translators: This message is displayed when a player wins. The %s is substituted with the winning player's name
+        # Translators: Message displayed when a player wins. The %s is substituted with the winning player's name
         format = _('%s wins')
         
         # If game completed show this in the GUI
@@ -473,39 +475,39 @@
         elif game.result is glchess.game.RESULT_BLACK_WINS:
             title = format % game.getBlack().getName()
         else:
-            # Translators: This message is displayed when a game is drawn
+            # Translators: Message displayed when a game is drawn
             title = _('Game is drawn')
 
         description = ''
         if game.rule is glchess.game.RULE_CHECKMATE:
-            # Translators: This message is displayed when the game ends due to a player being checkmated
+            # Translators: Message displayed when the game ends due to a player being checkmated
             description = _('Opponent is in check and cannot move (checkmate)')
         elif game.rule is glchess.game.RULE_STALEMATE:
-            # Translators: This message is displayed when the game terminates due to a stalemate
+            # Translators: Message displayed when the game terminates due to a stalemate
             description = _('Opponent cannot move (stalemate)')
         elif game.rule is glchess.game.RULE_FIFTY_MOVES:
-            # Translators: This message is displayed when the game is drawn due to the fifty move rule
+            # Translators: Message displayed when the game is drawn due to the fifty move rule
             description = _('No piece has been taken or pawn moved in the last fifty moves')
         elif game.rule is glchess.game.RULE_TIMEOUT:
-            # Translators: This message is displayed when the game ends due to one player's clock stopping
+            # Translators: Message displayed when the game ends due to one player's clock stopping
             description = _('Opponent has run out of time')
         elif game.rule is glchess.game.RULE_THREE_FOLD_REPETITION:
-            # Translators: This message is displayed when the game is drawn due to the three-fold-repitition rule
+            # Translators: Message displayed when the game is drawn due to the three-fold-repitition rule
             description = _('The same board state has occured three times (three fold repetition)')
         elif game.rule is glchess.game.RULE_INSUFFICIENT_MATERIAL:
-            # Translators: This message is displayed when the game is drawn due to the insufficient material rule
+            # Translators: Message displayed when the game is drawn due to the insufficient material rule
             description = _('Neither player can cause checkmate (insufficient material)')
         elif game.rule is glchess.game.RULE_RESIGN:
             if game.result is glchess.game.RESULT_WHITE_WINS:
-                # Translators: This message is displayed when the game ends due to the black player resigning
+                # Translators: Message displayed when the game ends due to the black player resigning
                 description = _('The black player has resigned')
             elif game.result is glchess.game.RESULT_BLACK_WINS:
-                # Translators: This message is displayed when the game ends due to the white player resigning
+                # Translators: Message displayed when the game ends due to the white player resigning
                 description = _('The white player has resigned')
             else:
                 assert(False)
         elif game.rule is glchess.game.RULE_DEATH:
-            # Translators: This message is displayed when the game ends due to a player dying
+            # Translators: Message displayed when the game ends due to a player dying
             description = _('One of the players has died')
 
         self.gameResult = (title, description)

Modified: branches/gnome-2-24/glchess/src/lib/gtkui/dialogs.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/gtkui/dialogs.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/gtkui/dialogs.py	Sun Oct 19 08:31:55 2008
@@ -120,12 +120,17 @@
             
         # Create model for game time
         defaultTime = glchess.config.get('new_game_dialog/move_time')
-        # Translators: This is one of the options game duration combo box in the new game dialog
+                  # Translators: Time Combo: There is no time limit
         times = [(_('Unlimited'),       0),
+                  # Translators: Time Combo: Game will last one minute
                  (_('One minute'),     60),
+                  # Translators: Time Combo: Game will last five minutes
                  (_('Five minutes'),  300),
+                  # Translators: Time Combo: Game will last 30 minutes
                  (_('30 minutes'),   1800),
+                  # Translators: Time Combo: Game will last one hour
                  (_('One hour'),     3600),
+                  # Translators: Time Combo: User will configure game duration
                  (_('Custom'),         -1)]
         timeModel = gtk.ListStore(str, int)
         activeIter = None
@@ -146,8 +151,11 @@
         widget.add_attribute(cell, 'text', 0)
 
         model = gtk.ListStore(str, int)
+                  # Translators: Custom Time Combo: User specifying number of seconds for game duration
         units = [(_('seconds'),  1),
+                  # Translators: Custom Time Combo: User specifying number of minutes for game duration
                  (_('minutes'), 60),
+                  # Translators: Custom Time Combo: User specifying number of hours for game duration
                  (_('hours'), 3600)]
         for (name, multiplier) in units:
             iter = model.append()
@@ -165,8 +173,11 @@
 
         # Create the model for difficulty options
         levelModel = gtk.ListStore(str, str, str)
+                  # Translators: AI Difficulty Combo: AI set to easy difficulty
         levels = [('easy',   _('Easy'),   'weather-few-clouds'),
+                  # Translators: AI Difficulty Combo: AI set to normal diffuculty
                   ('normal', _('Normal'), 'weather-overcast'),
+                  # Translators: AI Difficulty Combo: AI set to hard diffuculty
                   ('hard',   _('Hard'),   'weather-storm')]
         for (key, label, icon) in levels:
             iter = levelModel.append()
@@ -306,7 +317,7 @@
         else:
             whiteName = self.__getComboData(self.__gui.get_widget('white_type_combo'), 2)
             blackName = self.__getComboData(self.__gui.get_widget('black_type_combo'), 2)
-            # Translators: This is the default name for a new game. %(white) and %(black) are substituted for the names of the white and black players.
+            # Translators: Default name for a new game. %(white) and %(black) are substituted for the names of the white and black players.
             format = _('%(white)s versus %(black)s')
             self.__gui.get_widget('game_name_entry').set_text(format % {'white': whiteName, 'black': blackName})
 
@@ -330,14 +341,14 @@
         # Get the players
         game.white.type  = self.__getComboData(self.__gui.get_widget('white_type_combo'), 0)
         if game.white.type == '':
-            # Translators: This is the default name for the white player
+            # Translators: Default name for the white player
             game.white.name = _('White')
         else:
             game.white.name = self.__getComboData(self.__gui.get_widget('white_type_combo'), 2)
         game.white.level = self.__getComboData(self.__gui.get_widget('white_difficulty_combo'), 0)
         game.black.type  = self.__getComboData(self.__gui.get_widget('black_type_combo'), 0)
         if game.black.type == '':
-            # Translators: This is the default name for the black player
+            # Translators: Default name for the black player
             game.black.name = _('Black')
         else:
             game.black.name = self.__getComboData(self.__gui.get_widget('black_type_combo'), 2)
@@ -447,7 +458,7 @@
 
             fileName = self.__gui.get_widget('filechooserwidget').get_filename()
             if fileName is None:
-                # Translators: This message is displayed in the load dialog when no file is selected
+                # Translators: Message displayed in load game dialog when no file is selected
                 error = _('Please select a file to load')
             else:
                 error = self.__mainUI.feedback.loadGame(fileName, responseId == gtk.RESPONSE_YES)
@@ -455,6 +466,7 @@
             if error is not None:
                 self.firstExpose = True
                 self.__gui.get_widget('error_box').show()
+                # Translators: Title of error box when unable to load game
                 self.__gui.get_widget('error_title_label').set_markup('<big><b>%s</b></big>' % _('Unabled to load game'))
                 self.__gui.get_widget('error_description_label').set_markup('<i>%s</i>' % error)
                 return
@@ -524,6 +536,7 @@
             # Append .pgn to the end if not provided
             fname = chooser.get_filename()
             if fname is None:
+                # Translators: Save Game Dialog: Error displayed when no file name entered
                 self.__setError(_('Please enter a file name'), '')
                 return
             if fname[-4:].lower() != '.pgn':
@@ -536,6 +549,7 @@
 
             error = self.__mainUI._saveView(self.__view, fname)
             if error is not None:
+                # Translators: Save Game Dialog: Error title when unable to save game
                 self.__setError(_('Unabled to save game'), error)
                 return
         else:
@@ -561,20 +575,27 @@
         moveModel = gtk.ListStore(str, str)
         widget = self.__gui.get_widget('move_format_combo')
         widget.set_model(moveModel)
+                        # Translators: Move Format Combo: Moves shown in human descriptive notation
         move_formats = [('human', _('Human')),
+                        # Translators: Move Format Combo: Moves shown in long algebraic notation (LAN)
                         ('lan', _('Long Algebraic')),
+                        # Translators: Move Format Combo: Moves shown in standard algebraic notation (SAN)
                         ('san', _('Standard Algebraic'))]
         for (key, label) in move_formats:
             iter = moveModel.append()
             moveModel.set(iter, 0, label, 1, key)
 
-        # Make modelfor board orientation
+        # Make model for board orientation
         boardModel = gtk.ListStore(str, str)
         widget = self.__gui.get_widget('board_combo')
         widget.set_model(boardModel)
+                     # Translators: Board Side Combo: Camera will face white player's side
         view_list = [('white', _('White Side')),
+                     # Translators: Board Side Combo: Camera will face black player's side
                      ('black', _('Black Side')),
+                     # Translators: Board Side Combo: Camera will face human player's side
                      ('human', _('Human Side')),
+                     # Translators: Board Side Combo: Camera will face current player's side
                      ('current', _('Current Player'))]
         for (key, label) in view_list:
             iter = boardModel.append()
@@ -584,9 +605,13 @@
         promotionModel = gtk.ListStore(str, str)
         widget = self.__gui.get_widget('promotion_type_combo')
         widget.set_model(promotionModel)
+                          # Translators: Promotion Combo: Promote to a queen
         promotion_list = [('queen', _('Queen')),
+                          # Translators: Promotion Combo: Promote to a knight
                           ('knight', _('Knight')),
+                          # Translators: Promotion Combo: Promote to a rook
                           ('rook', _('Rook')),
+                          # Translators: Promotion Combo: Promote to a bishop
                           ('bishop', _('Bishop'))]
         for (key, label) in promotion_list:
             iter = promotionModel.append()

Modified: branches/gnome-2-24/glchess/src/lib/gtkui/gtkui.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/gtkui/gtkui.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/gtkui/gtkui.py	Sun Oct 19 08:31:55 2008
@@ -231,6 +231,7 @@
         # Create the model for the player types
         self.__playerModel = gtk.ListStore(str, str, str)
         iter = self.__playerModel.append()
+        # Translators: Player Type Combo: Player is human controlled
         self.__playerModel.set(iter, 0, '', 1, 'stock_person', 2, _('Human'))
         
         self.__logWindow = log.LogWindow(self._gui.get_widget('log_notebook'))
@@ -359,13 +360,13 @@
         # Set the window title to the name of the game
         if self.view is not None and len(self.view.title) > 0:
             if self.view.needsSaving:
-                # Translators: This is the window title when playing a game that needs saving
+                # Translators: Window title when playing a game that needs saving
                 title = _('Chess - *%(game_name)s') % {'game_name': self.view.title}
             else:
-                # Translators: This is the window title when playing a game that is saved
+                # Translators: Window title when playing a game that is saved
                 title = _('Chess - %(game_name)s') % {'game_name': self.view.title}
         else:
-            # Translators: This is the window title when not playing a game
+            # Translators: Window title when not playing a game
             title = _('Chess')            
         self.mainWindow.set_title(title)
 
@@ -462,9 +463,8 @@
         dialog = gtk.MessageDialog(flags = gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
                                    type = gtk.MESSAGE_WARNING,
                                    message_format = title)
-        # Translators: This text is displayed in a dialog asking the user to save the current game
         dialog.format_secondary_text("If you don't save the changes to this game will be permanently lost")
-        # Translators: This is the button text in the save game dialog to decline to save the game
+        # Translators: Save Game Dialog: Discard game button
         dialog.add_button(_('Close _without saving'), gtk.RESPONSE_OK)
         dialog.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT)
         dialog.add_button(gtk.STOCK_SAVE, gtk.RESPONSE_ACCEPT)
@@ -579,10 +579,11 @@
         # Enable/disable OpenGL rendering
         elif name == 'show_3d':            
             if value and not chessview.haveGLSupport:
-                # Translators: This is the title of the dialog that is displayed when a user tries to enable 3D without the required libraries
+                # Translators: No 3D Dialog: Title
                 title = _('Unable to enable 3D mode')
                 errors = '\n'.join(chessview.openGLErrors)
-                # Translators: This is displayed in a dialog when a user tries to enable 3D without the required libraries. %(error)s will be replaced with a list of reasons why 3D is not available.
+                # Translators: No 3D Dialog: Notification to user that they do not have libraries required to enable 3D.
+                # %(error)s will be replaced with a list of reasons why 3D is not available.
                 description = _("""You are unable to play in 3D mode due to the following problems:
 %(errors)s
 
@@ -835,9 +836,9 @@
         if self.view.feedback.claimDraw():
             return
         
-        # Translators: This is the title of the dialog that is displayed when a user requests a draw but one is not available
+        # Translators: Draw Dialog: Title
         title = _("Unable to claim draw")
-        # Translators: This is the message that is displayed in a dialog when a user requests a draw but one is not available
+        # Translators: Draw Dialog: Notify user why they cannot claim draw
         message = _("""You may claim a draw when:
 a) The board has been in the same state three times (Three fold repitition)
 b) Fifty moves have occured where no pawn has moved and no piece has been captured (50 move rule)""")

Modified: branches/gnome-2-24/glchess/src/lib/gtkui/network.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/gtkui/network.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/gtkui/network.py	Sun Oct 19 08:31:55 2008
@@ -32,6 +32,7 @@
         
         self.profileModel = gtk.ListStore(gobject.TYPE_PYOBJECT, str)
         iter = self.profileModel.append()
+        # Translators: Server Combo Box: Not connected to a server
         self.profileModel.set(iter, 0, None, 1, _('Disconnected'))
         
         widget = self.__gui.get_widget('server_combo')
@@ -89,23 +90,28 @@
         view.set_model(self.tableModel)
         
         cell = gtk.CellRendererText()
+        # Translators: Available GGZ Tables: Table name column title
         column = gtk.TreeViewColumn(_('Table'), cell)
         column.add_attribute(cell, 'text', 1)
         view.append_column(column)
         cell = gtk.CellRendererText()
+        # Translators: Available GGZ Tables: Seat status column title
         column = gtk.TreeViewColumn(_('Seats'), cell)
         column.add_attribute(cell, 'text', 2)
         view.append_column(column)
         cell = gtk.CellRendererText()
+        # Translators: Available GGZ Tables: Table description column title        
         column = gtk.TreeViewColumn(_('Description'), cell)
         column.add_attribute(cell, 'text', 3)
         view.append_column(column)
 
         view = self.__gui.get_widget('seat_list')
         cell = gtk.CellRendererText()
+        # Translators: Current GGZ Table: Seat name column title
         column = gtk.TreeViewColumn(_('Seat'), cell)
         column.add_attribute(cell, 'text', 2)
         view.append_column(column)
+        # Translators: Current GGZ Table: Player name column title        
         column = gtk.TreeViewColumn(_('Player'), cell)
         column.add_attribute(cell, 'text', 3)
         column.add_attribute(cell, 'style', 4)
@@ -252,10 +258,13 @@
             iter = seatModel.append()
             
         if number == 0:
+            # Translators: GGZ seat is occupied by the white player
             seatName = _('White')
         elif number == 1:
+            # Translators: GGZ seat is occupied by the black player            
             seatName = _('Black')
         else:
+            # Translators: GGZ seat is occupied by a spectator
             seatName = _('Spectator')
 
         style = pango.STYLE_ITALIC
@@ -263,11 +272,16 @@
         if type == 'player':
             style = pango.STYLE_NORMAL
         elif type == 'reserved':
-            occupant = _('Reserved for %s' % name)
+            # Translators: GGZ seat status: This seat is reserved. %s is replaced with
+            # the name of the player the seat is reserved for.
+            occupant = _('Reserved for %s') % name
         elif type == 'open':
+            # Translators: GGZ seat status: This seat is not taken
             occupant = _('Seat empty')
         elif type == 'bot':
-            occupant = _('AI (%s)' % name)
+            # Translators: GGZ seat status: This seat contains an AI player.
+            # %s is replaced with the name of the AI.
+            occupant = _('AI (%s)') % name
 
         seatModel.set(iter, 0, number, 1, type, 2, seatName, 3, occupant, 4, style)
 

Modified: branches/gnome-2-24/glchess/src/lib/main.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/main.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/main.py	Sun Oct 19 08:31:55 2008
@@ -110,6 +110,9 @@
         
         Returns an AI player to use (game.ChessPlayer).
         """
+        # Translators: Description of an AI player used in log window. %(name)s is replaced with
+        # the name of the AI player. %(game)s is replaced with the name of the game the AI player
+        # is in.
         description = _("'%(name)s' in '%(game)s'") % {'name': name, 'game': self.name}
         p = player.AIPlayer(self.application, name, profile, level, description)
         self.__aiPlayers.append(p)
@@ -442,7 +445,7 @@
         
         self.history = history.GameHistory()
         
-        # Translators: This is the name of the log that displays application events
+        # Translators: Name of the log that displays application events
         title = _('Application Log')
         self.logger = self.ui.controller.addLogWindow(title, '', '')
 
@@ -689,8 +692,8 @@
             self.logger.addLine('loaded in %f seconds' % (time.time() - s))
 
         else:
-            # Translators: This is the text displayed on the command-line if an unknown argument is passed
             # FIXME: Should be in a dialog
+            # Translators: Text displayed on the command-line if an unknown argument is passed
             print _('Usage: %s [game]') % sys.argv[0]
             sys.exit(0)
 
@@ -701,9 +704,11 @@
                     aiName = p.name
                     break
             black = (aiName, 'easy')
-            # Translators: This is the name of a human versus AI game. The %s is replaced with the name of the AI player
+            # Translators: Name of a human versus AI game. The %s is replaced with the name of the AI player
             gameName = _('Human versus %s') % aiName
+            # Translators: Name of white player in a default game
             whiteName =  _('White')
+            # Translators: Name of black player in a default game            
             blackName = _('Black')
             g = self.addLocalGame(gameName, whiteName, None, blackName, black)
             g.inHistory = True

Modified: branches/gnome-2-24/glchess/src/lib/scene/__init__.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/scene/__init__.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/scene/__init__.py	Sun Oct 19 08:31:55 2008
@@ -96,10 +96,11 @@
         """
         pass
     
-    def setBoardRotation(self, angle):
+    def setBoardRotation(self, angle, animate):
         """Set the rotation on the board.
         
         'angle' is the angle the board should be drawn at in degress (float, [0.0, 360.0]).
+        'animate' is True if the rotation shoule be animated.
         """
         pass
     



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