File Coverage

blib/lib/Locale/CLDR/Locales/Tn.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::Tn - Package for language Tswana
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Tn;
10             # This file auto generated from Data\common\main\tn.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1537421 use strict;
  1         3  
  1         60  
14 1     1   8 use warnings;
  1         2  
  1         103  
15 1     1   16 use version;
  1         2  
  1         10  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   160 use v5.12.0;
  1         7  
20 1     1   6 use mro 'c3';
  1         3  
  1         9  
21 1     1   38 use utf8;
  1         2  
  1         13  
22 1     1   77 use feature 'unicode_strings';
  1         2  
  1         200  
23 1     1   10 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         11  
24 1     1   3357 use Moo;
  1         16  
  1         13  
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             'af' => 'Seburu',
35             'am' => 'Amhariki',
36             'ar' => 'Arabic',
37             'az' => 'Azerbaijani',
38             'be' => 'Belarusian',
39             'bg' => 'Bulgarian',
40             'bn' => 'Bengali',
41             'bs' => 'SeBosnia',
42             'ca' => 'Catalan',
43             'cs' => 'Se Czeck',
44             'cy' => 'Welsh',
45             'da' => 'Danish',
46             'de' => 'German',
47             'el' => 'SeGerika',
48             'en' => 'Sekgoa',
49             'eo' => 'Esperanto',
50             'es' => 'Spanish',
51             'et' => 'Estonian',
52             'eu' => 'Basque',
53             'fa' => 'Mo/SePerishia',
54             'fi' => 'Se-Finland',
55             'fil' => 'Tagalog',
56             'fo' => 'Faroese',
57             'fr' => 'Se Fora',
58             'fy' => 'Frisian',
59             'ga' => 'Irish',
60             'gd' => 'Scots Gaelic',
61             'gl' => 'Galician',
62             'gu' => 'Gujarati',
63             'he' => 'Se heberu',
64             'hi' => 'Hindi',
65             'hr' => 'Croatian',
66             'hu' => 'Hungarian',
67             'ia' => 'Interlingua',
68             'id' => 'Indonesian',
69             'is' => 'Icelandic',
70             'it' => 'Se Italiano',
71             'ja' => 'Se Japan',
72             'jv' => 'Javanese',
73             'ka' => 'Mo/SeJojia',
74             'kn' => 'Kannada',
75             'ko' => 'Se Korea',
76             'la' => 'Latin',
77             'lt' => 'Lithuanian',
78             'lv' => 'Latvian',
79             'mk' => 'Macedonian',
80             'ml' => 'Malayalam',
81             'mr' => 'Marathi',
82             'ms' => 'Malay',
83             'mt' => 'Maltese',
84             'ne' => 'Nepali',
85             'nl' => 'Se Dutch',
86             'no' => 'Puo ya kwa Norway',
87             'oc' => 'Occitan',
88             'pa' => 'Punjabi',
89             'pl' => 'Se Poland',
90             'pt' => 'Se Potoketsi',
91             'ro' => 'Se Roma',
92             'ru' => 'Russian',
93             'sk' => 'Slovak',
94             'sl' => 'Slovenian',
95             'sq' => 'Albanian',
96             'sr' => 'Serbian',
97             'su' => 'Mo/SeSundane',
98             'sv' => 'Swedish',
99             'sw' => 'Swahili',
100             'ta' => 'Tamil',
101             'te' => 'Telugu',
102             'th' => 'Thai',
103             'ti' => 'Tigrinya',
104             'tlh' => 'Klingon',
105             'tn' => 'Setswana',
106             'tr' => 'Turkish',
107             'uk' => 'Ukrainian',
108             'ur' => 'Urdu',
109             'uz' => 'Uzbek',
110             'vi' => 'Vietnamese',
111             'xh' => 'IsiXhosa',
112             'zu' => 'IsiZulu',
113              
114             );
115             if (@_) {
116             return $languages{$_[0]};
117             }
118             return \%languages;
119             }
120             },
121             );
122              
123             has 'display_name_script' => (
124             is => 'ro',
125             isa => CodeRef,
126             init_arg => undef,
127             default => sub {
128             sub {
129             my %scripts = (
130             'Latn' => 'Selatine',
131              
132             );
133             if ( @_ ) {
134             return $scripts{$_[0]};
135             }
136             return \%scripts;
137             }
138             }
139             );
140              
141             has 'display_name_region' => (
142             is => 'ro',
143             isa => HashRef[Str],
144             init_arg => undef,
145             default => sub {
146             {
147             'BW' => 'Botswana',
148             'ZA' => 'Aforika Borwa',
149              
150             }
151             },
152             );
153              
154             has 'characters' => (
155             is => 'ro',
156             isa => HashRef,
157             init_arg => undef,
158             default => $^V ge v5.18.0
159             ? eval <<'EOT'
160             sub {
161             no warnings 'experimental::regex_sets';
162             return {
163             auxiliary => qr{[c q v x z]},
164             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'],
165             main => qr{[a b d e ê f g h i j k l m n o ô p r s t u w y]},
166             punctuation => qr{[\- ‐‑ – — , ; \: ! ? . … '‘’ "“” ( ) \[ \] § @ * / \& # † ‡ ′ ″]},
167             };
168             },
169             EOT
170             : sub {
171             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'], };
172             },
173 1     1   169 );
  1         2  
  1         239  
174              
175              
176             has 'quote_start' => (
177             is => 'ro',
178             isa => Str,
179             init_arg => undef,
180             default => qq{‘},
181             );
182              
183             has 'quote_end' => (
184             is => 'ro',
185             isa => Str,
186             init_arg => undef,
187             default => qq{’},
188             );
189              
190             has 'alternate_quote_start' => (
191             is => 'ro',
192             isa => Str,
193             init_arg => undef,
194             default => qq{“},
195             );
196              
197             has 'alternate_quote_end' => (
198             is => 'ro',
199             isa => Str,
200             init_arg => undef,
201             default => qq{”},
202             );
203              
204             has 'number_symbols' => (
205             is => 'ro',
206             isa => HashRef,
207             init_arg => undef,
208             default => sub { {
209             'latn' => {
210             'group' => q(’),
211             },
212             } }
213             );
214              
215             has 'number_currency_formats' => (
216             is => 'ro',
217             isa => HashRef,
218             init_arg => undef,
219             default => sub { {
220             'latn' => {
221             'pattern' => {
222             'default' => {
223             'standard' => {
224             'positive' => '¤#,##0.00',
225             },
226             },
227             },
228             },
229             } },
230             );
231              
232             has 'currencies' => (
233             is => 'ro',
234             isa => HashRef,
235             init_arg => undef,
236             default => sub { {
237             'ZAR' => {
238             symbol => 'R',
239             },
240             } },
241             );
242              
243              
244             has 'calendar_months' => (
245             is => 'ro',
246             isa => HashRef,
247             init_arg => undef,
248             default => sub { {
249             'gregorian' => {
250             'format' => {
251             abbreviated => {
252             nonleap => [
253             'Fer',
254             'Tlh',
255             'Mop',
256             'Mor',
257             'Mot',
258             'See',
259             'Phu',
260             'Pha',
261             'Lwe',
262             'Dip',
263             'Ngw',
264             'Sed'
265             ],
266             leap => [
267            
268             ],
269             },
270             wide => {
271             nonleap => [
272             'Ferikgong',
273             'Tlhakole',
274             'Mopitlo',
275             'Moranang',
276             'Motsheganang',
277             'Seetebosigo',
278             'Phukwi',
279             'Phatwe',
280             'Lwetse',
281             'Diphalane',
282             'Ngwanatsele',
283             'Sedimonthole'
284             ],
285             leap => [
286            
287             ],
288             },
289             },
290             },
291             } },
292             );
293              
294             has 'calendar_days' => (
295             is => 'ro',
296             isa => HashRef,
297             init_arg => undef,
298             default => sub { {
299             'gregorian' => {
300             'format' => {
301             abbreviated => {
302             mon => 'Mos',
303             tue => 'Labb',
304             wed => 'Labr',
305             thu => 'Labn',
306             fri => 'Labt',
307             sat => 'Mat',
308             sun => 'Tsh'
309             },
310             wide => {
311             mon => 'Mosupologo',
312             tue => 'Labobedi',
313             wed => 'Laboraro',
314             thu => 'Labone',
315             fri => 'Labotlhano',
316             sat => 'Matlhatso',
317             sun => 'Tshipi'
318             },
319             },
320             },
321             } },
322             );
323              
324             has 'calendar_quarters' => (
325             is => 'ro',
326             isa => HashRef,
327             init_arg => undef,
328             default => sub { {
329             'gregorian' => {
330             'format' => {
331             abbreviated => {0 => 'Q1',
332             1 => 'Q2',
333             2 => 'Q3',
334             3 => 'Q4'
335             },
336             wide => {0 => 'Sephatlho sa ntlha sa ngwaga',
337             1 => 'Sephatlho sa bobedi',
338             2 => 'Sephatlho sa boraro',
339             3 => 'Sephatlho sa bone'
340             },
341             },
342             },
343             } },
344             );
345              
346             has 'day_periods' => (
347             is => 'ro',
348             isa => HashRef,
349             init_arg => undef,
350             default => sub { {
351             'gregorian' => {
352             'format' => {
353             'narrow' => {
354             'am' => q{a},
355             'pm' => q{p},
356             },
357             },
358             },
359             } },
360             );
361              
362             has 'eras' => (
363             is => 'ro',
364             isa => HashRef,
365             init_arg => undef,
366             default => sub { {
367             'gregorian' => {
368             abbreviated => {
369             '0' => 'BC',
370             '1' => 'AD'
371             },
372             wide => {
373             '0' => 'Pele ga tsalo ya Morena Jeso',
374             '1' => 'Morago ga Leso la Morena Jeso'
375             },
376             },
377             } },
378             );
379              
380             has 'date_formats' => (
381             is => 'ro',
382             isa => HashRef,
383             init_arg => undef,
384             default => sub { {
385             'gregorian' => {
386             },
387             } },
388             );
389              
390             has 'time_formats' => (
391             is => 'ro',
392             isa => HashRef,
393             init_arg => undef,
394             default => sub { {
395             'gregorian' => {
396             'full' => q{HH:mm:ss zzzz},
397             'long' => q{HH:mm:ss z},
398             'medium' => q{HH:mm:ss},
399             'short' => q{HH:mm},
400             },
401             } },
402             );
403              
404             has 'datetime_formats' => (
405             is => 'ro',
406             isa => HashRef,
407             init_arg => undef,
408             default => sub { {
409             'gregorian' => {
410             'full' => q{{1} 'ka' {0}},
411             'long' => q{{1} 'ka' {0}},
412             'medium' => q{{1}, {0}},
413             'short' => q{{1}, {0}},
414             },
415             } },
416             );
417              
418             has 'datetime_formats_available_formats' => (
419             is => 'ro',
420             isa => HashRef,
421             init_arg => undef,
422             default => sub { {
423             'gregorian' => {
424             Ehm => q{E h:mm a},
425             Ehms => q{E h:mm:ss a},
426             MMMMW => q{'beke' 'ya' W 'ya' MMM},
427             h => q{h a},
428             hm => q{h:mm a},
429             hms => q{h:mm:ss a},
430             hmsv => q{h:mm:ss a v},
431             hmv => q{h:mm a v},
432             yw => q{'beke' w 'ya' Y},
433             },
434             } },
435             );
436              
437             has 'datetime_formats_append_item' => (
438             is => 'ro',
439             isa => HashRef,
440             init_arg => undef,
441             default => sub { {
442             } },
443             );
444              
445             has 'datetime_formats_interval' => (
446             is => 'ro',
447             isa => HashRef,
448             init_arg => undef,
449             default => sub { {
450             'gregorian' => {
451             MEd => {
452             M => q{MM-dd, E – MM-dd, E},
453             d => q{MM-dd, E – MM-dd, E},
454             },
455             MMMEd => {
456             M => q{MMM d, E – MMM d, E},
457             d => q{MMM d, E – MMM d, E},
458             },
459             MMMd => {
460             M => q{MMM d – MMM d},
461             },
462             Md => {
463             M => q{MM-dd – MM-dd},
464             d => q{MM-dd – MM-dd},
465             },
466             h => {
467             a => q{h a – h a},
468             h => q{h–h a},
469             },
470             hm => {
471             a => q{h:mm a – h:mm a},
472             h => q{h:mm–h:mm a},
473             m => q{h:mm–h:mm a},
474             },
475             hmv => {
476             a => q{h:mm a – h:mm a v},
477             h => q{h:mm–h:mm a v},
478             m => q{h:mm–h:mm a v},
479             },
480             hv => {
481             a => q{h a – h a v},
482             h => q{h–h a v},
483             },
484             yM => {
485             M => q{y-MM – y-MM},
486             y => q{y-MM – y-MM},
487             },
488             yMEd => {
489             M => q{y-MM-dd, E – y-MM-dd, E},
490             d => q{y-MM-dd, E – y-MM-dd, E},
491             y => q{y-MM-dd, E – y-MM-dd, E},
492             },
493             yMMM => {
494             y => q{y MMM – y MMM},
495             },
496             yMMMEd => {
497             M => q{y MMM d, E – MMM d, E},
498             d => q{y MMM d, E – MMM d, E},
499             y => q{y MMM d, E – y MMM d, E},
500             },
501             yMMMM => {
502             y => q{y MMMM – y MMMM},
503             },
504             yMMMd => {
505             M => q{y MMM d – MMM d},
506             y => q{y MMM d – y MMM d},
507             },
508             yMd => {
509             M => q{y-MM-dd – y-MM-dd},
510             d => q{y-MM-dd – y-MM-dd},
511             y => q{y-MM-dd – y-MM-dd},
512             },
513             },
514             } },
515             );
516              
517             has 'time_zone_names' => (
518             is => 'ro',
519             isa => HashRef,
520             init_arg => undef,
521             default => sub { {
522             'GMT' => {
523             long => {
524             'standard' => q#Palogare ya nako ya ngwaga le ngwaga ya Greenwich#,
525             },
526             },
527             } }
528             );
529 1     1   2187 no Moo;
  1         2  
  1         6  
530              
531             1;
532              
533             # vim: tabstop=4