diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-20 17:44:34 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-20 17:44:34 +0000 |
commit | b3017639e75ee2fafa71d1af61b041bb4cd19455 (patch) | |
tree | f62f96af929247abe8fa0c5489aa52f734bfbadd /text.py | |
parent | 2f759a30b4425b4125f01981ce21f099cfa04cc9 (diff) | |
download | anaconda-b3017639e75ee2fafa71d1af61b041bb4cd19455.tar.gz anaconda-b3017639e75ee2fafa71d1af61b041bb4cd19455.tar.xz anaconda-b3017639e75ee2fafa71d1af61b041bb4cd19455.zip |
more lang changes
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -7,6 +7,12 @@ import rpm import time import gettext import glob + +cat = gettext.Catalog ("anaconda", "/usr/share/locale") + +def _(string): + return cat.gettext (string) + from textw.constants import * from textw.lilo import LiloWindow from textw.lilo import LiloAppendWindow @@ -25,9 +31,6 @@ from textw.packages import IndividualPackageWindow from textw.packages import PackageDepWindow import installclass -cat = gettext.Catalog ("anaconda", "/usr/share/locale") -_ = cat.gettext - class LanguageWindow: def __call__(self, screen, todo): languages = todo.language.available () |