do not translate plugins config vars
This commit is contained in:
parent
9847455414
commit
fcdf58e321
|
@ -53,11 +53,11 @@ class BannerTweaksPlugin(GajimPlugin):
|
||||||
}
|
}
|
||||||
|
|
||||||
self.config_default_values = {
|
self.config_default_values = {
|
||||||
'show_banner_image': (True, _('If True, Gajim will display a status icon in the banner of chat windows.')),
|
'show_banner_image': (True, 'If True, Gajim will display a status icon in the banner of chat windows.'),
|
||||||
'show_banner_online_msg': (True, _('If True, Gajim will display the status message of the contact in the banner of chat windows.')),
|
'show_banner_online_msg': (True, 'If True, Gajim will display the status message of the contact in the banner of chat windows.'),
|
||||||
'show_banner_resource': (False, _('If True, Gajim will display the resource name of the contact in the banner of chat windows.')),
|
'show_banner_resource': (False, 'If True, Gajim will display the resource name of the contact in the banner of chat windows.'),
|
||||||
'banner_small_fonts': (False, _('If True, Gajim will use small fonts for contact name and resource name in the banner of chat windows.')),
|
'banner_small_fonts': (False, 'If True, Gajim will use small fonts for contact name and resource name in the banner of chat windows.'),
|
||||||
'old_chat_avatar_height': (52, _('chat_avatar_height value before plugin was activated')),
|
'old_chat_avatar_height': (52, 'chat_avatar_height value before plugin was activated'),
|
||||||
}
|
}
|
||||||
|
|
||||||
@log_calls('BannerTweaksPlugin')
|
@log_calls('BannerTweaksPlugin')
|
||||||
|
|
|
@ -48,14 +48,14 @@ class GoogleTranslationPlugin(GajimPlugin):
|
||||||
#self.gui_extension_points = {}
|
#self.gui_extension_points = {}
|
||||||
self.config_default_values = {
|
self.config_default_values = {
|
||||||
'from_lang' :
|
'from_lang' :
|
||||||
(u'en', _(u'Language of text to be translated')),
|
(u'en', u'Language of text to be translated'),
|
||||||
'to_lang' :
|
'to_lang' :
|
||||||
(u'fr', _(u'Language to which translation will be made')),
|
(u'fr', u'Language to which translation will be made'),
|
||||||
'user_agent' :
|
'user_agent' :
|
||||||
(u'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) '
|
(u'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) '
|
||||||
'Gecko/20080213 Firefox/2.0.0.11',
|
'Gecko/20080213 Firefox/2.0.0.11',
|
||||||
_(u'User Agent data to be used with urllib2 '
|
u'User Agent data to be used with urllib2 '
|
||||||
'when connecting to Google Translate service'))}
|
'when connecting to Google Translate service')}
|
||||||
|
|
||||||
#self.events_handlers = {}
|
#self.events_handlers = {}
|
||||||
|
|
||||||
|
|
|
@ -43,9 +43,9 @@ class LengthNotifierPlugin(GajimPlugin):
|
||||||
self.disconnect_from_chat_control)
|
self.disconnect_from_chat_control)
|
||||||
}
|
}
|
||||||
|
|
||||||
self.config_default_values = {'MESSAGE_WARNING_LENGTH' : (140, _('Message length at which notification is invoked.')),
|
self.config_default_values = {'MESSAGE_WARNING_LENGTH' : (140, 'Message length at which notification is invoked.'),
|
||||||
'WARNING_COLOR' : ('#F0DB3E', _('Background color of text entry field in chat window when notification is invoked.')),
|
'WARNING_COLOR' : ('#F0DB3E', 'Background color of text entry field in chat window when notification is invoked.'),
|
||||||
'JIDS' : ([], _('JabberIDs that plugin should be used with (eg. restrict only to one microblogging bot). If empty plugin is used with every JID. [not implemented]'))
|
'JIDS' : ([], 'JabberIDs that plugin should be used with (eg. restrict only to one microblogging bot). If empty plugin is used with every JID. [not implemented]')
|
||||||
}
|
}
|
||||||
|
|
||||||
@log_calls('LengthNotifierPlugin')
|
@log_calls('LengthNotifierPlugin')
|
||||||
|
|
Loading…
Reference in New Issue