summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-17 17:01:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-17 17:01:14 +0000
commitb6de65c3ac8f7391220509a84854777dbe66b1a1 (patch)
tree925fa36590ded5df8299211f8cff3ad519e36200 /perl-install/common.pm
parentd58f0e551ffd41a64fe27bf6626762fe96476554 (diff)
downloaddrakx-backup-do-not-use-b6de65c3ac8f7391220509a84854777dbe66b1a1.tar
drakx-backup-do-not-use-b6de65c3ac8f7391220509a84854777dbe66b1a1.tar.gz
drakx-backup-do-not-use-b6de65c3ac8f7391220509a84854777dbe66b1a1.tar.bz2
drakx-backup-do-not-use-b6de65c3ac8f7391220509a84854777dbe66b1a1.tar.xz
drakx-backup-do-not-use-b6de65c3ac8f7391220509a84854777dbe66b1a1.zip
(set_l10n_sort) import comments from rpmdrake
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 0ab71e53f..71ec6ba77 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -82,6 +82,10 @@ sub untranslate {
die "untranslate failed";
}
+#- This is needed because text printed by Gtk2 will always be encoded
+#- in UTF-8;
+#- we first check if LC_ALL is defined, because if it is, changing
+#- only LC_COLLATE will have no effect.
sub set_l10n_sort() {
my $collation_locale = $ENV{LC_ALL};
if (!$collation_locale) {