summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-21 17:12:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-21 17:12:04 +0000
commit616c8655d15435fcbfd85111da8a390bf6c46d15 (patch)
tree6a75f4c9bc40053e659128079f5e879070378270 /perl-install/install/steps_gtk.pm
parent9c87798ef0c93e820802b0da58c708f7025add45 (diff)
downloaddrakx-616c8655d15435fcbfd85111da8a390bf6c46d15.tar
drakx-616c8655d15435fcbfd85111da8a390bf6c46d15.tar.gz
drakx-616c8655d15435fcbfd85111da8a390bf6c46d15.tar.bz2
drakx-616c8655d15435fcbfd85111da8a390bf6c46d15.tar.xz
drakx-616c8655d15435fcbfd85111da8a390bf6c46d15.zip
- translate the pkg summary when mdv-rpm-summary info is available
(for the "Details" mode when installing packages) - ensure mdv-rpm-summary is installed first (if selected)
Diffstat (limited to 'perl-install/install/steps_gtk.pm')
-rw-r--r--perl-install/install/steps_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index dd3a96d8d..f0cea7f74 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -544,7 +544,7 @@ sub installPackages {
} elsif ($type eq 'open') {
gtkval_modify(\$pkg_progress, 0);
my $p = $packages->{depslist}[$id];
- mygtk2::gtkadd($pkg_log_widget, text => sprintf("\n%s: %s", $p->name, (split /\n/, $p->summary)[0] || ''));
+ mygtk2::gtkadd($pkg_log_widget, text => sprintf("\n%s: %s", $p->name, translate($p->summary)));
$current_total_size += $last_size;
$last_size = $p->size;
$advertize->(1) if $show_advertising && $total_size > 20_000_000 && time() - $change_time > 20;