summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-29 11:49:05 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-29 11:49:05 +0000
commite588529e3cd38bdfb2bd861a039f940b85a6269a (patch)
tree529e676da11030d1721b0d9eb148718ff4fcaf29
parent43e65932595a8b5cea9915b34d528492a8bf9919 (diff)
downloadurpmi-e588529e3cd38bdfb2bd861a039f940b85a6269a.tar
urpmi-e588529e3cd38bdfb2bd861a039f940b85a6269a.tar.gz
urpmi-e588529e3cd38bdfb2bd861a039f940b85a6269a.tar.bz2
urpmi-e588529e3cd38bdfb2bd861a039f940b85a6269a.tar.xz
urpmi-e588529e3cd38bdfb2bd861a039f940b85a6269a.zip
(ask_choice) add more comments for translators
-rwxr-xr-xurpmi12
1 files changed, 9 insertions, 3 deletions
diff --git a/urpmi b/urpmi
index 445821b4..c6ceff6c 100755
--- a/urpmi
+++ b/urpmi
@@ -432,9 +432,15 @@ sub ask_choice {
my $n = 1; #- default value.
my (@l) = map {
my ($name, $summary) = (scalar($_->fullname), $_->summary);
- #-PO: here format is "<package_name>: <summary> (to upgrade)"
- $_->flag_installed ? ($_->summary ? N("%s: %s (to upgrade)", $name, $summary) : N("%s (to upgrade)", $name)) :
- $_->flag_upgrade ? ($_->summary ? N("%s: %s (to install)", $name, $summary) : N("%s (to install)", $name)) : $name;
+ $_->flag_installed ?
+ #-PO: here format is "<package_name>: <summary> (to upgrade)"
+ ($_->summary ? N("%s: %s (to upgrade)", $name, $summary) :
+ #-PO: here format is "<package_name> (to upgrade)"
+ N("%s (to upgrade)", $name)) :
+ #-PO: here format is "<package_name>: <summary> (to install)"
+ $_->flag_upgrade ? ($_->summary ? N("%s: %s (to install)", $name, $summary) :
+ #-PO: here format is "<package_name> (to install)"
+ N("%s (to install)", $name)) : $name;
} @$choices;
if (@l > 1 && !$urpm->{options}{auto}) {