From ceff147bebd5d447920c9b9cd1692b8659ebb8cc Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Thu, 21 Jul 2011 15:03:43 +0000 Subject: iw/welcome_gui.py: GTK+ labels are retarded https://bugzilla.gnome.org/show_bug.cgi?id=318276 --- iw/welcome_gui.py | 67 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 32 deletions(-) diff --git a/iw/welcome_gui.py b/iw/welcome_gui.py index 538e04c..2950b19 100644 --- a/iw/welcome_gui.py +++ b/iw/welcome_gui.py @@ -28,73 +28,76 @@ _ = lambda x: gettext.ldgettext("anaconda", x) class WelcomeWindow (InstallWindow): + # We have to do it this way with the "\n"s because GTK+ is retarded. + # https://bugzilla.gnome.org/show_bug.cgi?id=318276 windows = { "welcomescreen" : ( _("Welcome to the Gentoo installer!"), - _("This wizard will take you through installing Gentoo \ -on your computer. We will follow the official Gentoo \ -Handbook (with a few changes) and if at any point \ -you'd like to consult the handbook, you'll find the \ -link in the top-right corner of the window.\n\n\ -We'll start off asking you for the language and \ -keyboard layout you'd like the installer and your \ -future system to use. We will then skip straight to \ -Chapter 4 and continue with the installation."), + _("\ +This wizard will take you through installing Gentoo on your computer. We will\n\ +follow the official Gentoo Handbook (with a few changes) and if at any point\n\ +you'd like to consult the handbook, you'll find the link in the top-right corner\n\ + of the window.\n\n\ +We'll start off asking you for the language and keyboard layout you'd like the\n\ +installer and your future system to use. We will then skip straight to Chapter 4\n\ +and continue with the installation."), 0, "Gentoo Handbook"), "preparedisks" : ( _("Preparing the Disks"), - _("To be able to install Gentoo, you must create the \ -necessary partitions. The following screens will \ -help you choose the right disk configuration for \ -your system."), + _("\ +To be able to install Gentoo, you must create the necessary partitions. The \n\ +following screens will help you choose the right disk configuration for your \n\ +system."), 4, None), "installationfiles" : ( _("Installing the Gentoo Installation Files"), - _("Gentoo installs work through a stage3 archive. In \ -this chapter the installer will help you choose the \ -right compilation options for your machine. "), + _("\ +Gentoo installs work through a stage3 archive. In this chapter the installer \n\ +will help you choose the right compilation options for your machine. "), 5, None), "basesystem" : ( _("Installing the Gentoo Installation Files"), - _("In this chapter you will set your Gentoo mirrors, \ -select your profile and choose your the USE flags."), + _("\ +In this chapter you will set your Gentoo mirrors, select your profile and choose\n\ + your the USE flags."), 6, None), "configurekernel": ( _("Configuring the Kernel"), - _("The Linux kernel is the core of every distribution. \ -This chapter explains how to configure your kernel. \ -You will only have to set your timezone, as the \ -installer will just copy the LiveDVD kernel to your \ -new system."), + _("\ +The Linux kernel is the core of every distribution. This chapter explains how to\n\ +configure your kernel. You will only have to set your timezone, as the \n\ +installer will just copy the LiveDVD kernel to your new system."), 7, None), "configuresystem" : ( _("Configuring your System"), - _("In this chapter you will only have to set your root \ -password as the rest is figured out automatically ;-)"), + _("\ +In this chapter you will only have to set your root password as the rest is\n\ +figured out automatically ;-)"), 8, None), "systools" : ( _("Installing Necessary System Tools"), - _("In this chapter we help you choose and install some important tools."), + _("\ +In this chapter we help you choose and install some important tools."), 9, None), "bootloader" : ( _("Configuring the Bootloader"), - _("In this chapter you'll be able configure the GRUB bootloader."), + _("\ +In this chapter you'll be able configure the GRUB bootloader."), 10, None), "finalizing" : ( _("Finalizing your Gentoo Installation"), - _("You're almost done. We'll just create a user for \ -your system.\n\ -You'll also be able to choose if you'd like the X \ -Window System and a desktop environment installed on \ -your new system. "), + _("\ +You're almost done. We'll just create a user for your system.\n\n\ +You'll also be able to choose if you'd like the X Window System and a desktop\n\ +environment installed on your new system. "), 11, None) } -- cgit v1.2.3-65-gdbad