Tpi.pm

filter: Statementstmt 68.0% 51 / 75 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 37.9% 11 / 29 Podpod n/a totaltotal 57.2% 63 / 110 CC 3 SCAR 7.7
CC
3
Cov
64%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Tpi/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Tpi - Package for language Tok Pisin
6
7 =cut
8
9 package Locale::CLDR::Locales::Tpi;
10 # This file auto generated from Data\common\main\tpi.xml
11 # on Fri 17 Jan 12:03:31 pm GMT
12
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
16
17 1 our $VERSION = version->declare('v0.46.0');
18
19 1 ▶use v5.12.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use feature 'unicode_strings';
Subroutine BEGIN: called CC=1 SCAR=0.0
23 1 ▶use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
25
26 1 extends('Locale::CLDR::Locales::Root');
27 has 'display_name_language' => (
28 is => 'ro',
29 isa => CodeRef,
30 init_arg => undef,
31 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
33 0 my %languages = (
34 'de' => 'Jeman',
35 'de_AT' => 'Austria Jeman',
36 'de_CH' => 'Swis Jeman',
37 'en' => 'Inglis',
38 'en_AU' => 'Australian Inglis',
39 'en_CA' => 'Kenedien Inglis',
40 'en_GB' => 'Britis Inglis',
41 'en_US' => 'Amerikan Inglis',
42 'es' => 'Spenis',
43 'es_419' => 'Saut Amerikan Spenis',
44 'es_ES' => 'Spenis (Spein)',
45 'es_MX' => 'Meksikan Spenis',
46 'fr' => 'Frens',
47 'fr_CA' => 'Kenedien Frens',
48 'fr_CH' => 'Swis Frens',
49 'it' => 'Italien',
50 'ja' => 'Japanis',
51 'pt' => 'Potigis',
52 'pt_BR' => 'Brasilien Potigis',
53 'pt_PT' => 'Yurop Potigis',
54 'ru' => 'Rasien',
55 'tpi' => 'Tok Pisin',
56 'und' => 'Tok ples i no stap',
57 'zh' => 'Sainis',
58 'zh_Hans' => 'Isipela Sainis',
59 'zh_Hant' => 'Tredisinol Sainis',
60
61 );
62 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
63 0 return $languages{$_[0]};
64 }
65 0 return \%languages;
66 }
67 0 },
68 1 );
69
70 has 'display_name_script' => (
71 is => 'ro',
72 isa => CodeRef,
73 init_arg => undef,
74 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
75 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
76 0 my %scripts = (
77 'Arab' => 'Arabik',
78 'Cyrl' => 'Syrilik',
79 'Hans' => 'Han (isipela)',
80 'Hant' => 'Han (tredisinol)',
81 'Latn' => 'Latin',
82 'Zxxx' => 'Tok i no raitim yet',
83 'Zzzz' => 'Tok i no gat kod yet',
84
85 );
86 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
87 0 return $scripts{$_[0]};
88 }
89 0 return \%scripts;
90 }
91 0 }
92 1 );
93
94 has 'display_name_region' => (
95 is => 'ro',
96 isa => HashRef[Str],
97 init_arg => undef,
98 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
99 {
100 0 'BR' => 'Brasil',
101 'CN' => 'Saina',
102 'DE' => 'Jemani',
103 'FR' => 'Frans',
104 'GB' => 'Yunaited Kingdom',
105 'IN' => 'India',
106 'IT' => 'Itali',
107 'PG' => 'Papua Niugini',
108 'ZZ' => 'Rijen i no stap',
109
110 }
111 },
112 1 );
113
114 has 'display_name_type' => (
115 is => 'ro',
116 isa => HashRef[HashRef[Str]],
117 init_arg => undef,
118 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
119 {
120 0 'calendar' => {
121 'gregorian' => q{Gregorien kalenda},
122 },
123 'cf' => {
124 'standard' => q{stendet karensi fomet},
125 },
126 'collation' => {
127 'standard' => q{stendet oda bilong skelim},
128 },
129 'numbers' => {
130 'latn' => q{westen namba},
131 },
132
133 }
134 },
135 1 );
136
137 has 'display_name_code_patterns' => (
138 is => 'ro',
139 isa => HashRef[Str],
140 init_arg => undef,
141 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
142 {
143 0 'language' => 'tok ples: {0}',
144 'script' => 'skript: {0}',
145 'region' => 'rijen: {0}',
146
147 }
148 },
149 1 );
150
151 has 'characters' => (
152 is => 'ro',
153 isa => HashRef,
154 init_arg => undef,
155 default => $^V ge v5.18.0
156 ? eval <<'EOT'
157 sub {
158 no warnings 'experimental::regex_sets';
159 return {
160 auxiliary => qr{[c q v x z]},
161 index => ['A', 'B', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'W', 'Y'],
162 main => qr{[a b d e f g h i j k l m n o p r s t u w y]},
163 };
164 },
165 EOT
166 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
167 0 return { index => ['A', 'B', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'W', 'Y'], };
168 },
169 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
170
171
172 has 'number_currency_formats' => (
173 is => 'ro',
174 isa => HashRef,
175 init_arg => undef,
176 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
177 0 'latn' => {
178 'pattern' => {
179 'default' => {
180 'standard' => {
181 'positive' => '#,##0.00 ¤',
182 },
183 },
184 },
185 },
186 } },
187 1 );
188
189 has 'calendar_months' => (
190 is => 'ro',
191 isa => HashRef,
192 init_arg => undef,
193 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
194 0 'gregorian' => {
195 'format' => {
196 abbreviated => {
197 nonleap => [
198 'Jan',
199 'Feb',
200 'Mas',
201 'Epr',
202 'Me',
203 'Jun',
204 'Jul',
205 'Oga',
206 'Sep',
207 'Okt',
208 'Nov',
209 'Des'
210 ],
211 leap => [
212
213 ],
214 },
215 wide => {
216 nonleap => [
217 'Janueri',
218 'Februeri',
219 'Mas',
220 'Epril',
221 'Me',
222 'Jun',
223 'Julai',
224 'Ogas',
225 'Septemba',
226 'Oktoba',
227 'Novemba',
228 'Desemba'
229 ],
230 leap => [
231
232 ],
233 },
234 },
235 },
236 } },
237 1 );
238
239 has 'calendar_days' => (
240 is => 'ro',
241 isa => HashRef,
242 init_arg => undef,
243 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
244 0 'gregorian' => {
245 'format' => {
246 abbreviated => {
247 mon => 'Man',
248 tue => 'Tun',
249 wed => 'Tri',
250 thu => 'Fon',
251 fri => 'Fra',
252 sat => 'Sar',
253 sun => 'San'
254 },
255 wide => {
256 mon => 'Mande',
257 tue => 'Tunde',
258 wed => 'Trinde',
259 thu => 'Fonde',
260 fri => 'Fraide',
261 sat => 'Sarere',
262 sun => 'Sande'
263 },
264 },
265 },
266 } },
267 1 );
268
269 has 'eras' => (
270 is => 'ro',
271 isa => HashRef,
272 init_arg => undef,
273 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
274 0 'gregorian' => {
275 },
276 } },
277 1 );
278
279 has 'date_formats' => (
280 is => 'ro',
281 isa => HashRef,
282 init_arg => undef,
283 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
284 0 'gregorian' => {
285 'full' => q{EEE, dd MMMM y},
286 'long' => q{dd MMMM y},
287 'medium' => q{dd MMM y},
288 'short' => q{dd/MM/yy},
289 },
290 } },
291 1 );
292
293 has 'time_formats' => (
294 is => 'ro',
295 isa => HashRef,
296 init_arg => undef,
297 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
298 0 'gregorian' => {
299 'full' => q{hh:mm:ss a zzzz},
300 'long' => q{hh:mm:ss a zzz},
301 'medium' => q{hh:mm:ss a},
302 'short' => q{hh:mm a},
303 },
304 } },
305 1 );
306
307 has 'datetime_formats' => (
308 is => 'ro',
309 isa => HashRef,
310 init_arg => undef,
311 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
312 0 'gregorian' => {
313 },
314 } },
315 1 );
316
317 has 'datetime_formats_available_formats' => (
318 is => 'ro',
319 isa => HashRef,
320 init_arg => undef,
321 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
322 0 'gregorian' => {
323 yMMMd => q{d MMM y},
324 yMd => q{d/M/y},
325 },
326 } },
327 1 );
328
329 has 'datetime_formats_append_item' => (
330 is => 'ro',
331 isa => HashRef,
332 init_arg => undef,
333 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
334 0 } },
335 1 );
336
337 has 'datetime_formats_interval' => (
338 is => 'ro',
339 isa => HashRef,
340 init_arg => undef,
341 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
342 0 } },
343 1 );
344
345 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
346
347 1 1;
348
349 # vim: tabstop=4
↑ Summary Tpi/Latn.pm »