File: I18N.pm

package info (click to toggle)
libmojomojo-perl 1.01%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,272 kB
  • ctags: 879
  • sloc: perl: 14,055; sh: 145; xml: 120; ruby: 6; makefile: 2
file content (48 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package MojoMojo::I18N;
use strict;

use parent 'Locale::Maketext';

=head1 Methods

=head2 loc

Abbreviation for localize()

=cut

*loc = \&localize;

=head2 localize

Translate text to locality

=cut

sub localize {
    my $self = shift;

    return $self->maketext(@_);
}

=head2 tense

This is only here to satisfy Pod coverage tests.  
Not sure why t/03podcoverage.t thinks there is a tense sub in here?

=head1 NAME

MojoMojo::I18N - support for language localization

=head1 AUTHORS

Marcus Ramberg <mramberg@cpan.org>

=head1 LICENSE

This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

1;