summaryrefslogtreecommitdiff
path: root/DistUpgrade
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-05-31 18:56:13 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-05-31 18:56:13 +0200
commit5f97888441455724e9609e005bea3a6c2b66532b (patch)
tree992c58406503d81d7f8534df063dfd8071536194 /DistUpgrade
parent987d4bee715b9db6ae5806a1e4c4b76866ad6bd2 (diff)
downloadpython-apt-5f97888441455724e9609e005bea3a6c2b66532b.tar.gz
* DistUpgrade/DistUpgradeControler.py:
- another missing bindtextdomain
Diffstat (limited to 'DistUpgrade')
-rw-r--r--DistUpgrade/DistUpgradeControler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index 7602075c..2554340b 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -34,12 +34,16 @@ from DistUpgradeConfigParser import DistUpgradeConfig
from aptsources import SourcesList, SourceEntry, is_mirror
from gettext import gettext as _
+import gettext
from DistUpgradeCache import MyCache
class DistUpgradeControler(object):
def __init__(self, distUpgradeView):
+ gettext.bindtextdomain("update-manager",os.path.join(os.getcwd(),"mo"))
+ gettext.textdomain("update-manager")
+
self._view = distUpgradeView
self._view.updateStatus(_("Reading cache"))
self.cache = None