Trv.pm

filter: Statementstmt 65.1% 58 / 89 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 30.5% 11 / 36 Podpod n/a totaltotal 53.4% 70 / 131 CC 3 SCAR 7.6
CC
3
Cov
62%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.1
↑ Summary Trv/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Trv - Package for language Taroko
6
7 =cut
8
9 package Locale::CLDR::Locales::Trv;
10 # This file auto generated from Data\common\main\trv.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 'bn' => 'patas Monchiara',
35 'de' => 'patas Towjih',
36 'en' => 'patas Ingrisi',
37 'es' => 'patas Espanniu',
38 'fr' => 'patas Bosey',
39 'hi' => 'patas Heyti',
40 'it' => 'patas Itariya',
41 'ja' => 'patas Nihong',
42 'pt' => 'patas Bowdu',
43 'pt_BR' => 'patas Pajey',
44 'ru' => 'patas Ruski',
45 'sr' => 'patas Srpian',
46 'trv' => 'patas Taroko',
47 'und' => 'Ini klayna patas ni',
48 'ur' => 'patas Yurtu',
49 'zh' => 'patas Ipaw',
50 'zh_Hans' => 'Qantan Ipaw patas',
51 'zh_Hant' => 'Baday Ipaw patas',
52
53 );
54 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
55 0 return $languages{$_[0]};
56 }
57 0 return \%languages;
58 }
59 0 },
60 1 );
61
62 has 'display_name_script' => (
63 is => 'ro',
64 isa => CodeRef,
65 init_arg => undef,
66 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
67 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
68 0 my %scripts = (
69 'Arab' => 'tasan Arapit',
70 'Cyrl' => 'tasan Sirorik',
71 'Hans' => 'Qantan tasan Ipaw',
72 'Hant' => 'Baday tasan Ipaw',
73 'Latn' => 'tasan Ratin',
74 'Zxxx' => 'Unat tasan',
75 'Zzzz' => 'ini klayi tasan ni',
76
77 );
78 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
79 0 return $scripts{$_[0]};
80 }
81 0 return \%scripts;
82 }
83 0 }
84 1 );
85
86 has 'display_name_region' => (
87 is => 'ro',
88 isa => HashRef[Str],
89 init_arg => undef,
90 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
91 {
92 0 'AQ' => 'alang Nanci',
93 'BA' => 'alang Posniya',
94 'BR' => 'alang Pajey',
95 'BV' => 'alang Puwei',
96 'CH' => 'alang Switjrrant',
97 'CN' => 'alang Ipaw',
98 'DE' => 'alang Towjih',
99 'FR' => 'alang Posey',
100 'GB' => 'alang Inglis',
101 'GS' => 'alang Nanjiouya ni Nansanminji',
102 'HM' => 'alang Htee ni Mayktan',
103 'HR' => 'alang Krowtia',
104 'IN' => 'alang Intu',
105 'IO' => 'alang Inglis niq Intu',
106 'IT' => 'alang Itariya',
107 'JP' => 'alang Nihong',
108 'ME' => 'alang Mondineygrw',
109 'RS' => 'alang Srbia',
110 'RU' => 'alang Ruski',
111 'SM' => 'alang Snmarinow',
112 'TF' => 'alang Posey niq Nan',
113 'US' => 'alang Amarika',
114 'ZZ' => 'ini klayi na alang ni',
115
116 }
117 },
118 1 );
119
120 has 'display_name_type' => (
121 is => 'ro',
122 isa => HashRef[HashRef[Str]],
123 init_arg => undef,
124 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
125 {
126 0 'calendar' => {
127 'gregorian' => q{Jiyax Yisu Thulang},
128 },
129
130 }
131 },
132 1 );
133
134 has 'display_name_measurement_system' => (
135 is => 'ro',
136 isa => HashRef[Str],
137 init_arg => undef,
138 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
139 {
140 0 'metric' => q{Snamrika},
141 'US' => q{Snyunaydi},
142
143 }
144 },
145 1 );
146
147 has 'display_name_code_patterns' => (
148 is => 'ro',
149 isa => HashRef[Str],
150 init_arg => undef,
151 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
152 {
153 0 'language' => 'Kari: {0}',
154 'script' => 'Patas: {0}',
155 'region' => 'Alang: {0}',
156
157 }
158 },
159 1 );
160
161 has 'characters' => (
162 is => 'ro',
163 isa => HashRef,
164 init_arg => undef,
165 default => $^V ge v5.18.0
166 ? eval <<'EOT'
167 sub {
168 no warnings 'experimental::regex_sets';
169 return {
170 auxiliary => qr{[ḏ f ɨ ḻ ṟ ṯ ʉ v z ʼ]},
171 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'],
172 main => qr{[a b c d e g h i j k l m n {ng} o p q r s t u w x y]},
173 };
174 },
175 EOT
176 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
177 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'], };
178 },
179 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
180
181
182 has 'units' => (
183 is => 'ro',
184 isa => HashRef[HashRef[HashRef[Str]]],
185 init_arg => undef,
186 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
187 0 'long' => {
188 # Long Unit Identifier
189 'duration-day' => {
190 'other' => q({0} Jiyax),
191 },
192 # Core Unit Identifier
193 'day' => {
194 'other' => q({0} Jiyax),
195 },
196 # Long Unit Identifier
197 'duration-hour' => {
198 'other' => q({0} Tuki),
199 },
200 # Core Unit Identifier
201 'hour' => {
202 'other' => q({0} Tuki),
203 },
204 # Long Unit Identifier
205 'duration-minute' => {
206 'other' => q({0} spngan),
207 },
208 # Core Unit Identifier
209 'minute' => {
210 'other' => q({0} spngan),
211 },
212 # Long Unit Identifier
213 'duration-month' => {
214 'other' => q({0} Idas),
215 },
216 # Core Unit Identifier
217 'month' => {
218 'other' => q({0} Idas),
219 },
220 # Long Unit Identifier
221 'duration-second' => {
222 'other' => q({0} Seykn),
223 },
224 # Core Unit Identifier
225 'second' => {
226 'other' => q({0} Seykn),
227 },
228 # Long Unit Identifier
229 'duration-week' => {
230 'other' => q({0} Jiyax iyax sngayan),
231 },
232 # Core Unit Identifier
233 'week' => {
234 'other' => q({0} Jiyax iyax sngayan),
235 },
236 # Long Unit Identifier
237 'duration-year' => {
238 'other' => q({0} Hnkawas),
239 },
240 # Core Unit Identifier
241 'year' => {
242 'other' => q({0} Hnkawas),
243 },
244 },
245 } }
246 1 );
247
248 has 'yesstr' => (
249 is => 'ro',
250 isa => RegexpRef,
251 init_arg => undef,
252 0 ▶ default => sub { qr'^(?i:yiru|y)$' }
Subroutine __ANON__: not called CC=1 SCAR=6.9
253 1 );
254
255 has 'nostr' => (
256 is => 'ro',
257 isa => RegexpRef,
258 init_arg => undef,
259 0 ▶ default => sub { qr'^(?i:mnan|m|no|n)$' }
Subroutine __ANON__: not called CC=1 SCAR=6.9
260 1 );
261
262 has 'currencies' => (
263 is => 'ro',
264 isa => HashRef,
265 init_arg => undef,
266 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
267 0 'AUD' => {
268 display_name => {
269 'currency' => q(pila Autaria),
270 },
271 },
272 'BRL' => {
273 display_name => {
274 'currency' => q(pila Pajey),
275 },
276 },
277 'CNY' => {
278 display_name => {
279 'currency' => q(pila Ipaw),
280 },
281 },
282 'EUR' => {
283 display_name => {
284 'currency' => q(pila Irow),
285 },
286 },
287 'GBP' => {
288 display_name => {
289 'currency' => q(pila Inglis),
290 },
291 },
292 'HKD' => {
293 display_name => {
294 'currency' => q(pila Hong Kong),
295 },
296 },
297 'INR' => {
298 display_name => {
299 'currency' => q(pila Intia),
300 },
301 },
302 'JPY' => {
303 display_name => {
304 'currency' => q(pila Nihong),
305 },
306 },
307 'MOP' => {
308 display_name => {
309 'currency' => q(pila Macao),
310 },
311 },
312 'NOK' => {
313 display_name => {
314 'currency' => q(pila Nowey),
315 },
316 },
317 'RUB' => {
318 display_name => {
319 'currency' => q(pila Ruski),
320 },
321 },
322 'TWD' => {
323 display_name => {
324 'currency' => q(pila Taiwan),
325 },
326 },
327 'USD' => {
328 display_name => {
329 'currency' => q(pila America),
330 },
331 },
332 'XXX' => {
333 display_name => {
334 'currency' => q(ini klayi pila ni),
335 },
336 },
337 } },
338 1 );
339
340
341 has 'calendar_months' => (
342 is => 'ro',
343 isa => HashRef,
344 init_arg => undef,
345 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
346 0 'gregorian' => {
347 'format' => {
348 abbreviated => {
349 nonleap => [
350 'Kii',
351 'Dhi',
352 'Tri',
353 'Spi',
354 'Rii',
355 'Mti',
356 'Emi',
357 'Mai',
358 'Mni',
359 'Mxi',
360 'Mxk',
361 'Mxd'
362 ],
363 leap => [
364
365 ],
366 },
367 wide => {
368 nonleap => [
369 'Kingal idas',
370 'Dha idas',
371 'Tru idas',
372 'Spat idas',
373 'Rima idas',
374 'Mataru idas',
375 'Empitu idas',
376 'Maspat idas',
377 'Mngari idas',
378 'Maxal idas',
379 'Maxal kingal idas',
380 'Maxal dha idas'
381 ],
382 leap => [
383
384 ],
385 },
386 },
387 'stand-alone' => {
388 narrow => {
389 nonleap => [
390 'K',
391 'D',
392 'T',
393 'S',
394 'R',
395 'M',
396 'E',
397 'P',
398 'A',
399 'M',
400 'K',
401 'D'
402 ],
403 leap => [
404
405 ],
406 },
407 },
408 },
409 } },
410 1 );
411
412 has 'calendar_days' => (
413 is => 'ro',
414 isa => HashRef,
415 init_arg => undef,
416 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
417 0 'gregorian' => {
418 'format' => {
419 abbreviated => {
420 mon => 'Kin',
421 tue => 'Dha',
422 wed => 'Tru',
423 thu => 'Spa',
424 fri => 'Rim',
425 sat => 'Mat',
426 sun => 'Emp'
427 },
428 wide => {
429 mon => 'tgKingal jiyax iyax sngayan',
430 tue => 'tgDha jiyax iyax sngayan',
431 wed => 'tgTru jiyax iyax sngayan',
432 thu => 'tgSpac jiyax iyax sngayan',
433 fri => 'tgRima jiyax iyax sngayan',
434 sat => 'tgMataru jiyax iyax sngayan',
435 sun => 'Jiyax sngayan'
436 },
437 },
438 'stand-alone' => {
439 narrow => {
440 mon => 'K',
441 tue => 'D',
442 wed => 'T',
443 thu => 'S',
444 fri => 'R',
445 sat => 'M',
446 sun => 'E'
447 },
448 },
449 },
450 } },
451 1 );
452
453 has 'calendar_quarters' => (
454 is => 'ro',
455 isa => HashRef,
456 init_arg => undef,
457 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
458 0 'gregorian' => {
459 'format' => {
460 abbreviated => {0 => 'mn1',
461 1 => 'mn2',
462 2 => 'mn3',
463 3 => 'mn4'
464 },
465 wide => {0 => 'mnprxan',
466 1 => 'mndha',
467 2 => 'mntru',
468 3 => 'mnspat'
469 },
470 },
471 },
472 } },
473 1 );
474
475 has 'day_periods' => (
476 is => 'ro',
477 isa => HashRef,
478 init_arg => undef,
479 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
480 0 'gregorian' => {
481 'format' => {
482 'wide' => {
483 'am' => q{Brax kndaax},
484 'pm' => q{Baubau kndaax},
485 },
486 },
487 },
488 } },
489 1 );
490
491 has 'eras' => (
492 is => 'ro',
493 isa => HashRef,
494 init_arg => undef,
495 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
496 0 'generic' => {
497 },
498 'gregorian' => {
499 abbreviated => {
500 '0' => 'BRY',
501 '1' => 'BUY'
502 },
503 wide => {
504 '0' => 'Brah jikan Yisu Thulang',
505 '1' => 'Bukuy jikan Yisu Thulang'
506 },
507 },
508 } },
509 1 );
510
511 has 'date_formats' => (
512 is => 'ro',
513 isa => HashRef,
514 init_arg => undef,
515 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
516 0 'generic' => {
517 'full' => q{EEEE, G y MMMM dd},
518 'long' => q{G y MMMM d},
519 'medium' => q{G y MMM d},
520 'short' => q{GGGGG y-MM-dd},
521 },
522 'gregorian' => {
523 'full' => q{EEEE, y MMMM dd},
524 'long' => q{y MMMM d},
525 'medium' => q{y MMM d},
526 'short' => q{y-MM-dd},
527 },
528 } },
529 1 );
530
531 has 'time_formats' => (
532 is => 'ro',
533 isa => HashRef,
534 init_arg => undef,
535 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
536 0 'generic' => {
537 },
538 'gregorian' => {
539 'full' => q{h:mm:ss a zzzz},
540 'long' => q{h:mm:ss a z},
541 'medium' => q{h:mm:ss a},
542 'short' => q{h:mm a},
543 },
544 } },
545 1 );
546
547 has 'datetime_formats' => (
548 is => 'ro',
549 isa => HashRef,
550 init_arg => undef,
551 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
552 0 'generic' => {
553 },
554 'gregorian' => {
555 },
556 } },
557 1 );
558
559 has 'datetime_formats_available_formats' => (
560 is => 'ro',
561 isa => HashRef,
562 init_arg => undef,
563 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
564 0 'generic' => {
565 Hm => q{H:mm},
566 MEd => q{E, M-d},
567 MMMEd => q{E MMM d},
568 MMMMEd => q{E MMMM d},
569 Md => q{M-d},
570 y => q{y},
571 yM => q{y-M},
572 yMEd => q{E, y-M-d},
573 yMMM => q{y MMM},
574 yMMMEd => q{E, y MMM d},
575 yMMMM => q{y MMMM},
576 yQ => q{y Q},
577 yQQQ => q{y QQQ},
578 },
579 'gregorian' => {
580 Hm => q{H:mm},
581 MEd => q{E, M-d},
582 MMMEd => q{E MMM d},
583 MMMMEd => q{E MMMM d},
584 Md => q{M-d},
585 yM => q{y-M},
586 yMEd => q{E, y-M-d},
587 yMMMEd => q{E, y MMM d},
588 yQ => q{y Q},
589 },
590 } },
591 1 );
592
593 has 'datetime_formats_append_item' => (
594 is => 'ro',
595 isa => HashRef,
596 init_arg => undef,
597 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
598 0 } },
599 1 );
600
601 has 'datetime_formats_interval' => (
602 is => 'ro',
603 isa => HashRef,
604 init_arg => undef,
605 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
606 0 } },
607 1 );
608
609 has 'time_zone_names' => (
610 is => 'ro',
611 isa => HashRef,
612 init_arg => undef,
613 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
614 0 gmtFormat => q(JQG{0}),
615 regionFormat => q(Jikan {0}),
616 'America/Anchorage' => {
617 exemplarCity => q#Jikan alang Ankriji#,
618 },
619 'America/Campo_Grande' => {
620 exemplarCity => q#Jikan alang Grad#,
621 },
622 'America/Chicago' => {
623 exemplarCity => q#Jikan alang Jiciak#,
624 },
625 'America/Denver' => {
626 exemplarCity => q#Jikan alang Tanbo#,
627 },
628 'America/Indianapolis' => {
629 exemplarCity => q#Jikan alang Intiannaporis#,
630 },
631 'America/Los_Angeles' => {
632 exemplarCity => q#Jikan alang Rosanci#,
633 },
634 'America/New_York' => {
635 exemplarCity => q#Jikan alang Niuyue#,
636 },
637 'America/Phoenix' => {
638 exemplarCity => q#Jikan alang Bonhuan#,
639 },
640 'America/Rio_Branco' => {
641 exemplarCity => q#Jikan alang Purank#,
642 },
643 'America/Sao_Paulo' => {
644 exemplarCity => q#Jikan alang Snpaurow#,
645 },
646 'America_Central' => {
647 long => {
648 'daylight' => q#Jikan Con-Amarika o Karat Rbagan#,
649 'generic' => q#Jikan Con-Amarika#,
650 'standard' => q#Snegun Jikan Con-Amarika#,
651 },
652 short => {
653 'daylight' => q#JCAKR#,
654 'generic' => q#JCA#,
655 'standard' => q#SJCA#,
656 },
657 },
658 'America_Eastern' => {
659 long => {
660 'daylight' => q#Jikan Ton-Amarika o Karat Rbagan#,
661 'generic' => q#Jikan Ton-Amarika#,
662 'standard' => q#Snegun Jikan Ton-Amarika#,
663 },
664 short => {
665 'daylight' => q#JTAKR#,
666 'generic' => q#JTA#,
667 'standard' => q#SJTA#,
668 },
669 },
670 'America_Mountain' => {
671 long => {
672 'daylight' => q#Jikan Hidaw niq Yama-Amarika#,
673 'generic' => q#Jikan Yama-Amarika#,
674 'standard' => q#Snegun Jikan Yama-Amarika#,
675 },
676 short => {
677 'daylight' => q#JHYA#,
678 'generic' => q#JYA#,
679 'standard' => q#SJYA#,
680 },
681 },
682 'America_Pacific' => {
683 long => {
684 'daylight' => q#Jikan Amarika-Daybinyan o Karat Rbagan#,
685 'generic' => q#Jikan Daybinyan#,
686 'standard' => q#Snegun Jikan Amarika-Daybinyan#,
687 },
688 short => {
689 'daylight' => q#JADKR#,
690 'generic' => q#JD#,
691 'standard' => q#SJAD#,
692 },
693 },
694 'Atlantic' => {
695 long => {
696 'daylight' => q#Jikan Yayun Tasiyan o Karat Rbagan#,
697 'generic' => q#Jikan Yayun Tasiyan#,
698 'standard' => q#Snegun Jikan Yayun Tasiyan#,
699 },
700 short => {
701 'daylight' => q#JYTKR#,
702 'generic' => q#JYT#,
703 'standard' => q#SJYT#,
704 },
705 },
706 'Etc/Unknown' => {
707 exemplarCity => q#Ini klayi ka Jikan hini#,
708 },
709 'Europe_Central' => {
710 long => {
711 'daylight' => q#Jikan Conow o Karat Rbagan#,
712 'generic' => q#Jikan Conow#,
713 'standard' => q#Snegun Jikan Conow#,
714 },
715 short => {
716 'daylight' => q#JCKR#,
717 'generic' => q#JC#,
718 'standard' => q#JC#,
719 },
720 },
721 'Europe_Eastern' => {
722 long => {
723 'daylight' => q#Jikan Tonow o Karat Rbagan#,
724 'generic' => q#Jikan Tonow#,
725 'standard' => q#Snegun Jikan Tonow#,
726 },
727 short => {
728 'daylight' => q#JTKR#,
729 'generic' => q#JT#,
730 'standard' => q#JT#,
731 },
732 },
733 'Europe_Western' => {
734 long => {
735 'daylight' => q#Jikan Siow o Karat Rbagan#,
736 'generic' => q#Jikan Siow#,
737 'standard' => q#Snegun Jikan Siow#,
738 },
739 short => {
740 'daylight' => q#JSKR#,
741 'generic' => q#JS#,
742 'standard' => q#JS#,
743 },
744 },
745 'GMT' => {
746 long => {
747 'standard' => q#Jikan Quri Grinweyji#,
748 },
749 short => {
750 'standard' => q#JQG#,
751 },
752 },
753 'Pacific/Honolulu' => {
754 exemplarCity => q#Jikan alang Honoruru#,
755 },
756 } }
757 1 );
758 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
759
760 1 1;
761
762 # vim: tabstop=4
↑ Summary Trv/Latn.pm »