add translatable description

This commit is contained in:
Denis Fomin
2011-09-03 09:59:36 +03:00
parent 4b297ebf7d
commit 4b37c0c583
19 changed files with 264 additions and 93 deletions

View File

@@ -15,6 +15,10 @@ class ChatstatePlugin(GajimPlugin):
@log_calls('ChatstatePlugin') @log_calls('ChatstatePlugin')
def init(self): def init(self):
self.description = _('Chat State Notifications in roster.'
'Font color of the contact varies depending on the chat state.\n'
'The plugin does not work if you use custom font color for contacts in roster.\n'
'http://trac.gajim.org/ticket/3628.\nhttp://xmpp.org/extensions/xep-0085.html')
self.config_dialog = None # ChatstatePluginConfigDialog(self) self.config_dialog = None # ChatstatePluginConfigDialog(self)
self.events_handlers = {'chatstate-received': self.events_handlers = {'chatstate-received':
(ged.GUI2, self.chatstate_received), } (ged.GUI2, self.chatstate_received), }

View File

@@ -13,6 +13,8 @@ class ClickableNicknames(GajimPlugin):
@log_calls('ClickableNicknamesPlugin') @log_calls('ClickableNicknamesPlugin')
def init(self): def init(self):
self.description = _('Clickable nicknames '
'in the conversation textview.')
self.config_dialog = None # ClickableNicknamesPluginConfigDialog(self) self.config_dialog = None # ClickableNicknamesPluginConfigDialog(self)
self.gui_extension_points = { self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control, 'chat_control_base': (self.connect_with_chat_control,

View File

@@ -131,10 +131,11 @@ clients = {
class ClientsIconsPlugin(GajimPlugin): class ClientsIconsPlugin(GajimPlugin):
description = _('Shows the client icons in the roster')
@log_calls('ClientsIconsPlugin') @log_calls('ClientsIconsPlugin')
def init(self): def init(self):
self.description = _('Shows the client icons in the roster'
' and in groupchats.\nDepends: Gajim > r12506')
self.pos_list = [_('after statusicon'), _('before avatar')] self.pos_list = [_('after statusicon'), _('before avatar')]
self.events_handlers = {'presence-received': self.events_handlers = {'presence-received':
(ged.POSTGUI, self.presence_received), (ged.POSTGUI, self.presence_received),
@@ -168,8 +169,10 @@ class ClientsIconsPlugin(GajimPlugin):
return return
if roster.model[child_iters[0]][self.renderer_num] is None: if roster.model[child_iters[0]][self.renderer_num] is None:
caps = contact.client_caps._node caps = contact.client_caps._node
if not caps and jid == 'juick@juick.com': if jid == 'juick@juick.com':
caps = 'http://juick.com/caps' caps = 'http://juick.com/caps'
elif jid == 'psto@psto.net':
caps = 'psto@psto.net'
self.set_icon(roster.model, child_iters[0], self.renderer_num, self.set_icon(roster.model, child_iters[0], self.renderer_num,
caps) caps)

View File

@@ -13,6 +13,7 @@ from plugins.gui import GajimPluginConfigDialog
class FlashingKeyboard(GajimPlugin): class FlashingKeyboard(GajimPlugin):
@log_calls('FlashingKeyboard') @log_calls('FlashingKeyboard')
def init(self): def init(self):
self.description = _('Flashing keyboard led if there is unread messages')
self.config_dialog = FlashingKeyboardPluginConfigDialog(self) self.config_dialog = FlashingKeyboardPluginConfigDialog(self)
self.config_default_values = { self.config_default_values = {
'command1': ("xset led named 'Scroll Lock'", ''), 'command1': ("xset led named 'Scroll Lock'", ''),

View File

@@ -32,6 +32,7 @@ class GnomeSessionManagerPlugin(GajimPlugin):
@log_calls('GnomeSessionManagerPlugin') @log_calls('GnomeSessionManagerPlugin')
def init(self): def init(self):
self.description = _('Set and react on GNOME Session presence settings')
self.config_dialog = None self.config_dialog = None
self.events_handlers = {} self.events_handlers = {}

View File

@@ -40,7 +40,7 @@ DEFAULTFLAGS = {
'SEND_TAG':True, 'SEND_TAG':True,
'WHITESPACE_START_AKE':True, 'WHITESPACE_START_AKE':True,
'ERROR_START_AKE':True, 'ERROR_START_AKE':True,
} }
MMS = 1024 MMS = 1024
PROTOCOL = 'xmpp' PROTOCOL = 'xmpp'
@@ -174,7 +174,7 @@ class GajimOtrAccount(potr.context.Account):
def loadTrusts(self, newCtxCb=None): def loadTrusts(self, newCtxCb=None):
''' load the fingerprint trustdb ''' ''' load the fingerprint trustdb '''
# it has the same format as libotr, therefore the # it has the same format as libotr, therefore the
# redundant account / proto field # redundant account / proto field
try: try:
with open(self.keyFilePath + '.fpr', 'r') as fprFile: with open(self.keyFilePath + '.fpr', 'r') as fprFile:
@@ -210,6 +210,7 @@ class OtrPlugin(GajimPlugin):
otr = None otr = None
def init(self): def init(self):
self.description = _('See http://www.cypherpunks.ca/otr/')
self.us = {} self.us = {}
self.config_dialog = ui.OtrPluginConfigDialog(self) self.config_dialog = ui.OtrPluginConfigDialog(self)
self.events_handlers = {} self.events_handlers = {}

View File

@@ -14,6 +14,11 @@ from dialogs import ImageChooserDialog, ErrorDialog
class ImagePlugin(GajimPlugin): class ImagePlugin(GajimPlugin):
@log_calls('ImagePlugin') @log_calls('ImagePlugin')
def init(self): def init(self):
self.description = _('This plugin is designed to send '
'a small(0 - 40 kb) graphic image to your contact.\n'
'Client on the other side must support XEP-0071: XHTML-IM'
' and maintain the scheme data: URI.\n'
'Psi+ and Jabbim supported this.')
self.config_dialog = None # ImagePluginConfigDialog(self) self.config_dialog = None # ImagePluginConfigDialog(self)
self.controls = [] self.controls = []
self.gui_extension_points = { self.gui_extension_points = {

View File

@@ -3,7 +3,7 @@ name: Juick
short_name: Juick short_name: Juick
version: 0.2 version: 0.2
description: Clickable juick links , juick nics, preview juick picturs. description: Clickable juick links , juick nics, preview juick picturs.
The key combination alt + up in the textbox allow insert the number of last message (comment or topic). The key combination alt + up in the textbox allow insert the number of last message (comment or topic).
authors: Denis Fomin <fominde@gmail.com>, evgen <drujebober@gmail.com> authors: Denis Fomin <fominde@gmail.com>, evgen <drujebober@gmail.com>
homepage: http://trac-plugins.gajim.org/wiki/JuickPlugin homepage: http://trac-plugins.gajim.org/wiki/JuickPlugin

View File

@@ -23,6 +23,10 @@ import common.xmpp
class JuickPlugin(GajimPlugin): class JuickPlugin(GajimPlugin):
@log_calls('JuickPlugin') @log_calls('JuickPlugin')
def init(self): def init(self):
self.description = _('Clickable juick links , juick nics, '
'preview juick picturs.\nThe key combination alt + up in the '
'textbox allow insert the number of last message '
'(comment or topic).')
self.config_dialog = JuickPluginConfigDialog(self) self.config_dialog = JuickPluginConfigDialog(self)
self.gui_extension_points = { self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control, 'chat_control_base': (self.connect_with_chat_control,

View File

@@ -2,7 +2,6 @@
name: Now Listen name: Now Listen
short_name: now-listen short_name: now-listen
version: 0.1 version: 0.1
description: Copy tune info to conversation input box (alt + n), description: Copy tune info to conversation input box (alt + n) at cursor position
at cursor position
authors = Denis Fomin <fominde@gmail.com> authors = Denis Fomin <fominde@gmail.com>
homepage = http://trac-plugins.gajim.org/wiki homepage = http://trac-plugins.gajim.org/wiki

View File

@@ -17,6 +17,8 @@ class NowListenPlugin(GajimPlugin):
@log_calls('NowListenPlugin') @log_calls('NowListenPlugin')
def init(self): def init(self):
self.description = _('Copy tune info to conversation input box '
'(alt + n) at cursor position')
self.config_dialog = NowListenPluginConfigDialog(self) self.config_dialog = NowListenPluginConfigDialog(self)
self.gui_extension_points = {'chat_control_base': self.gui_extension_points = {'chat_control_base':
(self.connect_with_chat_control, self.disconnect_from_chat_control)} (self.connect_with_chat_control, self.disconnect_from_chat_control)}

View File

@@ -1,7 +1,7 @@
[info] [info]
name: Plagins translations name: Plagins translations
short_name: plagins_translations short_name: plagins_translations
version: 0.1 version: 0.2
description: This plugin contains translations files for Gajim plugins description: This plugin contains translations files for Gajim plugins
authors = Denis Fomin <fominde@gmail.com> authors = Denis Fomin <fominde@gmail.com>
homepage = http://trac-plugins.gajim.org/wiki/ homepage = http://trac-plugins.gajim.org/wiki/

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-02 22:48+0400\n" "POT-Creation-Date: 2011-09-03 10:08+0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,175 +17,243 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: community_plugins/clients_icons/clients_icons.py:134 #: community_plugins/now_listen/now_listen.py:20
msgid "Shows the client icons in the roster" msgid ""
"Copy tune info to conversation input box (alt + n),\n"
"at cursor position"
msgstr "" msgstr ""
#: community_plugins/clients_icons/clients_icons.py:138 #: community_plugins/clients_icons/clients_icons.py:137
msgid ""
"Shows the client icons in the roster and in groupchats.\n"
"Depends: Gajim > r12506"
msgstr ""
#: community_plugins/clients_icons/clients_icons.py:139
msgid "after statusicon" msgid "after statusicon"
msgstr "" msgstr ""
#: community_plugins/clients_icons/clients_icons.py:138 #: community_plugins/clients_icons/clients_icons.py:139
msgid "before avatar" msgid "before avatar"
msgstr "" msgstr ""
#: community_plugins/image/image.py:45 #: community_plugins/image/image.py:17
msgid ""
"This plugin is designed to send a small(0 - 40 kb) graphic image to your "
"contact.\n"
"Client on the other side must support XEP-0071: XHTML-IM and maintain the "
"scheme data: URI.\n"
"Psi+ and Jabbim supported this."
msgstr ""
#: community_plugins/image/image.py:50
msgid "This contact does not support XHTML_IM" msgid "This contact does not support XHTML_IM"
msgstr "" msgstr ""
#: community_plugins/image/image.py:47 #: community_plugins/image/image.py:52
msgid "Send image" msgid "Send image"
msgstr "" msgstr ""
#: community_plugins/image/image.py:81 #: community_plugins/image/image.py:86
msgid "File is empty" msgid "File is empty"
msgstr "" msgstr ""
#: community_plugins/image/image.py:84 #: community_plugins/image/image.py:89
msgid "File does not exist" msgid "File does not exist"
msgstr "" msgstr ""
#: community_plugins/image/image.py:90 community_plugins/image/image.py:93 #: community_plugins/image/image.py:95 community_plugins/image/image.py:98
msgid "File too big" msgid "File too big"
msgstr "" msgstr ""
#: community_plugins/image/image.py:95 #: community_plugins/image/image.py:100
msgid "Could not load image" msgid "Could not load image"
msgstr "" msgstr ""
#: community_plugins/set_location/set_location.py:137 #: community_plugins/chatstate/chatstate.py:18
msgid ""
"Chat State Notifications in roster.Font color of the contact varies "
"depending on the chat state.\n"
"The plugin does not work if you use custom font color for contacts in "
"roster.\n"
"http://trac.gajim.org/ticket/3628.\n"
"http://xmpp.org/extensions/xep-0085.html"
msgstr ""
#: community_plugins/ubuntu_integration/plugin.py:51
msgid ""
"This plugin integrates Gajim with the Ubuntu Messaging Menu.\n"
"\n"
"You must have python-indicate and python-xdg (and Gajim obviously) installed "
"to enable this plugin.\n"
"\n"
"Many thanks to the guys from gajim@conference.gajim.org for answering my "
"questions :)"
msgstr ""
#: community_plugins/plagins_translations/plagins_translations.py:17
msgid "This plugin contains translations files for Gajim plugins"
msgstr ""
#: community_plugins/set_location/set_location.py:29
msgid ""
"Set information about the current geographical or physical location.\n"
"To be able to specify a location on the built-in card, you must install "
"python-osmgpsmap > 0.5"
msgstr ""
#: community_plugins/set_location/set_location.py:141
msgid "" msgid ""
"Click the right mouse button to specify the location, \n" "Click the right mouse button to specify the location, \n"
"middle mouse button to show / hide the contacts on the map" "middle mouse button to show / hide the contacts on the map"
msgstr "" msgstr ""
#: community_plugins/set_location/set_location.py:222 #: community_plugins/set_location/set_location.py:226
msgid "Save as Preset" msgid "Save as Preset"
msgstr "" msgstr ""
#: community_plugins/set_location/set_location.py:222 #: community_plugins/set_location/set_location.py:226
msgid "Please type a name for this preset" msgid "Please type a name for this preset"
msgstr "" msgstr ""
#: community_plugins/wrong_layout/plugin.py:22 #: community_plugins/roster_tweaks/roster_tweaks.py:21
msgid ""
"Allows user to tweak roster window appearance (eg. make it compact).\n"
"Based on ticket #3340:\n"
"http://trac.gajim.org/ticket/3340.\n"
"Added ability to quickly change the status message to all connected accounts."
msgstr ""
#: community_plugins/wrong_layout/plugin.py:15
msgid "Press alt+r to convert chars typed in wrong layout Rus<>Eng" msgid "Press alt+r to convert chars typed in wrong layout Rus<>Eng"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:31 #: community_plugins/clickable_nicknames/clickable_nicknames.py:16
msgid "Clickable nicknames in the conversation textview."
msgstr ""
#: community_plugins/juick/plugin.py:26
msgid ""
"Clickable juick links , juick nics, preview juick picturs.\n"
"The key combination alt + up in the textbox allow insert the number of last "
"message (comment or topic)."
msgstr ""
#: community_plugins/juick/plugin.py:35
msgid "Avatar size(10-32)" msgid "Avatar size(10-32)"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:33 #: community_plugins/juick/plugin.py:37
#: community_plugins/juick/config_dialog.ui.h:5 #: community_plugins/juick/config_dialog.ui.h:5
msgid "Preview size(10-512)" msgid "Preview size(10-512)"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:34 #: community_plugins/juick/plugin.py:38
#: community_plugins/juick/config_dialog.ui.h:2 #: community_plugins/juick/config_dialog.ui.h:2
msgid "Juick link color" msgid "Juick link color"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:191 #: community_plugins/juick/plugin.py:195
msgid "Reply to message" msgid "Reply to message"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:195 #: community_plugins/juick/plugin.py:199
msgid "Unsubscribe from comments" msgid "Unsubscribe from comments"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:196 #: community_plugins/juick/plugin.py:200
msgid "Subscribe to message replies" msgid "Subscribe to message replies"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:197 #: community_plugins/juick/plugin.py:201
msgid "Recommend post" msgid "Recommend post"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:198 #: community_plugins/juick/plugin.py:202
msgid "Show message with replies" msgid "Show message with replies"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:199 #: community_plugins/juick/plugin.py:203
msgid "Delete post" msgid "Delete post"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:205 #: community_plugins/juick/plugin.py:209
msgid "Open in browser" msgid "Open in browser"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:209 #: community_plugins/juick/plugin.py:213
msgid "Show user's info" msgid "Show user's info"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:210 #: community_plugins/juick/plugin.py:214
msgid "Show user's info and last 10 messages" msgid "Show user's info and last 10 messages"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:211 #: community_plugins/juick/plugin.py:215
msgid "Subscribe to user's blog" msgid "Subscribe to user's blog"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:212 #: community_plugins/juick/plugin.py:216
msgid "Unsubscribe from user's blog" msgid "Unsubscribe from user's blog"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:213 #: community_plugins/juick/plugin.py:217
msgid "Add/delete user to/from your blacklist" msgid "Add/delete user to/from your blacklist"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:219 #: community_plugins/juick/plugin.py:223
msgid "Send personal message" msgid "Send personal message"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:465 #: community_plugins/juick/plugin.py:469
msgid "Show last messages from public timeline" msgid "Show last messages from public timeline"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:466 #: community_plugins/juick/plugin.py:470
msgid "Show last messages from your feed" msgid "Show last messages from your feed"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:467 #: community_plugins/juick/plugin.py:471
msgid "Show popular personal blogs" msgid "Show popular personal blogs"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:468 #: community_plugins/juick/plugin.py:472
msgid "Show your tags" msgid "Show your tags"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:469 #: community_plugins/juick/plugin.py:473
msgid "Show your subscriptions" msgid "Show your subscriptions"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:470 #: community_plugins/juick/plugin.py:474
msgid "Delete last message" msgid "Delete last message"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:471 #: community_plugins/juick/plugin.py:475
msgid "Enable subscriptions delivery" msgid "Enable subscriptions delivery"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:472 #: community_plugins/juick/plugin.py:476
msgid "Disable subscriptions delivery" msgid "Disable subscriptions delivery"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:473 #: community_plugins/juick/plugin.py:477
msgid "Show your blacklist" msgid "Show your blacklist"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:474 #: community_plugins/juick/plugin.py:478
msgid "Update \"About\" info from Jabber vCard" msgid "Update \"About\" info from Jabber vCard"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:475 #: community_plugins/juick/plugin.py:479
msgid "Ping" msgid "Ping"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:476 #: community_plugins/juick/plugin.py:480
msgid "Login" msgid "Login"
msgstr "" msgstr ""
#: community_plugins/juick/plugin.py:477 #: community_plugins/juick/plugin.py:481
msgid "HELP" msgid "HELP"
msgstr "" msgstr ""
@@ -215,30 +283,34 @@ msgstr ""
msgid "Private conversation with %s lost." msgid "Private conversation with %s lost."
msgstr "" msgstr ""
#: community_plugins/gotr/otrmodule.py:460 #: community_plugins/gotr/otrmodule.py:213
msgid "See http://www.cypherpunks.ca/otr/"
msgstr ""
#: community_plugins/gotr/otrmodule.py:461
#, python-format #, python-format
msgid "The following message received from %s was *not encrypted*: [%s]" msgid "The following message received from %s was *not encrypted*: [%s]"
msgstr "" msgstr ""
#: community_plugins/gotr/otrmodule.py:463 #: community_plugins/gotr/otrmodule.py:464
#, python-format #, python-format
msgid "" msgid ""
"The encrypted message received from %s is unreadable, as you are not " "The encrypted message received from %s is unreadable, as you are not "
"currently communicating privately" "currently communicating privately"
msgstr "" msgstr ""
#: community_plugins/gotr/otrmodule.py:468 #: community_plugins/gotr/otrmodule.py:469
#, python-format #, python-format
msgid "We received the following OTR error message from %s: [%s]" msgid "We received the following OTR error message from %s: [%s]"
msgstr "" msgstr ""
#: community_plugins/gotr/otrmodule.py:473 #: community_plugins/gotr/otrmodule.py:474
#, python-format #, python-format
msgid "" 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 %s: [%s]"
msgstr "" msgstr ""
#: community_plugins/gotr/otrmodule.py:516 #: community_plugins/gotr/otrmodule.py:517
msgid "" msgid ""
"Your message was not send. Either end your private conversation, or restart " "Your message was not send. Either end your private conversation, or restart "
"it" "it"
@@ -316,65 +388,133 @@ msgstr ""
msgid "unknown" msgid "unknown"
msgstr "" msgstr ""
#: triggers/triggers.py:268 #: community_plugins/flashing_keyboard/flashing_keyboard.py:16
msgid "Flashing keyboard led if there is unread messages"
msgstr ""
#: community_plugins/gnome_session_manager/plugin.py:35
msgid "Set and react on GNOME Session presence settings"
msgstr ""
#: events_dump/plugin.py:39
msgid "Dumps info about selected events to console."
msgstr ""
#: acronyms_expander/acronyms_expander.py:39
msgid "Replaces acronyms (or other strings) with given expansions/substitutes."
msgstr ""
#: triggers/triggers.py:37
msgid "Configure Gajim's behaviour for each contact"
msgstr ""
#: triggers/triggers.py:269
msgid "#" msgid "#"
msgstr "" msgstr ""
#: triggers/triggers.py:274 #: triggers/triggers.py:275
msgid "Condition" msgid "Condition"
msgstr "" msgstr ""
#: triggers/triggers.py:387 #: triggers/triggers.py:388
msgid "when I am " msgid "when I am "
msgstr "" msgstr ""
#: plugin_installer/plugin_installer.py:102 #: plugin_installer/plugin_installer.py:44
msgid "Install and upgrade plugins from ftp"
msgstr ""
#: plugin_installer/plugin_installer.py:103
msgid "Plugin" msgid "Plugin"
msgstr "" msgstr ""
#: plugin_installer/plugin_installer.py:107 #: plugin_installer/plugin_installer.py:108
msgid "" msgid ""
"Installed\n" "Installed\n"
"version" "version"
msgstr "" msgstr ""
#: plugin_installer/plugin_installer.py:109 #: plugin_installer/plugin_installer.py:110
msgid "" msgid ""
"Available\n" "Available\n"
"version" "version"
msgstr "" msgstr ""
#: plugin_installer/plugin_installer.py:116 #: plugin_installer/plugin_installer.py:117
msgid "" msgid ""
"Install /\n" "Install /\n"
"Upgrade" "Upgrade"
msgstr "" msgstr ""
#: banner_tweaks/plugin.py:107 #: dbus_plugin/plugin.py:691
msgid ""
"D-Bus support. Based on remote_control module from\n"
"Gajim core but uses new events handling system."
msgstr ""
#: new_events_example/plugin.py:44
msgid ""
"Shows how to generate new network events based on existing one using Network "
"Events Controller."
msgstr ""
#: banner_tweaks/plugin.py:48
msgid ""
"Allows user to tweak chat window banner appearance (eg. make it compact).\n"
"Based on patch by pb in ticket #4133:\n"
"http://trac.gajim.org/attachment/ticket/4133."
msgstr ""
#: banner_tweaks/plugin.py:111
#, python-format #, python-format
msgid "%(nickname)s from group chat %(room_name)s" msgid "%(nickname)s from group chat %(room_name)s"
msgstr "" msgstr ""
#: whiteboard/plugin.py:153 #: snarl_notifications/plugin.py:44
msgid ""
"Shows events notification using Snarl (http://www.fullphat.net/) under "
"Windows. Snarl needs to be installed in system.\n"
"PySnarl bindings are used (http://code.google.com/p/pysnarl/)."
msgstr ""
#: google_translation/plugin.py:47
msgid "Translates (currently only incoming)messages using Google Translate."
msgstr ""
#: length_notifier/length_notifier.py:39
msgid ""
"Highlights message entry field in chat window when given length of message "
"is exceeded."
msgstr ""
#: roster_buttons/plugin.py:39
msgid "Adds quick action buttons to roster window."
msgstr ""
#: whiteboard/plugin.py:55
msgid "Shows a whiteboard in chat. python-pygoocanvas is required."
msgstr ""
#: whiteboard/plugin.py:155
msgid "Incoming Whiteboard" msgid "Incoming Whiteboard"
msgstr "" msgstr ""
#: whiteboard/plugin.py:154 #: whiteboard/plugin.py:156
#, python-format #, python-format
msgid "" msgid ""
"%(name)s (%(jid)s) wants to start a whiteboard with you. Do you want to " "%(name)s (%(jid)s) wants to start a whiteboard with you. Do you want to "
"accept?" "accept?"
msgstr "" msgstr ""
#: whiteboard/plugin.py:204 #: whiteboard/plugin.py:206
msgid "Invalid Jabber ID" msgid "Invalid Jabber ID"
msgstr "" msgstr ""
#: whiteboard/plugin.py:205 #: whiteboard/plugin.py:207
msgid "A message from a non-valid JID arrived, it has been ignored." msgid "A message from a non-valid JID arrived, it has been ignored."
msgstr "" msgstr ""
#: whiteboard/plugin.py:344 #: whiteboard/plugin.py:346
#, python-format #, python-format
msgid "Whiteboard stopped: %(reason)s" msgid "Whiteboard stopped: %(reason)s"
msgstr "" msgstr ""

View File

@@ -14,6 +14,8 @@ class PlaginsTranslationsPlugin(GajimPlugin):
@log_calls('PlaginsTranslationsPlugin') @log_calls('PlaginsTranslationsPlugin')
def init(self): def init(self):
self.description = _('This plugin contains translations files '
'for Gajim plugins')
self.config_dialog = None self.config_dialog = None
self.config_default_values = {'last_version': '0'} self.config_default_values = {'last_version': '0'}
self.locale_dir = os.path.join(gajim.PLUGINS_DIRS[1], 'locale') self.locale_dir = os.path.join(gajim.PLUGINS_DIRS[1], 'locale')

Binary file not shown.

View File

@@ -18,6 +18,11 @@ class RosterTweaksPlugin(GajimPlugin):
@log_calls('RosterTweaksPlugin') @log_calls('RosterTweaksPlugin')
def init(self): def init(self):
self.description = _('Allows user to tweak roster window appearance '
'(eg. make it compact).\nBased on ticket #3340:\n'
'http://trac.gajim.org/ticket/3340.\n'
'Added ability to quickly change the status message '
'to all connected accounts.')
self.config_dialog = RosterTweaksPluginConfigDialog(self) self.config_dialog = RosterTweaksPluginConfigDialog(self)
self.config_default_values = {'hide_status_combo': (False, ''), self.config_default_values = {'hide_status_combo': (False, ''),

View File

@@ -26,6 +26,10 @@ except:
class SetLocationPlugin(GajimPlugin): class SetLocationPlugin(GajimPlugin):
@log_calls('SetLocationPlugin') @log_calls('SetLocationPlugin')
def init(self): def init(self):
self.description = _('Set information about the current geographical '
'or physical location.\n'
'To be able to specify a location on the built-in card, '
'you must install python-osmgpsmap > 0.5')
self.config_dialog = SetLocationPluginConfigDialog(self) self.config_dialog = SetLocationPluginConfigDialog(self)
self.config_default_values = { self.config_default_values = {
'alt': (1609, ''), 'alt': (1609, ''),

View File

@@ -48,6 +48,12 @@ class UbuntuIntegrationPlugin(GajimPlugin):
""" """
Does nothing. Does nothing.
""" """
self.description = _('This plugin integrates Gajim '
'with the Ubuntu Messaging Menu.\n\n'
'You must have python-indicate and python-xdg (and Gajim obviously)'
' installed to enable this plugin.\n\n'
'Many thanks to the guys from gajim@conference.gajim.org for '
'answering my questions :)')
self.config_dialog = None self.config_dialog = None
@log_calls("UbuntuIntegrationPlugin") @log_calls("UbuntuIntegrationPlugin")

View File

@@ -2,7 +2,6 @@
import gtk import gtk
import os import os
import gettext
from common import helpers from common import helpers
from common import gajim from common import gajim
@@ -10,18 +9,11 @@ from plugins import GajimPlugin
from plugins.helpers import log_calls, log from plugins.helpers import log_calls, log
locale_path = os.path.dirname(__file__) + '/locale'
try:
gett = gettext.Catalog('WrongLayout', locale_path)
_ = gett.gettext
except:
pass
class WrongLayoutPlugin(GajimPlugin): class WrongLayoutPlugin(GajimPlugin):
description = _('Press alt+r to convert chars typed in wrong layout Rus<>Eng')
@log_calls('WrongLayoutPlugin') @log_calls('WrongLayoutPlugin')
def init(self): def init(self):
self.description = _('Press alt+r to convert chars typed in '
'wrong layout Rus<>Eng')
self.config_dialog = None self.config_dialog = None
self.gui_extension_points = { self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control, 'chat_control_base': (self.connect_with_chat_control,
@@ -29,19 +21,19 @@ class WrongLayoutPlugin(GajimPlugin):
self.chat_control = None self.chat_control = None
self.controls = [] self.controls = []
self.dict_eng = {'`': 'ё', 'q': 'й', 'w': 'ц', 'e': 'у', 'r': 'к', self.dict_eng = {'`': 'ё', 'q': 'й', 'w': 'ц', 'e': 'у', 'r': 'к',
't': 'е', 't': 'е',
'y': 'н', 'u': 'г', 'i': 'ш', 'o': 'щ', 'p': 'з', '[': 'х', 'y': 'н', 'u': 'г', 'i': 'ш', 'o': 'щ', 'p': 'з', '[': 'х',
']': 'ъ', 'a': 'ф', 's': 'ы', 'd': 'в', 'f': 'а', 'g': 'п', ']': 'ъ', 'a': 'ф', 's': 'ы', 'd': 'в', 'f': 'а', 'g': 'п',
'h': 'р', 'j': 'о', 'k': 'л', 'l': 'д', ';': 'ж', '\'': 'э', 'h': 'р', 'j': 'о', 'k': 'л', 'l': 'д', ';': 'ж', '\'': 'э',
'z': 'я', 'x': 'ч', 'c': 'с', 'v': 'м', 'b': 'и', 'n': 'т', 'z': 'я', 'x': 'ч', 'c': 'с', 'v': 'м', 'b': 'и', 'n': 'т',
'm': 'ь', ',': 'б', '.': 'ю', '/': '.', 'm': 'ь', ',': 'б', '.': 'ю', '/': '.',
'\\': '\\', '~': 'Ё', '@': '"', '$': ';', '^': ':', '&': '?', '\\': '\\', '~': 'Ё', '@': '"', '$': ';', '^': ':', '&': '?',
'Q': 'Й', 'W': 'Ц', 'E': 'У', 'R': 'К', 'T': 'Е', 'Y': 'Н', 'Q': 'Й', 'W': 'Ц', 'E': 'У', 'R': 'К', 'T': 'Е', 'Y': 'Н',
'U': 'Г', 'I': 'Ш', 'O': 'Щ', 'P': 'З', '{': 'Х', '}': 'Ъ', 'U': 'Г', 'I': 'Ш', 'O': 'Щ', 'P': 'З', '{': 'Х', '}': 'Ъ',
'|': '/', 'A': 'Ф', 'S': 'Ы', 'D': 'В', 'F': 'А', 'G': 'П', '|': '/', 'A': 'Ф', 'S': 'Ы', 'D': 'В', 'F': 'А', 'G': 'П',
'H': 'Р', 'J': 'О', 'K': 'Л', 'L': 'Д', '"': 'Э', 'Z': 'Я', 'H': 'Р', 'J': 'О', 'K': 'Л', 'L': 'Д', '"': 'Э', 'Z': 'Я',
'X': 'Ч', 'C': 'С', 'V': 'М', 'B': 'И', 'N': 'Т', 'M': 'Ь', 'X': 'Ч', 'C': 'С', 'V': 'М', 'B': 'И', 'N': 'Т', 'M': 'Ь',
'<': 'Б', '>': 'Ю', '?': ',', ':': 'Ж'} '<': 'Б', '>': 'Ю', '?': ',', ':': 'Ж'}
self.dict_ru = {} self.dict_ru = {}
for key in self.dict_eng.keys(): for key in self.dict_eng.keys():
self.dict_ru[self.dict_eng[key]] = key self.dict_ru[self.dict_eng[key]] = key