[Tkabber-dev] r1086 - in trunk/tkabber: . msgs plugins/chat

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Apr 8 20:00:43 MSD 2007


Author: sergei
Date: 2007-04-08 20:00:42 +0400 (Sun, 08 Apr 2007)
New Revision: 1086

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/datagathering.tcl
   trunk/tkabber/msgs/uk.msg
   trunk/tkabber/plugins/chat/logger.tcl
Log:
	* msgs/uk.msg: Updated Ukrainian translation (thanks to Artem
	  Bondarenko).

	* datagathering.tcl, plugins/chat/logger.tcl: Fixed switch statements
	  (added missing --).


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2007-04-08 14:12:50 UTC (rev 1085)
+++ trunk/tkabber/ChangeLog	2007-04-08 16:00:42 UTC (rev 1086)
@@ -17,6 +17,12 @@
 	* ifacetk/iroster.tcl: Changed default roster icon from empty to
 	  ordinary user icon.
 
+	* msgs/uk.msg: Updated Ukrainian translation (thanks to Artem
+	  Bondarenko).
+
+	* datagathering.tcl, plugins/chat/logger.tcl: Fixed switch statements
+	  (added missing --).
+
 2007-04-02  Sergei Golovan  <sgolovan at nes.ru>
 
 	* msgs/de.msg: Updated German translation (thanks to Roger

Modified: trunk/tkabber/datagathering.tcl
===================================================================
--- trunk/tkabber/datagathering.tcl	2007-04-08 14:12:50 UTC (rev 1085)
+++ trunk/tkabber/datagathering.tcl	2007-04-08 16:00:42 UTC (rev 1086)
@@ -347,7 +347,7 @@
 
     foreach item $childrens {
 	jlib::wrapper:splitxml $item tag1 vars1 isempty1 chdata1 children1
-	switch $tag1 {
+	switch -- $tag1 {
 	    required {set required 1}
 	    value {
 		set data(var,$var,$g) $chdata1
@@ -359,7 +359,7 @@
 		foreach item $children1 {
 		    jlib::wrapper:splitxml $item \
 			tag2 vars2 isempty2 chdata2 children2
-		    switch $tag2 {
+		    switch -- $tag2 {
 			value {set val $chdata2}
 		    }
 		}
@@ -368,7 +368,7 @@
 	}
     }
 
-    switch $type {
+    switch -- $type {
 	jid-single -
 	text-single -
 	text-private {

Modified: trunk/tkabber/msgs/uk.msg
===================================================================
--- trunk/tkabber/msgs/uk.msg	2007-04-08 14:12:50 UTC (rev 1085)
+++ trunk/tkabber/msgs/uk.msg	2007-04-08 16:00:42 UTC (rev 1086)
@@ -1448,6 +1448,21 @@
 ::msgcat::mcset uk "Accept messages from roster users only" "Приймати повідомлення тільки від користувачів з ростера"
 ::msgcat::mcset uk "Edit conference list " "Редагувати список конференцій "
 ::msgcat::mcset uk "Show own resources" "Показувати особисті ресурси"
+::msgcat::mcset uk "Client message" "Повідомлення від клієнта"
+::msgcat::mcset uk "JID list" "Список JID"
+::msgcat::mcset uk "Server message" "Повідомлення від сервера"
+::msgcat::mcset uk "WARNING: %s\n" "УВАГА: %s\n"
+::msgcat::mcset uk "Approve subscription" "Підтвердити підписку"
+::msgcat::mcset uk "Decline subscription" "Відмовитися від підписки"
+::msgcat::mcset uk "Grant subscription" "Надати підписку"
+::msgcat::mcset uk "Request subscription" "Запитати підписку"
+::msgcat::mcset uk "Send request to: " "Відіслати запит до:"
+::msgcat::mcset uk "Send subscription request" "Відіслати запит на підписку"
+::msgcat::mcset uk "Send subscription request to %s" "Відіслати запит на підписку до %s"
+::msgcat::mcset uk "Subscription request from %s" "Запит на підписку від %s"
+::msgcat::mcset uk "Subscription request from:" "Запит на підписку від:"
+::msgcat::mcset uk "Ask:" "Запит:"
+::msgcat::mcset uk "Subscription:" "Підписка:"
 
 namespace eval :: {
 proc load_ukrainian_procs {} {

Modified: trunk/tkabber/plugins/chat/logger.tcl
===================================================================
--- trunk/tkabber/plugins/chat/logger.tcl	2007-04-08 14:12:50 UTC (rev 1085)
+++ trunk/tkabber/plugins/chat/logger.tcl	2007-04-08 16:00:42 UTC (rev 1086)
@@ -148,7 +148,7 @@
     for {set i 0} {$i < $len} {incr i} {
 	catch {
 	    binary scan $filename @${i}a sym
-	    switch $sym {
+	    switch -- $sym {
 		"%" {
 		    incr i
 		    binary scan $filename @${i}a2 num



More information about the Tkabber-dev mailing list