From 42ec6b60b2f65e4ea1e441810203838b5ed70fc8 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Fri, 2 Sep 2011 20:51:13 +0300 Subject: [PATCH] set new translation domaine for plugins --- plugins/banner_tweaks/plugin.py | 3 +-- plugins/length_notifier/length_notifier.py | 3 +-- plugins/roster_buttons/plugin.py | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/plugins/banner_tweaks/plugin.py b/plugins/banner_tweaks/plugin.py index 2e7faeb31..befb72d93 100644 --- a/plugins/banner_tweaks/plugin.py +++ b/plugins/banner_tweaks/plugin.py @@ -34,7 +34,6 @@ import sys import gtk import gobject import message_control -from common import i18n from common import gajim from common import helpers @@ -159,7 +158,7 @@ class BannerTweaksPluginConfigDialog(GajimPluginConfigDialog): self.GTK_BUILDER_FILE_PATH = self.plugin.local_file_path( 'config_dialog.ui') self.xml = gtk.Builder() - self.xml.set_translation_domain(i18n.APP) + self.xml.set_translation_domain('gajim_plugins') self.xml.add_objects_from_file(self.GTK_BUILDER_FILE_PATH, ['banner_tweaks_config_vbox']) self.config_vbox = self.xml.get_object('banner_tweaks_config_vbox') diff --git a/plugins/length_notifier/length_notifier.py b/plugins/length_notifier/length_notifier.py index 5a05c91c6..905df6f68 100644 --- a/plugins/length_notifier/length_notifier.py +++ b/plugins/length_notifier/length_notifier.py @@ -27,7 +27,6 @@ Message length notifier plugin. import sys import gtk -from common import i18n from plugins import GajimPlugin from plugins.helpers import log, log_calls @@ -112,7 +111,7 @@ class LengthNotifierPluginConfigDialog(GajimPluginConfigDialog): self.GTK_BUILDER_FILE_PATH = self.plugin.local_file_path( 'config_dialog.ui') self.xml = gtk.Builder() - self.xml.set_translation_domain(i18n.APP) + self.xml.set_translation_domain('gajim_plugins') self.xml.add_objects_from_file(self.GTK_BUILDER_FILE_PATH, ['length_notifier_config_table']) self.config_table = self.xml.get_object('length_notifier_config_table') diff --git a/plugins/roster_buttons/plugin.py b/plugins/roster_buttons/plugin.py index 398804407..ce1678fe7 100644 --- a/plugins/roster_buttons/plugin.py +++ b/plugins/roster_buttons/plugin.py @@ -27,7 +27,6 @@ Roster buttons plug-in. import sys import gtk -from common import i18n from common import gajim from plugins import GajimPlugin @@ -46,7 +45,7 @@ class RosterButtonsPlugin(GajimPlugin): @log_calls('RosterButtonsPlugin') def activate(self): self.xml = gtk.Builder() - self.xml.set_translation_domain(i18n.APP) + self.xml.set_translation_domain('gajim_plugins') self.xml.add_objects_from_file(self.GTK_BUILDER_FILE_PATH, ['roster_buttons_buttonbox']) self.buttonbox = self.xml.get_object('roster_buttons_buttonbox')