Ltg.pm

filter: Statementstmt 70.6% 53 / 75 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 36.6% 11 / 30 Podpod n/a totaltotal 59.6% 65 / 109 CC 2 SCAR 6.4
CC
2
Cov
68%
__ANON__
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.9
↑ Summary Ltg/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Ltg - Package for language Latgalian
6
7 =cut
8
9 package Locale::CLDR::Locales::Ltg;
10 # This file auto generated from Data\common\main\ltg.xml
11 # on Fri 17 Jan 12:03:31 pm GMT
12
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
16
17 1 our $VERSION = version->declare('v0.46.0');
18
19 1 ▶use v5.12.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use feature 'unicode_strings';
Subroutine BEGIN: called CC=1 SCAR=0.0
23 1 ▶use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
25
26 1 extends('Locale::CLDR::Locales::Root');
27 has 'display_name_language' => (
28 is => 'ro',
29 isa => CodeRef,
30 init_arg => undef,
31 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
33 0 my %languages = (
34 'en' => 'angļu',
35 'ltg' => 'latgalīšu',
36 'lv' => 'latvīšu',
37
38 );
39 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
40 0 return $languages{$_[0]};
41 }
42 0 return \%languages;
43 }
44 0 },
45 1 );
46
47 has 'display_name_region' => (
48 is => 'ro',
49 isa => HashRef[Str],
50 init_arg => undef,
51 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
52 {
53 0 'LV' => 'Latveja',
54
55 }
56 },
57 1 );
58
59 has 'display_name_code_patterns' => (
60 is => 'ro',
61 isa => HashRef[Str],
62 init_arg => undef,
63 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
64 {
65 0 'language' => 'Volūda: {0}',
66 'script' => 'Raksteiba: {0}',
67 'region' => 'Regions: {0}',
68
69 }
70 },
71 1 );
72
73 has 'characters' => (
74 is => 'ro',
75 isa => HashRef,
76 init_arg => undef,
77 default => $^V ge v5.18.0
78 ? eval <<'EOT'
79 sub {
80 no warnings 'experimental::regex_sets';
81 return {
82 auxiliary => qr{[q ŗ w x]},
83 main => qr{[aā b cč d eē f gģ h iī j kķ lļ m nņ oō p r sš t uū v y zž]},
84 numbers => qr{[\- ‑ , % ‰ + − 0 1 2 3 4 5 6 7 8 9]},
85 punctuation => qr{[\- ‐‑ – — , ; \: ! ? . … '‘’‚ "“”„ ( ) \[ \] § @ * / \& # † ‡ ′ ″]},
86 };
87 },
88 EOT
89 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
90 0 return {};
91 },
92 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
93
94
95 has 'number_symbols' => (
96 is => 'ro',
97 isa => HashRef,
98 init_arg => undef,
99 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
100 0 'latn' => {
101 'decimal' => q(,),
102 'group' => q( ),
103 },
104 } }
105 1 );
106
107 has 'currencies' => (
108 is => 'ro',
109 isa => HashRef,
110 init_arg => undef,
111 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
112 0 'EUR' => {
113 display_name => {
114 'currency' => q(eiro),
115 'other' => q(eiro),
116 },
117 },
118 'LVL' => {
119 display_name => {
120 'currency' => q(Latvejis lats),
121 'other' => q(Latvejis lati),
122 },
123 },
124 'LVR' => {
125 display_name => {
126 'currency' => q(Latvejis rublis),
127 },
128 },
129 } },
130 1 );
131
132
133 has 'calendar_months' => (
134 is => 'ro',
135 isa => HashRef,
136 init_arg => undef,
137 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
138 0 'gregorian' => {
139 'format' => {
140 wide => {
141 nonleap => [
142 'janvars',
143 'februars',
144 'marts',
145 'apreļs',
146 'majs',
147 'juņs',
148 'juļs',
149 'augusts',
150 'septembris',
151 'oktobris',
152 'novembris',
153 'decembris'
154 ],
155 leap => [
156
157 ],
158 },
159 },
160 'stand-alone' => {
161 wide => {
162 nonleap => [
163 'janvars',
164 'februars',
165 'marts',
166 'apreļs',
167 'majs',
168 'juņs',
169 'juļs',
170 'augusts',
171 'septembris',
172 'oktobris',
173 'novembris',
174 'decembris'
175 ],
176 leap => [
177
178 ],
179 },
180 },
181 },
182 } },
183 1 );
184
185 has 'calendar_days' => (
186 is => 'ro',
187 isa => HashRef,
188 init_arg => undef,
189 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
190 0 'gregorian' => {
191 'format' => {
192 wide => {
193 mon => 'pyrmūdīne',
194 tue => 'ūtardīne',
195 wed => 'trešdīne',
196 thu => 'catūrtdīne',
197 fri => 'pīktdīne',
198 sat => 'sastdīne',
199 sun => 'svātdīne'
200 },
201 },
202 },
203 } },
204 1 );
205
206 has 'calendar_quarters' => (
207 is => 'ro',
208 isa => HashRef,
209 init_arg => undef,
210 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
211 0 'gregorian' => {
212 'format' => {
213 wide => {0 => '1. catūrksnis',
214 1 => '2. catūrksnis',
215 2 => '3. catūrksnis',
216 3 => '4. catūrksnis'
217 },
218 },
219 'stand-alone' => {
220 narrow => {0 => '1.',
221 1 => '2.',
222 2 => '3.',
223 3 => '4.'
224 },
225 },
226 },
227 } },
228 1 );
229
230 has 'day_periods' => (
231 is => 'ro',
232 isa => HashRef,
233 init_arg => undef,
234 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
235 0 'gregorian' => {
236 'format' => {
237 'wide' => {
238 'am' => q{prīškpušdīnē},
239 'pm' => q{piecpušdīnē},
240 },
241 },
242 },
243 } },
244 1 );
245
246 has 'eras' => (
247 is => 'ro',
248 isa => HashRef,
249 init_arg => undef,
250 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
251 0 'gregorian' => {
252 abbreviated => {
253 '0' => 'p.m.e.',
254 '1' => 'm.e.'
255 },
256 wide => {
257 '0' => 'pyrma myusu erys',
258 '1' => 'myusu erā'
259 },
260 },
261 } },
262 1 );
263
264 has 'date_formats' => (
265 is => 'ro',
266 isa => HashRef,
267 init_arg => undef,
268 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
269 0 'gregorian' => {
270 },
271 } },
272 1 );
273
274 has 'time_formats' => (
275 is => 'ro',
276 isa => HashRef,
277 init_arg => undef,
278 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
279 0 'gregorian' => {
280 },
281 } },
282 1 );
283
284 has 'datetime_formats' => (
285 is => 'ro',
286 isa => HashRef,
287 init_arg => undef,
288 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
289 0 'gregorian' => {
290 },
291 } },
292 1 );
293
294 has 'datetime_formats_available_formats' => (
295 is => 'ro',
296 isa => HashRef,
297 init_arg => undef,
298 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
299 0 'gregorian' => {
300 hm => q{h:mm a},
301 hms => q{h:mm:ss a},
302 hmsv => q{h:mm:ss a v},
303 yMMMd => q{y. 'g'. d. MMM},
304 yMd => q{d.MM.y.},
305 },
306 } },
307 1 );
308
309 has 'datetime_formats_append_item' => (
310 is => 'ro',
311 isa => HashRef,
312 init_arg => undef,
313 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
314 0 } },
315 1 );
316
317 has 'datetime_formats_interval' => (
318 is => 'ro',
319 isa => HashRef,
320 init_arg => undef,
321 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
322 0 } },
323 1 );
324
325 has 'time_zone_names' => (
326 is => 'ro',
327 isa => HashRef,
328 init_arg => undef,
329 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
330 0 regionFormat => q(Laika jūsla: {0}),
331 regionFormat => q({0}: vosorys laiks),
332 regionFormat => q({0}: standarta laiks),
333 'GMT' => {
334 long => {
335 'standard' => q#Griničys laiks#,
336 },
337 },
338 } }
339 1 );
340 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
341
342 1 1;
343
344 # vim: tabstop=4
↑ Summary Ltg/Latn.pm »