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/any.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/any.pm')
-rw-r--r-- | perl-install/any.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 5c574ba7f..54a0cd0be 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -847,7 +847,9 @@ sub selectLanguage_and_more_standalone { local $::Wizard_no_previous = 1; my $old_lang = $locale->{lang}; selectLanguage_standalone($in, $locale); - $locale->{IM} = lang::get_default_im($locale->{lang}) if $old_lang ne $locale->{lang}; + if ($old_lang ne $locale->{lang}) { + lang::lang_changed($locale); + } undef $::Wizard_no_previous; selectCountry($in, $locale) or goto language; }; |