[Tkabber-dev] r1171 - in trunk/tkabber: . msgs plugins/pep

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Fri Aug 3 17:32:49 MSD 2007


Author: sergei
Date: 2007-08-03 17:32:48 +0400 (Fri, 03 Aug 2007)
New Revision: 1171

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/msgs/de.msg
   trunk/tkabber/pep.tcl
   trunk/tkabber/plugins/pep/user_mood.tcl
Log:
	* pep.tcl: Fixed customization of menu tearoffs.

	* plugins/pep/user_mood.tcl: Fixed publishing of translated mood.

	* msgs/de.msg: Updated German translation (thanks to Roger
	  Sondermann).


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2007-08-01 15:28:23 UTC (rev 1170)
+++ trunk/tkabber/ChangeLog	2007-08-03 13:32:48 UTC (rev 1171)
@@ -1,3 +1,12 @@
+2007-08-03  Sergei Golovan  <sgolovan at nes.ru>
+
+	* pep.tcl: Fixed customization of menu tearoffs.
+
+	* plugins/pep/user_mood.tcl: Fixed publishing of translated mood.
+
+	* msgs/de.msg: Updated German translation (thanks to Roger
+	  Sondermann).
+
 2007-08-01  Sergei Golovan  <sgolovan at nes.ru>
 
 	* pep.tcl, pubsub.tcl, tkabber.tcl: Moved personal evening support to

Modified: trunk/tkabber/msgs/de.msg
===================================================================
--- trunk/tkabber/msgs/de.msg	2007-08-01 15:28:23 UTC (rev 1170)
+++ trunk/tkabber/msgs/de.msg	2007-08-03 13:32:48 UTC (rev 1171)
@@ -1,6 +1,6 @@
 
 # German messages file
-# Roger Sondermann 31.07.2007
+# Roger Sondermann 02.08.2007
 
 # .../browser.tcl
 ::msgcat::mcset de "Add conference..."                                      "Konferenz hinzufügen..."
@@ -724,6 +724,10 @@
 ::msgcat::mcset de "whois %s: %s"                                           "Whois %s: %s"
 ::msgcat::mcset de "whois %s: no info"                                      "Whois %s: keine Informationen"
 
+# .../pep.tcl
+::msgcat::mcset de "Personal Eventing"                                      "Persönliche Ereignisse"
+::msgcat::mcset de "Personal eventing"                                      "Persönliche Ereignisse"
+
 # .../pixmaps.tcl
 ::msgcat::mcset de "Tkabber icon theme. To make new theme visible for Tkabber put it to some subdirectory of %s." "Tkabber Icon-Thema. Um es für Tkabber sichtbar zu machen, muß es in einem Unterordner von %s platziert werden."
 
@@ -1158,6 +1162,81 @@
 ::msgcat::mcset de "Opening DTCP active connection"                         "Öffne aktive DTCP-Verbindung"
 ::msgcat::mcset de "Opening DTCP passive connection"                        "Öffne passive DTCP-Verbindung"
 
+# .../plugins/pep/user_mood.tcl
+::msgcat::mcset de "%s's mood changed to %s"                                "%s's Gemütslage geändert in %s"
+::msgcat::mcset de "Cannot publish empty mood"                              "Unausgefüllte Gemütslage kann nicht veröffentlicht werden"
+::msgcat::mcset de "Mood"                                                   "Gemütslage"
+::msgcat::mcset de "Mood:"                                                  "Gemütslage:"
+::msgcat::mcset de "Publish user mood"                                      "Benutzer-Gemütslage veröffentlichen"
+::msgcat::mcset de "Publishing is only possible while being online"         "Veröffentlichung nur möglich wenn 'Online'"
+::msgcat::mcset de "Unsubscribe"                                            "Abmelden/Zurückziehen"
+::msgcat::mcset de "Use connection:"                                        "Benutze Verbindung:"
+::msgcat::mcset de "User mood"                                              "Benutzer-Gemütslage"
+::msgcat::mcset de "User mood publishing failed: %s"                        "Veröffentlichung der Benutzer-Gemütslage misslungen: %s"
+::msgcat::mcset de "\n\tMood: %s"                                           "\n\tGemütslage: %s"
+::msgcat::mcset de "\n\tUser's mood subscription: %s"                       "\n\tGemütslagen-Autorisierung des Benutzers: %s"
+::msgcat::mcset de "afraid"                                                 "ängstlich"
+::msgcat::mcset de "amazed"                                                 "erstaunt"
+::msgcat::mcset de "angry"                                                  "zornig"
+::msgcat::mcset de "annoyed"                                                "verärgert"
+::msgcat::mcset de "anxious"                                                "verunsichert"
+::msgcat::mcset de "aroused"                                                "aufgerüttelt"
+::msgcat::mcset de "ashamed"                                                "verschämt"
+::msgcat::mcset de "bored"                                                  "gelangweilt"
+::msgcat::mcset de "brave"                                                  "mutig"
+::msgcat::mcset de "calm"                                                   "ruhig"
+::msgcat::mcset de "cold"                                                   "kalt"
+::msgcat::mcset de "confused"                                               "verwirrt"
+::msgcat::mcset de "contented"                                              "zufrieden"
+::msgcat::mcset de "cranky"                                                 "schrullig"
+::msgcat::mcset de "curious"                                                "merkwürdig"
+::msgcat::mcset de "depressed"                                              "deprimiert"
+::msgcat::mcset de "disappointed"                                           "enttäuscht"
+::msgcat::mcset de "disgusted"                                              "angewidert"
+::msgcat::mcset de "distracted"                                             "abgelenkt"
+::msgcat::mcset de "embarrassed"                                            "geniert"
+::msgcat::mcset de "excited"                                                "aufgeregt"
+::msgcat::mcset de "flirtatious"                                            "kokett"
+::msgcat::mcset de "frustrated"                                             "frustriert"
+::msgcat::mcset de "grumpy"                                                 "knurrig"
+::msgcat::mcset de "guilty"                                                 "schuldig"
+::msgcat::mcset de "happy"                                                  "glücklich"
+::msgcat::mcset de "hot"                                                    "heiß"
+::msgcat::mcset de "humbled"                                                "gedemütigt"
+::msgcat::mcset de "humiliated"                                             "erniedrigt"
+::msgcat::mcset de "hungry"                                                 "hungrig"
+::msgcat::mcset de "hurt"                                                   "verletzt"
+::msgcat::mcset de "impressed"                                              "beeindruckt"
+::msgcat::mcset de "in_awe"                                                 "scheu"
+::msgcat::mcset de "in_love"                                                "verliebt"
+::msgcat::mcset de "indignant"                                              "empört"
+::msgcat::mcset de "interested"                                             "interessiert"
+::msgcat::mcset de "intoxicated"                                            "berauscht"
+::msgcat::mcset de "invincible"                                             "unbesiegbar"
+::msgcat::mcset de "jealous"                                                "eifersüchtig"
+::msgcat::mcset de "lonely"                                                 "einsam"
+::msgcat::mcset de "mean"                                                   "kleinlich"
+::msgcat::mcset de "moody"                                                  "launisch"
+::msgcat::mcset de "nervous"                                                "nervös"
+::msgcat::mcset de "neutral"                                                "neutral"
+::msgcat::mcset de "offended"                                               "beleidigt"
+::msgcat::mcset de "playful"                                                "verspielt"
+::msgcat::mcset de "proud"                                                  "stolz"
+::msgcat::mcset de "relieved"                                               "erleichtert"
+::msgcat::mcset de "remorseful"                                             "reumütig"
+::msgcat::mcset de "restless"                                               "rastlos"
+::msgcat::mcset de "sad"                                                    "traurig"
+::msgcat::mcset de "sarcastic"                                              "sarkastisch"
+::msgcat::mcset de "serious"                                                "ernsthaft"
+::msgcat::mcset de "shocked"                                                "schockiert"
+::msgcat::mcset de "shy"                                                    "schüchtern"
+::msgcat::mcset de "sick"                                                   "krank"
+::msgcat::mcset de "sleepy"                                                 "schläfrig"
+::msgcat::mcset de "stressed"                                               "gestresst"
+::msgcat::mcset de "surprised"                                              "überrascht"
+::msgcat::mcset de "thirsty"                                                "durstig"
+::msgcat::mcset de "worried"                                                "besorgt"
+
 # .../plugins/richtext/emoticons.tcl
 ::msgcat::mcset de "Handle ROTFL/LOL smileys -- those like :))) -- by \"consuming\" all that parens and rendering the whole word with appropriate icon." "ROTFL/LOL Smileys, wie z. B. :-))), derart behandeln, daß alle Paare entfernt werden und das ganze Wort mit dem zugehörigen Icon dargestellt wird."
 ::msgcat::mcset de "Handling of \"emoticons\". Emoticons (also known as \"smileys\") are small pictures resembling a human face used to represent user's emotion. They are typed in as special mnemonics like :) or can be inserted using menu." "Optionen für die Behandlung von Emoticons.\n'Emoticons' (auch als 'Smileys' bekannt) sind kleine, einem menschlichen Gesicht gleichende Bilder, die die Emotionen des Benutzers repräsentieren sollen. Sie werden mit einer speziellen Mnemonik wie z. B. :-) oder über ein Menü eingegeben."

Modified: trunk/tkabber/pep.tcl
===================================================================
--- trunk/tkabber/pep.tcl	2007-08-01 15:28:23 UTC (rev 1170)
+++ trunk/tkabber/pep.tcl	2007-08-03 13:32:48 UTC (rev 1171)
@@ -179,7 +179,7 @@
 proc pep::on_init {} {
     set m [.mainframe getmenu services]
     set idx [$m index [::msgcat::mc "Service Discovery"]]
-    set pm [menu $m.pep]
+    set pm [menu $m.pep -tearoff $::ifacetk::options(show_tearoffs)]
     $m insert [expr {$idx + 2}] cascade -menu $pm \
 	    -label [::msgcat::mc "Personal Eventing"]
 }

Modified: trunk/tkabber/plugins/pep/user_mood.tcl
===================================================================
--- trunk/tkabber/plugins/pep/user_mood.tcl	2007-08-01 15:28:23 UTC (rev 1170)
+++ trunk/tkabber/plugins/pep/user_mood.tcl	2007-08-03 13:32:48 UTC (rev 1171)
@@ -382,7 +382,7 @@
 }
 
 proc mood::do_publish w {
-    variable m2d
+    variable d2m
     variable moodvalue
     variable moodreason
     variable myjid
@@ -395,7 +395,7 @@
 
     foreach connid [jlib::connections] {
 	if {[string equal $myjid [jlib::connection_jid $connid]]} {
-	    publish $connid $m2d($moodvalue) \
+	    publish $connid $d2m($moodvalue) \
 		    -reason $moodreason \
 		    -command [namespace current]::publish_result
 	    break



More information about the Tkabber-dev mailing list