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/lilo.py | |
parent | 82ba493137e9cb80c484291a5595e7d47bc67058 (diff) | |
download | anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.gz anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.xz anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.zip |
i18n
Diffstat (limited to 'iw/lilo.py')
-rw-r--r-- | iw/lilo.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/iw/lilo.py b/iw/lilo.py index 92beb26c7..5482614d7 100644 --- a/iw/lilo.py +++ b/iw/lilo.py @@ -1,12 +1,16 @@ from iw import * from gtk import * +import gettext + +cat = gettext.Catalog ("anaconda", "/usr/share/locale") +_ = cat.gettext class LiloWindow (InstallWindow): def __init__ (self, ics): InstallWindow.__init__ (self, ics) - ics.setTitle ("Lilo Configuration") + ics.setTitle (_("Lilo Configuration")) ics.setNextEnabled (1) self.type = None @@ -49,10 +53,10 @@ class LiloWindow (InstallWindow): sw.set_border_width (5) sw.set_policy (POLICY_AUTOMATIC, POLICY_AUTOMATIC) - self.list = GtkCList (2, ("Device", "Location")) + self.list = GtkCList (2, (_("Device"), _("Location"))) self.list.freeze () - self.list.append ((format % (self.boothd,), "Master Boot Record (MBR)")) - self.list.append ((format % (self.bootpart,), "First sector of boot partition")) + self.list.append ((format % (self.boothd,), _("Master Boot Record (MBR)"))) + self.list.append ((format % (self.bootpart,), _("First sector of boot partition"))) self.list.columns_autosize () self.list.set_selection_mode (SELECTION_BROWSE) self.list.set_column_resizeable (0, FALSE) @@ -64,12 +68,12 @@ class LiloWindow (InstallWindow): sw.add (self.list) box = GtkVBox (FALSE, 5) - self.bootdisk = GtkCheckButton ("Create boot disk") + self.bootdisk = GtkCheckButton (_("Create boot disk")) self.bootdisk.set_active (TRUE) box.pack_start (self.bootdisk, FALSE) box.pack_start (GtkHSeparator (), FALSE, padding=3) - self.lilo = GtkCheckButton ("Skip LILO install") + self.lilo = GtkCheckButton (_("Skip LILO install")) self.lilo.set_active (FALSE) self.lilo.connect ("toggled", self.toggled) box.pack_start (self.lilo, FALSE) |