line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Time::Duration::Concise::Locale::zh_cn; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1159
|
use 5.006; |
|
2
|
|
|
|
|
5
|
|
4
|
2
|
|
|
2
|
|
7
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
32
|
|
5
|
2
|
|
|
2
|
|
5
|
use warnings FATAL => 'all'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
45
|
|
6
|
2
|
|
|
2
|
|
6
|
use utf8; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
6
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '2.61'; ## VERSION |
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 METHODS |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head2 translation |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Localized translation hash |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=cut |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub translation { |
27
|
2
|
|
|
2
|
1
|
3
|
my ($self) = @_; |
28
|
|
|
|
|
|
|
return { |
29
|
2
|
|
|
|
|
10
|
'second' => '秒钟', |
30
|
|
|
|
|
|
|
'seconds' => '秒钟', |
31
|
|
|
|
|
|
|
'minute' => '分钟', |
32
|
|
|
|
|
|
|
'minutes' => '分钟', |
33
|
|
|
|
|
|
|
'hour' => '小时', |
34
|
|
|
|
|
|
|
'hours' => '小时', |
35
|
|
|
|
|
|
|
'day' => '天', |
36
|
|
|
|
|
|
|
'days' => '天', |
37
|
|
|
|
|
|
|
'month' => '月份', |
38
|
|
|
|
|
|
|
'months' => '月份', |
39
|
|
|
|
|
|
|
'year' => '年', |
40
|
|
|
|
|
|
|
'years' => '年', |
41
|
|
|
|
|
|
|
}; |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Binary.com, C<< >> |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1; # End of Time::Duration::Concise::Locale::zh_cn |