diff --git a/plugins/triggers/triggers.py b/plugins/triggers/triggers.py index 3b7840234e0bc7ccbb4633a39ad11890241358e5..bca98263ccbbf33bdf4ee526506337b36def1994 100644 --- a/plugins/triggers/triggers.py +++ b/plugins/triggers/triggers.py @@ -26,7 +26,6 @@ from common import gajim from plugins import GajimPlugin from plugins.helpers import log_calls, log from plugins.gui import GajimPluginConfigDialog -from common import i18n from common import ged from common import helpers @@ -222,6 +221,7 @@ class TriggersPluginConfigDialog(GajimPluginConfigDialog): self.GTK_BUILDER_FILE_PATH = self.plugin.local_file_path( 'config_dialog.ui') self.xml = gtk.Builder() + self.xml.set_translation_domain('gajim_plugins') self.xml.add_objects_from_file(self.GTK_BUILDER_FILE_PATH, ['vbox', 'liststore1', 'liststore2']) vbox = self.xml.get_object('vbox') diff --git a/plugins/whiteboard/whiteboard_widget.py b/plugins/whiteboard/whiteboard_widget.py index 8b92b8bfbd70648c24ea8b4ec5f3f5182ff0cd73..f3837675fab3148939903719cc6d2f376c3d22bb 100644 --- a/plugins/whiteboard/whiteboard_widget.py +++ b/plugins/whiteboard/whiteboard_widget.py @@ -27,7 +27,6 @@ except: HAS_GOOCANVAS = False from common.xmpp import Node from common import gajim -from common import i18n from dialogs import FileChooserDialog ''' @@ -40,7 +39,7 @@ class Whiteboard(object): self.plugin = plugin file_path = plugin.local_file_path('whiteboard_widget.ui') xml = gtk.Builder() - xml.set_translation_domain(i18n.APP) + self.xml.set_translation_domain('gajim_plugins') xml.add_from_file(file_path) self.hbox = xml.get_object('whiteboard_hbox') self.canevas = goocanvas.Canvas()