summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-09 05:35:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-09 05:35:47 +0000
commit5147a6ead1f98c24cf6217fbc179962eaf5f2ff5 (patch)
tree6dcc563f05fc96b0d80fb93899c875818ef8a77e
parent9beb4ea0991570f8e528c960692923f30e1e6ff6 (diff)
downloaddrakx-5147a6ead1f98c24cf6217fbc179962eaf5f2ff5.tar
drakx-5147a6ead1f98c24cf6217fbc179962eaf5f2ff5.tar.gz
drakx-5147a6ead1f98c24cf6217fbc179962eaf5f2ff5.tar.bz2
drakx-5147a6ead1f98c24cf6217fbc179962eaf5f2ff5.tar.xz
drakx-5147a6ead1f98c24cf6217fbc179962eaf5f2ff5.zip
fix commit 1.685: use lang::analyse_locale_name() but still use lang::l2locale()
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 32b49aa86..8f71e7ae7 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -104,7 +104,7 @@ sub selectLanguage {
$o->{locale}{langs} ||= { $o->{locale}{lang} => 1 };
if (!exists $o->{locale}{country}) {
- my $h = lang::analyse_locale_name($o->{locale}{lang});
+ my $h = lang::analyse_locale_name(lang::l2locale($o->{locale}{lang}));
$o->{locale}{country} = $h->{country} if $h->{country};
}