summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-15 22:25:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-15 22:25:55 +0000
commit17e5d0a290d58b535da69cec9a3050345e56a576 (patch)
tree4dee92daabaf880a78330b02de40c71d75991baa
parent9af123300c24bfe744f79b8a83cf728bf103ed76 (diff)
downloaddrakx-backup-do-not-use-17e5d0a290d58b535da69cec9a3050345e56a576.tar
drakx-backup-do-not-use-17e5d0a290d58b535da69cec9a3050345e56a576.tar.gz
drakx-backup-do-not-use-17e5d0a290d58b535da69cec9a3050345e56a576.tar.bz2
drakx-backup-do-not-use-17e5d0a290d58b535da69cec9a3050345e56a576.tar.xz
drakx-backup-do-not-use-17e5d0a290d58b535da69cec9a3050345e56a576.zip
(load_mo): ensure the locale is set (was broken in non-gtk installs)
-rw-r--r--perl-install/lang.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index bf189e405..d816144bb 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -462,6 +462,7 @@ sub load_mo {
$lang ||= $ENV{LANGUAGE} || $ENV{LC_ALL} || $ENV{LC_MESSAGES} || $ENV{LANG};
+ c::setlocale();
c::bindtextdomain('libDrakX', $localedir);
foreach (split ':', $lang) {