changeset 4f1f3389054b in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=4f1f3389054b description: set new translation domaine for plugins
diffstat:
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(-)
diffs (60 lines):
diff -r d276d3041dd4 -r 4f1f3389054b plugins/banner_tweaks/plugin.py --- a/plugins/banner_tweaks/plugin.py Fri Sep 02 19:41:09 2011 +0200 +++ b/plugins/banner_tweaks/plugin.py Fri Sep 02 20:51:13 2011 +0300 @@ -34,7 +34,6 @@ import gtk import gobject import message_control -from common import i18n from common import gajim from common import helpers
@@ -159,7 +158,7 @@ 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 -r d276d3041dd4 -r 4f1f3389054b plugins/length_notifier/length_notifier.py --- a/plugins/length_notifier/length_notifier.py Fri Sep 02 19:41:09 2011 +0200 +++ b/plugins/length_notifier/length_notifier.py Fri Sep 02 20:51:13 2011 +0300 @@ -27,7 +27,6 @@ import sys
import gtk -from common import i18n
from plugins import GajimPlugin from plugins.helpers import log, log_calls @@ -112,7 +111,7 @@ 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 -r d276d3041dd4 -r 4f1f3389054b plugins/roster_buttons/plugin.py --- a/plugins/roster_buttons/plugin.py Fri Sep 02 19:41:09 2011 +0200 +++ b/plugins/roster_buttons/plugin.py Fri Sep 02 20:51:13 2011 +0300 @@ -27,7 +27,6 @@ import sys
import gtk -from common import i18n from common import gajim
from plugins import GajimPlugin @@ -46,7 +45,7 @@ @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')