From c5ccb2d05f93ccdaf9f61df92fd603c2dba4993c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 21 Aug 2007 14:49:41 +0000 Subject: (enteringStep) move default per step banner title & icon into step_lists' steps table --- perl-install/install/steps_list.pm | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'perl-install/install/steps_list.pm') diff --git a/perl-install/install/steps_list.pm b/perl-install/install/steps_list.pm index 03cfdc182..efe5e6128 100644 --- a/perl-install/install/steps_list.pm +++ b/perl-install/install/steps_list.pm @@ -8,31 +8,38 @@ use common; #- Steps table #-###################################################################################### { - my @installStepsFields = qw(text redoable onError hidden needs); + my @installStepsFields = qw(text redoable onError hidden needs banner_icon banner_title); #entered reachable toBeDone next done; my @installSteps = ( selectLanguage => [ #-PO: please keep the following messages very short: they must fit in the left list of the installer!!! - N_("_: Keep these entry short\nLanguage"), 1, 1, '', '' ], - acceptLicense => [ N_("_: Keep these entry short\nLicense"), 1, -1, '', '' ], + N_("_: Keep these entry short\nLanguage"), 1, 1, '', '', 'banner-languages', N("Localization") ], + acceptLicense => [ N_("_: Keep these entry short\nLicense"), 1, -1, '', '', 'banner-license', N("License agreement") ], selectMouse => [ N_("_: Keep these entry short\nMouse"), 1, 1, '1', '' ], setupSCSI => [ N_("_: Keep these entry short\nHard drive detection"), 1, 0, '1', '' ], - selectInstallClass => [ N_("_: Keep these entry short\nInstallation class"), 1, 1, '1', '' ], - selectKeyboard => [ N_("_: Keep these entry short\nKeyboard"), 1, 1, '1' ], + selectInstallClass => [ N_("_: Keep these entry short\nInstallation class"), 1, 1, '1', '', + 'banner-sys', N("_: Keep these entry short\nInstallation class") ], + selectKeyboard => [ N_("_: Keep these entry short\nKeyboard"), 1, 1, '1', 'banner-languages', N("Localization") ], miscellaneous => [ N_("_: Keep these entry short\nSecurity"), 1, 1, '1', '' ], - doPartitionDisks => [ N_("_: Keep these entry short\nPartitioning"), 1, 0, '', "selectInstallClass" ], + doPartitionDisks => [ N_("_: Keep these entry short\nPartitioning"), 1, 0, '', "selectInstallClass", + 'banner-part', N("Partitioning") ], formatPartitions => [ N_("_: Keep these entry short\nFormatting"), 1, -1, '1', "doPartitionDisks" ], - choosePackages => [ N_("_: Keep these entry short\nChoosing packages"), 1, -2, '1', "formatPartitions" ], - installPackages => [ N_("_: Keep these entry short\nInstalling"), 1, -1, '', ["formatPartitions", "selectInstallClass"] ], + choosePackages => [ N_("_: Keep these entry short\nChoosing packages"), 1, -2, '1', "formatPartitions", + 'banner-sys', N("Package Group Selection") ], + installPackages => [ N_("_: Keep these entry short\nInstalling"), 1, -1, '', ["formatPartitions", "selectInstallClass"], + 'banner-sys', N("Installing") ], setRootPassword_addUser => [ N_("_: Keep these entry short\nUsers"), 1, 1, '', "installPackages" ], configureNetwork => [ N_("_: Keep these entry short\nNetworking"), 1, 1, '1', "formatPartitions" ], - setupBootloader => [ N_("_: Keep these entry short\nBootloader"), 1, 0, '', "installPackages" ], + setupBootloader => [ N_("_: Keep these entry short\nBootloader"), 1, 0, '', "installPackages", + 'banner-bootL', N("_: Keep these entry short\nBootloader") ], configureX => [ N_("_: Keep these entry short\nConfigure X"), 1, 1, '1', ["formatPartitions", "setupBootloader"] ], - summary => [ N_("_: Keep these entry short\nSummary"), 1, 0, '', "installPackages" ], + summary => [ N_("_: Keep these entry short\nSummary"), 1, 0, '', "installPackages", + 'banner-summary', N("Summary") ], configureServices => [ N_("_: Keep these entry short\nServices"), 1, 1, '1', "installPackages" ], - installUpdates => [ N_("_: Keep these entry short\nUpdates"), 1, 1, '', ["installPackages", "configureNetwork", "summary"] ], - exitInstall => [ N_("_: Keep these entry short\nExit"), 0, 0, '', '' ], + installUpdates => [ N_("_: Keep these entry short\nUpdates"), 1, 1, '', + ["installPackages", "configureNetwork", "summary"], 'banner-update', N("Updates") ], + exitInstall => [ N_("_: Keep these entry short\nExit"), 0, 0, '', '', 'banner-exit', N("Exit") ], ); for (my $i = 0; $i < @installSteps; $i += 2) { my %h; @h{@installStepsFields} = @{ $installSteps[$i + 1] }; -- cgit v1.2.1