From c2a0c82a4834bafc1075de71ad54e27e0bb17e4c Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sat, 3 Sep 2011 12:20:51 +0300 Subject: [PATCH] juick plugin. do not translate config vars --- juick/config_dialog.ui | 1 + juick/plugin.py | 6 +- plagins_translations/plagins_translations.pot | 94 ++++++++++-------- plagins_translations/ru.mo | Bin 16792 -> 16886 bytes 4 files changed, 58 insertions(+), 43 deletions(-) diff --git a/juick/config_dialog.ui b/juick/config_dialog.ui index 618adb4..d331ec8 100644 --- a/juick/config_dialog.ui +++ b/juick/config_dialog.ui @@ -61,6 +61,7 @@ True True + Avatar size(10-32) 6 True diff --git a/juick/plugin.py b/juick/plugin.py index b06fcc0..6a5b1eb 100644 --- a/juick/plugin.py +++ b/juick/plugin.py @@ -32,10 +32,10 @@ class JuickPlugin(GajimPlugin): 'chat_control_base': (self.connect_with_chat_control, self.disconnect_from_chat_control)} self.config_default_values = {'SHOW_AVATARS': (False, ''), - 'AVATAR_SIZE': (20, _('Avatar size(10-32)')), + 'AVATAR_SIZE': (20, 'Avatar size(10-32)'), 'SHOW_PREVIEW': (False, ''), - 'PREVIEW_SIZE': (150, _('Preview size(10-512)')), - 'LINK_COLOR': ('#B8833E', _('Juick link color')), + 'PREVIEW_SIZE': (150, 'Preview size(10-512)'), + 'LINK_COLOR': ('#B8833E', 'Juick link color'), 'SHOW_TAG_BUTTON': (True, ''), 'ONLY_AUTHOR_AVATAR': (True, ''), 'MENUITEM1': ('tune', ''), 'MENUITEM_TEXT1': ('*tune', ''), diff --git a/plagins_translations/plagins_translations.pot b/plagins_translations/plagins_translations.pot index e62e282..34bf2e2 100644 --- a/plagins_translations/plagins_translations.pot +++ b/plagins_translations/plagins_translations.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-03 10:08+0400\n" +"POT-Creation-Date: 2011-09-03 13:07+0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,9 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: community_plugins/now_listen/now_listen.py:20 -msgid "" -"Copy tune info to conversation input box (alt + n),\n" -"at cursor position" +msgid "Copy tune info to conversation input box (alt + n) at cursor position" msgstr "" #: community_plugins/clients_icons/clients_icons.py:137 @@ -139,18 +137,12 @@ msgid "" "message (comment or topic)." msgstr "" -#: community_plugins/juick/plugin.py:35 -msgid "Avatar size(10-32)" +#: community_plugins/juick/plugin.py:159 +msgid "Juick commands" msgstr "" -#: community_plugins/juick/plugin.py:37 -#: community_plugins/juick/config_dialog.ui.h:5 -msgid "Preview size(10-512)" -msgstr "" - -#: community_plugins/juick/plugin.py:38 -#: community_plugins/juick/config_dialog.ui.h:2 -msgid "Juick link color" +#: community_plugins/juick/plugin.py:185 +msgid "Juick tags" msgstr "" #: community_plugins/juick/plugin.py:195 @@ -270,47 +262,49 @@ msgstr "" #: community_plugins/gotr/otrmodule.py:113 #, python-format -msgid "New fingerprint for %s: %s" +msgid "New fingerprint for %(peer)s: %(fpr)s" msgstr "" -#: community_plugins/gotr/otrmodule.py:118 +#: community_plugins/gotr/otrmodule.py:119 #, python-format -msgid "%s secured OTR conversation with %s started" +msgid "%(trustStr)s secured OTR conversation with %(peer)s started" msgstr "" -#: community_plugins/gotr/otrmodule.py:125 +#: community_plugins/gotr/otrmodule.py:127 #, python-format msgid "Private conversation with %s lost." msgstr "" -#: community_plugins/gotr/otrmodule.py:213 +#: community_plugins/gotr/otrmodule.py:215 msgid "See http://www.cypherpunks.ca/otr/" msgstr "" -#: community_plugins/gotr/otrmodule.py:461 +#: community_plugins/gotr/otrmodule.py:463 #, python-format -msgid "The following message received from %s was *not encrypted*: [%s]" +msgid "" +"The following message received from %(jid)s was *not encrypted*: [%(error)s]" msgstr "" -#: community_plugins/gotr/otrmodule.py:464 +#: community_plugins/gotr/otrmodule.py:467 #, python-format msgid "" "The encrypted message received from %s is unreadable, as you are not " "currently communicating privately" msgstr "" -#: community_plugins/gotr/otrmodule.py:469 +#: community_plugins/gotr/otrmodule.py:472 #, python-format -msgid "We received the following OTR error message from %s: [%s]" +msgid "We received the following OTR error message from %(jid)s: [%(error)s]" msgstr "" -#: community_plugins/gotr/otrmodule.py:474 +#: community_plugins/gotr/otrmodule.py:477 #, python-format msgid "" -"The following error occurred when trying to decrypt a message from %s: [%s]" +"The following error occurred when trying to decrypt a message from %(jid)s: " +"[%(error)s]" msgstr "" -#: community_plugins/gotr/otrmodule.py:517 +#: community_plugins/gotr/otrmodule.py:521 msgid "" "Your message was not send. Either end your private conversation, or restart " "it" @@ -326,8 +320,8 @@ msgstr "" #: community_plugins/gotr/ui.py:191 #, python-format msgid "" -"Purported fingerprint for %s:\n" -"%s" +"Purported fingerprint for %(jid)s:\n" +"%(fp)s" msgstr "" #: community_plugins/gotr/ui.py:194 @@ -495,26 +489,34 @@ msgstr "" msgid "Shows a whiteboard in chat. python-pygoocanvas is required." msgstr "" -#: whiteboard/plugin.py:155 +#: whiteboard/plugin.py:123 +msgid "Show whiteboard" +msgstr "" + +#: whiteboard/plugin.py:126 +msgid "Client on the other side does not support the whiteboard" +msgstr "" + +#: whiteboard/plugin.py:158 msgid "Incoming Whiteboard" msgstr "" -#: whiteboard/plugin.py:156 +#: whiteboard/plugin.py:159 #, python-format msgid "" "%(name)s (%(jid)s) wants to start a whiteboard with you. Do you want to " "accept?" msgstr "" -#: whiteboard/plugin.py:206 +#: whiteboard/plugin.py:209 msgid "Invalid Jabber ID" msgstr "" -#: whiteboard/plugin.py:207 +#: whiteboard/plugin.py:210 msgid "A message from a non-valid JID arrived, it has been ignored." msgstr "" -#: whiteboard/plugin.py:346 +#: whiteboard/plugin.py:349 #, python-format msgid "Whiteboard stopped: %(reason)s" msgstr "" @@ -720,35 +722,47 @@ msgstr "" msgid "Avatar size" msgstr "" +#: community_plugins/juick/config_dialog.ui.h:2 +msgid "Avatar size(10-32)" +msgstr "" + #: community_plugins/juick/config_dialog.ui.h:3 -msgid "Juick tag button menu options:" +msgid "Juick link color" msgstr "" #: community_plugins/juick/config_dialog.ui.h:4 +msgid "Juick tag button menu options:" +msgstr "" + +#: community_plugins/juick/config_dialog.ui.h:5 msgid "Preview size" msgstr "" #: community_plugins/juick/config_dialog.ui.h:6 -msgid "Show avatar of post author only" +msgid "Preview size(10-512)" msgstr "" #: community_plugins/juick/config_dialog.ui.h:7 -msgid "Show avatars in messages" +msgid "Show avatar of post author only" msgstr "" #: community_plugins/juick/config_dialog.ui.h:8 -msgid "Show juick picture preview" +msgid "Show avatars in messages" msgstr "" #: community_plugins/juick/config_dialog.ui.h:9 -msgid "Show juick tag button" +msgid "Show juick picture preview" msgstr "" #: community_plugins/juick/config_dialog.ui.h:10 -msgid "menuitem name:" +msgid "Show juick tag button" msgstr "" #: community_plugins/juick/config_dialog.ui.h:11 +msgid "menuitem name:" +msgstr "" + +#: community_plugins/juick/config_dialog.ui.h:12 msgid "text will be inserted:" msgstr "" diff --git a/plagins_translations/ru.mo b/plagins_translations/ru.mo index 7df5e9df0627c03fd20ca0622d6b5d18e7623a8c..39480324ea6ae681522d01fc71ec1883973616dd 100644 GIT binary patch delta 2780 zcmXxm4NR3)9LMoL4HT{dA{W6I;3}jdP@o9DYx$0rA|@vBCKjQfDd4+a70u0Tn%Bx~ zZH2urO$Apoacw%cR<>)JT3e>g>}9rWrOTIG-`{;6&i3bX&biO?ob#OXKacKd4!hMH z=D*ZE{AHtTB>E8P;b!|WE0RBy%O11Acm-q7+r_K^)36XrF%{p%@puZe(bLsz1P((V zHlVKCjrzR}Cz<)}Co28v$cQ$}#F_X8uEnpg7o)2G7t{dpv1XcE3C3Y1GNvuV?zkTB z;7hm^w|6sZ!TXqtZ*fx=p2dlbAG*s6lel|6mSQ{}M?Lr(WG;3InX6sL6ugakP!bm> z<3!Yb)%?-*D^S;OK@GeMwSp&6&pnIb8vjQsn!r^o!P^*xM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