File Coverage

blib/lib/Locale/CLDR/Locales/Pis.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::Pis - Package for language Pijin
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Pis;
10             # This file auto generated from Data\common\main\pis.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1805695 use strict;
  1         28  
  1         51  
14 1     1   6 use warnings;
  1         2  
  1         72  
15 1     1   8 use version;
  1         2  
  1         11  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   145 use v5.12.0;
  1         4  
20 1     1   7 use mro 'c3';
  1         2  
  1         10  
21 1     1   37 use utf8;
  1         2  
  1         9  
22 1     1   64 use feature 'unicode_strings';
  1         3  
  1         173  
23 1     1   12 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         15  
24 1     1   3106 use Moo;
  1         9  
  1         9  
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' => 'Ingglis',
35             'pis' => 'Pijin',
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' => 'Latin',
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             'SB' => 'Solomon Aelan',
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{metrik},
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' => 'Langguis: {0}',
95             'script' => 'Raeting kaen: {0}',
96             'region' => 'Rijin: {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             main => qr{[a b d e f g h i j k l m n o p r s t u v w y]},
112             numbers => qr{[\- ‑ / # % + 0 1 2 3 5 6 7 8 9]},
113             punctuation => qr{[\- ‑ , ; \: ! ? . '‘’ "“” ( ) + =]},
114             };
115             },
116             EOT
117             : sub {
118             return {};
119             },
120 1     1   248 );
  1         4  
  1         282  
121              
122              
123             has 'currencies' => (
124             is => 'ro',
125             isa => HashRef,
126             init_arg => undef,
127             default => sub { {
128             'SBD' => {
129             symbol => '$',
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             wide => {
143             nonleap => [
144             'Januare',
145             'Febuare',
146             'Mas',
147             'Eprel',
148             'Mei',
149             'Jun',
150             'Julae',
151             'Ogus',
152             'Septemba',
153             'Oktoba',
154             'Novemba',
155             'Disemba'
156             ],
157             leap => [
158            
159             ],
160             },
161             },
162             },
163             } },
164             );
165              
166             has 'calendar_days' => (
167             is => 'ro',
168             isa => HashRef,
169             init_arg => undef,
170             default => sub { {
171             'gregorian' => {
172             'format' => {
173             wide => {
174             mon => 'Mande',
175             tue => 'Tiusde',
176             wed => 'Wenesde',
177             thu => 'Tosde',
178             fri => 'Fraede',
179             sat => 'Satade',
180             sun => 'Sande'
181             },
182             },
183             },
184             } },
185             );
186              
187             has 'eras' => (
188             is => 'ro',
189             isa => HashRef,
190             init_arg => undef,
191             default => sub { {
192             'gregorian' => {
193             },
194             } },
195             );
196              
197             has 'date_formats' => (
198             is => 'ro',
199             isa => HashRef,
200             init_arg => undef,
201             default => sub { {
202             'gregorian' => {
203             },
204             } },
205             );
206              
207             has 'time_formats' => (
208             is => 'ro',
209             isa => HashRef,
210             init_arg => undef,
211             default => sub { {
212             'gregorian' => {
213             },
214             } },
215             );
216              
217             has 'datetime_formats' => (
218             is => 'ro',
219             isa => HashRef,
220             init_arg => undef,
221             default => sub { {
222             'gregorian' => {
223             },
224             } },
225             );
226              
227             has 'datetime_formats_available_formats' => (
228             is => 'ro',
229             isa => HashRef,
230             init_arg => undef,
231             default => sub { {
232             } },
233             );
234              
235             has 'datetime_formats_append_item' => (
236             is => 'ro',
237             isa => HashRef,
238             init_arg => undef,
239             default => sub { {
240             } },
241             );
242              
243             has 'datetime_formats_interval' => (
244             is => 'ro',
245             isa => HashRef,
246             init_arg => undef,
247             default => sub { {
248             } },
249             );
250              
251             has 'time_zone_names' => (
252             is => 'ro',
253             isa => HashRef,
254             init_arg => undef,
255             default => sub { {
256             gmtFormat => q(GMT {0}),
257             regionFormat => q({0} Taem),
258             regionFormat => q({0} Delaet Taem),
259             regionFormat => q({0} Standad Taem),
260             'GMT' => {
261             long => {
262             'standard' => q#Grinis Min Taem#,
263             },
264             },
265             } }
266             );
267 1     1   2054 no Moo;
  1         3  
  1         7  
268              
269             1;
270              
271             # vim: tabstop=4