summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-18 14:39:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-18 14:39:50 +0000
commit4be375d2adddc2269aff3678818843db8a91189a (patch)
tree1157a185b5d930a140b207799466d8ac95a3b32f /perl-install/install_steps.pm
parent7fbfd48f4107df099475128f90b597b36641c2d2 (diff)
downloaddrakx-4be375d2adddc2269aff3678818843db8a91189a.tar
drakx-4be375d2adddc2269aff3678818843db8a91189a.tar.gz
drakx-4be375d2adddc2269aff3678818843db8a91189a.tar.bz2
drakx-4be375d2adddc2269aff3678818843db8a91189a.tar.xz
drakx-4be375d2adddc2269aff3678818843db8a91189a.zip
call lang::set():
- with $o->{locale} instead of $o->{locale}{lang} - after setting $o->{locale}{country}
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 2 insertions, 2 deletions
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}));