summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/interactive.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 3db0085f4..fd47aaee8 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -317,7 +317,8 @@ sub ask_from_normalize {
$common->{advanced_label} ||= _("Advanced");
$common->{advanced_label_close} ||= _("Basic");
$common->{$_} = [ deref($common->{$_}) ] foreach qw(messages advanced_messages);
- add2hash_($common, { ok => _("Ok"), cancel => _("Cancel") }) if !exists $common->{ok}; # && !$::isWizard;
+ add2hash_($common, { ok => $::isWizard ? ($::Wizard_finished ? _("Finish") : _("Next ->")) : _("Ok"),
+ cancel => $::isWizard ? _("<- Previous") : _("Cancel") }) if !exists $common->{ok};
add2hash_($common->{callbacks} ||= {}, { changed => sub {}, focus_out => sub {}, complete => sub { 0 }, canceled => sub { 0 } });
}