summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-29 15:12:31 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-29 15:12:31 +0000
commitc81d5e0ea976bf95848cd66713dfacfa4d197d49 (patch)
tree0cbc0d6d4b94c8875c154f8177a4108138313f54 /perl-install/install
parent580a80bced54c9ed26f8429da0d3227429550e7c (diff)
downloaddrakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.tar
drakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.tar.gz
drakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.tar.bz2
drakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.tar.xz
drakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.zip
(enteringStep) fix translating steps titles
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/steps_gtk.pm3
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index c3310c93e..e97feb878 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- fix translating steps titles
- ugtk2: use given title if available instead of default step title (#32923)
Version 10.4.180 - 27 August 2007, by Thierry Vignaud
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index 6ba5ec39e..aed90b24b 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -145,7 +145,8 @@ sub enteringStep {
my ($o, $step) = @_;
printf "Entering step `%s'\n", common::remove_translate_context($o->{steps}{$step}{text});
- if (my @banner_elts = @{$o->{steps}{$step}}{qw(banner_icon banner_title)}) {
+);
+ if (my @banner_elts = ($o->{steps}{$step}{banner_icon}, translate($o->{steps}{$step}{banner_title}))) {
ugtk2::set_default_step_items(@banner_elts);
}
$o->SUPER::enteringStep($step);