From 479a9c64e1fff7fbe93da1e62cb3a0edaa4f4e1e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 14 Feb 2003 11:53:18 +0000 Subject: in ask_browse_tree_info, have Next instead of Ok, Previous instead of Cancel when isWizard --- perl-install/interactive.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index b32991c4c..2af88092a 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -395,7 +395,8 @@ sub ask_from_real { sub ask_browse_tree_info { my ($o, $title, $message, $common) = @_; $common->{interactive_help} ||= $common->{interactive_help_id} && sub { $o->interactive_help_get_id($common->{interactive_help_id}) }; - add2hash_($common, { ok => N("Ok"), cancel => N("Cancel") }); + add2hash_($common, { ok => $::isWizard ? ($::Wizard_finished ? N("Finish") : N("Next ->")) : N("Ok"), + cancel => $::isWizard ? N("<- Previous") : N("Cancel") }); add2hash_($common, { title => $title, message => $message }); add2hash_($common, { grep_allowed_to_toggle => sub { @_ }, grep_unselected => sub { grep { $common->{node_state}($_) eq 'unselected' } @_ }, -- cgit v1.2.1