From 34a15f72ffcab2445332c72e3c0b030f0595b56f Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 25 Jan 2006 12:44:39 +0100 Subject: * DistUpgrade/build-tarball.sh: - create a tarbal for the dist-upgrade tool - include the current set of translations * DistUpgrade/DistUpgradeViewGtk.py: - look for i18n files in "mo/" * po/POTFILES.in: - include the dist-upgrade stuff as well * po/*.po: make update-po --- DistUpgrade/DistUpgradeViewGtk.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'DistUpgrade/DistUpgradeViewGtk.py') diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py index 0cbc22be..ee05a5bf 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 _ @@ -182,6 +182,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) -- cgit v1.2.3