summaryrefslogtreecommitdiffstats
path: root/iw/auth.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/auth.py
parent82ba493137e9cb80c484291a5595e7d47bc67058 (diff)
downloadanaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.gz
anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.xz
anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.zip
i18n
Diffstat (limited to 'iw/auth.py')
-rw-r--r--iw/auth.py18
1 files changed, 11 insertions, 7 deletions
diff --git a/iw/auth.py b/iw/auth.py
index 96b34cce0..119c5ea31 100644
--- a/iw/auth.py
+++ b/iw/auth.py
@@ -1,5 +1,9 @@
from gtk import *
from iw import *
+import gettext
+
+cat = gettext.Catalog ("anaconda", "/usr/share/locale")
+_ = cat.gettext
class AuthWindow (InstallWindow):
@@ -7,7 +11,7 @@ class AuthWindow (InstallWindow):
InstallWindow.__init__ (self, ics)
self.todo = ics.getToDo ()
- ics.setTitle ("Authentication Configuration")
+ ics.setTitle (_("Authentication Configuration"))
ics.setHTML ("<HTML><BODY>Select authentication methods"
"</BODY></HTML>")
ics.setNextEnabled (TRUE)
@@ -42,11 +46,11 @@ class AuthWindow (InstallWindow):
def getScreen (self):
box = GtkVBox (FALSE, 10)
- self.md5 = GtkCheckButton ("Enable MD5 passwords")
- self.shadow = GtkCheckButton ("Enable shadow passwords")
+ self.md5 = GtkCheckButton (_("Enable MD5 passwords"))
+ self.shadow = GtkCheckButton (_("Enable shadow passwords"))
- self.nis = GtkCheckButton ("Enable NIS")
- self.nisBroadcast = GtkCheckButton ("Use broadcast to find NIS server")
+ self.nis = GtkCheckButton (_("Enable NIS"))
+ self.nisBroadcast = GtkCheckButton (_("Use broadcast to find NIS server"))
self.nisDomain = GtkEntry ()
self.nisServer = GtkEntry ()
@@ -58,9 +62,9 @@ class AuthWindow (InstallWindow):
self.nisBroadcast.set_active (self.todo.auth.useBroadcast)
self.nisServer.set_text (self.todo.auth.server )
- self.domainLabel = GtkLabel ("NIS Domain: ")
+ self.domainLabel = GtkLabel (_("NIS Domain: "))
self.domainLabel.set_alignment (0, 0)
- self.serverLabel = GtkLabel ("NIS Server: ")
+ self.serverLabel = GtkLabel (_("NIS Server: "))
self.serverLabel.set_alignment (0, 0)
self.setSensitivities()