diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-18 14:39:50 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-18 14:39:50 +0000 |
commit | 4be375d2adddc2269aff3678818843db8a91189a (patch) | |
tree | 1157a185b5d930a140b207799466d8ac95a3b32f /perl-install | |
parent | 7fbfd48f4107df099475128f90b597b36641c2d2 (diff) | |
download | drakx-backup-do-not-use-4be375d2adddc2269aff3678818843db8a91189a.tar drakx-backup-do-not-use-4be375d2adddc2269aff3678818843db8a91189a.tar.gz drakx-backup-do-not-use-4be375d2adddc2269aff3678818843db8a91189a.tar.bz2 drakx-backup-do-not-use-4be375d2adddc2269aff3678818843db8a91189a.tar.xz drakx-backup-do-not-use-4be375d2adddc2269aff3678818843db8a91189a.zip |
call lang::set():
- with $o->{locale} instead of $o->{locale}{lang}
- after setting $o->{locale}{country}
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
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})); |