summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-01 09:26:11 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-01 09:26:11 +0000
commit2ab23097cea89a91af71550b5000f5a3031a6d6b (patch)
treea50257fb76d91b05be325e7746adfd32aee36bdc /perl-install/standalone
parent7d1a27502121f94d810887311ce07cbd632a0176 (diff)
downloaddrakx-2ab23097cea89a91af71550b5000f5a3031a6d6b.tar
drakx-2ab23097cea89a91af71550b5000f5a3031a6d6b.tar.gz
drakx-2ab23097cea89a91af71550b5000f5a3031a6d6b.tar.bz2
drakx-2ab23097cea89a91af71550b5000f5a3031a6d6b.tar.xz
drakx-2ab23097cea89a91af71550b5000f5a3031a6d6b.zip
colorize help
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/harddrake28
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index c9eea816d..49ecbec4c 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -108,7 +108,7 @@ my @menu_items =
if ($current_device) {
create_dialog(N("Harddrake help"),
N("Description of the fields:\n\n")
- . join("\n\n", map { if_($fields{$_}[0], "$fields{$_}[0]: $fields{$_}[1]") } sort keys %$current_device))
+ . join("\n\n", map { if_($fields{$_}[0], "<span foreground=\"royalblue3\">$fields{$_}[0]:</span> $fields{$_}[1]") } sort keys %$current_device), { use_markup => 1 })
} else {
create_dialog(N("Select a device !"), N("Once you've selected a device, you'll be able to see the device information in fields displayed on the right frame (\"Information\")"))
}
@@ -118,9 +118,9 @@ my @menu_items =
[ $menus{help}.N("/_Report Bug"), undef, sub { unless (fork()) { exec("drakbug --report harddrake2 &") } }, undef, '<Item>' ],
[ $menus{help}.N("/_About..."), undef, sub {
create_dialog(N("About Harddrake"),
- N("This is HardDrake, a Mandrake hardware configuration tool.\nVersion: %s
-Author: Thierry Vignaud <tvignaud\@mandrakesoft.com>\n\n", $harddrake::data::version) .
- formatAlaTeX($::license));
+ N("This is HardDrake, a Mandrake hardware configuration tool.\n<span foreground=\"royalblue3\">Version:</span> %s
+<span foreground=\"royalblue3\">Author:</span> Thierry Vignaud &lt;tvignaud\@mandrakesoft.com&gt;\n\n", $harddrake::data::version) .
+ formatAlaTeX($::license), { use_markup => 1 });
}, undef, '<Item>'
]
);