mirror of https://github.com/dani/vroom.git
Add I18N wrapper module to use .po files
This commit is contained in:
parent
cb712f43cd
commit
321ec4ee0c
|
@ -0,0 +1,11 @@
|
||||||
|
package Vroom::I18N;
|
||||||
|
|
||||||
|
use base 'Locale::Maketext';
|
||||||
|
use File::Basename qw/dirname/;
|
||||||
|
use Locale::Maketext::Lexicon {
|
||||||
|
_auto => 1,
|
||||||
|
_decode => 1,
|
||||||
|
'*' => [Gettext => dirname(__FILE__) . '/I18N/*.po']
|
||||||
|
};
|
||||||
|
|
||||||
|
1;
|
Loading…
Reference in New Issue