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/congrats.py | |
parent | 82ba493137e9cb80c484291a5595e7d47bc67058 (diff) | |
download | anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.gz anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.tar.xz anaconda-d2fb657ae4aeeaf3ab070b594371742d810829c3.zip |
i18n
Diffstat (limited to 'iw/congrats.py')
-rw-r--r-- | iw/congrats.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/iw/congrats.py b/iw/congrats.py index 031bc145a..903c8228c 100644 --- a/iw/congrats.py +++ b/iw/congrats.py @@ -1,25 +1,29 @@ from gtk import * from gnome.ui import * from iw import * +import gettext + +cat = gettext.Catalog ("anaconda", "/usr/share/locale") +_ = cat.gettext class CongratulationWindow (InstallWindow): def __init__ (self, ics): InstallWindow.__init__ (self, ics) - ics.setTitle ("Congratulations") + ics.setTitle (_("Congratulations")) ics.setPrevEnabled (0) - ics.setNextButton (STOCK_PIXMAP_QUIT, "Exit") + ics.setNextButton (STOCK_PIXMAP_QUIT, _("Exit")) ics.setNextEnabled (1) def getScreen (self): - label = GtkLabel("Congratulations, installation is complete.\n\n" + label = GtkLabel(_("Congratulations, installation is complete.\n\n" "Remove the boot media and " "press return to reboot. For information on fixes which are " "available for this release of Red Hat Linux, consult the " "Errata available from http://www.redhat.com.\n\n" "Information on configuring your system is available in the post " - "install chapter of the Official Red Hat Linux User's Guide.") + "install chapter of the Official Red Hat Linux User's Guide.")) label.set_line_wrap (TRUE) label.set_line_wrap (TRUE) label.set_alignment (0.0, 0.5) |