summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-01-18 14:26:42 +0000
committerThierry Vignaud <tv@mandriva.org>2007-01-18 14:26:42 +0000
commit886b87150c8617a4f95fa3873cf3021c29f8808f (patch)
tree92d2576b6216fae26dcd57ca3a00bbfdbbb6287a
parent8b7f6eafdea5e2dd3c6980366b8f4d97cff1a7ef (diff)
downloadurpmi-886b87150c8617a4f95fa3873cf3021c29f8808f.tar
urpmi-886b87150c8617a4f95fa3873cf3021c29f8808f.tar.gz
urpmi-886b87150c8617a4f95fa3873cf3021c29f8808f.tar.bz2
urpmi-886b87150c8617a4f95fa3873cf3021c29f8808f.tar.xz
urpmi-886b87150c8617a4f95fa3873cf3021c29f8808f.zip
give better control on string to translators (appending ":" isn't nice
for quite some languages)
-rwxr-xr-xurpmi6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpmi b/urpmi
index 5adbe4e5..b013166e 100755
--- a/urpmi
+++ b/urpmi
@@ -586,8 +586,8 @@ if (@root_only) {
print N("You need to be root to install the following dependencies:\n%s\n", join ' ', @root_only);
exit 1;
} elsif (!$urpm->{options}{auto} && $ask_user && @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 $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);
if ($test) {
$msg = "$msg\n" . N("(test only, installation will not be actually done)");
}
@@ -596,7 +596,7 @@ if (@root_only) {
my $p = join "\n", @to_install;
my $noexpr = N("Nn");
my $yesexpr = N("Yy");
- message_input("$msg:\n$p\n$msg2" . N(" (Y/n) "), $force && $yesexpr, boolean => 1) =~ /[$noexpr]/ and exit 0;
+ message_input("$msg\n$p\n$msg2" . N(" (Y/n) "), $force && $yesexpr, boolean => 1) =~ /[$noexpr]/ and exit 0;
}
my ($local_sources, $list) = urpm::get_pkgs::selected2list($urpm,