File Coverage

blib/lib/Locale/CLDR/Locales/Bem.pm
Criterion Covered Total %
statement 26 26 100.0
branch n/a
condition n/a
subroutine 9 9 100.0
pod n/a
total 35 35 100.0


line stmt bran cond sub pod time code
1             =head1
2              
3             Locale::CLDR::Locales::Bem - Package for language Bemba
4              
5             =cut
6              
7             package Locale::CLDR::Locales::Bem;
8             # This file auto generated from Data\common\main\bem.xml
9             # on Sun 24 Apr 8:16:31 am GMT
10              
11 1     1   2294786 use version;
  1         1  
  1         6  
12              
13             our $VERSION = version->declare('v0.29.0');
14              
15 1     1   81 use v5.10.1;
  1         2  
16 1     1   3 use mro 'c3';
  1         4  
  1         7  
17 1     1   28 use utf8;
  1         2  
  1         5  
18 1     1   26 use if $^V ge v5.12.0, feature => 'unicode_strings';
  1         1  
  1         13  
19              
20 1     1   607 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         45357  
  1         10  
21 1     1   1424 use Moo;
  1         9720  
  1         2  
22              
23             extends('Locale::CLDR::Locales::Root');
24             has 'display_name_language' => (
25             is => 'ro',
26             isa => CodeRef,
27             init_arg => undef,
28             default => sub {
29             sub {
30             my %languages = (
31             'ak' => 'Ichi Akan',
32             'am' => 'Ichi Amhari',
33             'ar' => 'Ichi Arab',
34             'be' => 'Ichi Belarus',
35             'bem' => 'Ichibemba',
36             'bg' => 'Ichi Bulgariani',
37             'bn' => 'Ichi Bengali',
38             'cs' => 'Ichi Cheki',
39             'de' => 'Ichi Jemani',
40             'el' => 'Ichi Griki',
41             'en' => 'Ichi Sungu',
42             'es' => 'Ichi Spanishi',
43             'fa' => 'Ichi Pesia',
44             'fr' => 'Ichi Frenchi',
45             'ha' => 'Ichi Hausa',
46             'hi' => 'Ichi Hindu',
47             'hu' => 'Ichi Hangarian',
48             'id' => 'Ichi Indonesiani',
49             'ig' => 'Ichi Ibo',
50             'it' => 'Ichi Italiani',
51             'ja' => 'Ichi Japanisi',
52             'jv' => 'Ichi Javanisi',
53             'km' => 'Ichi Khmer',
54             'ko' => 'Ichi Koriani',
55             'ms' => 'Ichi Maleshani',
56             'my' => 'Ichi Burma',
57             'ne' => 'Ichi Nepali',
58             'nl' => 'Ichi Dachi',
59             'pa' => 'Ichi Punjabi',
60             'pl' => 'Ichi Polishi',
61             'pt' => 'Ichi Potogisi',
62             'ro' => 'Ichi Romaniani',
63             'ru' => 'Ichi Rusiani',
64             'rw' => 'Ichi Rwanda',
65             'so' => 'Ichi Somalia',
66             'sv' => 'Ichi Swideni',
67             'ta' => 'Ichi Tamil',
68             'th' => 'Ichi Thai',
69             'tr' => 'Ichi Takishi',
70             'uk' => 'Ichi Ukraniani',
71             'ur' => 'Ichi Urudu',
72             'vi' => 'Ichi Vietinamu',
73             'yo' => 'Ichi Yoruba',
74             'zh' => 'Ichi Chainisi',
75             'zu' => 'Ichi Zulu',
76              
77             );
78             if (@_) {
79             return $languages{$_[0]};
80             }
81             return \%languages;
82             }
83             },
84             );
85              
86             has 'display_name_region' => (
87             is => 'ro',
88             isa => HashRef[Str],
89             init_arg => undef,
90             default => sub {
91             {
92             'ZM' => 'Zambia',
93              
94             }
95             },
96             );
97              
98             has 'characters' => (
99             is => 'ro',
100             isa => HashRef,
101             init_arg => undef,
102             default => $^V ge v5.18.0
103             ? eval <<'EOT'
104             sub {
105             no warnings 'experimental::regex_sets';
106             return {
107             auxiliary => qr{(?^u:[d h q r v x z])},
108             index => ['A', 'B', 'C', 'E', 'F', 'G', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'S', '{SH}', 'T', 'U', 'W', 'Y'],
109             main => qr{(?^u:[a b c e f g i j k l m n o p s {sh} t u w y])},
110             };
111             },
112             EOT
113             : sub {
114             return { index => ['A', 'B', 'C', 'E', 'F', 'G', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'S', '{SH}', 'T', 'U', 'W', 'Y'], };
115             },
116 1     1   91 );
  1         1  
  1         118  
117              
118              
119             has 'quote_start' => (
120             is => 'ro',
121             isa => Str,
122             init_arg => undef,
123             default => qq{“},
124             );
125              
126             has 'quote_end' => (
127             is => 'ro',
128             isa => Str,
129             init_arg => undef,
130             default => qq{”},
131             );
132              
133             has 'alternate_quote_start' => (
134             is => 'ro',
135             isa => Str,
136             init_arg => undef,
137             default => qq{‘},
138             );
139              
140             has 'alternate_quote_end' => (
141             is => 'ro',
142             isa => Str,
143             init_arg => undef,
144             default => qq{’},
145             );
146              
147             has 'yesstr' => (
148             is => 'ro',
149             isa => RegexpRef,
150             init_arg => undef,
151             default => sub { qr'^(?i:Ee|E|yes|y)$' }
152             );
153              
154             has 'nostr' => (
155             is => 'ro',
156             isa => RegexpRef,
157             init_arg => undef,
158             default => sub { qr'^(?i:Awe|A|no|n)$' }
159             );
160              
161             has 'number_currency_formats' => (
162             is => 'ro',
163             isa => HashRef,
164             init_arg => undef,
165             default => sub { {
166             'latn' => {
167             'pattern' => {
168             'default' => {
169             'accounting' => {
170             'negative' => '(¤#,##0.00)',
171             'positive' => '¤#,##0.00',
172             },
173             'standard' => {
174             'positive' => '¤#,##0.00',
175             },
176             },
177             },
178             },
179             } },
180             );
181              
182             has 'currencies' => (
183             is => 'ro',
184             isa => HashRef,
185             init_arg => undef,
186             default => sub { {
187             'ZMW' => {
188             symbol => 'K',
189             },
190             } },
191             );
192              
193              
194             has 'calendar_months' => (
195             is => 'ro',
196             isa => HashRef,
197             init_arg => undef,
198             default => sub { {
199             'gregorian' => {
200             'format' => {
201             abbreviated => {
202             nonleap => [
203             'Jan',
204             'Feb',
205             'Mac',
206             'Epr',
207             'Mei',
208             'Jun',
209             'Jul',
210             'Oga',
211             'Sep',
212             'Okt',
213             'Nov',
214             'Dis'
215             ],
216             leap => [
217            
218             ],
219             },
220             wide => {
221             nonleap => [
222             'Januari',
223             'Februari',
224             'Machi',
225             'Epreo',
226             'Mei',
227             'Juni',
228             'Julai',
229             'Ogasti',
230             'Septemba',
231             'Oktoba',
232             'Novemba',
233             'Disemba'
234             ],
235             leap => [
236            
237             ],
238             },
239             },
240             'stand-alone' => {
241             narrow => {
242             nonleap => [
243             'J',
244             'F',
245             'M',
246             'E',
247             'M',
248             'J',
249             'J',
250             'O',
251             'S',
252             'O',
253             'N',
254             'D'
255             ],
256             leap => [
257            
258             ],
259             },
260             },
261             },
262             } },
263             );
264              
265             has 'calendar_days' => (
266             is => 'ro',
267             isa => HashRef,
268             init_arg => undef,
269             default => sub { {
270             'gregorian' => {
271             'format' => {
272             wide => {
273             mon => 'Palichimo',
274             tue => 'Palichibuli',
275             wed => 'Palichitatu',
276             thu => 'Palichine',
277             fri => 'Palichisano',
278             sat => 'Pachibelushi',
279             sun => 'Pa Mulungu'
280             },
281             },
282             },
283             } },
284             );
285              
286             has 'day_periods' => (
287             is => 'ro',
288             isa => HashRef,
289             init_arg => undef,
290             default => sub { {
291             'gregorian' => {
292             'format' => {
293             'wide' => {
294             'am' => q{uluchelo},
295             'pm' => q{akasuba},
296             },
297             'abbreviated' => {
298             'am' => q{uluchelo},
299             'pm' => q{akasuba},
300             },
301             },
302             },
303             } },
304             );
305              
306             has 'eras' => (
307             is => 'ro',
308             isa => HashRef,
309             init_arg => undef,
310             default => sub { {
311             'generic' => {
312             },
313             'gregorian' => {
314             abbreviated => {
315             '0' => 'BC',
316             '1' => 'AD'
317             },
318             wide => {
319             '0' => 'Before Yesu',
320             '1' => 'After Yesu'
321             },
322             },
323             } },
324             );
325              
326             has 'date_formats' => (
327             is => 'ro',
328             isa => HashRef,
329             init_arg => undef,
330             default => sub { {
331             'generic' => {
332             'full' => q{EEEE, d MMMM y G},
333             'long' => q{d MMMM y G},
334             'medium' => q{d MMM y G},
335             'short' => q{dd/MM/y GGGGG},
336             },
337             'gregorian' => {
338             'full' => q{EEEE, d MMMM y},
339             'long' => q{d MMMM y},
340             'medium' => q{d MMM y},
341             'short' => q{dd/MM/y},
342             },
343             } },
344             );
345              
346             has 'time_formats' => (
347             is => 'ro',
348             isa => HashRef,
349             init_arg => undef,
350             default => sub { {
351             'generic' => {
352             },
353             'gregorian' => {
354             'full' => q{h:mm:ss a zzzz},
355             'long' => q{h:mm:ss a z},
356             'medium' => q{h:mm:ss a},
357             'short' => q{h:mm a},
358             },
359             } },
360             );
361              
362             has 'datetime_formats' => (
363             is => 'ro',
364             isa => HashRef,
365             init_arg => undef,
366             default => sub { {
367             'generic' => {
368             },
369             'gregorian' => {
370             },
371             } },
372             );
373              
374             has 'datetime_formats_available_formats' => (
375             is => 'ro',
376             isa => HashRef,
377             init_arg => undef,
378             default => sub { {
379             'generic' => {
380             Hm => q{HH:mm},
381             Hms => q{HH:mm:ss},
382             M => q{L},
383             MEd => q{E, M/d},
384             MMM => q{LLL},
385             MMMEd => q{E, MMM d},
386             MMMMEd => q{E, MMMM d},
387             MMMMd => q{MMMM d},
388             MMMd => q{MMM d},
389             Md => q{M/d},
390             d => q{d},
391             hm => q{h:mm a},
392             ms => q{mm:ss},
393             y => q{y},
394             yM => q{M/y},
395             yMEd => q{E, M/d/y},
396             yMMM => q{MMM y},
397             yMMMEd => q{E, MMM d, y},
398             yMMMM => q{MMMM y},
399             yMMMd => q{d MMM y},
400             yMd => q{d/M/y},
401             yQQQ => q{QQQ y},
402             yQQQQ => q{QQQQ y},
403             },
404             'gregorian' => {
405             Hm => q{HH:mm},
406             Hms => q{HH:mm:ss},
407             M => q{L},
408             MEd => q{E, M/d},
409             MMM => q{LLL},
410             MMMEd => q{E, MMM d},
411             MMMMEd => q{E, MMMM d},
412             MMMMd => q{MMMM d},
413             MMMd => q{MMM d},
414             Md => q{M/d},
415             d => q{d},
416             hm => q{h:mm a},
417             ms => q{mm:ss},
418             y => q{y},
419             yM => q{M/y},
420             yMEd => q{E, M/d/y},
421             yMMM => q{MMM y},
422             yMMMEd => q{E, MMM d, y},
423             yMMMM => q{MMMM y},
424             yMMMd => q{d MMM y},
425             yMd => q{d/M/y},
426             yQQQ => q{QQQ y},
427             yQQQQ => q{QQQQ y},
428             },
429             } },
430             );
431              
432             has 'datetime_formats_append_item' => (
433             is => 'ro',
434             isa => HashRef,
435             init_arg => undef,
436             default => sub { {
437             } },
438             );
439              
440             has 'datetime_formats_interval' => (
441             is => 'ro',
442             isa => HashRef,
443             init_arg => undef,
444             default => sub { {
445             } },
446             );
447              
448 1     1   4437 no Moo;
  1         3  
  1         7  
449              
450             1;
451              
452             # vim: tabstop=4