diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-26 18:44:35 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-26 18:44:35 +0000 |
commit | d2fb657ae4aeeaf3ab070b594371742d810829c3 (patch) | |
tree | 8eb4b406fbf81def6a5aeed771143956febde417 /iw/keyboard.py | |
parent | 82ba493137e9cb80c484291a5595e7d47bc67058 (diff) | |
download | anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.gz anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.xz anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.zip |
i18n
Diffstat (limited to 'iw/keyboard.py')
-rw-r--r-- | iw/keyboard.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/iw/keyboard.py b/iw/keyboard.py index eec6e48ce..e09711fd8 100644 --- a/iw/keyboard.py +++ b/iw/keyboard.py @@ -1,13 +1,17 @@ from gtk import * from iw import * import xkb +import gettext + +cat = gettext.Catalog ("anaconda", "/usr/share/locale") +_ = cat.gettext class KeyboardWindow (InstallWindow): def __init__ (self, ics): InstallWindow.__init__ (self, ics) - ics.setTitle ("Keyboard Configuration") + ics.setTitle (_("Keyboard Configuration")) ics.setHTML ("<HTML><BODY>Select your keyboard." "</BODY></HTML>") ics.setNextEnabled (TRUE) @@ -22,7 +26,7 @@ class KeyboardWindow (InstallWindow): print self.todo.keyboard.available () box = GtkVBox (FALSE) - box.pack_start (GtkLabel ("Model"), FALSE) + box.pack_start (GtkLabel (_("Model")), FALSE) sw = GtkScrolledWindow () sw.set_border_width (5) sw.set_policy (POLICY_AUTOMATIC, POLICY_AUTOMATIC) @@ -34,7 +38,7 @@ class KeyboardWindow (InstallWindow): sw.add (self.modelList) box.pack_start (sw, TRUE) - box.pack_start (GtkLabel ("Layout"), FALSE) + box.pack_start (GtkLabel (_("Layout")), FALSE) sw = GtkScrolledWindow () sw.set_border_width (5) sw.set_policy (POLICY_AUTOMATIC, POLICY_AUTOMATIC) @@ -48,7 +52,7 @@ class KeyboardWindow (InstallWindow): sw.add (self.layoutList) box.pack_start (sw, TRUE) - box.pack_start (GtkLabel ("Variant"), FALSE) + box.pack_start (GtkLabel (_("Variant")), FALSE) sw = GtkScrolledWindow () sw.set_border_width (5) sw.set_policy (POLICY_AUTOMATIC, POLICY_AUTOMATIC) |