summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper/Locales.pm
blob: 12e95d1b05c08cbef7f6371c1b4e5cec1ae3c766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package Travelynx::Helper::Locales;

use strict;
use warnings;

use base qw(Locale::Maketext);

our %lexicon = (
	_AUTO => 1,
);

use Locale::Maketext::Lexicon {
	_decode => 1,
	'*'     => [ Gettext => 'share/locales/*.po' ],
};

sub init {
	my ($self) = @_;
	return $self->SUPER::init( @_[ 1 .. $#_ ] );
}

1;