Nso.pm

filter: Statementstmt 67.4% 60 / 89 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 32.3% 11 / 34 Podpod n/a totaltotal 55.8% 72 / 129 CC 3 SCAR 7.6
CC
3
Cov
64%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.1
↑ Summary Nso/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Nso - Package for language Northern Sotho
6
7 =cut
8
9 package Locale::CLDR::Locales::Nso;
10 # This file auto generated from Data\common\main\nso.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' => 'Seisimane',
35 'nso' => 'Sesotho sa Leboa',
36
37 );
38 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
39 0 return $languages{$_[0]};
40 }
41 0 return \%languages;
42 }
43 0 },
44 1 );
45
46 has 'display_name_script' => (
47 is => 'ro',
48 isa => CodeRef,
49 init_arg => undef,
50 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
51 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
52 0 my %scripts = (
53 'Latn' => 'SeLatina',
54
55 );
56 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
57 0 return $scripts{$_[0]};
58 }
59 0 return \%scripts;
60 }
61 0 }
62 1 );
63
64 has 'display_name_region' => (
65 is => 'ro',
66 isa => HashRef[Str],
67 init_arg => undef,
68 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
69 {
70 0 'ZA' => 'Afrika Borwa',
71
72 }
73 },
74 1 );
75
76 has 'display_name_measurement_system' => (
77 is => 'ro',
78 isa => HashRef[Str],
79 init_arg => undef,
80 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
81 {
82 0 'metric' => q{Metriki},
83
84 }
85 },
86 1 );
87
88 has 'display_name_code_patterns' => (
89 is => 'ro',
90 isa => HashRef[Str],
91 init_arg => undef,
92 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
93 {
94 0 'language' => 'Polelo: {0}',
95 'script' => 'Mongwalo: {0}',
96 'region' => 'Tikologo: {0}',
97
98 }
99 },
100 1 );
101
102 has 'characters' => (
103 is => 'ro',
104 isa => HashRef,
105 init_arg => undef,
106 default => $^V ge v5.18.0
107 ? eval <<'EOT'
108 sub {
109 no warnings 'experimental::regex_sets';
110 return {
111 auxiliary => qr{[c q v z]},
112 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'],
113 main => qr{[a b d e ê f g h i j k l m n o ô p r s š t u w x y]},
114 };
115 },
116 EOT
117 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
118 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'], };
119 },
120 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
121
122
123 1 has 'quote_start' => (
124 is => 'ro',
125 isa => Str,
126 init_arg => undef,
127 default => qq{‘},
128 );
129
130 1 has 'quote_end' => (
131 is => 'ro',
132 isa => Str,
133 init_arg => undef,
134 default => qq{’},
135 );
136
137 1 has 'alternate_quote_start' => (
138 is => 'ro',
139 isa => Str,
140 init_arg => undef,
141 default => qq{“},
142 );
143
144 1 has 'alternate_quote_end' => (
145 is => 'ro',
146 isa => Str,
147 init_arg => undef,
148 default => qq{”},
149 );
150
151 has 'number_symbols' => (
152 is => 'ro',
153 isa => HashRef,
154 init_arg => undef,
155 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
156 0 'latn' => {
157 'group' => q( ),
158 },
159 } }
160 1 );
161
162 has 'number_currency_formats' => (
163 is => 'ro',
164 isa => HashRef,
165 init_arg => undef,
166 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
167 0 'latn' => {
168 'pattern' => {
169 'default' => {
170 'accounting' => {
171 'positive' => '¤#,##0.00',
172 },
173 },
174 },
175 },
176 } },
177 1 );
178
179 has 'currencies' => (
180 is => 'ro',
181 isa => HashRef,
182 init_arg => undef,
183 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
184 0 'ZAR' => {
185 symbol => 'R',
186 },
187 } },
188 1 );
189
190
191 has 'calendar_months' => (
192 is => 'ro',
193 isa => HashRef,
194 init_arg => undef,
195 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
196 0 'gregorian' => {
197 'format' => {
198 abbreviated => {
199 nonleap => [
200 'Phere',
201 'Dibo',
202 'Hlak',
203 'Mora',
204 'Mei',
205 'June',
206 'Mose',
207 'Agosetose',
208 'Lewe',
209 'Dipha',
210 'Diba',
211 'Manth'
212 ],
213 leap => [
214
215 ],
216 },
217 wide => {
218 nonleap => [
219 'Janeware',
220 'Febereware',
221 'Matšhe',
222 'Aporele',
223 'Mei',
224 'June',
225 'Julae',
226 'Agosetose',
227 'Setemere',
228 'Oktobore',
229 'Nofemere',
230 'Disemere'
231 ],
232 leap => [
233
234 ],
235 },
236 },
237 'stand-alone' => {
238 narrow => {
239 nonleap => [
240 'P',
241 'D',
242 'H',
243 'M',
244 'M',
245 'P',
246 'M',
247 'P',
248 'L',
249 'D',
250 'D',
251 'M'
252 ],
253 leap => [
254
255 ],
256 },
257 },
258 },
259 } },
260 1 );
261
262 has 'calendar_days' => (
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 'gregorian' => {
268 'format' => {
269 abbreviated => {
270 mon => 'Mos',
271 tue => 'Bed',
272 wed => 'Rar',
273 thu => 'Ne',
274 fri => 'Hla',
275 sat => 'Mok',
276 sun => 'Lam'
277 },
278 wide => {
279 mon => 'Mošupologo',
280 tue => 'Labobedi',
281 wed => 'Laboraro',
282 thu => 'Labone',
283 fri => 'Labohlano',
284 sat => 'Mokibelo',
285 sun => 'Lamorena'
286 },
287 },
288 'stand-alone' => {
289 narrow => {
290 mon => 'M',
291 tue => 'B',
292 wed => 'R',
293 thu => 'N',
294 fri => 'H',
295 sat => 'M',
296 sun => 'L'
297 },
298 },
299 },
300 } },
301 1 );
302
303 has 'calendar_quarters' => (
304 is => 'ro',
305 isa => HashRef,
306 init_arg => undef,
307 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
308 0 'gregorian' => {
309 'format' => {
310 wide => {0 => '1st Kotara',
311 1 => '2nd Kotara',
312 2 => '3rd Kotara',
313 3 => '4th Kotara'
314 },
315 },
316 },
317 } },
318 1 );
319
320 has 'day_periods' => (
321 is => 'ro',
322 isa => HashRef,
323 init_arg => undef,
324 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
325 0 'gregorian' => {
326 'format' => {
327 'narrow' => {
328 'am' => q{a},
329 'pm' => q{p},
330 },
331 },
332 },
333 } },
334 1 );
335
336 has 'eras' => (
337 is => 'ro',
338 isa => HashRef,
339 init_arg => undef,
340 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
341 0 'gregorian' => {
342 abbreviated => {
343 '0' => 'BC',
344 '1' => 'AD'
345 },
346 wide => {
347 '0' => 'Before Christ',
348 '1' => 'Anno Domini'
349 },
350 },
351 } },
352 1 );
353
354 has 'date_formats' => (
355 is => 'ro',
356 isa => HashRef,
357 init_arg => undef,
358 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
359 0 'gregorian' => {
360 'full' => q{y MMMM d, EEEE},
361 'long' => q{y MMMM d},
362 'medium' => q{y MMM d},
363 'short' => q{y-MM-dd},
364 },
365 } },
366 1 );
367
368 has 'time_formats' => (
369 is => 'ro',
370 isa => HashRef,
371 init_arg => undef,
372 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
373 0 'gregorian' => {
374 'full' => q{HH:mm:ss zzzz},
375 'medium' => q{HH:mm:ss},
376 'short' => q{HH:mm},
377 },
378 } },
379 1 );
380
381 has 'datetime_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 'gregorian' => {
387 'full' => q{{1} 'ka' {0}},
388 'long' => q{{1} 'ka' {0}},
389 'medium' => q{{1}, {0}},
390 'short' => q{{1}, {0}},
391 },
392 } },
393 1 );
394
395 has 'datetime_formats_available_formats' => (
396 is => 'ro',
397 isa => HashRef,
398 init_arg => undef,
399 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
400 0 'gregorian' => {
401 Ehm => q{E h:mm a},
402 Ehms => q{E h:mm:ss a},
403 MMMMW => q{'beke' 'ya' 'bo' W 'ya' MMM},
404 h => q{h a},
405 hm => q{h:mm a},
406 hms => q{h:mm:ss a},
407 hmsv => q{h:mm:ss a v},
408 hmv => q{h:mm a v},
409 yw => q{'beke' 'ya' 'bo' w 'ya' Y},
410 },
411 } },
412 1 );
413
414 has 'datetime_formats_append_item' => (
415 is => 'ro',
416 isa => HashRef,
417 init_arg => undef,
418 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
419 0 } },
420 1 );
421
422 has 'datetime_formats_interval' => (
423 is => 'ro',
424 isa => HashRef,
425 init_arg => undef,
426 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
427 0 'gregorian' => {
428 MEd => {
429 M => q{MM-dd, E – MM-dd, E},
430 d => q{MM-dd, E – MM-dd, E},
431 },
432 MMMEd => {
433 M => q{MMM d, E – MMM d, E},
434 d => q{MMM d, E – MMM d, E},
435 },
436 MMMd => {
437 M => q{MMM d – MMM d},
438 },
439 Md => {
440 M => q{MM-dd – MM-dd},
441 d => q{MM-dd – MM-dd},
442 },
443 h => {
444 a => q{h a – h a},
445 h => q{h–h a},
446 },
447 hm => {
448 a => q{h:mm a – h:mm a},
449 h => q{h:mm–h:mm a},
450 m => q{h:mm–h:mm a},
451 },
452 hmv => {
453 a => q{h:mm a – h:mm a v},
454 h => q{h:mm–h:mm a v},
455 m => q{h:mm–h:mm a v},
456 },
457 hv => {
458 a => q{h a – h a v},
459 h => q{h–h a v},
460 },
461 yM => {
462 M => q{y-MM – y-MM},
463 y => q{y-MM – y-MM},
464 },
465 yMEd => {
466 M => q{y-MM-dd, E – y-MM-dd, E},
467 d => q{y-MM-dd, E – y-MM-dd, E},
468 y => q{y-MM-dd, E – y-MM-dd, E},
469 },
470 yMMM => {
471 y => q{y MMM – y MMM},
472 },
473 yMMMEd => {
474 M => q{y MMM d, E – MMM d, E},
475 d => q{y MMM d, E – MMM d, E},
476 y => q{y MMM d, E – y MMM d, E},
477 },
478 yMMMM => {
479 y => q{y MMMM – y MMMM},
480 },
481 yMMMd => {
482 M => q{y MMM d – MMM d},
483 y => q{y MMM d – y MMM d},
484 },
485 yMd => {
486 M => q{y-MM-dd – y-MM-dd},
487 d => q{y-MM-dd – y-MM-dd},
488 y => q{y-MM-dd – y-MM-dd},
489 },
490 },
491 } },
492 1 );
493
494 has 'time_zone_names' => (
495 is => 'ro',
496 isa => HashRef,
497 init_arg => undef,
498 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
499 0 'GMT' => {
500 long => {
501 'standard' => q#Nako Palogare ya Greenwich#,
502 },
503 },
504 } }
505 1 );
506 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
507
508 1 1;
509
510 # vim: tabstop=4
↑ Summary Nso/Latn.pm »