summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-06 09:47:45 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-06 09:47:45 +0000
commitfebf04d296274e2502f4684b9f7d4b56e874d66e (patch)
treef94ee17da9e6c02548fa54d83b6821116c69628c
parent9c24be2878098677cf7aa6d00c282e81c5ce2a16 (diff)
downloadurpmi-febf04d296274e2502f4684b9f7d4b56e874d66e.tar
urpmi-febf04d296274e2502f4684b9f7d4b56e874d66e.tar.gz
urpmi-febf04d296274e2502f4684b9f7d4b56e874d66e.tar.bz2
urpmi-febf04d296274e2502f4684b9f7d4b56e874d66e.tar.xz
urpmi-febf04d296274e2502f4684b9f7d4b56e874d66e.zip
Make message to ask whether N packages should be removed more explicit (suggested by blino)
-rw-r--r--urpme5
1 files changed, 2 insertions, 3 deletions
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_*