From 98d913990d2e0801c12857aa1c6864db0762dfb5 Mon Sep 17 00:00:00 2001 From: David Paleino Date: Wed, 19 Oct 2011 12:31:31 +0200 Subject: [PATCH] Fix incomplete translation issue for the GTK client --- gtk/configscript.py | 1 + gtk/gui.py | 1 + 2 files changed, 2 insertions(+) diff --git a/gtk/configscript.py b/gtk/configscript.py index 2af0f8e..4315327 100755 --- a/gtk/configscript.py +++ b/gtk/configscript.py @@ -149,6 +149,7 @@ def main (argv): gladefile = os.path.join(wpath.gtk, "wicd.ui") self.wTree = gtk.Builder() + self.wTree.set_translation_domain('wicd') self.wTree.add_from_file(gladefile) self.dialog = self.wTree.get_object("configure_script_dialog") self.wTree.get_object("pre_label").set_label(_('Pre-connection Script') + ":") diff --git a/gtk/gui.py b/gtk/gui.py index d2ee427..9778172 100644 --- a/gtk/gui.py +++ b/gtk/gui.py @@ -162,6 +162,7 @@ class appGui(object): gladefile = os.path.join(wpath.gtk, "wicd.ui") self.wTree = gtk.Builder() + self.wTree.set_translation_domain('wicd') self.wTree.add_from_file(gladefile) self.window = self.wTree.get_object("window1") width = int(gtk.gdk.screen_width() / 2)