From 7126d00555a046cd6339b5bd602cd3d2d7af7c04 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 4 Jul 2007 16:52:56 +0000 Subject: make sure comments appear in po catalogs --- urpmi | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'urpmi') 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 ": (to upgrade)" - ($_->summary ? N("%s: %s (to upgrade)", $name, $summary) : + ($_->summary ? + #-PO: here format is ": (to upgrade)" + 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) : + + $_->flag_upgrade ? ($_->summary ? + #-PO: here format is ": (to install)" + N("%s: %s (to install)", $name, $summary) : #-PO: here format is " (to install)" N("%s (to install)", $name)) : $name; } @$choices; -- cgit v1.2.1