summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2013-09-10 08:07:00 +0200
committerSven Eden <yamakuzure@gmx.net>2013-09-10 08:07:00 +0200
commit25855d71b93e2de599cc9b3f5217af84f70c2b2b (patch)
tree5bfa710960f3b6c110b8b36b70088e02df43c0f8
parentPortage.pm: Added an alternative description with stripped "<include|enable|a... (diff)
downloadufed-25855d71b93e2de599cc9b3f5217af84f70c2b2b.tar.gz
ufed-25855d71b93e2de599cc9b3f5217af84f70c2b2b.tar.bz2
ufed-25855d71b93e2de599cc9b3f5217af84f70c2b2b.zip
udfed.pl: Send alternative text to interface
-rw-r--r--ufed.pl.in6
1 files 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 ? '-' : ' ',