summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/display_installer_help
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-05 11:11:07 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-05 11:11:07 +0000
commit93f1aa749763ad2b71055f560ee717829f190b69 (patch)
tree231fdf7a6a5721edd0fc7499d4a85665275e81eb /perl-install/standalone/display_installer_help
parent3e4fd91ad5547bdc3933d710100fb9620bd21356 (diff)
downloaddrakx-93f1aa749763ad2b71055f560ee717829f190b69.tar
drakx-93f1aa749763ad2b71055f560ee717829f190b69.tar.gz
drakx-93f1aa749763ad2b71055f560ee717829f190b69.tar.bz2
drakx-93f1aa749763ad2b71055f560ee717829f190b69.tar.xz
drakx-93f1aa749763ad2b71055f560ee717829f190b69.zip
fix finding translated help (mga#9619)
regression introduced in commit r7467 on 2013-04-04: "fork displaying help, thus workarounding a webkit segfault (mga#9124)"
Diffstat (limited to 'perl-install/standalone/display_installer_help')
-rwxr-xr-xperl-install/standalone/display_installer_help2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/display_installer_help b/perl-install/standalone/display_installer_help
index 8d1a84d8c..09c6bae31 100755
--- a/perl-install/standalone/display_installer_help
+++ b/perl-install/standalone/display_installer_help
@@ -25,4 +25,6 @@ my $in = 'interactive'->vnew('su');
# so that we popup above drakx:
any::set_wm_hints_if_needed($in);
+# Fake enough $o for retrieving the proper translation:
+$o->{locale}{lang} = $ARGV[1];
$in->display_help_window({ interactive_help_id => $ARGV[0] });