summaryrefslogtreecommitdiffstats
path: root/textw
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 /textw
parent2f759a30b4425b4125f01981ce21f099cfa04cc9 (diff)
downloadanaconda-b3017639e75ee2fafa71d1af61b041bb4cd19455.tar.gz
anaconda-b3017639e75ee2fafa71d1af61b041bb4cd19455.tar.xz
anaconda-b3017639e75ee2fafa71d1af61b041bb4cd19455.zip
more lang changes
Diffstat (limited to 'textw')
-rw-r--r--textw/constants.py6
-rw-r--r--textw/lilo.py5
-rw-r--r--textw/packages.py4
-rw-r--r--textw/partitioning.py4
-rw-r--r--textw/userauth.py4
5 files changed, 9 insertions, 14 deletions
diff --git a/textw/constants.py b/textw/constants.py
index 2b7c1c94f..0b577ff0d 100644
--- a/textw/constants.py
+++ b/textw/constants.py
@@ -1,10 +1,10 @@
import gettext
-
+from text import _
INSTALL_OK = 0
INSTALL_BACK = -1
INSTALL_NOOP = -2
-cat = gettext.Catalog ("anaconda", "/usr/share/locale")
-_ = cat.gettext
+#cat = gettext.Catalog ("anaconda", "/usr/share/locale")
+#_ = cat.gettext
basicButtons = ((_("Ok"), "ok"), (_("Back"), "back"))
diff --git a/textw/lilo.py b/textw/lilo.py
index 556f6b2ae..4b828523a 100644
--- a/textw/lilo.py
+++ b/textw/lilo.py
@@ -1,9 +1,10 @@
import gettext
from snack import *
from textw.constants import *
+from text import _
-cat = gettext.Catalog ("anaconda", "/usr/share/locale")
-_ = cat.gettext
+#cat = gettext.Catalog ("anaconda", "/usr/share/locale")
+#_ = cat.gettext
class LiloAppendWindow:
diff --git a/textw/packages.py b/textw/packages.py
index 379239362..e659abbfd 100644
--- a/textw/packages.py
+++ b/textw/packages.py
@@ -2,9 +2,7 @@ import rpm
import gettext
from snack import *
from textw.constants import *
-
-cat = gettext.Catalog ("anaconda", "/usr/share/locale")
-_ = cat.gettext
+from text import _
class PackageGroupWindow:
def __call__(self, screen, todo, individual):
diff --git a/textw/partitioning.py b/textw/partitioning.py
index 98328ba9f..dd79597d6 100644
--- a/textw/partitioning.py
+++ b/textw/partitioning.py
@@ -5,9 +5,7 @@ import isys
from snack import *
from textw.constants import *
from newtpyfsedit import fsedit
-
-cat = gettext.Catalog ("anaconda", "/usr/share/locale")
-_ = cat.gettext
+from text import _
class PartitionMethod:
def __call__(self, screen, todo):
diff --git a/textw/userauth.py b/textw/userauth.py
index b4c55126a..abb38ea9f 100644
--- a/textw/userauth.py
+++ b/textw/userauth.py
@@ -1,9 +1,7 @@
import gettext
from snack import *
from textw.constants import *
-
-cat = gettext.Catalog ("anaconda", "/usr/share/locale")
-_ = cat.gettext
+from text import _
class RootPasswordWindow:
def __call__ (self, screen, todo):