summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.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/install_steps.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/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index ee12699cd..13ae63365 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'));