Concise/Locale/zh_cn.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Concise/Locale/vi.pm ↑ Summary Concise/Locale/zh_tw.pm »
1 package Time::Duration::Concise::Locale::zh_cn;
2  
3 3 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 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 ▶ my ($self) = @_;
Subroutine translation: called CC=1 SCAR=0.0
Pod documented
28 return {
29 2 '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<< <perl at binary.com> >>
47  
48 =cut
49  
50 3 1; # End of Time::Duration::Concise::Locale::zh_cn
« Concise/Locale/vi.pm ↑ Summary Concise/Locale/zh_tw.pm »