[Tkabber-dev] r1197 - in trunk/tkabber-plugins: . attline attline/msgs

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sat Aug 18 12:43:33 MSD 2007


Author: sergei
Date: 2007-08-18 12:43:33 +0400 (Sat, 18 Aug 2007)
New Revision: 1197

Added:
   trunk/tkabber-plugins/attline/msgs/
   trunk/tkabber-plugins/attline/msgs/ru.msg
Modified:
   trunk/tkabber-plugins/ChangeLog
   trunk/tkabber-plugins/attline/attline.tcl
Log:
	* attline/attline.tcl: Added support for message catalogs.

	* attline/msgs/ru.msg: Added Russian translation.


Modified: trunk/tkabber-plugins/ChangeLog
===================================================================
--- trunk/tkabber-plugins/ChangeLog	2007-08-18 07:18:05 UTC (rev 1196)
+++ trunk/tkabber-plugins/ChangeLog	2007-08-18 08:43:33 UTC (rev 1197)
@@ -5,6 +5,10 @@
 
 	* presencecmd/presencecmd.tcl: Code cleanup.
 
+	* attline/attline.tcl: Added support for message catalogs.
+
+	* attline/msgs/ru.msg: Added Russian translation.
+
 2007-08-17  Sergei Golovan <sgolovan at nes.ru>
 
 	* attline/*: Added new plguin which draws an attention line in chat

Modified: trunk/tkabber-plugins/attline/attline.tcl
===================================================================
--- trunk/tkabber-plugins/attline/attline.tcl	2007-08-18 07:18:05 UTC (rev 1196)
+++ trunk/tkabber-plugins/attline/attline.tcl	2007-08-18 08:43:33 UTC (rev 1197)
@@ -4,6 +4,8 @@
 # Written by Konstantin Khomoutov <flatworm at users.sourceforge.net>
 # See license.terms for the terms of distribution.
 
+package require msgcat
+
 option add *Chat.attentionLineHeight        1     widgetDefault
 option add *Chat.attentionLineColor         red   widgetDefault
 option add *Chat.attentionLinePadX          5     widgetDefault
@@ -20,6 +22,8 @@
 	lreplace $args 0 0 [my [lindex $args 0]]
     }
 
+    ::msgcat::mcload [file join [file dirname [info script]] msgs]
+
     custom::defgroup Plugins [::msgcat::mc "Plugins options."] -group Tkabber
 
     custom::defgroup {Attention Line} \

Added: trunk/tkabber-plugins/attline/msgs/ru.msg
===================================================================
--- trunk/tkabber-plugins/attline/msgs/ru.msg	                        (rev 0)
+++ trunk/tkabber-plugins/attline/msgs/ru.msg	2007-08-18 08:43:33 UTC (rev 1197)
@@ -0,0 +1,13 @@
+::msgcat::mcset ru \
+    "Attention Line chat plugin options. This plugin draws horizontal\
+     line separating read and unread messages in chat windows." \
+    "Настройки расширения Attention Line. Это расширение отделяет непрочитанные\
+     сообщения в окнах разговора от прочитанных горизонтальной линией."
+::msgcat::mcset ru "Plugins options." "Параметры расширений."
+::msgcat::mcset ru "Remove the attention line after it was expired from its chat window." \
+    "Удалять линию, разделяющую сообщения по истечению времени действия."
+::msgcat::mcset ru \
+    "Time (in milliseconds) after which unread messages in the currently\
+     active chat window are considered read and the attention line is considered expired." \
+    "Время (в миллисекундах) по истечении которого сообщения в активном окне разговора\
+     считаются прочитанными, и разделительная линия считается недействующей."


Property changes on: trunk/tkabber-plugins/attline/msgs/ru.msg
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native



More information about the Tkabber-dev mailing list