summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-07-04 16:52:56 +0000
committerThierry Vignaud <tv@mandriva.org>2007-07-04 16:52:56 +0000
commit7126d00555a046cd6339b5bd602cd3d2d7af7c04 (patch)
tree800c6070f5932ae97d8f319a87610dd71400cde2
parent7492eed76c2ddf0d19947bf61032dee9dfb7e8a5 (diff)
downloadurpmi-7126d00555a046cd6339b5bd602cd3d2d7af7c04.tar
urpmi-7126d00555a046cd6339b5bd602cd3d2d7af7c04.tar.gz
urpmi-7126d00555a046cd6339b5bd602cd3d2d7af7c04.tar.bz2
urpmi-7126d00555a046cd6339b5bd602cd3d2d7af7c04.tar.xz
urpmi-7126d00555a046cd6339b5bd602cd3d2d7af7c04.zip
make sure comments appear in po catalogs
-rwxr-xr-xurpmi11
1 files changed, 7 insertions, 4 deletions
diff --git a/urpmi b/urpmi
index aee7dc4a..10829950 100755
--- a/urpmi
+++ b/urpmi
@@ -433,12 +433,15 @@ sub ask_choice {
my (@l) = map {
my ($name, $summary) = (scalar($_->fullname), translate($_->summary));
$_->flag_installed ?
- #-PO: here format is "<package_name>: <summary> (to upgrade)"
- ($_->summary ? N("%s: %s (to upgrade)", $name, $summary) :
+ ($_->summary ?
+ #-PO: here format is "<package_name>: <summary> (to upgrade)"
+ 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) :
+
+ $_->flag_upgrade ? ($_->summary ?
+ #-PO: here format is "<package_name>: <summary> (to install)"
+ N("%s: %s (to install)", $name, $summary) :
#-PO: here format is "<package_name> (to install)"
N("%s (to install)", $name)) : $name;
} @$choices;