aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2007-02-23 18:19:49 +0000
committerPablo Saratxaga <pablo@mandriva.com>2007-02-23 18:19:49 +0000
commite510548839c4eb69d2ea27dcfb8f2ec3bfc5aabb (patch)
treec1d078fb148368ad7f2a25124698803b1937005f
parentb09f923161d0d1040cd67cfe7b15702d793333e0 (diff)
downloadrpmdrake-e510548839c4eb69d2ea27dcfb8f2ec3bfc5aabb.tar
rpmdrake-e510548839c4eb69d2ea27dcfb8f2ec3bfc5aabb.tar.gz
rpmdrake-e510548839c4eb69d2ea27dcfb8f2ec3bfc5aabb.tar.bz2
rpmdrake-e510548839c4eb69d2ea27dcfb8f2ec3bfc5aabb.tar.xz
rpmdrake-e510548839c4eb69d2ea27dcfb8f2ec3bfc5aabb.zip
ngettext fixes
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index fb72b2a8..09462be0 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -485,7 +485,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
my $remove_count = scalar(@to_remove);
interactive_msg(($to_install ? N("Confirmation") : N("Some packages need to be removed")),
($r ?
- (!$to_install ? join("\n\n", P("Remove %d package?", "Remove %d packages?", $remove_count, $remove_count), $r) :
+ (!$to_install ? join("\n\n", P("Remove one package?", "Remove %d packages?", $remove_count, $remove_count), $r) :
($remove_count == 1 ?
N("The following package has to be removed for others to be upgraded:")
: N("The following packages have to be removed for others to be upgraded:")) . join("\n\n", $r, if_($to_install, $to_install)) . N("Is it ok to continue?"))