diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-03-22 16:01:02 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-03-22 16:01:02 +0100 |
| commit | 6bc3d1c5dd643fd3fd29ec2319cbdef6fe721d25 (patch) | |
| tree | a84446003a74f181b62d07bc1e65a4d89b925dcd /aptsources/sourceslist.py | |
| parent | 808dfe4f1df81228fc15a18e47cffcc62a830ed6 (diff) | |
| download | python-apt-6bc3d1c5dd643fd3fd29ec2319cbdef6fe721d25.tar.gz | |
* use the correct gettext domain
Diffstat (limited to 'aptsources/sourceslist.py')
| -rw-r--r-- | aptsources/sourceslist.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/aptsources/sourceslist.py b/aptsources/sourceslist.py index 208e6c7d..754e2003 100644 --- a/aptsources/sourceslist.py +++ b/aptsources/sourceslist.py @@ -32,9 +32,12 @@ import shutil import time import os.path import sys -from gettext import gettext as _ +#from gettext import gettext as _ #import pdb +import gettext +def _(s): return gettext.dgettext("python-apt", s) + #from UpdateManager.Common.DistInfo import DistInfo from distinfo import DistInfo |
