diff options
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r-- | perl-install/common.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index 1be6d4f95..851cf6971 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -346,7 +346,10 @@ sub translate { require lang; foreach (split ':', $lang) { lang::load_po($_) unless defined $po::I18N::{$_}; - return ${$po::I18N::{$_}}{$s} || $s if %{$po::I18N::{$_}}; + if (%{$po::I18N::{$_}}) { + return if $s eq '_I18N_'; + return ${$po::I18N::{$_}}{$s} || $s + } } $s; } |