diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-01-18 14:31:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-01-18 14:31:08 +0000 |
commit | cd58febabb2c4dea8da49e5ca9d37ad5e77f6864 (patch) | |
tree | 948a9b411e2b0505d1f890b3baab8bd6092ab337 | |
parent | 5bf1115832ed3cfd4fb6ab4a3fec84fd8708dcca (diff) | |
download | urpmi-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-x | urpmi | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |