From 3938dc8dd2dbf0cedc6ddae7bc65748de7f49585 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Sun, 14 Feb 2016 15:05:51 +0100 Subject: added common shortcuts to rpmdragora --- lib/ManaTools/Rpmdragora/edit_urpm_sources.pm | 2 +- lib/ManaTools/Rpmdragora/pkg.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ManaTools/Rpmdragora') diff --git a/lib/ManaTools/Rpmdragora/edit_urpm_sources.pm b/lib/ManaTools/Rpmdragora/edit_urpm_sources.pm index 97698053..1a244081 100644 --- a/lib/ManaTools/Rpmdragora/edit_urpm_sources.pm +++ b/lib/ManaTools/Rpmdragora/edit_urpm_sources.pm @@ -808,7 +808,7 @@ sub edit_callback { interactive_msg( $loc->N("You need to insert the medium to continue"), $loc->N("In order to save the changes, you need to insert the medium in the drive."), - yesno => 1, text => { yes => $loc->N("Ok"), no => $loc->N("Cancel") } + yesno => 1, text => { yes => $loc->N("&Ok"), no => $loc->N("&Cancel") } ) or return 0 ); my $saved_proxy = urpm::download::get_proxy($m_name); diff --git a/lib/ManaTools/Rpmdragora/pkg.pm b/lib/ManaTools/Rpmdragora/pkg.pm index b561d268..a25905da 100644 --- a/lib/ManaTools/Rpmdragora/pkg.pm +++ b/lib/ManaTools/Rpmdragora/pkg.pm @@ -927,7 +927,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( interactive_msg( $loc->N("Change medium"), $loc->N("Please insert the medium named \"%s\"", $medium), - yesno => 1, text => { no => $loc->N("Cancel"), yes => $loc->N("Ok") }, + yesno => 1, text => { no => $loc->N("&Cancel"), yes => $loc->N("&Ok") }, ); }, pre_check_sig => sub { $gurpm->label($loc->N("Verifying package signatures...")) }, -- cgit v1.2.1