File Coverage

blib/lib/Time/Duration/Concise/Locale/it.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Time::Duration::Concise::Locale::it;
2              
3 2     2   1200 use 5.006;
  2         5  
4 2     2   6 use strict;
  2         2  
  2         33  
5 2     2   5 use warnings FATAL => 'all';
  2         2  
  2         45  
6 2     2   6 use utf8;
  2         8  
  2         7  
7              
8             our $VERSION = '2.61'; ## VERSION
9              
10             =head1 NAME
11              
12             Time::Duration::Concise::Locale::it - Italian locale translation.
13              
14             =head1 DESCRIPTION
15              
16             Time::Duration::Concise uses Time::Duration::Concise::Locale::it 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         13 'second' => 'secondo',
30             'seconds' => 'secondi',
31             'minute' => 'minuto',
32             'minutes' => 'minuti',
33             'hour' => 'ora',
34             'hours' => 'ore',
35             'day' => 'giorno',
36             'days' => 'giorni',
37             'month' => 'mese',
38             'months' => 'mesi',
39             'year' => 'anno',
40             'years' => 'anni'
41             };
42             }
43              
44             =head1 AUTHOR
45              
46             Binary.com, C<< >>
47              
48             =cut
49              
50             1; # End of Time::Duration::Concise::Locale::it