diff --git a/plugins/banner_tweaks/plugin.py b/plugins/banner_tweaks/plugin.py index 2e7faeb31190e737b998323a0e70ce0ad754ddca..befb72d934167b47b2a8d41e65e5b23e49c80c7a 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 5a05c91c623d485ae30c78117eda0aa8a93a09a5..905df6f6816851a70d33240f0fb0a3b081b7862f 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 398804407f0a9b1143cf17171641dcde228a33ff..ce1678fe7e15ef3b98af1f3ec628c8a5c7cb3570 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')