From e588529e3cd38bdfb2bd861a039f940b85a6269a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 29 Nov 2006 11:49:05 +0000 Subject: (ask_choice) add more comments for translators --- urpmi | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'urpmi') 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 ": (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 ": (to upgrade)" + ($_->summary ? N("%s: %s (to upgrade)", $name, $summary) : + #-PO: here format is " (to upgrade)" + N("%s (to upgrade)", $name)) : + #-PO: here format is ": (to install)" + $_->flag_upgrade ? ($_->summary ? N("%s: %s (to install)", $name, $summary) : + #-PO: here format is " (to install)" + N("%s (to install)", $name)) : $name; } @$choices; if (@l > 1 && !$urpm->{options}{auto}) { -- cgit v1.2.1