Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Fomin <fominde@gmail.com>2013-08-24 14:38:46 +0400
committerDenis Fomin <fominde@gmail.com>2013-08-24 14:38:46 +0400
commit118a7d7a416ea30e1a2f57987f58425c134419fb (patch)
treeb55f2909fa9c5280f5da751fa2819c2bfe9ab45e
parentfdef710ca34706927de9dfc33c74d4680a8e02db (diff)
Emoticons pack. fix translation
-rw-r--r--emoticons_pack/emoticons_pack.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/emoticons_pack/emoticons_pack.py b/emoticons_pack/emoticons_pack.py
index 71a19c1..dd0b70c 100644
--- a/emoticons_pack/emoticons_pack.py
+++ b/emoticons_pack/emoticons_pack.py
@@ -138,8 +138,8 @@ class EmoticonsPackPlugin(GajimPlugin):
name = model.get_value(iter, C_NAME)
label = self.xml.get_object('label2')
- if label.get_text() == 'Legend':
- label.set_text('Description')
+ if label.get_text() == _('Legend'):
+ label.set_text(_('Description'))
sys.path.append(os.path.join(self.tmp_dir, name))
import emoticons
@@ -178,7 +178,7 @@ class EmoticonsPackPlugin(GajimPlugin):
sw = self.xml.get_object('scrolledwindow1')
sw.add(self.emoticons_description_textview.tv)
sw.show_all()
- label.set_text('Legend')
+ label.set_text(_('Legend'))
desc = _(model.get_value(iter, C_DESCRIPTION))
if not desc.startswith('<body '):
desc = '<body xmlns=\'http://www.w3.org/1999/xhtml\'>' + \