From 5da246b16f2e787beba4433f9296c3caf9ba21b4 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 22 Aug 2008 13:25:45 +0000 Subject: (acceptLicense,selectKeyboard) render some message titles as blue --- perl-install/any.pm | 2 +- perl-install/install/NEWS | 1 + perl-install/install/steps_interactive.pm | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'perl-install') diff --git a/perl-install/any.pm b/perl-install/any.pm index 7726eb349..c4a72d648 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -925,7 +925,7 @@ sub acceptLicense { }, [ - { label => N("Do you accept this license ?") }, + { label => N("Do you accept this license ?"), title => 1 }, { list => [ N_("Accept"), N_("Refuse") ], val => \$r, type => 'list', format => sub { translate($_[0]) } }, if_($o->{release_notes}, { clicked => sub { display_release_notes($o) }, do_not_expand => 1, diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index c2e5d365e..2077c5d70 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,5 @@ - install lilo when needed (#39878) +- render some message titles as blue Version 11.21 - 21 August 2008 diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index 52e7bfe1e..b1e28570f 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -94,12 +94,13 @@ sub selectKeyboard { my $ext_keyboard = my $KEYBOARD = $o->{keyboard}{KEYBOARD}; $o->ask_from_( { title => N("Keyboard"), - messages => N("Please choose your keyboard layout."), interactive_help_id => 'selectKeyboard', advanced_messages => N("Here is the full list of available keyboards"), advanced_label => N("More"), }, - [ if_(@best, { val => \$KEYBOARD, type => 'list', format => $format, sort => 1, + [ + { label => N("Please choose your keyboard layout."), title => 1 }, + if_(@best, { val => \$KEYBOARD, type => 'list', format => $format, sort => 1, list => [ @best ], changed => sub { $other = 0 } }), { val => \$ext_keyboard, type => 'list', format => $format, changed => sub { $other = 1 }, list => [ difference2([ keyboard::KEYBOARDs() ], \@best) ], advanced => @best > 1 } -- cgit v1.2.1