summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/common.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index a18eb41af..6104b0b34 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -46,7 +46,12 @@ sub unmakedev { $_[0] >> 8, $_[0] & 0xff }
sub translate {
my ($s) = @_;
- $s ? c::dgettext('libDrakX', $s) : '';
+ $s or return '';
+ foreach ('libDrakX', @::textdomains) {
+ my $s2 = c::dgettext($_, $s);
+ return $s2 if $s ne $s2;
+ }
+ $s;
}
sub untranslate {