[Tkabber-dev] r732 - in trunk/tkabber-plugins: . checkers chess debug latex/msgs reversi traffic/msgs whiteboard/msgs

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Wed Sep 27 20:47:09 MSD 2006


Author: sergei
Date: 2006-09-27 20:46:15 +0400 (Wed, 27 Sep 2006)
New Revision: 732

Added:
   trunk/tkabber-plugins/latex/msgs/es.msg
   trunk/tkabber-plugins/traffic/msgs/es.msg
Modified:
   trunk/tkabber-plugins/ChangeLog
   trunk/tkabber-plugins/checkers/checkers.tcl
   trunk/tkabber-plugins/chess/chess.tcl
   trunk/tkabber-plugins/debug/debug.tcl
   trunk/tkabber-plugins/reversi/reversi.tcl
   trunk/tkabber-plugins/whiteboard/msgs/es.msg
Log:
	* checkers/checkers.tcl, chess/chess.tcl, reversi/reversi.tcl:
	  Added sound notification of opponent's move (thanks to
	  Pavel Borzenkov).

	* debug/debug.tcl: Added several debug categories.

	* latex/msgs/es.msg, traffic/msgs/es.msg: Added Spanish
	  translation (thanks to Badlop).

	* whiteboard/msgs/es.msg: Updated (thanks to Badlop).


Modified: trunk/tkabber-plugins/ChangeLog
===================================================================
--- trunk/tkabber-plugins/ChangeLog	2006-09-25 18:59:51 UTC (rev 731)
+++ trunk/tkabber-plugins/ChangeLog	2006-09-27 16:46:15 UTC (rev 732)
@@ -1,3 +1,18 @@
+2006-09-27  Sergei Golovan  <sgolovan at nes.ru>
+
+	* checkers/checkers.tcl, chess/chess.tcl, reversi/reversi.tcl:
+	  Added sound notification of opponent's move (thanks to
+	  Pavel Borzenkov).
+
+2006-09-25  Sergei Golovan  <sgolovan at nes.ru>
+
+	* debug/debug.tcl: Added several debug categories.
+
+	* latex/msgs/es.msg, traffic/msgs/es.msg: Added Spanish
+	  translation (thanks to Badlop).
+
+	* whiteboard/msgs/es.msg: Updated (thanks to Badlop).
+
 2006-09-19  Sergei Golovan  <sgolovan at nes.ru>
 
 	* traffic/traffic.tcl: Code cleanup.

Modified: trunk/tkabber-plugins/checkers/checkers.tcl
===================================================================
--- trunk/tkabber-plugins/checkers/checkers.tcl	2006-09-25 18:59:51 UTC (rev 731)
+++ trunk/tkabber-plugins/checkers/checkers.tcl	2006-09-27 16:46:15 UTC (rev 732)
@@ -65,6 +65,9 @@
     custom::defvar options(accept_illegal) 0 \
 	[::msgcat::mc "Accept opponent illegal moves (useful for debugging)."] \
 	-type boolean -group Checkers
+    custom::defvar options(sound) "" \
+        [::msgcat::mc "Sound to play after opponent's turn"] \
+	-type file -group Checkers
 }
 
 proc checkers::load_stored_theme {args} {
@@ -228,6 +231,7 @@
 
     set gid [make_gid $jid $id]
     variable $gid
+    variable options
     upvar 0 $gid flags
 
     set flags(window) [win_id checkers $gid]
@@ -383,6 +387,9 @@
 		} else {
 		    return [list error modify not-acceptable]
 		}
+		if {$options(sound) != "" && ![::sound::is_mute]} {
+		    ::sound::play $options(sound)
+		}
 	    }
 	    resign {
 		end_game $gid 1 [::msgcat::mc "You win (Opponent resigned)"]

Modified: trunk/tkabber-plugins/chess/chess.tcl
===================================================================
--- trunk/tkabber-plugins/chess/chess.tcl	2006-09-25 18:59:51 UTC (rev 731)
+++ trunk/tkabber-plugins/chess/chess.tcl	2006-09-27 16:46:15 UTC (rev 732)
@@ -66,6 +66,9 @@
     custom::defvar options(accept_illegal) 0 \
 	[::msgcat::mc "Accept opponent illegal moves (useful for debugging)."] \
 	-type boolean -group Chess
+    custom::defvar options(sound) "" \
+        [::msgcat::mc "Sound to play after opponent's turn"] \
+	-type file -group Chess
 }
 
 proc chess::load_stored_theme {args} {
@@ -201,6 +204,7 @@
 
     set gid [make_gid $jid $id]
     variable $gid
+    variable options
     upvar 0 $gid flags
 
     set flags(window) [win_id chess $gid]
@@ -335,6 +339,10 @@
 			    }
 			}
 			set move 1
+			if {$options(sound) != "" && ![::sound::is_mute]} {
+			    ::sound::play $options(sound)
+		        }
+			    
 		    }
 		}
 	    }

Modified: trunk/tkabber-plugins/debug/debug.tcl
===================================================================
--- trunk/tkabber-plugins/debug/debug.tcl	2006-09-25 18:59:51 UTC (rev 731)
+++ trunk/tkabber-plugins/debug/debug.tcl	2006-09-27 16:46:15 UTC (rev 732)
@@ -18,6 +18,7 @@
     $buttons add separator
     foreach l [list avatar       \
                     browser      \
+                    browseurl    \
                     chat         \
                     conference   \
                     custom       \
@@ -26,6 +27,7 @@
                     filetransfer \
                     filters      \
                     georoster    \
+		    headlines    \
                     hook         \
 		    http         \
                     iface        \
@@ -38,12 +40,18 @@
                     message      \
                     negotiate    \
                     nick         \
+		    pep          \
                     plugins      \
+		    popupmenu    \
                     presence     \
+		    privacy      \
+		    pubsub       \
                     register     \
                     roster       \
                     search       \
+                    si           \
                     ssj          \
+		    sw           \
                     tkabber      \
                     userinfo     \
                     utils        \

Added: trunk/tkabber-plugins/latex/msgs/es.msg
===================================================================
--- trunk/tkabber-plugins/latex/msgs/es.msg	                        (rev 0)
+++ trunk/tkabber-plugins/latex/msgs/es.msg	2006-09-27 16:46:15 UTC (rev 732)
@@ -0,0 +1,3 @@
+::msgcat::mcset es "LaTeX formulas plugin options." "Opciones del plugin de fórmulas LaTeX."
+::msgcat::mcset es "Plugins options." "Opciones de los plugins."
+::msgcat::mcset es "Resolution of the LaTeX generated images in pixels per inch." "Resolución en pixeles por pulgada de las imágenes generadas por LaTeX."

Modified: trunk/tkabber-plugins/reversi/reversi.tcl
===================================================================
--- trunk/tkabber-plugins/reversi/reversi.tcl	2006-09-25 18:59:51 UTC (rev 731)
+++ trunk/tkabber-plugins/reversi/reversi.tcl	2006-09-27 16:46:15 UTC (rev 732)
@@ -48,6 +48,9 @@
     custom::defvar options(accept_illegal) 0 \
 	[::msgcat::mc "Accept opponent illegal moves (useful for debugging)."] \
 	-type boolean -group Reversi
+    custom::defvar options(sound) "" \
+	[::msgcat::mc "Sound to play after oppponent's turn"] \
+	-type file -group Reversi
 }
 
 proc reversi::load_stored_theme {args} {
@@ -285,6 +288,9 @@
 		    set ct [lindex $poss 0]
 		    set rt [lindex $poss 1]
 		    set move 1
+		    if {$options(sound) != "" && ![::sound::is_mute]} {
+			::sound::play $options(sound)
+		    }
 		}
 	    }
 	    resign {

Added: trunk/tkabber-plugins/traffic/msgs/es.msg
===================================================================
--- trunk/tkabber-plugins/traffic/msgs/es.msg	                        (rev 0)
+++ trunk/tkabber-plugins/traffic/msgs/es.msg	2006-09-27 16:46:15 UTC (rev 732)
@@ -0,0 +1,24 @@
+::msgcat::mcset es "All IN" "Todo IN"
+::msgcat::mcset es "All OUT" "Todo OUT"
+::msgcat::mcset es "Are you sure you want to reset counters?" "¿Estás seguro de que deseas reiniciar los contadores?"
+::msgcat::mcset es "Iq IN" "Iq IN"
+::msgcat::mcset es "Iq OUT" "Iq OUT"
+::msgcat::mcset es "JID" "JID"
+::msgcat::mcset es "Msg IN" "Msg IN"
+::msgcat::mcset es "Msg OUT" "Msg OUT"
+::msgcat::mcset es "Off" "No"
+::msgcat::mcset es "On" "Sí"
+::msgcat::mcset es "Plugins options." "Opciones de plugin."
+::msgcat::mcset es "Pres IN" "Pres IN"
+::msgcat::mcset es "Pres OUT" "Pres OUT"
+::msgcat::mcset es "Refresh" "Actualizar"
+::msgcat::mcset es "Reset" "Reiniciar"
+::msgcat::mcset es "Save" "Guardar"
+::msgcat::mcset es "Show XML" "Mostrar XML"
+::msgcat::mcset es "Show nick instead of JID." "Mostrar apodo en vez del JID."
+::msgcat::mcset es "Timer:" "Reloj:"
+::msgcat::mcset es "Total" "Total"
+::msgcat::mcset es "Traffic plugin options." "Opciones del plugin de Tráfico."
+::msgcat::mcset es "Traffic statistics" "Estadísticas de tráfico"
+::msgcat::mcset es "Traffic" "Tráfico"
+::msgcat::mcset es "Use human-readable counters with K, M, G." "Usar contadores legibles con K, M, G."

Modified: trunk/tkabber-plugins/whiteboard/msgs/es.msg
===================================================================
--- trunk/tkabber-plugins/whiteboard/msgs/es.msg	2006-09-25 18:59:51 UTC (rev 731)
+++ trunk/tkabber-plugins/whiteboard/msgs/es.msg	2006-09-27 16:46:15 UTC (rev 732)
@@ -1,13 +1,14 @@
 ::msgcat::mcset es "%s whiteboard" "Pizarra: %s"
 ::msgcat::mcset es "Cancel" "Cancelar"
 ::msgcat::mcset es "Clear" "Limpiar"
-::msgcat::mcset es "Color" "Color"
-::msgcat::mcset es "Font" "Fuente"
 ::msgcat::mcset es "FreeHand" "Mano alzada"
+::msgcat::mcset es "Line color" "Color de línea"
+::msgcat::mcset es "Line width: " "Ancho de línea: "
 ::msgcat::mcset es "Move" "Mover"
 ::msgcat::mcset es "OK" "Sí"
-::msgcat::mcset es "PolyLine" "Línea Poli"
+::msgcat::mcset es "PolyLine" "Polilínea"
 ::msgcat::mcset es "Remove" "Borrar"
-::msgcat::mcset es "Text Color" "Color de texto"
-::msgcat::mcset es "Text" "Teto"
+::msgcat::mcset es "Text color" "Color del texto"
+::msgcat::mcset es "Text font" "Fuente del texto"
+::msgcat::mcset es "Text" "Texto"
 ::msgcat::mcset es "Whiteboard" "Pizarra"



More information about the Tkabber-dev mailing list