summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewGtk.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-01-25 12:44:39 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-01-25 12:44:39 +0100
commit34a15f72ffcab2445332c72e3c0b030f0595b56f (patch)
treeb6612695d18d45f2d2469524494eda368b46309f /DistUpgrade/DistUpgradeViewGtk.py
parentb6a69caac1c4a3db57bd8ab4d93f9b62395f41d5 (diff)
downloadpython-apt-34a15f72ffcab2445332c72e3c0b030f0595b56f.tar.gz
* 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
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 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)