diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-25 12:44:39 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-25 12:44:39 +0100 |
| commit | 34a15f72ffcab2445332c72e3c0b030f0595b56f (patch) | |
| tree | b6612695d18d45f2d2469524494eda368b46309f /DistUpgrade/DistUpgradeViewGtk.py | |
| parent | b6a69caac1c4a3db57bd8ab4d93f9b62395f41d5 (diff) | |
| download | python-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.py | 4 |
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) |
