summaryrefslogtreecommitdiffstats
path: root/iw/account.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/account.py')
-rw-r--r--iw/account.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/iw/account.py b/iw/account.py
index a66a9b8df..0243b3435 100644
--- a/iw/account.py
+++ b/iw/account.py
@@ -1,5 +1,9 @@
from gtk import *
from iw import *
+import gettext
+
+cat = gettext.Catalog ("anaconda", "/usr/share/locale")
+_ = cat.gettext
class AccountWindow (InstallWindow):
@@ -7,7 +11,7 @@ class AccountWindow (InstallWindow):
InstallWindow.__init__ (self, ics)
self.todo = ics.getToDo ()
- ics.setTitle ("Account Configuration")
+ ics.setTitle (_("Account Configuration"))
ics.setHTML ("<HTML><BODY>Enter a root password. The password "
"must be at least six characters in length."
"<p>The \"Next\" button will become enabled when both entry fields match."
@@ -29,8 +33,8 @@ class AccountWindow (InstallWindow):
def getScreen (self):
box = GtkVBox ()
table = GtkTable (2, 2)
- table.attach (GtkLabel ("Root Password: "), 0, 1, 0, 1)
- table.attach (GtkLabel ("Confirm: "), 0, 1, 1, 2)
+ table.attach (GtkLabel (_("Root Password: ")), 0, 1, 0, 1)
+ table.attach (GtkLabel (_("Confirm: ")), 0, 1, 1, 2)
self.pw = GtkEntry (8)
self.pw.connect ("changed", self.passwordsMatch)
self.pw.set_visibility (FALSE)