summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-01-18 14:31:08 +0000
committerThierry Vignaud <tv@mandriva.org>2007-01-18 14:31:08 +0000
commitcd58febabb2c4dea8da49e5ca9d37ad5e77f6864 (patch)
tree948a9b411e2b0505d1f890b3baab8bd6092ab337
parent5bf1115832ed3cfd4fb6ab4a3fec84fd8708dcca (diff)
downloadurpmi-cd58febabb2c4dea8da49e5ca9d37ad5e77f6864.tar
urpmi-cd58febabb2c4dea8da49e5ca9d37ad5e77f6864.tar.gz
urpmi-cd58febabb2c4dea8da49e5ca9d37ad5e77f6864.tar.bz2
urpmi-cd58febabb2c4dea8da49e5ca9d37ad5e77f6864.tar.xz
urpmi-cd58febabb2c4dea8da49e5ca9d37ad5e77f6864.zip
give better control on string to translators (appending ":" isn't nice
for quite some languages) and factorize a string
-rwxr-xr-xurpmi6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpmi b/urpmi
index b013166e..119a9f0f 100755
--- a/urpmi
+++ b/urpmi
@@ -575,11 +575,11 @@ foreach my $pkg (sort { $a->name cmp $b->name } @{$urpm->{depslist}}[keys %{$sta
}
$urpm->{nb_install} = @to_install;
if ($env) {
- my $msg = P("To satisfy dependencies, the following package is going to be installed",
- "To satisfy dependencies, the following packages are going to be installed", $#to_install);
+ my $msg = P("To satisfy dependencies, the following package is going to be installed:",
+ "To satisfy dependencies, the following packages are going to be installed:", $#to_install);
my $msg2 = N("(%d packages, %d MB)", $urpm->{nb_install}, toMb($sum));
my $p = join "\n", @to_install;
- print "$msg:\n$p\n$msg2\n";
+ print "$msg\n$p\n$msg2\n";
exit 0; #- exit now for specific environment.
}
if (@root_only) {