From 9c880641e066fedceaf0048df9dd894769f10733 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 18 Mar 2023 12:18:52 +0000 Subject: Use OK/Cancel as button names when asking whether to retry after failing to add on-line media. Next and Previous are logically inconsistent with retrying or aborting. --- perl-install/install/NEWS | 2 ++ perl-install/install/steps_interactive.pm | 2 ++ 2 files changed, 4 insertions(+) (limited to 'perl-install/install') diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 78f46304b..31a160aea 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- Use OK/Cancel as button names when asking whether to retry + after failing to add on-line media - Recognize new kernel 6.0 drivers Version 18.56 - 9 February 2023 diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index 1996efac0..4dc48acef 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -763,6 +763,7 @@ Do you want to setup the update media?")), if (!any::urpmi_set_downloader($o, $o->{packages}, $urpmi_options->{downloader})) { log::l("installUpdates: failed to change urpmi downloader"); + local $::isWizard = 0; # make button names "ok" and "cancel", not "next" and "previous" if ($o->ask_okcancel(N("Warning"), N("That downloader could not be installed") . "\n" . N("Retry?"))) { goto try_again; @@ -780,6 +781,7 @@ Do you want to setup the update media?")), log::l("installUpdates: successfully added media"); } else { log::l("installUpdates: failed to add media"); + local $::isWizard = 0; # make button names "ok" and "cancel", not "next" and "previous" if ($o->ask_okcancel(N("Warning"), N("Failure when adding medium") . "\n" . N("Retry?"))) { goto try_again; -- cgit v1.2.1