From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6E3161381F3 for ; Wed, 11 Sep 2013 06:04:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA232E0C39; Wed, 11 Sep 2013 06:04:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B103EE0C29 for ; Wed, 11 Sep 2013 06:04:09 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BD7EE33EAA5 for ; Wed, 11 Sep 2013 06:04:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B5790E5458 for ; Wed, 11 Sep 2013 06:04:06 +0000 (UTC) From: "Sven Eden" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Eden" Message-ID: <1378793220.25855d71b93e2de599cc9b3f5217af84f70c2b2b.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: ufed.pl.in X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: 25855d71b93e2de599cc9b3f5217af84f70c2b2b X-VCS-Branch: master Date: Wed, 11 Sep 2013 06:04:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8fd93edf-d377-409d-857a-927ec1c4964b X-Archives-Hash: 32553c286c4f7f04f0d7d5cc9d215b5d commit: 25855d71b93e2de599cc9b3f5217af84f70c2b2b Author: Sven Eden gmx net> AuthorDate: Tue Sep 10 06:07:00 2013 +0000 Commit: Sven Eden gmx de> CommitDate: Tue Sep 10 06:07:00 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=25855d71 udfed.pl: Send alternative text to interface --- ufed.pl.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ufed.pl.in b/ufed.pl.in index 17ffd8e..09c0508 100644 --- a/ufed.pl.in +++ b/ufed.pl.in @@ -84,8 +84,9 @@ sub flags_dialog { # Print global description first (if available) if (defined($conf->{global}) && length($conf->{global}{descr})) { - $outTxt .= sprintf("\t%s\t ( ) [+%s%s%s ]\n", + $outTxt .= sprintf("\t%s\t%s\t ( ) [+%s%s%s ]\n", $conf->{global}{descr}, + $conf->{global}{descr_alt}, $conf->{global}{installed} ? '+' : ' ', $conf->{global}{forced} ? '+' : ' ', $conf->{global}{masked} ? '+' : ' '); @@ -93,8 +94,9 @@ sub flags_dialog { # Finally print the local description lines for my $pkg (sort keys %{$conf->{"local"}}) { - $outTxt .= sprintf("\t%s\t (%s) [ %s%s%s%s%s%s]\n", + $outTxt .= sprintf("\t%s\t%s\t (%s) [ %s%s%s%s%s%s]\n", $conf->{"local"}{$pkg}{descr}, + $conf->{"local"}{$pkg}{descr_alt}, $pkg, $conf->{"local"}{$pkg}{installed} > 0 ? '+' : $conf->{"local"}{$pkg}{installed} < 0 ? '-' : ' ',