line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Time::Duration::Concise::Locale::ru; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1172
|
use 5.006; |
|
2
|
|
|
|
|
4
|
|
4
|
2
|
|
|
2
|
|
6
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
38
|
|
5
|
2
|
|
|
2
|
|
7
|
use warnings FATAL => 'all'; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
56
|
|
6
|
2
|
|
|
2
|
|
5
|
use utf8; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
6
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '2.61'; ## VERSION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Time::Duration::Concise::Locale::ru - Russian locale translation. |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 DESCRIPTION |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Time::Duration::Concise uses Time::Duration::Concise::Locale::ru 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
|
|
|
|
|
11
|
'second' => 'секунд(ы)', |
30
|
|
|
|
|
|
|
'seconds' => 'секунд(ы)', |
31
|
|
|
|
|
|
|
'minute' => 'минут(ы)', |
32
|
|
|
|
|
|
|
'minutes' => 'минут(ы)', |
33
|
|
|
|
|
|
|
'hour' => 'час.', |
34
|
|
|
|
|
|
|
'hours' => 'час.', |
35
|
|
|
|
|
|
|
'day' => 'дн.', |
36
|
|
|
|
|
|
|
'days' => 'дн.', |
37
|
|
|
|
|
|
|
'month' => 'мес.', |
38
|
|
|
|
|
|
|
'months' => 'мес.', |
39
|
|
|
|
|
|
|
'year' => 'год(а)/лет', |
40
|
|
|
|
|
|
|
}; |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHOR |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Binary.com, C<< >> |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
1; # End of Time::Duration::Concise::Locale::ru |