summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewGtk.py
diff options
context:
space:
mode:
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index bf07c2b9..71762d6e 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -35,7 +35,7 @@ import os
from apt.progress import InstallProgress
from DistUpgradeView import DistUpgradeView
-from UpdateManager.Common.SimpleGladeApp import SimpleGladeApp
+from UpdateManager.Common.SimpleGladeApp import SimpleGladeApp, bindtextdomain
from gettext import gettext as _
@@ -179,6 +179,8 @@ class GtkDistUpgradeView(DistUpgradeView,SimpleGladeApp):
def __init__(self):
# FIXME: i18n must be somewhere relative do this dir
+ bindtextdomain("update-manager",os.path.join(os.getcwd(),"mo"))
+
SimpleGladeApp.__init__(self, "DistUpgrade.glade",
None, domain="update-manager")
self.window_main.set_keep_above(True)