From: Frank Lichtenheld Date: Wed, 22 Nov 2006 19:38:03 +0000 (+0000) Subject: Remove the _ subroutine. I don't use it anyway and even its sheer X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=5b7751516899f5e57ba7320f5624ab390a2835e6;p=deb%2Fpackages.git Remove the _ subroutine. I don't use it anyway and even its sheer existance seems to lead to problems with some Perl versions --- diff --git a/lib/Packages/I18N/Locale.pm b/lib/Packages/I18N/Locale.pm index 2bfaef2..b8d2abe 100644 --- a/lib/Packages/I18N/Locale.pm +++ b/lib/Packages/I18N/Locale.pm @@ -10,8 +10,7 @@ our @ISA = qw( Exporter ); # the reason we have both _g and _ is simply that there # seem to be some situations where Perl doesn't handle _ # correctly. If in doubt use _g -our @EXPORT = qw( get_locale get_charset _g _ N_ ); - +our @EXPORT = qw( get_locale get_charset _g N_ ); my %lang2loc = ( en => "en_US", cs => "cs_CZ", @@ -53,7 +52,6 @@ sub get_charset { return $lang2charset{$lang} || $lang2charset{default}; } -sub _ { return gettext( $_[0] ) } sub _g { return gettext( $_[0] ) } sub N_ { return $_[0] }