1 package Moose::Website::I18N;
7 our $AUTHORITY = 'cpan:STEVAN';
9 BEGIN { extends 'Locale::Maketext' };
11 use Locale::Maketext::Lexicon {
12 '*' => [ Gettext => file(__FILE__)->parent->file("I18N", "po", "*.po")->stringify ],
18 my ( $self, $item, @args ) = @_;
20 if ( @args == 0 and ref($item) eq 'ARRAY') {
21 ( $item, @args ) = @$item;
24 return $self->maketext( $item, @args );
27 __PACKAGE__->meta->make_immutable( inline_constructor => 0 );
37 Moose::Website::I18N - A Moosey solution to this problem
41 use Moose::Website::I18N;
55 All complex software has bugs lurking in it, and this module is no
56 exception. If you find a bug please either email me, or add the bug
61 Stevan Little E<lt>stevan.little@iinteractive.comE<gt>
63 =head1 COPYRIGHT AND LICENSE
65 Copyright 2010 Infinity Interactive, Inc.
67 L<http://www.iinteractive.com>
69 This library is free software; you can redistribute it and/or modify
70 it under the same terms as Perl itself.