File Coverage

blib/lib/Locale/CLDR/Locales/Nr.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::Nr - Package for language South Ndebele
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Nr;
10             # This file auto generated from Data\common\main\nr.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1485626 use strict;
  1         4  
  1         45  
14 1     1   7 use warnings;
  1         8  
  1         62  
15 1     1   8 use version;
  1         2  
  1         8  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   141 use v5.12.0;
  1         4  
20 1     1   6 use mro 'c3';
  1         2  
  1         8  
21 1     1   36 use utf8;
  1         2  
  1         9  
22 1     1   77 use feature 'unicode_strings';
  1         2  
  1         184  
23 1     1   11 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         12  
24 1     1   3141 use Moo;
  1         8  
  1         8  
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             'nr' => 'isiNdebele',
35              
36             );
37             if (@_) {
38             return $languages{$_[0]};
39             }
40             return \%languages;
41             }
42             },
43             );
44              
45             has 'characters' => (
46             is => 'ro',
47             isa => HashRef,
48             init_arg => undef,
49             default => $^V ge v5.18.0
50             ? eval <<'EOT'
51             sub {
52             no warnings 'experimental::regex_sets';
53             return {
54             auxiliary => qr{[r]},
55             index => ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'],
56             main => qr{[a b c d e f g h i j k l m n o p q s t u v w x y z]},
57             };
58             },
59             EOT
60             : sub {
61             return { index => ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'], };
62             },
63 1     1   220 );
  1         3  
  1         209  
64              
65              
66             has 'quote_start' => (
67             is => 'ro',
68             isa => Str,
69             init_arg => undef,
70             default => qq{‘},
71             );
72              
73             has 'quote_end' => (
74             is => 'ro',
75             isa => Str,
76             init_arg => undef,
77             default => qq{’},
78             );
79              
80             has 'alternate_quote_start' => (
81             is => 'ro',
82             isa => Str,
83             init_arg => undef,
84             default => qq{“},
85             );
86              
87             has 'alternate_quote_end' => (
88             is => 'ro',
89             isa => Str,
90             init_arg => undef,
91             default => qq{”},
92             );
93              
94             has 'number_symbols' => (
95             is => 'ro',
96             isa => HashRef,
97             init_arg => undef,
98             default => sub { {
99             'latn' => {
100             'decimal' => q(,),
101             'group' => q( ),
102             },
103             } }
104             );
105              
106             has 'number_currency_formats' => (
107             is => 'ro',
108             isa => HashRef,
109             init_arg => undef,
110             default => sub { {
111             'latn' => {
112             'pattern' => {
113             'default' => {
114             'standard' => {
115             'positive' => '¤#,##0.00',
116             },
117             },
118             },
119             },
120             } },
121             );
122              
123             has 'currencies' => (
124             is => 'ro',
125             isa => HashRef,
126             init_arg => undef,
127             default => sub { {
128             'ZAR' => {
129             symbol => 'R',
130             },
131             } },
132             );
133              
134              
135             has 'calendar_months' => (
136             is => 'ro',
137             isa => HashRef,
138             init_arg => undef,
139             default => sub { {
140             'gregorian' => {
141             'format' => {
142             abbreviated => {
143             nonleap => [
144             'Jan',
145             'Feb',
146             'Mat',
147             'Apr',
148             'Mey',
149             'Jun',
150             'Jul',
151             'Arh',
152             'Sep',
153             'Okt',
154             'Usi',
155             'Dis'
156             ],
157             leap => [
158            
159             ],
160             },
161             wide => {
162             nonleap => [
163             'Janabari',
164             'uFeberbari',
165             'uMatjhi',
166             'u-Apreli',
167             'Meyi',
168             'Juni',
169             'Julayi',
170             'Arhostosi',
171             'Septemba',
172             'Oktoba',
173             'Usinyikhaba',
174             'Disemba'
175             ],
176             leap => [
177            
178             ],
179             },
180             },
181             },
182             } },
183             );
184              
185             has 'calendar_days' => (
186             is => 'ro',
187             isa => HashRef,
188             init_arg => undef,
189             default => sub { {
190             'gregorian' => {
191             'format' => {
192             abbreviated => {
193             mon => 'Mvu',
194             tue => 'Bil',
195             wed => 'Tha',
196             thu => 'Ne',
197             fri => 'Hla',
198             sat => 'Gqi',
199             sun => 'Son'
200             },
201             wide => {
202             mon => 'uMvulo',
203             tue => 'uLesibili',
204             wed => 'Lesithathu',
205             thu => 'uLesine',
206             fri => 'ngoLesihlanu',
207             sat => 'umGqibelo',
208             sun => 'uSonto'
209             },
210             },
211             },
212             } },
213             );
214              
215             has 'eras' => (
216             is => 'ro',
217             isa => HashRef,
218             init_arg => undef,
219             default => sub { {
220             'gregorian' => {
221             abbreviated => {
222             '0' => 'BC',
223             '1' => 'AD'
224             },
225             },
226             } },
227             );
228              
229             has 'date_formats' => (
230             is => 'ro',
231             isa => HashRef,
232             init_arg => undef,
233             default => sub { {
234             'gregorian' => {
235             },
236             } },
237             );
238              
239             has 'time_formats' => (
240             is => 'ro',
241             isa => HashRef,
242             init_arg => undef,
243             default => sub { {
244             'gregorian' => {
245             },
246             } },
247             );
248              
249             has 'datetime_formats' => (
250             is => 'ro',
251             isa => HashRef,
252             init_arg => undef,
253             default => sub { {
254             'gregorian' => {
255             },
256             } },
257             );
258              
259             has 'datetime_formats_available_formats' => (
260             is => 'ro',
261             isa => HashRef,
262             init_arg => undef,
263             default => sub { {
264             } },
265             );
266              
267             has 'datetime_formats_append_item' => (
268             is => 'ro',
269             isa => HashRef,
270             init_arg => undef,
271             default => sub { {
272             } },
273             );
274              
275             has 'datetime_formats_interval' => (
276             is => 'ro',
277             isa => HashRef,
278             init_arg => undef,
279             default => sub { {
280             } },
281             );
282              
283 1     1   1964 no Moo;
  1         2  
  1         6  
284              
285             1;
286              
287             # vim: tabstop=4