diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-27 19:00:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-27 19:00:21 +0000 |
commit | 6b1c5a5939c39e6eae08ab9256bb24f40947b692 (patch) | |
tree | 11f9ad8e93d553d83cb701f5844e96df677b019c /perl-install | |
parent | 643bda08ef6d9ac468584892fbf7be53df99ef77 (diff) | |
download | drakx-6b1c5a5939c39e6eae08ab9256bb24f40947b692.tar drakx-6b1c5a5939c39e6eae08ab9256bb24f40947b692.tar.gz drakx-6b1c5a5939c39e6eae08ab9256bb24f40947b692.tar.bz2 drakx-6b1c5a5939c39e6eae08ab9256bb24f40947b692.tar.xz drakx-6b1c5a5939c39e6eae08ab9256bb24f40947b692.zip |
nicer help display
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps_gtk.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 182bbd20e..6f97a2ba8 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -639,7 +639,10 @@ _("There was an error installing packages:"), $1, _("Go on anyway?") ], 1) and r sub set_help { my ($o, @l) = @_; - $o->{current_help} = formatAlaTeX(join "\n", map { _(deref($help::steps{$_})) } @l); + my @l2 = map { + join("\n\n", map { s/\n/ /mg; $_ } split("\n\n", translate($help::steps{$_}))) + } @l; + $o->{current_help} = join("\n\n\n", @l2); gtktext_insert($o->{help_window_text}, $o->{current_help}); 1; } |