Tn.pm

filter: Statementstmt 68.2% 58 / 85 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 34.3% 11 / 32 Podpod n/a totaltotal 56.9% 70 / 123 CC 3 SCAR 7.6
CC
3
Cov
65%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.1
↑ Summary Tn/Latn/Bw.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Tn - Package for language Tswana
6
7 =cut
8
9 package Locale::CLDR::Locales::Tn;
10 # This file auto generated from Data\common\main\tn.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 'af' => 'Seburu',
35 'am' => 'Amhariki',
36 'ar' => 'Arabic',
37 'az' => 'Azerbaijani',
38 'be' => 'Belarusian',
39 'bg' => 'Bulgarian',
40 'bn' => 'Bengali',
41 'bs' => 'SeBosnia',
42 'ca' => 'Catalan',
43 'cs' => 'Se Czeck',
44 'cy' => 'Welsh',
45 'da' => 'Danish',
46 'de' => 'German',
47 'el' => 'SeGerika',
48 'en' => 'Sekgoa',
49 'eo' => 'Esperanto',
50 'es' => 'Spanish',
51 'et' => 'Estonian',
52 'eu' => 'Basque',
53 'fa' => 'Mo/SePerishia',
54 'fi' => 'Se-Finland',
55 'fil' => 'Tagalog',
56 'fo' => 'Faroese',
57 'fr' => 'Se Fora',
58 'fy' => 'Frisian',
59 'ga' => 'Irish',
60 'gd' => 'Scots Gaelic',
61 'gl' => 'Galician',
62 'gu' => 'Gujarati',
63 'he' => 'Se heberu',
64 'hi' => 'Hindi',
65 'hr' => 'Croatian',
66 'hu' => 'Hungarian',
67 'ia' => 'Interlingua',
68 'id' => 'Indonesian',
69 'is' => 'Icelandic',
70 'it' => 'Se Italiano',
71 'ja' => 'Se Japan',
72 'jv' => 'Javanese',
73 'ka' => 'Mo/SeJojia',
74 'kn' => 'Kannada',
75 'ko' => 'Se Korea',
76 'la' => 'Latin',
77 'lt' => 'Lithuanian',
78 'lv' => 'Latvian',
79 'mk' => 'Macedonian',
80 'ml' => 'Malayalam',
81 'mr' => 'Marathi',
82 'ms' => 'Malay',
83 'mt' => 'Maltese',
84 'ne' => 'Nepali',
85 'nl' => 'Se Dutch',
86 'no' => 'Puo ya kwa Norway',
87 'oc' => 'Occitan',
88 'pa' => 'Punjabi',
89 'pl' => 'Se Poland',
90 'pt' => 'Se Potoketsi',
91 'ro' => 'Se Roma',
92 'ru' => 'Russian',
93 'sk' => 'Slovak',
94 'sl' => 'Slovenian',
95 'sq' => 'Albanian',
96 'sr' => 'Serbian',
97 'su' => 'Mo/SeSundane',
98 'sv' => 'Swedish',
99 'sw' => 'Swahili',
100 'ta' => 'Tamil',
101 'te' => 'Telugu',
102 'th' => 'Thai',
103 'ti' => 'Tigrinya',
104 'tlh' => 'Klingon',
105 'tn' => 'Setswana',
106 'tr' => 'Turkish',
107 'uk' => 'Ukrainian',
108 'ur' => 'Urdu',
109 'uz' => 'Uzbek',
110 'vi' => 'Vietnamese',
111 'xh' => 'IsiXhosa',
112 'zu' => 'IsiZulu',
113
114 );
115 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
116 0 return $languages{$_[0]};
117 }
118 0 return \%languages;
119 }
120 0 },
121 1 );
122
123 has 'display_name_script' => (
124 is => 'ro',
125 isa => CodeRef,
126 init_arg => undef,
127 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
128 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
129 0 my %scripts = (
130 'Latn' => 'Selatine',
131
132 );
133 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
134 0 return $scripts{$_[0]};
135 }
136 0 return \%scripts;
137 }
138 0 }
139 1 );
140
141 has 'display_name_region' => (
142 is => 'ro',
143 isa => HashRef[Str],
144 init_arg => undef,
145 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
146 {
147 0 'BW' => 'Botswana',
148 'ZA' => 'Aforika Borwa',
149
150 }
151 },
152 1 );
153
154 has 'characters' => (
155 is => 'ro',
156 isa => HashRef,
157 init_arg => undef,
158 default => $^V ge v5.18.0
159 ? eval <<'EOT'
160 sub {
161 no warnings 'experimental::regex_sets';
162 return {
163 auxiliary => qr{[c q v x z]},
164 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'],
165 main => qr{[a b d e ê f g h i j k l m n o ô p r s t u w y]},
166 punctuation => qr{[\- ‐‑ – — , ; \: ! ? . … '‘’ "“” ( ) \[ \] § @ * / \& # † ‡ ′ ″]},
167 };
168 },
169 EOT
170 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
171 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'], };
172 },
173 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
174
175
176 1 has 'quote_start' => (
177 is => 'ro',
178 isa => Str,
179 init_arg => undef,
180 default => qq{‘},
181 );
182
183 1 has 'quote_end' => (
184 is => 'ro',
185 isa => Str,
186 init_arg => undef,
187 default => qq{’},
188 );
189
190 1 has 'alternate_quote_start' => (
191 is => 'ro',
192 isa => Str,
193 init_arg => undef,
194 default => qq{“},
195 );
196
197 1 has 'alternate_quote_end' => (
198 is => 'ro',
199 isa => Str,
200 init_arg => undef,
201 default => qq{”},
202 );
203
204 has 'number_symbols' => (
205 is => 'ro',
206 isa => HashRef,
207 init_arg => undef,
208 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
209 0 'latn' => {
210 'group' => q(’),
211 },
212 } }
213 1 );
214
215 has 'number_currency_formats' => (
216 is => 'ro',
217 isa => HashRef,
218 init_arg => undef,
219 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
220 0 'latn' => {
221 'pattern' => {
222 'default' => {
223 'standard' => {
224 'positive' => '¤#,##0.00',
225 },
226 },
227 },
228 },
229 } },
230 1 );
231
232 has 'currencies' => (
233 is => 'ro',
234 isa => HashRef,
235 init_arg => undef,
236 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
237 0 'ZAR' => {
238 symbol => 'R',
239 },
240 } },
241 1 );
242
243
244 has 'calendar_months' => (
245 is => 'ro',
246 isa => HashRef,
247 init_arg => undef,
248 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
249 0 'gregorian' => {
250 'format' => {
251 abbreviated => {
252 nonleap => [
253 'Fer',
254 'Tlh',
255 'Mop',
256 'Mor',
257 'Mot',
258 'See',
259 'Phu',
260 'Pha',
261 'Lwe',
262 'Dip',
263 'Ngw',
264 'Sed'
265 ],
266 leap => [
267
268 ],
269 },
270 wide => {
271 nonleap => [
272 'Ferikgong',
273 'Tlhakole',
274 'Mopitlo',
275 'Moranang',
276 'Motsheganang',
277 'Seetebosigo',
278 'Phukwi',
279 'Phatwe',
280 'Lwetse',
281 'Diphalane',
282 'Ngwanatsele',
283 'Sedimonthole'
284 ],
285 leap => [
286
287 ],
288 },
289 },
290 },
291 } },
292 1 );
293
294 has 'calendar_days' => (
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 'format' => {
301 abbreviated => {
302 mon => 'Mos',
303 tue => 'Labb',
304 wed => 'Labr',
305 thu => 'Labn',
306 fri => 'Labt',
307 sat => 'Mat',
308 sun => 'Tsh'
309 },
310 wide => {
311 mon => 'Mosupologo',
312 tue => 'Labobedi',
313 wed => 'Laboraro',
314 thu => 'Labone',
315 fri => 'Labotlhano',
316 sat => 'Matlhatso',
317 sun => 'Tshipi'
318 },
319 },
320 },
321 } },
322 1 );
323
324 has 'calendar_quarters' => (
325 is => 'ro',
326 isa => HashRef,
327 init_arg => undef,
328 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
329 0 'gregorian' => {
330 'format' => {
331 abbreviated => {0 => 'Q1',
332 1 => 'Q2',
333 2 => 'Q3',
334 3 => 'Q4'
335 },
336 wide => {0 => 'Sephatlho sa ntlha sa ngwaga',
337 1 => 'Sephatlho sa bobedi',
338 2 => 'Sephatlho sa boraro',
339 3 => 'Sephatlho sa bone'
340 },
341 },
342 },
343 } },
344 1 );
345
346 has 'day_periods' => (
347 is => 'ro',
348 isa => HashRef,
349 init_arg => undef,
350 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
351 0 'gregorian' => {
352 'format' => {
353 'narrow' => {
354 'am' => q{a},
355 'pm' => q{p},
356 },
357 },
358 },
359 } },
360 1 );
361
362 has 'eras' => (
363 is => 'ro',
364 isa => HashRef,
365 init_arg => undef,
366 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
367 0 'gregorian' => {
368 abbreviated => {
369 '0' => 'BC',
370 '1' => 'AD'
371 },
372 wide => {
373 '0' => 'Pele ga tsalo ya Morena Jeso',
374 '1' => 'Morago ga Leso la Morena Jeso'
375 },
376 },
377 } },
378 1 );
379
380 has 'date_formats' => (
381 is => 'ro',
382 isa => HashRef,
383 init_arg => undef,
384 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
385 0 'gregorian' => {
386 },
387 } },
388 1 );
389
390 has 'time_formats' => (
391 is => 'ro',
392 isa => HashRef,
393 init_arg => undef,
394 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
395 0 'gregorian' => {
396 'full' => q{HH:mm:ss zzzz},
397 'long' => q{HH:mm:ss z},
398 'medium' => q{HH:mm:ss},
399 'short' => q{HH:mm},
400 },
401 } },
402 1 );
403
404 has 'datetime_formats' => (
405 is => 'ro',
406 isa => HashRef,
407 init_arg => undef,
408 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
409 0 'gregorian' => {
410 'full' => q{{1} 'ka' {0}},
411 'long' => q{{1} 'ka' {0}},
412 'medium' => q{{1}, {0}},
413 'short' => q{{1}, {0}},
414 },
415 } },
416 1 );
417
418 has 'datetime_formats_available_formats' => (
419 is => 'ro',
420 isa => HashRef,
421 init_arg => undef,
422 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
423 0 'gregorian' => {
424 Ehm => q{E h:mm a},
425 Ehms => q{E h:mm:ss a},
426 MMMMW => q{'beke' 'ya' W 'ya' MMM},
427 h => q{h a},
428 hm => q{h:mm a},
429 hms => q{h:mm:ss a},
430 hmsv => q{h:mm:ss a v},
431 hmv => q{h:mm a v},
432 yw => q{'beke' w 'ya' Y},
433 },
434 } },
435 1 );
436
437 has 'datetime_formats_append_item' => (
438 is => 'ro',
439 isa => HashRef,
440 init_arg => undef,
441 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
442 0 } },
443 1 );
444
445 has 'datetime_formats_interval' => (
446 is => 'ro',
447 isa => HashRef,
448 init_arg => undef,
449 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
450 0 'gregorian' => {
451 MEd => {
452 M => q{MM-dd, E – MM-dd, E},
453 d => q{MM-dd, E – MM-dd, E},
454 },
455 MMMEd => {
456 M => q{MMM d, E – MMM d, E},
457 d => q{MMM d, E – MMM d, E},
458 },
459 MMMd => {
460 M => q{MMM d – MMM d},
461 },
462 Md => {
463 M => q{MM-dd – MM-dd},
464 d => q{MM-dd – MM-dd},
465 },
466 h => {
467 a => q{h a – h a},
468 h => q{h–h a},
469 },
470 hm => {
471 a => q{h:mm a – h:mm a},
472 h => q{h:mm–h:mm a},
473 m => q{h:mm–h:mm a},
474 },
475 hmv => {
476 a => q{h:mm a – h:mm a v},
477 h => q{h:mm–h:mm a v},
478 m => q{h:mm–h:mm a v},
479 },
480 hv => {
481 a => q{h a – h a v},
482 h => q{h–h a v},
483 },
484 yM => {
485 M => q{y-MM – y-MM},
486 y => q{y-MM – y-MM},
487 },
488 yMEd => {
489 M => q{y-MM-dd, E – y-MM-dd, E},
490 d => q{y-MM-dd, E – y-MM-dd, E},
491 y => q{y-MM-dd, E – y-MM-dd, E},
492 },
493 yMMM => {
494 y => q{y MMM – y MMM},
495 },
496 yMMMEd => {
497 M => q{y MMM d, E – MMM d, E},
498 d => q{y MMM d, E – MMM d, E},
499 y => q{y MMM d, E – y MMM d, E},
500 },
501 yMMMM => {
502 y => q{y MMMM – y MMMM},
503 },
504 yMMMd => {
505 M => q{y MMM d – MMM d},
506 y => q{y MMM d – y MMM d},
507 },
508 yMd => {
509 M => q{y-MM-dd – y-MM-dd},
510 d => q{y-MM-dd – y-MM-dd},
511 y => q{y-MM-dd – y-MM-dd},
512 },
513 },
514 } },
515 1 );
516
517 has 'time_zone_names' => (
518 is => 'ro',
519 isa => HashRef,
520 init_arg => undef,
521 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
522 0 'GMT' => {
523 long => {
524 'standard' => q#Palogare ya nako ya ngwaga le ngwaga ya Greenwich#,
525 },
526 },
527 } }
528 1 );
529 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
530
531 1 1;
532
533 # vim: tabstop=4
↑ Summary Tn/Latn/Bw.pm »