diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-07-18 21:05:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-07-18 21:05:17 +0000 |
commit | dd40621fa1311c9bce97902e2db57f8b15fab449 (patch) | |
tree | 021c7c75ccde203bbc43ee77a66f9585d9157c61 /perl-install/common.pm | |
parent | 61e87a9fb56f97ae843557511ba3609f9849cc2e (diff) | |
download | drakx-dd40621fa1311c9bce97902e2db57f8b15fab449.tar drakx-dd40621fa1311c9bce97902e2db57f8b15fab449.tar.gz drakx-dd40621fa1311c9bce97902e2db57f8b15fab449.tar.bz2 drakx-dd40621fa1311c9bce97902e2db57f8b15fab449.tar.xz drakx-dd40621fa1311c9bce97902e2db57f8b15fab449.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r-- | perl-install/common.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index 1d7b8730f..c15aafdae 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -85,7 +85,8 @@ sub translate { my ($s) = @_; unless (defined %po::I18N::I18N) { if (my ($lang) = ($ENV{LC_ALL} || $ENV{LANGUAGE} || $ENV{LC_MESSAGES} || $ENV{LANG}) =~ /(..)/) { - eval { require "po/$lang.pm" }; $@ and warn "no translation in $lang available\n"; + local $SIG{__DIE__} = 'none'; + eval { require "po/$lang.pm" }; } } $po::I18N::I18N{$s} || $s; |