File Coverage

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