summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2007-02-23 19:56:16 +0000
committerPablo Saratxaga <pablo@mandriva.com>2007-02-23 19:56:16 +0000
commitc3e4bafe0c0ac1fa41cfeb2629b5354d148b8e17 (patch)
treef3e092bbe52248b5148b52db19ba08a5373bc913 /urpme
parent6f636062e0cfbc382c9918cbe1cc4e547acd6473 (diff)
downloadurpmi-c3e4bafe0c0ac1fa41cfeb2629b5354d148b8e17.tar
urpmi-c3e4bafe0c0ac1fa41cfeb2629b5354d148b8e17.tar.gz
urpmi-c3e4bafe0c0ac1fa41cfeb2629b5354d148b8e17.tar.bz2
urpmi-c3e4bafe0c0ac1fa41cfeb2629b5354d148b8e17.tar.xz
urpmi-c3e4bafe0c0ac1fa41cfeb2629b5354d148b8e17.zip
more ngettext
Diffstat (limited to 'urpme')
-rw-r--r--urpme5
1 files changed, 4 insertions, 1 deletions
diff --git a/urpme b/urpme
index c47453bf..88072e73 100644
--- a/urpme
+++ b/urpme
@@ -129,7 +129,10 @@ if ($test && $auto) {
foreach (@toremove) {
$sum += $state->{rejected}{$_}{size};
}
- my $msg = N("To satisfy dependencies, the following %d packages will be removed (%d MB)", scalar(@toremove), toMb($sum));
+ my $msg =
+ P("To satisfy dependencies, the following package will be removed",
+ "To satisfy dependencies, the following %d packages will be removed",
+ scalar(@toremove), scalar(@toremove)) . N(" (%d MB)", toMb($sum));
print STDOUT "$msg:\n$list\n";
message_input(P("Remove %d package?", "Remove %d packages?", scalar(@toremove), scalar(@toremove)) . N(" (y/N) "), $force && $yesexpr, boolean => 1) =~ /[$yesexpr]/ or exit 0;
}