diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-02-23 10:54:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-02-23 10:54:56 +0000 |
commit | 4c9864e08d1ca96728d98a224ce279edadcb7820 (patch) | |
tree | 8fff22653510b4b70fd88e7cf536352097447b4a /perl-install/install_steps.pm | |
parent | 4f76e9c3d00ee7fc519774a4397584c0ca5fd637 (diff) | |
download | drakx-backup-do-not-use-4c9864e08d1ca96728d98a224ce279edadcb7820.tar drakx-backup-do-not-use-4c9864e08d1ca96728d98a224ce279edadcb7820.tar.gz drakx-backup-do-not-use-4c9864e08d1ca96728d98a224ce279edadcb7820.tar.bz2 drakx-backup-do-not-use-4c9864e08d1ca96728d98a224ce279edadcb7820.tar.xz drakx-backup-do-not-use-4c9864e08d1ca96728d98a224ce279edadcb7820.zip |
create lang::lang_changed() to ensure {country} is set according to the lang (useful for finish-install where choosing fr gives fr_US)
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index dd4ab0370..ab37e3043 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -104,9 +104,7 @@ sub selectLanguage { $o->{locale}{langs} ||= { $o->{locale}{lang} => 1 }; if (!exists $o->{locale}{country}) { - my $h = lang::analyse_locale_name(lang::l2locale($o->{locale}{lang})); - $o->{locale}{country} = $h->{country} if $h->{country}; - $o->{locale}{IM} = lang::get_default_im($o->{locale}{lang}); + lang::lang_changed($o->{locale}); } lang::set($o->{locale}, !$o->isa('interactive::gtk')); |