summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-20 17:44:34 +0000
committerMatt Wilson <msw@redhat.com>1999-09-20 17:44:34 +0000
commitb3017639e75ee2fafa71d1af61b041bb4cd19455 (patch)
treef62f96af929247abe8fa0c5489aa52f734bfbadd /text.py
parent2f759a30b4425b4125f01981ce21f099cfa04cc9 (diff)
downloadanaconda-b3017639e75ee2fafa71d1af61b041bb4cd19455.tar.gz
anaconda-b3017639e75ee2fafa71d1af61b041bb4cd19455.tar.xz
anaconda-b3017639e75ee2fafa71d1af61b041bb4cd19455.zip
more lang changes
Diffstat (limited to 'text.py')
-rw-r--r--text.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/text.py b/text.py
index e947e6d3a..41f6ddf98 100644
--- a/text.py
+++ b/text.py
@@ -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 ()