diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 11:49:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 11:49:05 +0000 |
commit | e588529e3cd38bdfb2bd861a039f940b85a6269a (patch) | |
tree | 529e676da11030d1721b0d9eb148718ff4fcaf29 | |
parent | 43e65932595a8b5cea9915b34d528492a8bf9919 (diff) | |
download | urpmi-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-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}) { |