From febf04d296274e2502f4684b9f7d4b56e874d66e Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 6 Feb 2006 09:47:45 +0000 Subject: Make message to ask whether N packages should be removed more explicit (suggested by blino) --- urpme | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'urpme') diff --git a/urpme b/urpme index 78b4af45..fb79fe6a 100644 --- a/urpme +++ b/urpme @@ -3,7 +3,7 @@ # $Id$ #- Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 MandrakeSoft SA -#- Copyright (C) 2005 Mandriva SA +#- Copyright (C) 2005, 2006 Mandriva SA # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,7 +28,6 @@ $ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"; delete @ENV{qw(ENV BASH_ENV IFS CDPATH)}; our ($root, $test, $parallel, $auto, $matches, $verbose, $maymatch, $usedistrib, $force, $noscripts, @l); -my $askok = N("Is this OK?"); # Translator: Add here the keys which might be pressed in the "No"-case. my $noexpr = N("Nn"); # Translator: Add here the keys which might be pressed in the "Yes"-case. @@ -117,7 +116,7 @@ if ($test && $auto) { } my $msg = N("To satisfy dependencies, the following %d packages will be removed (%d MB)", scalar(@toremove), toMb($sum)); print STDOUT "$msg:\n$list\n"; - message_input($askok . N(" (y/N) "), $force && $yesexpr, boolean => 1) =~ /[$yesexpr]/ or exit 0; + message_input(N("Remove %d packages?", scalar(@toremove)) . N(" (y/N) "), $force && $yesexpr, boolean => 1) =~ /[$yesexpr]/ or exit 0; } #- Warning : the following message is parsed in urpm::parallel_* -- cgit v1.2.1