St.pm

filter: Statementstmt 68.2% 56 / 82 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 35.4% 11 / 31 Podpod n/a totaltotal 57.1% 68 / 119 CC 3 SCAR 7.7
CC
3
Cov
65%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary St/Latn/Ls.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::St - Package for language Southern Sotho
6
7 =cut
8
9 package Locale::CLDR::Locales::St;
10 # This file auto generated from Data\common\main\st.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' => 'Se-amhari',
36 'ar' => 'Se-arab',
37 'az' => 'Se-azerbaijani',
38 'be' => 'Se-belarusia',
39 'bg' => 'Se-bulgaria',
40 'bn' => 'Se-bengali',
41 'br' => 'Breton',
42 'bs' => 'Se-bosnia',
43 'ca' => 'Se-catalia',
44 'cs' => 'Se-czech',
45 'cy' => 'Se-welsh',
46 'da' => 'Se-dutch',
47 'de' => 'Se-jeremane',
48 'el' => 'Se-greek',
49 'en' => 'Senyesemane',
50 'eo' => 'Se-esperanto',
51 'es' => 'Sespain',
52 'et' => 'Se-estonia',
53 'eu' => 'Se-basque',
54 'fa' => 'Se-persia',
55 'fi' => 'Se-finnish',
56 'fil' => 'Se-tagalog',
57 'fo' => 'Se-foroese',
58 'fr' => 'Se-french',
59 'fy' => 'Se-frisia',
60 'ga' => 'Se-irish',
61 'gd' => 'Se-scots gaelic',
62 'gl' => 'Se-galicia',
63 'gn' => 'Guarani',
64 'gu' => 'Se-gujarati',
65 'he' => 'Se-hebrew',
66 'hi' => 'Se-hindi',
67 'hr' => 'Se-croatia',
68 'hu' => 'Se-hungaria',
69 'ia' => 'Se-interlingua',
70 'id' => 'Se-indonesia',
71 'is' => 'Se-iceland',
72 'it' => 'Se-tariana',
73 'ja' => 'Se-japane',
74 'jv' => 'Se-javane',
75 'ka' => 'Se-geogia',
76 'kn' => 'Se-kannada',
77 'ko' => 'Se-korea',
78 'ku' => 'Kurdish',
79 'ky' => 'Kyrgyz',
80 'la' => 'Se-latino',
81 'lt' => 'Se-Lithuano',
82 'mk' => 'Se-masedonia',
83 'ml' => 'Se-malayalam',
84 'mr' => 'Se-marathi',
85 'ms' => 'Se-malay',
86 'mt' => 'Se-maltese',
87 'ne' => 'Se-nepali',
88 'nl' => 'Dutch',
89 'nn' => 'Se-norway (Nynorsk)',
90 'no' => 'Se-norway',
91 'oc' => 'Se-occitan',
92 'or' => 'Oriya',
93 'pa' => 'Se-punjabi',
94 'pl' => 'Se-polish',
95 'ps' => 'Pashto',
96 'pt' => 'Se-portugal',
97 'pt_BR' => 'Seputukesi (sa Brazil)',
98 'pt_PT' => 'Se-portugal (Portugal)',
99 'ro' => 'Se-romania',
100 'ru' => 'Se-rushia',
101 'sh' => 'Serbo-Croatian',
102 'si' => 'Se-sinhali',
103 'sk' => 'Se-slovak',
104 'sl' => 'Se-slovania',
105 'sq' => 'Se-albanian',
106 'sr' => 'Se-serbian',
107 'st' => 'Sesotho',
108 'su' => 'Se-sundanese',
109 'sv' => 'Se-sweden',
110 'sw' => 'Se-swahili',
111 'ta' => 'Se-tamil',
112 'te' => 'Se-telegu',
113 'th' => 'Se-thai',
114 'ti' => 'Se-tigrinya',
115 'tk' => 'Turkmen',
116 'tlh' => 'Se-klingon',
117 'tr' => 'Se-theki',
118 'tw' => 'Twi',
119 'uk' => 'Se-ukrania',
120 'ur' => 'Se-urdu',
121 'uz' => 'Se-uzbek',
122 'vi' => 'Se-vietnam',
123 'xh' => 'se Xhosa',
124 'yi' => 'Yiddish',
125 'zu' => 'se Zulu',
126
127 );
128 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
129 0 return $languages{$_[0]};
130 }
131 0 return \%languages;
132 }
133 0 },
134 1 );
135
136 has 'display_name_script' => (
137 is => 'ro',
138 isa => CodeRef,
139 init_arg => undef,
140 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
141 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
142 0 my %scripts = (
143 'Latn' => 'Selatine',
144
145 );
146 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
147 0 return $scripts{$_[0]};
148 }
149 0 return \%scripts;
150 }
151 0 }
152 1 );
153
154 has 'display_name_region' => (
155 is => 'ro',
156 isa => HashRef[Str],
157 init_arg => undef,
158 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
159 {
160 0 'LS' => 'Lesotho',
161 'ZA' => 'Afrika Borwa',
162
163 }
164 },
165 1 );
166
167 has 'display_name_code_patterns' => (
168 is => 'ro',
169 isa => HashRef[Str],
170 init_arg => undef,
171 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
172 {
173 0 'language' => 'Puo: {0}',
174 'script' => 'Skripte: {0}',
175 'region' => 'Tikoloho: {0}',
176
177 }
178 },
179 1 );
180
181 has 'characters' => (
182 is => 'ro',
183 isa => HashRef,
184 init_arg => undef,
185 default => $^V ge v5.18.0
186 ? eval <<'EOT'
187 sub {
188 no warnings 'experimental::regex_sets';
189 return {
190 auxiliary => qr{[c v x z]},
191 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'],
192 main => qr{[a b d e f g h i j k l m n o p q r s t u w y]},
193 punctuation => qr{[\- ‐‑ – — , ; \: ! ? . … '‘’ "“” ( ) \[ \] § @ * / \& # † ‡ ′ ″]},
194 };
195 },
196 EOT
197 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
198 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'], };
199 },
200 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
201
202
203 1 has 'quote_end' => (
204 is => 'ro',
205 isa => Str,
206 init_arg => undef,
207 default => qq{’},
208 );
209
210 1 has 'alternate_quote_start' => (
211 is => 'ro',
212 isa => Str,
213 init_arg => undef,
214 default => qq{“},
215 );
216
217 1 has 'alternate_quote_end' => (
218 is => 'ro',
219 isa => Str,
220 init_arg => undef,
221 default => qq{”},
222 );
223
224 has 'number_currency_formats' => (
225 is => 'ro',
226 isa => HashRef,
227 init_arg => undef,
228 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
229 0 'latn' => {
230 'pattern' => {
231 'default' => {
232 'standard' => {
233 'positive' => '¤#,##0.00',
234 },
235 },
236 },
237 },
238 } },
239 1 );
240
241 has 'currencies' => (
242 is => 'ro',
243 isa => HashRef,
244 init_arg => undef,
245 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
246 0 'ZAR' => {
247 symbol => 'R',
248 },
249 } },
250 1 );
251
252
253 has 'calendar_months' => (
254 is => 'ro',
255 isa => HashRef,
256 init_arg => undef,
257 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
258 0 'gregorian' => {
259 'format' => {
260 abbreviated => {
261 nonleap => [
262 'Phe',
263 'Kol',
264 'Ube',
265 'Mme',
266 'Mot',
267 'Jan',
268 'Upu',
269 'Pha',
270 'Leo',
271 'Mph',
272 'Pun',
273 'Tsh'
274 ],
275 leap => [
276
277 ],
278 },
279 wide => {
280 nonleap => [
281 'Pherekgong',
282 'Hlakola',
283 'Hlakubele',
284 'Mmesa',
285 'Motsheanong',
286 'Phupjane',
287 'Phupu',
288 'Phato',
289 'Lwetse',
290 'Mphalane',
291 'Pudungwana',
292 'Tshitwe'
293 ],
294 leap => [
295
296 ],
297 },
298 },
299 },
300 } },
301 1 );
302
303 has 'calendar_days' => (
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 abbreviated => {
311 mon => 'Mma',
312 tue => 'Bed',
313 wed => 'Rar',
314 thu => 'Ne',
315 fri => 'Hla',
316 sat => 'Moq',
317 sun => 'Son'
318 },
319 wide => {
320 mon => 'Mantaha',
321 tue => 'Labobedi',
322 wed => 'Laboraro',
323 thu => 'Labone',
324 fri => 'Labohlano',
325 sat => 'Moqebelo',
326 sun => 'Sontaha'
327 },
328 },
329 },
330 } },
331 1 );
332
333 has 'day_periods' => (
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 'gregorian' => {
339 'format' => {
340 'wide' => {
341 'am' => q{Hoseng},
342 'pm' => q{Thapama},
343 },
344 },
345 },
346 } },
347 1 );
348
349 has 'eras' => (
350 is => 'ro',
351 isa => HashRef,
352 init_arg => undef,
353 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
354 0 'gregorian' => {
355 },
356 } },
357 1 );
358
359 has 'date_formats' => (
360 is => 'ro',
361 isa => HashRef,
362 init_arg => undef,
363 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
364 0 'gregorian' => {
365 },
366 } },
367 1 );
368
369 has 'time_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 'gregorian' => {
375 },
376 } },
377 1 );
378
379 has 'datetime_formats' => (
380 is => 'ro',
381 isa => HashRef,
382 init_arg => undef,
383 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
384 0 'gregorian' => {
385 },
386 } },
387 1 );
388
389 has 'datetime_formats_available_formats' => (
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 'gregorian' => {
395 Ehm => q{E h:mm a},
396 Ehms => q{E h:mm:ss a},
397 MMMMW => q{'week' W 'of' MMM},
398 h => q{h a},
399 hm => q{h:mm a},
400 hms => q{h:mm:ss a},
401 hmsv => q{h:mm:ss a v},
402 hmv => q{h:mm a v},
403 },
404 } },
405 1 );
406
407 has 'datetime_formats_append_item' => (
408 is => 'ro',
409 isa => HashRef,
410 init_arg => undef,
411 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
412 0 } },
413 1 );
414
415 has 'datetime_formats_interval' => (
416 is => 'ro',
417 isa => HashRef,
418 init_arg => undef,
419 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
420 0 'gregorian' => {
421 MEd => {
422 M => q{MM-dd, E – MM-dd, E},
423 d => q{MM-dd, E – MM-dd, E},
424 },
425 MMMEd => {
426 M => q{MMM d, E – MMM d, E},
427 d => q{MMM d, E – MMM d, E},
428 },
429 MMMd => {
430 M => q{MMM d – MMM d},
431 },
432 Md => {
433 M => q{MM-dd – MM-dd},
434 d => q{MM-dd – MM-dd},
435 },
436 h => {
437 a => q{h a – h a},
438 h => q{h–h a},
439 },
440 hm => {
441 a => q{h:mm a – h:mm a},
442 h => q{h:mm–h:mm a},
443 m => q{h:mm–h:mm a},
444 },
445 hmv => {
446 a => q{h:mm a – h:mm a v},
447 h => q{h:mm–h:mm a v},
448 m => q{h:mm–h:mm a v},
449 },
450 hv => {
451 a => q{h a – h a v},
452 h => q{h–h a v},
453 },
454 yM => {
455 M => q{y-MM – y-MM},
456 y => q{y-MM – y-MM},
457 },
458 yMEd => {
459 M => q{y-MM-dd, E – y-MM-dd, E},
460 d => q{y-MM-dd, E – y-MM-dd, E},
461 y => q{y-MM-dd, E – y-MM-dd, E},
462 },
463 yMMM => {
464 y => q{y MMM – y MMM},
465 },
466 yMMMEd => {
467 M => q{y MMM d, E – MMM d, E},
468 d => q{y MMM d, E – MMM d, E},
469 y => q{y MMM d, E – y MMM d, E},
470 },
471 yMMMM => {
472 y => q{y MMMM – y MMMM},
473 },
474 yMMMd => {
475 M => q{y MMM d – MMM d},
476 y => q{y MMM d – y MMM d},
477 },
478 yMd => {
479 M => q{y-MM-dd – y-MM-dd},
480 d => q{y-MM-dd – y-MM-dd},
481 y => q{y-MM-dd – y-MM-dd},
482 },
483 },
484 } },
485 1 );
486
487 has 'time_zone_names' => (
488 is => 'ro',
489 isa => HashRef,
490 init_arg => undef,
491 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
492 0 regionFormat => q({0} Nako),
493 regionFormat => q({0} Nako ya Motshehare),
494 regionFormat => q({0} Nako ya Tlwaelo),
495 'GMT' => {
496 long => {
497 'standard' => q#Greenwich Mean Time#,
498 },
499 },
500 } }
501 1 );
502 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
503
504 1 1;
505
506 # vim: tabstop=4
↑ Summary St/Latn/Ls.pm »