summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-09 16:10:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-09 16:10:24 +0000
commit89ae709d5c2207c6d2348f310428b32e2bf815bc (patch)
treed8910d578f91a33e028c1fbbcdecfa84894012ba
parent59964287ffd35ff75ddbb5212f4c0ac68cfc8ba8 (diff)
downloaddrakx-backup-do-not-use-89ae709d5c2207c6d2348f310428b32e2bf815bc.tar
drakx-backup-do-not-use-89ae709d5c2207c6d2348f310428b32e2bf815bc.tar.gz
drakx-backup-do-not-use-89ae709d5c2207c6d2348f310428b32e2bf815bc.tar.bz2
drakx-backup-do-not-use-89ae709d5c2207c6d2348f310428b32e2bf815bc.tar.xz
drakx-backup-do-not-use-89ae709d5c2207c6d2348f310428b32e2bf815bc.zip
enable other packages to override libDrakx translations with those
from their own domains (eg: prevent mcc to display "partition de demarrage" instead of "demarrage" in french for "boot" ...)
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 014aade79..dafa208dd 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -58,7 +58,7 @@ sub unmakedev { $_[0] >> 8, $_[0] & 0xff }
sub translate_real {
my ($s) = @_;
$s or return '';
- foreach ('libDrakX', @::textdomains) {
+ foreach (@::textdomains, 'libDrakX') {
my $s2 = c::dgettext($_, $s);
return $s2 if $s ne $s2;
}