line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Time::Duration::Concise::Locale::es; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1129
|
use 5.006; |
|
2
|
|
|
|
|
5
|
|
4
|
2
|
|
|
2
|
|
6
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
32
|
|
5
|
2
|
|
|
2
|
|
6
|
use warnings FATAL => 'all'; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
46
|
|
6
|
2
|
|
|
2
|
|
5
|
use utf8; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
7
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.1'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Time::Duration::Concise::Locale::es - Spanish locale translation. |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 DESCRIPTION |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Time::Duration::Concise uses Time::Duration::Concise::Locale::es to localize concise time duration string representation. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 VERSION |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Version 0.1 |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 METHODS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head2 translation |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Localized translation hash |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub translation { |
31
|
2
|
|
|
2
|
1
|
2
|
my ($self) = @_; |
32
|
|
|
|
|
|
|
return { |
33
|
2
|
|
|
|
|
11
|
'second' => 'segundo', |
34
|
|
|
|
|
|
|
'seconds' => 'segundos', |
35
|
|
|
|
|
|
|
'minute' => 'minuto', |
36
|
|
|
|
|
|
|
'minutes' => 'minutos', |
37
|
|
|
|
|
|
|
'hour' => 'hora', |
38
|
|
|
|
|
|
|
'hours' => 'horas', |
39
|
|
|
|
|
|
|
'day' => 'día', |
40
|
|
|
|
|
|
|
'days' => 'días', |
41
|
|
|
|
|
|
|
'month' => 'mes', |
42
|
|
|
|
|
|
|
'months' => 'meses', |
43
|
|
|
|
|
|
|
'year' => 'año', |
44
|
|
|
|
|
|
|
}; |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 AUTHOR |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Binary.com, C<< >> |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
1; # End of Time::Duration::Concise::Locale::es |