summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-02-23 10:55:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-02-23 10:55:31 +0000
commit4ce4095ffa480d6b68f38035bce2efa86905d1aa (patch)
treed6f428d1814ab90ca33a0620c3bd4878692a37ff /perl-install/any.pm
parentf84c186da0cd078b3ab842e6f38c5b31d28e415e (diff)
downloaddrakx-4ce4095ffa480d6b68f38035bce2efa86905d1aa.tar
drakx-4ce4095ffa480d6b68f38035bce2efa86905d1aa.tar.gz
drakx-4ce4095ffa480d6b68f38035bce2efa86905d1aa.tar.bz2
drakx-4ce4095ffa480d6b68f38035bce2efa86905d1aa.tar.xz
drakx-4ce4095ffa480d6b68f38035bce2efa86905d1aa.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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index bcfe2d2f4..2b0695d7b 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -848,7 +848,7 @@ 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};
+ lang::lang_changed($locale) if $old_lang ne $locale->{lang};
undef $::Wizard_no_previous;
selectCountry($in, $locale) or goto language;
};