summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/display_installer_help
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-18 16:53:46 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-01-18 16:53:46 +0100
commitf774ac89e0bd04b8bb1658937a2e1dd046ce2f88 (patch)
treea9ef6baacabbff0acc76676851725504b1eaed73 /perl-install/standalone/display_installer_help
parent4431e39d37e37a7c9e40cacb0939ec9bd8aa7766 (diff)
downloaddrakx-f774ac89e0bd04b8bb1658937a2e1dd046ce2f88.tar
drakx-f774ac89e0bd04b8bb1658937a2e1dd046ce2f88.tar.gz
drakx-f774ac89e0bd04b8bb1658937a2e1dd046ce2f88.tar.bz2
drakx-f774ac89e0bd04b8bb1658937a2e1dd046ce2f88.tar.xz
drakx-f774ac89e0bd04b8bb1658937a2e1dd046ce2f88.zip
fix untranslated button & title in help dialogs (mga#9828)
Diffstat (limited to 'perl-install/standalone/display_installer_help')
-rwxr-xr-xperl-install/standalone/display_installer_help4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/standalone/display_installer_help b/perl-install/standalone/display_installer_help
index 165ae6729..2a395daec 100755
--- a/perl-install/standalone/display_installer_help
+++ b/perl-install/standalone/display_installer_help
@@ -20,6 +20,7 @@
use lib qw(/usr/lib/libDrakX);
use interactive;
use any;
+use lang;
# so that screenshots works:
use install::any;
@@ -32,4 +33,7 @@ any::set_wm_hints_if_needed($in);
# Fake enough $o for retrieving the proper translation:
$::o = $in;
$::o->{locale}{lang} = $ARGV[1];
+$::prefix = '/';
+lang::set($::o->{locale});
+
$in->display_help_window({ interactive_help_id => $ARGV[0] });