1 package Packages::I18N::Locale;
6 use base 'Locale::Maketext';
7 use Locale::Maketext::Lexicon {
8 '*' => [Gettext => '/home/djpig/debian/www.d.o/packages/po/pdo.*.po',
9 Gettext => '/home/djpig/debian/www.d.o/packages/po/templates.*.po',
10 Gettext => '/home/djpig/debian/www.d.o/packages/po/langs.*.po'],
17 our @EXPORT = qw( N_ );
19 sub N_ { return $_[0]; }
22 my ($self, $format, @args) = @_;
23 my $result = $self->maketext($format, @args);
24 return sprintf($result, @args) if $result =~ /%([su]|[.\d]*f)/;