1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-13 18:10:10 +02:00

Add I18N wrapper module to use .po files

This commit is contained in:
Daniel Berteaud 2015-07-17 14:28:44 +02:00
parent cb712f43cd
commit 321ec4ee0c

11
lib/Vroom/I18N.pm Normal file
View File

@ -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;