File Coverage

blib/lib/Locale/CLDR/Locales/Nso.pm
Criterion Covered Total %
statement 32 32 100.0
branch n/a
condition n/a
subroutine 11 11 100.0
pod n/a
total 43 43 100.0


line stmt bran cond sub pod time code
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     1   1374390 use strict;
  1         3  
  1         33  
14 1     1   4 use warnings;
  1         5  
  1         42  
15 1     1   5 use version;
  1         1  
  1         6  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   91 use v5.12.0;
  1         3  
20 1     1   4 use mro 'c3';
  1         2  
  1         6  
21 1     1   19 use utf8;
  1         2  
  1         6  
22 1     1   39 use feature 'unicode_strings';
  1         2  
  1         147  
23 1     1   5 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         9  
24 1     1   1778 use Moo;
  1         18  
  1         7  
25              
26             extends('Locale::CLDR::Locales::Root');
27             has 'display_name_language' => (
28             is => 'ro',
29             isa => CodeRef,
30             init_arg => undef,
31             default => sub {
32             sub {
33             my %languages = (
34             'en' => 'Seisimane',
35             'nso' => 'Sesotho sa Leboa',
36              
37             );
38             if (@_) {
39             return $languages{$_[0]};
40             }
41             return \%languages;
42             }
43             },
44             );
45              
46             has 'display_name_script' => (
47             is => 'ro',
48             isa => CodeRef,
49             init_arg => undef,
50             default => sub {
51             sub {
52             my %scripts = (
53             'Latn' => 'SeLatina',
54              
55             );
56             if ( @_ ) {
57             return $scripts{$_[0]};
58             }
59             return \%scripts;
60             }
61             }
62             );
63              
64             has 'display_name_region' => (
65             is => 'ro',
66             isa => HashRef[Str],
67             init_arg => undef,
68             default => sub {
69             {
70             'ZA' => 'Afrika Borwa',
71              
72             }
73             },
74             );
75              
76             has 'display_name_measurement_system' => (
77             is => 'ro',
78             isa => HashRef[Str],
79             init_arg => undef,
80             default => sub {
81             {
82             'metric' => q{Metriki},
83              
84             }
85             },
86             );
87              
88             has 'display_name_code_patterns' => (
89             is => 'ro',
90             isa => HashRef[Str],
91             init_arg => undef,
92             default => sub {
93             {
94             'language' => 'Polelo: {0}',
95             'script' => 'Mongwalo: {0}',
96             'region' => 'Tikologo: {0}',
97              
98             }
99             },
100             );
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             : sub {
118             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     1   142 );
  1         1  
  1         171  
121              
122              
123             has 'quote_start' => (
124             is => 'ro',
125             isa => Str,
126             init_arg => undef,
127             default => qq{‘},
128             );
129              
130             has 'quote_end' => (
131             is => 'ro',
132             isa => Str,
133             init_arg => undef,
134             default => qq{’},
135             );
136              
137             has 'alternate_quote_start' => (
138             is => 'ro',
139             isa => Str,
140             init_arg => undef,
141             default => qq{“},
142             );
143              
144             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             default => sub { {
156             'latn' => {
157             'group' => q( ),
158             },
159             } }
160             );
161              
162             has 'number_currency_formats' => (
163             is => 'ro',
164             isa => HashRef,
165             init_arg => undef,
166             default => sub { {
167             'latn' => {
168             'pattern' => {
169             'default' => {
170             'accounting' => {
171             'positive' => '¤#,##0.00',
172             },
173             },
174             },
175             },
176             } },
177             );
178              
179             has 'currencies' => (
180             is => 'ro',
181             isa => HashRef,
182             init_arg => undef,
183             default => sub { {
184             'ZAR' => {
185             symbol => 'R',
186             },
187             } },
188             );
189              
190              
191             has 'calendar_months' => (
192             is => 'ro',
193             isa => HashRef,
194             init_arg => undef,
195             default => sub { {
196             '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             );
261              
262             has 'calendar_days' => (
263             is => 'ro',
264             isa => HashRef,
265             init_arg => undef,
266             default => sub { {
267             '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             );
302              
303             has 'calendar_quarters' => (
304             is => 'ro',
305             isa => HashRef,
306             init_arg => undef,
307             default => sub { {
308             '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             );
319              
320             has 'day_periods' => (
321             is => 'ro',
322             isa => HashRef,
323             init_arg => undef,
324             default => sub { {
325             'gregorian' => {
326             'format' => {
327             'narrow' => {
328             'am' => q{a},
329             'pm' => q{p},
330             },
331             },
332             },
333             } },
334             );
335              
336             has 'eras' => (
337             is => 'ro',
338             isa => HashRef,
339             init_arg => undef,
340             default => sub { {
341             'gregorian' => {
342             abbreviated => {
343             '0' => 'BC',
344             '1' => 'AD'
345             },
346             wide => {
347             '0' => 'Before Christ',
348             '1' => 'Anno Domini'
349             },
350             },
351             } },
352             );
353              
354             has 'date_formats' => (
355             is => 'ro',
356             isa => HashRef,
357             init_arg => undef,
358             default => sub { {
359             '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             );
367              
368             has 'time_formats' => (
369             is => 'ro',
370             isa => HashRef,
371             init_arg => undef,
372             default => sub { {
373             'gregorian' => {
374             'full' => q{HH:mm:ss zzzz},
375             'medium' => q{HH:mm:ss},
376             'short' => q{HH:mm},
377             },
378             } },
379             );
380              
381             has 'datetime_formats' => (
382             is => 'ro',
383             isa => HashRef,
384             init_arg => undef,
385             default => sub { {
386             '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             );
394              
395             has 'datetime_formats_available_formats' => (
396             is => 'ro',
397             isa => HashRef,
398             init_arg => undef,
399             default => sub { {
400             '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             );
413              
414             has 'datetime_formats_append_item' => (
415             is => 'ro',
416             isa => HashRef,
417             init_arg => undef,
418             default => sub { {
419             } },
420             );
421              
422             has 'datetime_formats_interval' => (
423             is => 'ro',
424             isa => HashRef,
425             init_arg => undef,
426             default => sub { {
427             '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             );
493              
494             has 'time_zone_names' => (
495             is => 'ro',
496             isa => HashRef,
497             init_arg => undef,
498             default => sub { {
499             'GMT' => {
500             long => {
501             'standard' => q#Nako Palogare ya Greenwich#,
502             },
503             },
504             } }
505             );
506 1     1   1630 no Moo;
  1         1  
  1         5  
507              
508             1;
509              
510             # vim: tabstop=4