juick plugin. do not translate config vars

This commit is contained in:
Denis Fomin
2011-09-03 12:20:51 +03:00
parent d674b13ebf
commit c2a0c82a48
4 changed files with 58 additions and 43 deletions

View File

@@ -61,6 +61,7 @@
<object class="GtkSpinButton" id="avatar_size">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Avatar size(10-32)</property>
<property name="invisible_char">&#x25CF;</property>
<property name="width_chars">6</property>
<property name="snap_to_ticks">True</property>

View File

@@ -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', ''),