line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
32
|
|
|
32
|
|
247
|
use strict; |
|
32
|
|
|
|
|
71
|
|
|
32
|
|
|
|
|
2088
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package HTML::FormFu::I18N; |
4
|
|
|
|
|
|
|
# ABSTRACT: localization base class |
5
|
|
|
|
|
|
|
$HTML::FormFu::I18N::VERSION = '2.07'; |
6
|
32
|
|
|
32
|
|
275
|
use Moose; |
|
32
|
|
|
|
|
68
|
|
|
32
|
|
|
|
|
270
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
extends 'Locale::Maketext'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
*loc = \&localize; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub localize { |
13
|
51
|
|
|
51
|
0
|
119
|
my $self = shift; |
14
|
|
|
|
|
|
|
|
15
|
51
|
|
|
|
|
266
|
return $self->maketext(@_); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable( inline_constructor => 0 ); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=pod |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=encoding UTF-8 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
HTML::FormFu::I18N - localization base class |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 VERSION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
version 2.07 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHOR |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Carl Franks <cpan@fireartist.com> |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This software is copyright (c) 2018 by Carl Franks. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
45
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |