diff options
-rwxr-xr-x | urpmi | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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}) { |