line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Time::Duration::Concise::Locale::zh_cn; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1151
|
use 5.006; |
|
2
|
|
|
|
|
4
|
|
4
|
2
|
|
|
2
|
|
6
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
32
|
|
5
|
2
|
|
|
2
|
|
58
|
use warnings FATAL => 'all'; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
57
|
|
6
|
2
|
|
|
2
|
|
6
|
use utf8; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
8
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.1'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Time::Duration::Concise::Locale::zh_cn - Chinese - China locale translation. |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 DESCRIPTION |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Time::Duration::Concise uses Time::Duration::Concise::Locale::zh_cn 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
|
|
|
|
|
9
|
'second' => '秒钟', |
34
|
|
|
|
|
|
|
'seconds' => '秒钟', |
35
|
|
|
|
|
|
|
'minute' => '分钟', |
36
|
|
|
|
|
|
|
'minutes' => '分钟', |
37
|
|
|
|
|
|
|
'hour' => '小时', |
38
|
|
|
|
|
|
|
'hours' => '小时', |
39
|
|
|
|
|
|
|
'day' => '天', |
40
|
|
|
|
|
|
|
'days' => '天', |
41
|
|
|
|
|
|
|
'month' => '月份', |
42
|
|
|
|
|
|
|
'months' => '月份', |
43
|
|
|
|
|
|
|
'year' => '年', |
44
|
|
|
|
|
|
|
'years' => '年', |
45
|
|
|
|
|
|
|
}; |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 AUTHOR |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Binary.com, C<< >> |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
1; # End of Time::Duration::Concise::Locale::zh_cn |