From 4be375d2adddc2269aff3678818843db8a91189a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 18 Nov 2003 14:39:50 +0000 Subject: call lang::set(): - with $o->{locale} instead of $o->{locale}{lang} - after setting $o->{locale}{country} --- perl-install/install_steps.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 25446b4d7..eb64f1b68 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -94,14 +94,14 @@ sub selectLanguage { #- for auto_install compatibility with old $o->{lang} $o->{locale} = lang::system_locales_to_ourlocale($o->{lang}, $o->{lang}) if $o->{lang}; - - lang::set($o->{locale}{lang}, !$o->isa('interactive::gtk')); $o->{locale}{langs} ||= { $o->{locale}{lang} => 1 }; if (!exists $o->{locale}{country}) { $o->{locale}{country} = $1 if lang::l2locale($o->{locale}{lang}) =~ /^.._(..)/; } + lang::set($o->{locale}, !$o->isa('interactive::gtk')); + lang::langs_selected($o->{locale}); log::l("selectLanguage: pack_langs: ", lang::pack_langs($o->{locale}{langs}), " utf8-flag: ", to_bool($o->{locale}{utf8})); -- cgit v1.2.1