Commit 4b37c0c5 authored by Dicson's avatar Dicson

add translatable description

parent 4b297ebf
...@@ -15,6 +15,10 @@ class ChatstatePlugin(GajimPlugin): ...@@ -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), }
......
...@@ -13,6 +13,8 @@ class ClickableNicknames(GajimPlugin): ...@@ -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,
......
...@@ -131,10 +131,11 @@ clients = { ...@@ -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): ...@@ -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)
......
...@@ -13,6 +13,7 @@ from plugins.gui import GajimPluginConfigDialog ...@@ -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'", ''),
......
...@@ -32,6 +32,7 @@ class GnomeSessionManagerPlugin(GajimPlugin): ...@@ -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 = {}
......
...@@ -40,7 +40,7 @@ DEFAULTFLAGS = { ...@@ -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): ...@@ -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): ...@@ -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 = {}
......
...@@ -14,6 +14,11 @@ from dialogs import ImageChooserDialog, ErrorDialog ...@@ -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 = {
......
...@@ -3,7 +3,7 @@ name: Juick ...@@ -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
...@@ -23,6 +23,10 @@ import common.xmpp ...@@ -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,
......
...@@ -2,7 +2,6 @@ ...@@ -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
...@@ -17,6 +17,8 @@ class NowListenPlugin(GajimPlugin): ...@@ -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)}
......
[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/
...@@ -8,7 +8,7 @@ msgid "" ...@@ -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 "" ...@@ -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 ""
#: community_plugins/clients_icons/clients_icons.py:137
msgid ""
"Shows the client icons in the roster and in groupchats.\n"
"Depends: Gajim > r12506"
msgstr "" msgstr ""
#: community_plugins/clients_icons/clients_icons.py:138 #: 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"