Kw.pm

filter: Statementstmt 66.2% 55 / 83 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 11 / 33 Podpod n/a totaltotal 54.9% 67 / 122 CC 3 SCAR 7.6
CC
3
Cov
63%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.1
↑ Summary Kw/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Kw - Package for language Cornish
6
7 =cut
8
9 package Locale::CLDR::Locales::Kw;
10 # This file auto generated from Data\common\main\kw.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 'ar' => 'Arabek',
35 'ar_001' => 'Arabek Savonek Arnowydh',
36 'br' => 'Bretonek',
37 'cy' => 'Kembrek',
38 'da' => 'Danek',
39 'de' => 'Almaynek',
40 'de_AT' => 'Almaynek (Ostri)',
41 'de_CH' => 'Almaynek Ughel (Pow Swis)',
42 'el' => 'Greka',
43 'en' => 'Sowsnek',
44 'en_AU' => 'Sowsnek (Ostrali)',
45 'en_CA' => 'Sowsnek (Kanada)',
46 'en_GB' => 'Sowsnek (Breten Veur)',
47 'en_GB@alt=short' => 'Sowsnek (RU)',
48 'en_US@alt=short' => 'Sowsnek (SU)',
49 'es' => 'Spaynek',
50 'eu' => 'Baskek',
51 'fr' => 'Frenkek',
52 'fr_CA' => 'Frenkek (Kanada)',
53 'fr_CH' => 'Frenkek (Pow Swis)',
54 'ga' => 'Wordhonek',
55 'gd' => 'Godhalek Alban',
56 'it' => 'Italek',
57 'ja' => 'Japanek',
58 'kw' => 'kernewek',
59 'nl' => 'Iseldiryek',
60 'pt' => 'Portyngalek',
61 'pt_PT' => 'Portyngalek (Ewrop)',
62 'ro_MD' => 'Moldavek',
63 'ru' => 'Russek',
64 'yue' => 'Kantonek',
65 'zh' => 'Chinek',
66 'zh_Hans' => 'Chinek sempelhes',
67 'zh_Hant' => 'Chinek hengovek',
68
69 );
70 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
71 0 return $languages{$_[0]};
72 }
73 0 return \%languages;
74 }
75 0 },
76 1 );
77
78 has 'display_name_script' => (
79 is => 'ro',
80 isa => CodeRef,
81 init_arg => undef,
82 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
83 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
84 0 my %scripts = (
85 'Arab' => 'Arabek',
86 'Grek' => 'Greka',
87 'Hani' => 'Han',
88 'Hans' => 'Sempelhes',
89 'Hans@alt=stand-alone' => 'Han sempelhes',
90 'Hant' => 'Hengovek',
91 'Hant@alt=stand-alone' => 'Han hengovek',
92 'Latn' => 'Latin',
93
94 );
95 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
96 0 return $scripts{$_[0]};
97 }
98 0 return \%scripts;
99 }
100 0 }
101 1 );
102
103 has 'display_name_region' => (
104 is => 'ro',
105 isa => HashRef[Str],
106 init_arg => undef,
107 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
108 {
109 0 '001' => 'An Bys',
110 '002' => 'Afrika',
111 '003' => 'Amerika Gledh',
112 '019' => 'An Amerikas',
113 '142' => 'Asi',
114 '150' => 'Europa',
115 'BR' => 'Brasil',
116 'CN' => 'China',
117 'DE' => 'Almayn',
118 'EU' => 'Unyans Europek',
119 'FR' => 'Pow Frenk',
120 'GB' => 'Rywvaneth Unys',
121 'IN' => 'Eynda',
122 'IT' => 'Itali',
123 'JP' => 'Japan',
124 'RU' => 'Russi',
125 'UN' => 'Kenedhlow Unys',
126 'US' => 'Statys Unys',
127
128 }
129 },
130 1 );
131
132 has 'display_name_key' => (
133 is => 'ro',
134 isa => HashRef[Str],
135 init_arg => undef,
136 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
137 {
138 0 'calendar' => 'kalans',
139
140 }
141 },
142 1 );
143
144 has 'display_name_type' => (
145 is => 'ro',
146 isa => HashRef[HashRef[Str]],
147 init_arg => undef,
148 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
149 {
150 0 'calendar' => {
151 'gregorian' => q{Kalans gregorek},
152 },
153
154 }
155 },
156 1 );
157
158 has 'display_name_code_patterns' => (
159 is => 'ro',
160 isa => HashRef[Str],
161 init_arg => undef,
162 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
163 {
164 0 'language' => 'Taves: {0}',
165
166 }
167 },
168 1 );
169
170 has 'characters' => (
171 is => 'ro',
172 isa => HashRef,
173 init_arg => undef,
174 default => $^V ge v5.18.0
175 ? eval <<'EOT'
176 sub {
177 no warnings 'experimental::regex_sets';
178 return {
179 index => ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'],
180 main => qr{[a b c d e f g h i j k l m n o p q r s t u v w x y z]},
181 };
182 },
183 EOT
184 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
185 0 return { index => ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'], };
186 },
187 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
188
189
190 has 'number_currency_formats' => (
191 is => 'ro',
192 isa => HashRef,
193 init_arg => undef,
194 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
195 0 'latn' => {
196 'pattern' => {
197 'default' => {
198 'standard' => {
199 'positive' => 'ยค#,##0.00',
200 },
201 },
202 },
203 },
204 } },
205 1 );
206
207 has 'currencies' => (
208 is => 'ro',
209 isa => HashRef,
210 init_arg => undef,
211 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
212 0 'EUR' => {
213 display_name => {
214 'currency' => q(Euro),
215 },
216 },
217 } },
218 1 );
219
220
221 has 'calendar_months' => (
222 is => 'ro',
223 isa => HashRef,
224 init_arg => undef,
225 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
226 0 'gregorian' => {
227 'format' => {
228 abbreviated => {
229 nonleap => [
230 'Gen',
231 'Hwe',
232 'Meu',
233 'Ebr',
234 'Me',
235 'Met',
236 'Gor',
237 'Est',
238 'Gwn',
239 'Hed',
240 'Du',
241 'Kev'
242 ],
243 leap => [
244
245 ],
246 },
247 wide => {
248 nonleap => [
249 'mis Genver',
250 'mis Hwevrer',
251 'mis Meurth',
252 'mis Ebrel',
253 'mis Me',
254 'mis Metheven',
255 'mis Gortheren',
256 'mis Est',
257 'mis Gwynngala',
258 'mis Hedra',
259 'mis Du',
260 'mis Kevardhu'
261 ],
262 leap => [
263
264 ],
265 },
266 },
267 },
268 } },
269 1 );
270
271 has 'calendar_days' => (
272 is => 'ro',
273 isa => HashRef,
274 init_arg => undef,
275 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
276 0 'gregorian' => {
277 'format' => {
278 abbreviated => {
279 mon => 'Lun',
280 tue => 'Mth',
281 wed => 'Mhr',
282 thu => 'Yow',
283 fri => 'Gwe',
284 sat => 'Sad',
285 sun => 'Sul'
286 },
287 wide => {
288 mon => 'dy Lun',
289 tue => 'dy Meurth',
290 wed => 'dy Merher',
291 thu => 'dy Yow',
292 fri => 'dy Gwener',
293 sat => 'dy Sadorn',
294 sun => 'dy Sul'
295 },
296 },
297 },
298 } },
299 1 );
300
301 has 'day_periods' => (
302 is => 'ro',
303 isa => HashRef,
304 init_arg => undef,
305 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
306 0 'gregorian' => {
307 'format' => {
308 'abbreviated' => {
309 'am' => q{a.m.},
310 'pm' => q{p.m.},
311 },
312 },
313 },
314 } },
315 1 );
316
317 has 'eras' => (
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 'generic' => {
323 },
324 'gregorian' => {
325 abbreviated => {
326 '0' => 'RC',
327 '1' => 'AD'
328 },
329 },
330 } },
331 1 );
332
333 has 'date_formats' => (
334 is => 'ro',
335 isa => HashRef,
336 init_arg => undef,
337 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
338 0 'generic' => {
339 'full' => q{EEEE d MMMM y G},
340 'long' => q{d MMMM y G},
341 'medium' => q{d MMM y G},
342 'short' => q{dd/MM/y GGGGG},
343 },
344 'gregorian' => {
345 'full' => q{EEEE d MMMM y},
346 'long' => q{d MMMM y},
347 'medium' => q{d MMM y},
348 'short' => q{dd/MM/y},
349 },
350 } },
351 1 );
352
353 has 'time_formats' => (
354 is => 'ro',
355 isa => HashRef,
356 init_arg => undef,
357 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
358 0 'generic' => {
359 },
360 'gregorian' => {
361 'full' => q{HH:mm:ss zzzz},
362 'long' => q{HH:mm:ss z},
363 'medium' => q{HH:mm:ss},
364 'short' => q{HH:mm},
365 },
366 } },
367 1 );
368
369 has 'datetime_formats' => (
370 is => 'ro',
371 isa => HashRef,
372 init_arg => undef,
373 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
374 0 'generic' => {
375 },
376 'gregorian' => {
377 },
378 } },
379 1 );
380
381 has 'datetime_formats_available_formats' => (
382 is => 'ro',
383 isa => HashRef,
384 init_arg => undef,
385 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
386 0 } },
387 1 );
388
389 has 'datetime_formats_append_item' => (
390 is => 'ro',
391 isa => HashRef,
392 init_arg => undef,
393 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
394 0 } },
395 1 );
396
397 has 'datetime_formats_interval' => (
398 is => 'ro',
399 isa => HashRef,
400 init_arg => undef,
401 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
402 0 } },
403 1 );
404
405 has 'time_zone_names' => (
406 is => 'ro',
407 isa => HashRef,
408 init_arg => undef,
409 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
410 0 'Etc/Unknown' => {
411 exemplarCity => q#Ankoth#,
412 },
413 'Europe_Central' => {
414 short => {
415 'daylight' => q#CEST#,
416 'generic' => q#CET#,
417 'standard' => q#CET#,
418 },
419 },
420 'Europe_Eastern' => {
421 short => {
422 'daylight' => q#EEST#,
423 'generic' => q#EET#,
424 'standard' => q#EET#,
425 },
426 },
427 'Europe_Western' => {
428 short => {
429 'daylight' => q#WEST#,
430 'generic' => q#WET#,
431 'standard' => q#WET#,
432 },
433 },
434 'GMT' => {
435 short => {
436 'standard' => q#GMT#,
437 },
438 },
439 } }
440 1 );
441 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
442
443 1 1;
444
445 # vim: tabstop=4
↑ Summary Kw/Latn.pm »