summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-10-09 20:40:01 +0000
committerMatt Wilson <msw@redhat.com>2000-10-09 20:40:01 +0000
commit2d91de6f4409b4914a5f2601367125ac3927e213 (patch)
tree7dcbf18cdfc48afd9c7a21a869ce09fc31184922 /textw
parentc3e46c32b1b41aa5f76822c7eb0949b6f508d4c1 (diff)
downloadanaconda-2d91de6f4409b4914a5f2601367125ac3927e213.tar.gz
anaconda-2d91de6f4409b4914a5f2601367125ac3927e213.tar.xz
anaconda-2d91de6f4409b4914a5f2601367125ac3927e213.zip
remove the only useage of basicButtons, it causes text to be untranslated
Diffstat (limited to 'textw')
-rw-r--r--textw/constants_text.py7
-rw-r--r--textw/partitioning_text.py5
2 files changed, 3 insertions, 9 deletions
diff --git a/textw/constants_text.py b/textw/constants_text.py
index 50885873c..c25b81c1c 100644
--- a/textw/constants_text.py
+++ b/textw/constants_text.py
@@ -1,10 +1,3 @@
-#import gettext
-from translate import _
INSTALL_OK = 0
INSTALL_BACK = -1
INSTALL_NOOP = -2
-
-#cat = gettext.Catalog ("anaconda", "/usr/share/locale")
-#_ = cat.gettext
-
-basicButtons = ((_("Ok"), "ok"), (_("Back"), "back"))
diff --git a/textw/partitioning_text.py b/textw/partitioning_text.py
index 961915448..69ebcd510 100644
--- a/textw/partitioning_text.py
+++ b/textw/partitioning_text.py
@@ -151,8 +151,9 @@ class AutoPartitionWindow:
"this install by partitioning manually, or you can go back "
"and perform a fully customized installation.") %
(_(todo.getPartitionWarningText()), ),
- [_("Continue"), _("Manually partition")],
- buttons = basicButtons, default = _("Continue"),
+ [_("Continue"), _("Manually partition")],
+ buttons = ((_("Ok"), "ok"), (_("Back"), "back")),
+ default = _("Continue"),
help = "confirmautopart")
if (rc == "back"):