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>2011-09-02 21:41:45 +0400
committerDenis Fomin <fominde@gmail.com>2011-09-02 21:41:45 +0400
commitcac241823dd6619cae2ba7cb3b0c09809fb96b20 (patch)
tree207ad8aa51b6bf4e2909274a04aae9646c14b832
parent71a989bb9691ea9fb4c994922569f7929cbaa7f7 (diff)
set new translation domain for plugins
-rw-r--r--gotr/ui.py9
-rw-r--r--roster_tweaks/roster_tweaks.py1
2 files changed, 4 insertions, 6 deletions
diff --git a/gotr/ui.py b/gotr/ui.py
index 9ee090e..73e4fa4 100644
--- a/gotr/ui.py
+++ b/gotr/ui.py
@@ -20,7 +20,6 @@
##
import gobject
import gtk
-from common import i18n
from common import gajim
from plugins.gui import GajimPluginConfigDialog
@@ -33,7 +32,7 @@ class OtrPluginConfigDialog(GajimPluginConfigDialog):
self.GTK_BUILDER_FILE_PATH = \
self.plugin.local_file_path('config_dialog.ui')
self.B = gtk.Builder()
- self.B.set_translation_domain(i18n.APP)
+ self.B.set_translation_domain('gajim_plugins')
self.B.add_from_file(self.GTK_BUILDER_FILE_PATH)
self.fpr_model = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING,
@@ -218,7 +217,7 @@ class ContactOtrSmpWindow:
self.GTK_BUILDER_FILE_PATH = \
self.plugin.local_file_path('contact_otr_window.ui')
self.xml = gtk.Builder()
- self.xml.set_translation_domain(i18n.APP)
+ self.xml.set_translation_domain('gajim_plugins')
self.xml.add_from_file(self.GTK_BUILDER_FILE_PATH)
self.window = self.gw('otr_smp_window')
@@ -417,7 +416,7 @@ class ContactOtrWindow(gtk.Dialog):
self.GTK_BUILDER_FILE_PATH = \
self.plugin.local_file_path('contact_otr_window.ui')
self.xml = gtk.Builder()
- self.xml.set_translation_domain(i18n.APP)
+ self.xml.set_translation_domain('gajim_plugins')
self.xml.add_from_file(self.GTK_BUILDER_FILE_PATH)
self.notebook = self.gw('otr_settings_notebook')
self.child.pack_start(self.notebook)
@@ -523,7 +522,7 @@ def get_otr_submenu(plugin, control):
GTK_BUILDER_FILE_PATH = \
plugin.local_file_path('contact_otr_window.ui')
xml = gtk.Builder()
- xml.set_translation_domain(i18n.APP)
+ xml.set_translation_domain('gajim_plugins')
xml.add_from_file(GTK_BUILDER_FILE_PATH)
otr_submenu = xml.get_object('otr_submenu')
diff --git a/roster_tweaks/roster_tweaks.py b/roster_tweaks/roster_tweaks.py
index b3c50e4..bbe8dd2 100644
--- a/roster_tweaks/roster_tweaks.py
+++ b/roster_tweaks/roster_tweaks.py
@@ -4,7 +4,6 @@ import gtk
import pango
import gobject
-from common import i18n
from common import gajim
from plugins import GajimPlugin