From f774ac89e0bd04b8bb1658937a2e1dd046ce2f88 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 18 Jan 2014 16:53:46 +0100 Subject: fix untranslated button & title in help dialogs (mga#9828) --- perl-install/standalone/display_installer_help | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/standalone/display_installer_help') 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] }); -- cgit v1.2.1