[Tkabber-dev] r1961 - in trunk/tkabber-plugins/stripes: . msgs

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Nov 16 04:38:51 MSK 2010


Author: kostix
Date: 2010-11-16 04:38:51 +0300 (Tue, 16 Nov 2010)
New Revision: 1961

Added:
   trunk/tkabber-plugins/stripes/msgs/
   trunk/tkabber-plugins/stripes/msgs/ru.msg
Modified:
   trunk/tkabber-plugins/stripes/stripes.tcl
Log:
Provide Russian translation for the stripes plugin

Added: trunk/tkabber-plugins/stripes/msgs/ru.msg
===================================================================
--- trunk/tkabber-plugins/stripes/msgs/ru.msg	                        (rev 0)
+++ trunk/tkabber-plugins/stripes/msgs/ru.msg	2010-11-16 01:38:51 UTC (rev 1961)
@@ -0,0 +1,6 @@
+::msgcat::mcset ru "Whether the Stripes plugin is loaded." "Загружено ли расширение Stripes."
+::msgcat::mcset ru "This plugin paints backgrounds of\
+		even and odd messages in chat windows with different colors." \
+	"Это расширение раскрашивает фон чётных и нечётных сообщений\
+		в окнах разговоров разными цветами."
+

Modified: trunk/tkabber-plugins/stripes/stripes.tcl
===================================================================
--- trunk/tkabber-plugins/stripes/stripes.tcl	2010-11-16 01:38:50 UTC (rev 1960)
+++ trunk/tkabber-plugins/stripes/stripes.tcl	2010-11-16 01:38:51 UTC (rev 1961)
@@ -11,9 +11,13 @@
 # option add *Chat.oddBackground  gray77
 # option add *Chat.evenBackground gray84
 
+package require msgcat
+
 namespace eval stripes {
     variable state
 
+    ::msgcat::mcload [file join [file dirname [info script]] msgs]
+
     if {![::plugins::is_registered stripes]} {
         ::plugins::register stripes \
             -namespace [namespace current] \



More information about the Tkabber-dev mailing list