summaryrefslogtreecommitdiffstats
path: root/iw/welcome.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-26 18:44:35 +0000
committerMatt Wilson <msw@redhat.com>1999-08-26 18:44:35 +0000
commitd2fb657ae4aeeaf3ab070b594371742d810829c3 (patch)
tree8eb4b406fbf81def6a5aeed771143956febde417 /iw/welcome.py
parent82ba493137e9cb80c484291a5595e7d47bc67058 (diff)
downloadanaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.gz
anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.xz
anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.zip
i18n
Diffstat (limited to 'iw/welcome.py')
-rw-r--r--iw/welcome.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/iw/welcome.py b/iw/welcome.py
index a9c398702..e3b148982 100644
--- a/iw/welcome.py
+++ b/iw/welcome.py
@@ -1,12 +1,16 @@
from gtk import *
from iw import *
+import gettext
+
+cat = gettext.Catalog ("anaconda", "/usr/share/locale")
+_ = cat.gettext
class WelcomeWindow (InstallWindow):
def __init__ (self, ics):
InstallWindow.__init__ (self, ics)
- ics.setTitle ("Welcome to Red Hat Linux!")
+ ics.setTitle (_("Welcome to Red Hat Linux!"))
ics.setNextEnabled (1)
ics.setHTML("<HTML><BODY><CENTER><H2>Welcome to<br>Red Hat Linux!</H2></CENTER>"
""
@@ -19,7 +23,7 @@ class WelcomeWindow (InstallWindow):
"http://www.redhat.com/.</P></BODY></HTML>")
def getScreen (self):
- label = GtkLabel("(insert neat logo graphic here)")
+ label = GtkLabel ("(insert neat logo graphic here)")
box = GtkVBox (FALSE, 10)
box.pack_start (label, TRUE, TRUE, 0)