| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
=encoding utf8 |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::Ca::Latn::Es::Valencia - Package for language Catalan |
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Ca::Latn::Es::Valencia; |
|
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\ca_ES_VALENCIA.xml |
|
11
|
|
|
|
|
|
|
# on Fri 17 Jan 12:03:31 pm GMT |
|
12
|
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
1774
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
46
|
|
|
14
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
52
|
|
|
15
|
1
|
|
|
1
|
|
7
|
use version; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
6
|
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.46.0'); |
|
18
|
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
137
|
use v5.12.0; |
|
|
1
|
|
|
|
|
5
|
|
|
20
|
1
|
|
|
1
|
|
7
|
use mro 'c3'; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
17
|
|
|
21
|
1
|
|
|
1
|
|
72
|
use utf8; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
11
|
|
|
22
|
1
|
|
|
1
|
|
41
|
use feature 'unicode_strings'; |
|
|
1
|
|
|
|
|
15
|
|
|
|
1
|
|
|
|
|
140
|
|
|
23
|
1
|
|
|
1
|
|
7
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
|
1
|
|
|
|
|
69
|
|
|
|
1
|
|
|
|
|
12
|
|
|
24
|
1
|
|
|
1
|
|
3049
|
use Moo; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
8
|
|
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Ca::Latn::Es'); |
|
27
|
|
|
|
|
|
|
has 'display_name_language' => ( |
|
28
|
|
|
|
|
|
|
is => 'ro', |
|
29
|
|
|
|
|
|
|
isa => CodeRef, |
|
30
|
|
|
|
|
|
|
init_arg => undef, |
|
31
|
|
|
|
|
|
|
default => sub { |
|
32
|
|
|
|
|
|
|
sub { |
|
33
|
|
|
|
|
|
|
my %languages = ( |
|
34
|
|
|
|
|
|
|
'an' => 'aragonés', |
|
35
|
|
|
|
|
|
|
'ang' => 'anglés antic', |
|
36
|
|
|
|
|
|
|
'as' => 'assamés', |
|
37
|
|
|
|
|
|
|
'az' => 'azerbaidjanés', |
|
38
|
|
|
|
|
|
|
'ban' => 'balinés', |
|
39
|
|
|
|
|
|
|
'bar' => 'bavarés', |
|
40
|
|
|
|
|
|
|
'ce' => 'txetxé', |
|
41
|
|
|
|
|
|
|
'cy' => 'gal·lés', |
|
42
|
|
|
|
|
|
|
'da' => 'danés', |
|
43
|
|
|
|
|
|
|
'dum' => 'neerlandés mitjà', |
|
44
|
|
|
|
|
|
|
'en' => 'anglés', |
|
45
|
|
|
|
|
|
|
'en_AU' => 'anglés australià', |
|
46
|
|
|
|
|
|
|
'en_CA' => 'anglés canadenc', |
|
47
|
|
|
|
|
|
|
'en_GB' => 'anglés britànic', |
|
48
|
|
|
|
|
|
|
'en_GB@alt=short' => 'anglés (GB)', |
|
49
|
|
|
|
|
|
|
'en_US' => 'anglés americà', |
|
50
|
|
|
|
|
|
|
'en_US@alt=short' => 'anglés (EUA)', |
|
51
|
|
|
|
|
|
|
'enm' => 'anglés mitjà', |
|
52
|
|
|
|
|
|
|
'fi' => 'finés', |
|
53
|
|
|
|
|
|
|
'fo' => 'feroés', |
|
54
|
|
|
|
|
|
|
'fr' => 'francés', |
|
55
|
|
|
|
|
|
|
'fr_CA' => 'francés canadenc', |
|
56
|
|
|
|
|
|
|
'fr_CH' => 'francés suís', |
|
57
|
|
|
|
|
|
|
'frc' => 'francés cajun', |
|
58
|
|
|
|
|
|
|
'frm' => 'francés mitjà', |
|
59
|
|
|
|
|
|
|
'fro' => 'francés antic', |
|
60
|
|
|
|
|
|
|
'ga' => 'irlandés', |
|
61
|
|
|
|
|
|
|
'gd' => 'gaèlic escocés', |
|
62
|
|
|
|
|
|
|
'gil' => 'gilbertés', |
|
63
|
|
|
|
|
|
|
'hu' => 'hongarés', |
|
64
|
|
|
|
|
|
|
'is' => 'islandés', |
|
65
|
|
|
|
|
|
|
'ja' => 'japonés', |
|
66
|
|
|
|
|
|
|
'jv' => 'javanés', |
|
67
|
|
|
|
|
|
|
'kho' => 'khotanés', |
|
68
|
|
|
|
|
|
|
'kl' => 'grenlandés', |
|
69
|
|
|
|
|
|
|
'lb' => 'luxemburgués', |
|
70
|
|
|
|
|
|
|
'li' => 'limburgués', |
|
71
|
|
|
|
|
|
|
'mad' => 'madurés', |
|
72
|
|
|
|
|
|
|
'mga' => 'gaèlic irlandés mitjà', |
|
73
|
|
|
|
|
|
|
'mh' => 'marshallés', |
|
74
|
|
|
|
|
|
|
'mt' => 'maltés', |
|
75
|
|
|
|
|
|
|
'mwl' => 'mirandés', |
|
76
|
|
|
|
|
|
|
'ne' => 'nepalés', |
|
77
|
|
|
|
|
|
|
'nl' => 'neerlandés', |
|
78
|
|
|
|
|
|
|
'pl' => 'polonés', |
|
79
|
|
|
|
|
|
|
'pt' => 'portugués', |
|
80
|
|
|
|
|
|
|
'pt_BR' => 'portugués del Brasil', |
|
81
|
|
|
|
|
|
|
'pt_PT' => 'portugués de Portugal', |
|
82
|
|
|
|
|
|
|
'ro' => 'romanés', |
|
83
|
|
|
|
|
|
|
'rup' => 'aromanés', |
|
84
|
|
|
|
|
|
|
'rw' => 'ruandés', |
|
85
|
|
|
|
|
|
|
'sco' => 'escocés', |
|
86
|
|
|
|
|
|
|
'sga' => 'irlandés antic', |
|
87
|
|
|
|
|
|
|
'si' => 'singalés', |
|
88
|
|
|
|
|
|
|
'sl' => 'eslové', |
|
89
|
|
|
|
|
|
|
'sq' => 'albanés', |
|
90
|
|
|
|
|
|
|
'su' => 'sundanés', |
|
91
|
|
|
|
|
|
|
'th' => 'tailandés', |
|
92
|
|
|
|
|
|
|
'tkl' => 'tokelaués', |
|
93
|
|
|
|
|
|
|
'to' => 'tongalés', |
|
94
|
|
|
|
|
|
|
'uk' => 'ucraïnés', |
|
95
|
|
|
|
|
|
|
'yue' => 'cantonés', |
|
96
|
|
|
|
|
|
|
'yue@alt=menu' => 'xinés, cantonés', |
|
97
|
|
|
|
|
|
|
'zh' => 'xinés', |
|
98
|
|
|
|
|
|
|
'zh@alt=menu' => 'xinés, mandarí', |
|
99
|
|
|
|
|
|
|
'zh_Hans' => 'xinés simplificat', |
|
100
|
|
|
|
|
|
|
'zh_Hans@alt=long' => 'xinés mandarí (simplificat)', |
|
101
|
|
|
|
|
|
|
'zh_Hant' => 'xinés tradicional', |
|
102
|
|
|
|
|
|
|
'zh_Hant@alt=long' => 'xinés mandarí (tradicional)', |
|
103
|
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
); |
|
105
|
|
|
|
|
|
|
if (@_) { |
|
106
|
|
|
|
|
|
|
return $languages{$_[0]}; |
|
107
|
|
|
|
|
|
|
} |
|
108
|
|
|
|
|
|
|
return \%languages; |
|
109
|
|
|
|
|
|
|
} |
|
110
|
|
|
|
|
|
|
}, |
|
111
|
|
|
|
|
|
|
); |
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
has 'display_name_script' => ( |
|
114
|
|
|
|
|
|
|
is => 'ro', |
|
115
|
|
|
|
|
|
|
isa => CodeRef, |
|
116
|
|
|
|
|
|
|
init_arg => undef, |
|
117
|
|
|
|
|
|
|
default => sub { |
|
118
|
|
|
|
|
|
|
sub { |
|
119
|
|
|
|
|
|
|
my %scripts = ( |
|
120
|
|
|
|
|
|
|
'Aghb' => 'albanés caucàsic', |
|
121
|
|
|
|
|
|
|
'Bali' => 'balinés', |
|
122
|
|
|
|
|
|
|
'Bugi' => 'buginés', |
|
123
|
|
|
|
|
|
|
'Hung' => 'hongarés antic', |
|
124
|
|
|
|
|
|
|
'Java' => 'javanés', |
|
125
|
|
|
|
|
|
|
'Jpan' => 'japonés', |
|
126
|
|
|
|
|
|
|
'Palm' => 'palmiré', |
|
127
|
|
|
|
|
|
|
'Sinh' => 'singalés', |
|
128
|
|
|
|
|
|
|
'Sund' => 'sundanés', |
|
129
|
|
|
|
|
|
|
'Thai' => 'tailandés', |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
); |
|
132
|
|
|
|
|
|
|
if ( @_ ) { |
|
133
|
|
|
|
|
|
|
return $scripts{$_[0]}; |
|
134
|
|
|
|
|
|
|
} |
|
135
|
|
|
|
|
|
|
return \%scripts; |
|
136
|
|
|
|
|
|
|
} |
|
137
|
|
|
|
|
|
|
} |
|
138
|
|
|
|
|
|
|
); |
|
139
|
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
has 'display_name_type' => ( |
|
141
|
|
|
|
|
|
|
is => 'ro', |
|
142
|
|
|
|
|
|
|
isa => HashRef[HashRef[Str]], |
|
143
|
|
|
|
|
|
|
init_arg => undef, |
|
144
|
|
|
|
|
|
|
default => sub { |
|
145
|
|
|
|
|
|
|
{ |
|
146
|
|
|
|
|
|
|
'calendar' => { |
|
147
|
|
|
|
|
|
|
'chinese' => q{calendari xinés}, |
|
148
|
|
|
|
|
|
|
'japanese' => q{calendari japonés}, |
|
149
|
|
|
|
|
|
|
}, |
|
150
|
|
|
|
|
|
|
'collation' => { |
|
151
|
|
|
|
|
|
|
'big5han' => q{ordre del xinés tradicional - Big5}, |
|
152
|
|
|
|
|
|
|
'gb2312han' => q{ordre del xinés simplificat - GB2312}, |
|
153
|
|
|
|
|
|
|
}, |
|
154
|
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
} |
|
156
|
|
|
|
|
|
|
}, |
|
157
|
|
|
|
|
|
|
); |
|
158
|
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
has 'currencies' => ( |
|
160
|
|
|
|
|
|
|
is => 'ro', |
|
161
|
|
|
|
|
|
|
isa => HashRef, |
|
162
|
|
|
|
|
|
|
init_arg => undef, |
|
163
|
|
|
|
|
|
|
default => sub { { |
|
164
|
|
|
|
|
|
|
'AFA' => { |
|
165
|
|
|
|
|
|
|
display_name => { |
|
166
|
|
|
|
|
|
|
'currency' => q(afgani afganés \(1927–2002\)), |
|
167
|
|
|
|
|
|
|
'one' => q(afgani afganés \(1927–2002\)), |
|
168
|
|
|
|
|
|
|
'other' => q(afganis afganesos \(1927–2002\)), |
|
169
|
|
|
|
|
|
|
}, |
|
170
|
|
|
|
|
|
|
}, |
|
171
|
|
|
|
|
|
|
'AFN' => { |
|
172
|
|
|
|
|
|
|
display_name => { |
|
173
|
|
|
|
|
|
|
'currency' => q(afgani afganés), |
|
174
|
|
|
|
|
|
|
'one' => q(afgani afganés), |
|
175
|
|
|
|
|
|
|
'other' => q(afganis afganesos), |
|
176
|
|
|
|
|
|
|
}, |
|
177
|
|
|
|
|
|
|
}, |
|
178
|
|
|
|
|
|
|
'ALK' => { |
|
179
|
|
|
|
|
|
|
display_name => { |
|
180
|
|
|
|
|
|
|
'currency' => q(lek albanés \(1946–1965\)), |
|
181
|
|
|
|
|
|
|
'one' => q(lek albanés \(1946–1965\)), |
|
182
|
|
|
|
|
|
|
'other' => q(lekë albanesos \(1946–1965\)), |
|
183
|
|
|
|
|
|
|
}, |
|
184
|
|
|
|
|
|
|
}, |
|
185
|
|
|
|
|
|
|
'ALL' => { |
|
186
|
|
|
|
|
|
|
display_name => { |
|
187
|
|
|
|
|
|
|
'currency' => q(lek albanés), |
|
188
|
|
|
|
|
|
|
'one' => q(lek albanés), |
|
189
|
|
|
|
|
|
|
'other' => q(lekë albanesos), |
|
190
|
|
|
|
|
|
|
}, |
|
191
|
|
|
|
|
|
|
}, |
|
192
|
|
|
|
|
|
|
'AOA' => { |
|
193
|
|
|
|
|
|
|
display_name => { |
|
194
|
|
|
|
|
|
|
'currency' => q(kwanza angolés), |
|
195
|
|
|
|
|
|
|
'one' => q(kwanza angolés), |
|
196
|
|
|
|
|
|
|
}, |
|
197
|
|
|
|
|
|
|
}, |
|
198
|
|
|
|
|
|
|
'AOK' => { |
|
199
|
|
|
|
|
|
|
display_name => { |
|
200
|
|
|
|
|
|
|
'currency' => q(kwanza angolés \(1977–1991\)), |
|
201
|
|
|
|
|
|
|
'one' => q(kwanza angolés \(1977–1991\)), |
|
202
|
|
|
|
|
|
|
}, |
|
203
|
|
|
|
|
|
|
}, |
|
204
|
|
|
|
|
|
|
'AON' => { |
|
205
|
|
|
|
|
|
|
display_name => { |
|
206
|
|
|
|
|
|
|
'currency' => q(nou kwanza angolés \(1990–2000\)), |
|
207
|
|
|
|
|
|
|
'one' => q(nou kwanza angolés \(1990–2000\)), |
|
208
|
|
|
|
|
|
|
}, |
|
209
|
|
|
|
|
|
|
}, |
|
210
|
|
|
|
|
|
|
'AOR' => { |
|
211
|
|
|
|
|
|
|
display_name => { |
|
212
|
|
|
|
|
|
|
'currency' => q(kwanza angolés reajustat \(1995–1999\)), |
|
213
|
|
|
|
|
|
|
'one' => q(kwanza angolés reajustat \(1995–1999\)), |
|
214
|
|
|
|
|
|
|
}, |
|
215
|
|
|
|
|
|
|
}, |
|
216
|
|
|
|
|
|
|
'AZM' => { |
|
217
|
|
|
|
|
|
|
display_name => { |
|
218
|
|
|
|
|
|
|
'currency' => q(manat azerbaidjanés \(1993–2006\)), |
|
219
|
|
|
|
|
|
|
'one' => q(manat azerbaidjanés \(1993–2006\)), |
|
220
|
|
|
|
|
|
|
'other' => q(manats azerbaidjanesos \(1993–2006\)), |
|
221
|
|
|
|
|
|
|
}, |
|
222
|
|
|
|
|
|
|
}, |
|
223
|
|
|
|
|
|
|
'AZN' => { |
|
224
|
|
|
|
|
|
|
display_name => { |
|
225
|
|
|
|
|
|
|
'currency' => q(manat azerbaidjanés), |
|
226
|
|
|
|
|
|
|
'one' => q(manat azerbaidjanés), |
|
227
|
|
|
|
|
|
|
'other' => q(manats azerbaidjanesos), |
|
228
|
|
|
|
|
|
|
}, |
|
229
|
|
|
|
|
|
|
}, |
|
230
|
|
|
|
|
|
|
'CDF' => { |
|
231
|
|
|
|
|
|
|
display_name => { |
|
232
|
|
|
|
|
|
|
'currency' => q(franc congolés), |
|
233
|
|
|
|
|
|
|
'one' => q(franc congolés), |
|
234
|
|
|
|
|
|
|
}, |
|
235
|
|
|
|
|
|
|
}, |
|
236
|
|
|
|
|
|
|
'CLE' => { |
|
237
|
|
|
|
|
|
|
display_name => { |
|
238
|
|
|
|
|
|
|
'currency' => q(escut xilé), |
|
239
|
|
|
|
|
|
|
'one' => q(escut xilé), |
|
240
|
|
|
|
|
|
|
'other' => q(escudos xilens), |
|
241
|
|
|
|
|
|
|
}, |
|
242
|
|
|
|
|
|
|
}, |
|
243
|
|
|
|
|
|
|
'CLP' => { |
|
244
|
|
|
|
|
|
|
display_name => { |
|
245
|
|
|
|
|
|
|
'currency' => q(peso xilé), |
|
246
|
|
|
|
|
|
|
'one' => q(peso xilé), |
|
247
|
|
|
|
|
|
|
'other' => q(pesos xilens), |
|
248
|
|
|
|
|
|
|
}, |
|
249
|
|
|
|
|
|
|
}, |
|
250
|
|
|
|
|
|
|
'CNH' => { |
|
251
|
|
|
|
|
|
|
display_name => { |
|
252
|
|
|
|
|
|
|
'currency' => q(iuan xinés extracontinental), |
|
253
|
|
|
|
|
|
|
'one' => q(iuan xinés extracontinental), |
|
254
|
|
|
|
|
|
|
}, |
|
255
|
|
|
|
|
|
|
}, |
|
256
|
|
|
|
|
|
|
'CNX' => { |
|
257
|
|
|
|
|
|
|
display_name => { |
|
258
|
|
|
|
|
|
|
'currency' => q(dòlar del Banc Popular Xinés), |
|
259
|
|
|
|
|
|
|
'one' => q(dòlar del Banc Popular Xinés), |
|
260
|
|
|
|
|
|
|
'other' => q(dòlars del Banc Popular Xinés), |
|
261
|
|
|
|
|
|
|
}, |
|
262
|
|
|
|
|
|
|
}, |
|
263
|
|
|
|
|
|
|
'CNY' => { |
|
264
|
|
|
|
|
|
|
display_name => { |
|
265
|
|
|
|
|
|
|
'currency' => q(iuan xinés), |
|
266
|
|
|
|
|
|
|
'one' => q(iuan xinés), |
|
267
|
|
|
|
|
|
|
'other' => q(iuan xinesos), |
|
268
|
|
|
|
|
|
|
}, |
|
269
|
|
|
|
|
|
|
}, |
|
270
|
|
|
|
|
|
|
'FIM' => { |
|
271
|
|
|
|
|
|
|
display_name => { |
|
272
|
|
|
|
|
|
|
'currency' => q(marc finlandés), |
|
273
|
|
|
|
|
|
|
'one' => q(marc finlandés), |
|
274
|
|
|
|
|
|
|
'other' => q(marcs finlandesos), |
|
275
|
|
|
|
|
|
|
}, |
|
276
|
|
|
|
|
|
|
}, |
|
277
|
|
|
|
|
|
|
'FRF' => { |
|
278
|
|
|
|
|
|
|
display_name => { |
|
279
|
|
|
|
|
|
|
'currency' => q(franc francés), |
|
280
|
|
|
|
|
|
|
'one' => q(franc francés), |
|
281
|
|
|
|
|
|
|
'other' => q(francs francesos), |
|
282
|
|
|
|
|
|
|
}, |
|
283
|
|
|
|
|
|
|
}, |
|
284
|
|
|
|
|
|
|
'GHC' => { |
|
285
|
|
|
|
|
|
|
display_name => { |
|
286
|
|
|
|
|
|
|
'currency' => q(cedi ghanés \(1979–2007\)), |
|
287
|
|
|
|
|
|
|
'one' => q(cedi ghanés \(1979–2007\)), |
|
288
|
|
|
|
|
|
|
}, |
|
289
|
|
|
|
|
|
|
}, |
|
290
|
|
|
|
|
|
|
'GHS' => { |
|
291
|
|
|
|
|
|
|
display_name => { |
|
292
|
|
|
|
|
|
|
'currency' => q(cedi ghanés), |
|
293
|
|
|
|
|
|
|
'one' => q(cedi ghanés), |
|
294
|
|
|
|
|
|
|
}, |
|
295
|
|
|
|
|
|
|
}, |
|
296
|
|
|
|
|
|
|
'HUF' => { |
|
297
|
|
|
|
|
|
|
display_name => { |
|
298
|
|
|
|
|
|
|
'currency' => q(fòrint hongarés), |
|
299
|
|
|
|
|
|
|
'one' => q(fòrint hongarés), |
|
300
|
|
|
|
|
|
|
'other' => q(fòrints hongaresos), |
|
301
|
|
|
|
|
|
|
}, |
|
302
|
|
|
|
|
|
|
}, |
|
303
|
|
|
|
|
|
|
'JPY' => { |
|
304
|
|
|
|
|
|
|
display_name => { |
|
305
|
|
|
|
|
|
|
'currency' => q(ien japonés), |
|
306
|
|
|
|
|
|
|
'one' => q(ien japonés), |
|
307
|
|
|
|
|
|
|
'other' => q(iens japonesos), |
|
308
|
|
|
|
|
|
|
}, |
|
309
|
|
|
|
|
|
|
}, |
|
310
|
|
|
|
|
|
|
'LUC' => { |
|
311
|
|
|
|
|
|
|
display_name => { |
|
312
|
|
|
|
|
|
|
'currency' => q(franc convertible luxemburgués), |
|
313
|
|
|
|
|
|
|
'one' => q(franc convertible luxemburgués), |
|
314
|
|
|
|
|
|
|
'other' => q(francs convertibles luxemburguesos), |
|
315
|
|
|
|
|
|
|
}, |
|
316
|
|
|
|
|
|
|
}, |
|
317
|
|
|
|
|
|
|
'LUF' => { |
|
318
|
|
|
|
|
|
|
display_name => { |
|
319
|
|
|
|
|
|
|
'currency' => q(franc luxemburgués), |
|
320
|
|
|
|
|
|
|
'one' => q(franc luxemburgués), |
|
321
|
|
|
|
|
|
|
'other' => q(francs luxemburguesos), |
|
322
|
|
|
|
|
|
|
}, |
|
323
|
|
|
|
|
|
|
}, |
|
324
|
|
|
|
|
|
|
'LUL' => { |
|
325
|
|
|
|
|
|
|
display_name => { |
|
326
|
|
|
|
|
|
|
'currency' => q(franc financer luxemburgués), |
|
327
|
|
|
|
|
|
|
'one' => q(franc financer luxemburgués), |
|
328
|
|
|
|
|
|
|
'other' => q(francs financers luxemburguesos), |
|
329
|
|
|
|
|
|
|
}, |
|
330
|
|
|
|
|
|
|
}, |
|
331
|
|
|
|
|
|
|
'MZE' => { |
|
332
|
|
|
|
|
|
|
display_name => { |
|
333
|
|
|
|
|
|
|
'currency' => q(escut moçambiqués), |
|
334
|
|
|
|
|
|
|
'one' => q(escut moçambiqués), |
|
335
|
|
|
|
|
|
|
'other' => q(escuts moçambiquesos), |
|
336
|
|
|
|
|
|
|
}, |
|
337
|
|
|
|
|
|
|
}, |
|
338
|
|
|
|
|
|
|
'MZM' => { |
|
339
|
|
|
|
|
|
|
display_name => { |
|
340
|
|
|
|
|
|
|
'currency' => q(antic metical moçambiqués), |
|
341
|
|
|
|
|
|
|
'one' => q(antic metical moçambiqués), |
|
342
|
|
|
|
|
|
|
'other' => q(antics meticals moçambiquesos), |
|
343
|
|
|
|
|
|
|
}, |
|
344
|
|
|
|
|
|
|
}, |
|
345
|
|
|
|
|
|
|
'MZN' => { |
|
346
|
|
|
|
|
|
|
display_name => { |
|
347
|
|
|
|
|
|
|
'currency' => q(metical moçambiqués), |
|
348
|
|
|
|
|
|
|
'one' => q(metical moçambiqués), |
|
349
|
|
|
|
|
|
|
'other' => q(meticals moçambiquesos), |
|
350
|
|
|
|
|
|
|
}, |
|
351
|
|
|
|
|
|
|
}, |
|
352
|
|
|
|
|
|
|
'NLG' => { |
|
353
|
|
|
|
|
|
|
display_name => { |
|
354
|
|
|
|
|
|
|
'currency' => q(florí neerlandés), |
|
355
|
|
|
|
|
|
|
'one' => q(florí neerlandés), |
|
356
|
|
|
|
|
|
|
'other' => q(florins neerlandesos), |
|
357
|
|
|
|
|
|
|
}, |
|
358
|
|
|
|
|
|
|
}, |
|
359
|
|
|
|
|
|
|
'NZD' => { |
|
360
|
|
|
|
|
|
|
display_name => { |
|
361
|
|
|
|
|
|
|
'currency' => q(dòlar neozelandés), |
|
362
|
|
|
|
|
|
|
'one' => q(dòlar neozelandés), |
|
363
|
|
|
|
|
|
|
'other' => q(dòlars neozelandesos), |
|
364
|
|
|
|
|
|
|
}, |
|
365
|
|
|
|
|
|
|
}, |
|
366
|
|
|
|
|
|
|
'PLN' => { |
|
367
|
|
|
|
|
|
|
display_name => { |
|
368
|
|
|
|
|
|
|
'currency' => q(zloty polonés), |
|
369
|
|
|
|
|
|
|
'one' => q(zloty polonés), |
|
370
|
|
|
|
|
|
|
'other' => q(zlote polonesos), |
|
371
|
|
|
|
|
|
|
}, |
|
372
|
|
|
|
|
|
|
}, |
|
373
|
|
|
|
|
|
|
'PLZ' => { |
|
374
|
|
|
|
|
|
|
display_name => { |
|
375
|
|
|
|
|
|
|
'currency' => q(zloty polonés \(1950–1995\)), |
|
376
|
|
|
|
|
|
|
'one' => q(zloty polonés \(1950–1995\)), |
|
377
|
|
|
|
|
|
|
'other' => q(zlote polonesos \(1950–1995\)), |
|
378
|
|
|
|
|
|
|
}, |
|
379
|
|
|
|
|
|
|
}, |
|
380
|
|
|
|
|
|
|
'PTE' => { |
|
381
|
|
|
|
|
|
|
display_name => { |
|
382
|
|
|
|
|
|
|
'currency' => q(escut portugués), |
|
383
|
|
|
|
|
|
|
'one' => q(escut portugués), |
|
384
|
|
|
|
|
|
|
'other' => q(escuts portuguesos), |
|
385
|
|
|
|
|
|
|
}, |
|
386
|
|
|
|
|
|
|
}, |
|
387
|
|
|
|
|
|
|
'ROL' => { |
|
388
|
|
|
|
|
|
|
display_name => { |
|
389
|
|
|
|
|
|
|
'currency' => q(antic leu romanés), |
|
390
|
|
|
|
|
|
|
'one' => q(antic leu romanés), |
|
391
|
|
|
|
|
|
|
'other' => q(antics lei romanesos), |
|
392
|
|
|
|
|
|
|
}, |
|
393
|
|
|
|
|
|
|
}, |
|
394
|
|
|
|
|
|
|
'RON' => { |
|
395
|
|
|
|
|
|
|
display_name => { |
|
396
|
|
|
|
|
|
|
'currency' => q(leu romanés), |
|
397
|
|
|
|
|
|
|
'one' => q(leu romanés), |
|
398
|
|
|
|
|
|
|
'other' => q(lei romanesos), |
|
399
|
|
|
|
|
|
|
}, |
|
400
|
|
|
|
|
|
|
}, |
|
401
|
|
|
|
|
|
|
'RWF' => { |
|
402
|
|
|
|
|
|
|
display_name => { |
|
403
|
|
|
|
|
|
|
'currency' => q(franc rwandés), |
|
404
|
|
|
|
|
|
|
'one' => q(franc rwandés), |
|
405
|
|
|
|
|
|
|
'other' => q(francs de Ruanda), |
|
406
|
|
|
|
|
|
|
}, |
|
407
|
|
|
|
|
|
|
}, |
|
408
|
|
|
|
|
|
|
'SDD' => { |
|
409
|
|
|
|
|
|
|
display_name => { |
|
410
|
|
|
|
|
|
|
'currency' => q(dinar sudanés), |
|
411
|
|
|
|
|
|
|
'one' => q(dinar sudanés), |
|
412
|
|
|
|
|
|
|
}, |
|
413
|
|
|
|
|
|
|
}, |
|
414
|
|
|
|
|
|
|
'SIT' => { |
|
415
|
|
|
|
|
|
|
display_name => { |
|
416
|
|
|
|
|
|
|
'currency' => q(tolar eslové), |
|
417
|
|
|
|
|
|
|
'one' => q(tolar eslové), |
|
418
|
|
|
|
|
|
|
'other' => q(tolars eslovens), |
|
419
|
|
|
|
|
|
|
}, |
|
420
|
|
|
|
|
|
|
}, |
|
421
|
|
|
|
|
|
|
'THB' => { |
|
422
|
|
|
|
|
|
|
display_name => { |
|
423
|
|
|
|
|
|
|
'currency' => q(baht tailandés), |
|
424
|
|
|
|
|
|
|
'one' => q(baht tailandés), |
|
425
|
|
|
|
|
|
|
'other' => q(bahts tailandesos), |
|
426
|
|
|
|
|
|
|
}, |
|
427
|
|
|
|
|
|
|
}, |
|
428
|
|
|
|
|
|
|
'UAK' => { |
|
429
|
|
|
|
|
|
|
display_name => { |
|
430
|
|
|
|
|
|
|
'currency' => q(karbóvanets ucraïnés), |
|
431
|
|
|
|
|
|
|
'one' => q(karbóvanets ucraïnés), |
|
432
|
|
|
|
|
|
|
'other' => q(karbóvantsiv ucraïnesos), |
|
433
|
|
|
|
|
|
|
}, |
|
434
|
|
|
|
|
|
|
}, |
|
435
|
|
|
|
|
|
|
'UGS' => { |
|
436
|
|
|
|
|
|
|
display_name => { |
|
437
|
|
|
|
|
|
|
'currency' => q(xíling ugandés \(1966–1987\)), |
|
438
|
|
|
|
|
|
|
'one' => q(xíling ugandés \(1966–1987\)), |
|
439
|
|
|
|
|
|
|
'other' => q(xílings ugandesos \(1966–1987\)), |
|
440
|
|
|
|
|
|
|
}, |
|
441
|
|
|
|
|
|
|
}, |
|
442
|
|
|
|
|
|
|
'UGX' => { |
|
443
|
|
|
|
|
|
|
display_name => { |
|
444
|
|
|
|
|
|
|
'currency' => q(xíling ugandés), |
|
445
|
|
|
|
|
|
|
'one' => q(xíling ugandés), |
|
446
|
|
|
|
|
|
|
'other' => q(xílings ugandesos), |
|
447
|
|
|
|
|
|
|
}, |
|
448
|
|
|
|
|
|
|
}, |
|
449
|
|
|
|
|
|
|
'XFO' => { |
|
450
|
|
|
|
|
|
|
display_name => { |
|
451
|
|
|
|
|
|
|
'currency' => q(franc or francés), |
|
452
|
|
|
|
|
|
|
'one' => q(franc or francés), |
|
453
|
|
|
|
|
|
|
'other' => q(francs or francesos), |
|
454
|
|
|
|
|
|
|
}, |
|
455
|
|
|
|
|
|
|
}, |
|
456
|
|
|
|
|
|
|
'XFU' => { |
|
457
|
|
|
|
|
|
|
display_name => { |
|
458
|
|
|
|
|
|
|
'currency' => q(franc UIC francés), |
|
459
|
|
|
|
|
|
|
'one' => q(franc UIC francés), |
|
460
|
|
|
|
|
|
|
'other' => q(francs UIC francesos), |
|
461
|
|
|
|
|
|
|
}, |
|
462
|
|
|
|
|
|
|
}, |
|
463
|
|
|
|
|
|
|
'ZRN' => { |
|
464
|
|
|
|
|
|
|
display_name => { |
|
465
|
|
|
|
|
|
|
'currency' => q(nou zaire zairés), |
|
466
|
|
|
|
|
|
|
'one' => q(nou zaire zairés), |
|
467
|
|
|
|
|
|
|
}, |
|
468
|
|
|
|
|
|
|
}, |
|
469
|
|
|
|
|
|
|
'ZRZ' => { |
|
470
|
|
|
|
|
|
|
display_name => { |
|
471
|
|
|
|
|
|
|
'currency' => q(zaire zairés), |
|
472
|
|
|
|
|
|
|
'one' => q(zaire zairés), |
|
473
|
|
|
|
|
|
|
}, |
|
474
|
|
|
|
|
|
|
}, |
|
475
|
|
|
|
|
|
|
'ZWD' => { |
|
476
|
|
|
|
|
|
|
display_name => { |
|
477
|
|
|
|
|
|
|
'currency' => q(dòlar zimbabués \(1980–2008\)), |
|
478
|
|
|
|
|
|
|
'one' => q(dòlar zimbabués \(1980–2008\)), |
|
479
|
|
|
|
|
|
|
'other' => q(dòlars zimbabuesos \(1980–2008\)), |
|
480
|
|
|
|
|
|
|
}, |
|
481
|
|
|
|
|
|
|
}, |
|
482
|
|
|
|
|
|
|
'ZWL' => { |
|
483
|
|
|
|
|
|
|
display_name => { |
|
484
|
|
|
|
|
|
|
'currency' => q(dòlar zimbabués \(2009\)), |
|
485
|
|
|
|
|
|
|
'one' => q(dòlar zimbabués \(2009\)), |
|
486
|
|
|
|
|
|
|
'other' => q(dòlars zimbabuesos \(2009\)), |
|
487
|
|
|
|
|
|
|
}, |
|
488
|
|
|
|
|
|
|
}, |
|
489
|
|
|
|
|
|
|
'ZWR' => { |
|
490
|
|
|
|
|
|
|
display_name => { |
|
491
|
|
|
|
|
|
|
'currency' => q(dòlar zimbabués \(2008\)), |
|
492
|
|
|
|
|
|
|
'one' => q(dòlar zimbabués \(2008\)), |
|
493
|
|
|
|
|
|
|
'other' => q(dòlars zimbabuesos \(2008\)), |
|
494
|
|
|
|
|
|
|
}, |
|
495
|
|
|
|
|
|
|
}, |
|
496
|
|
|
|
|
|
|
} }, |
|
497
|
|
|
|
|
|
|
); |
|
498
|
|
|
|
|
|
|
|
|
499
|
|
|
|
|
|
|
|
|
500
|
|
|
|
|
|
|
has 'day_period_data' => ( |
|
501
|
|
|
|
|
|
|
is => 'ro', |
|
502
|
|
|
|
|
|
|
isa => CodeRef, |
|
503
|
|
|
|
|
|
|
init_arg => undef, |
|
504
|
|
|
|
|
|
|
default => sub { sub { |
|
505
|
|
|
|
|
|
|
# Time in hhmm format |
|
506
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
|
507
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
|
508
|
|
|
|
|
|
|
SWITCH: |
|
509
|
|
|
|
|
|
|
for ($type) { |
|
510
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
|
511
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
|
512
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
|
513
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
|
514
|
|
|
|
|
|
|
&& $time < 1300; |
|
515
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
|
516
|
|
|
|
|
|
|
&& $time < 1900; |
|
517
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
|
518
|
|
|
|
|
|
|
&& $time < 2100; |
|
519
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
|
520
|
|
|
|
|
|
|
&& $time < 600; |
|
521
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
|
522
|
|
|
|
|
|
|
&& $time < 1200; |
|
523
|
|
|
|
|
|
|
return 'night1' if $time >= 2100 |
|
524
|
|
|
|
|
|
|
&& $time < 2400; |
|
525
|
|
|
|
|
|
|
} |
|
526
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
|
527
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
|
528
|
|
|
|
|
|
|
&& $time < 1300; |
|
529
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
|
530
|
|
|
|
|
|
|
&& $time < 1900; |
|
531
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
|
532
|
|
|
|
|
|
|
&& $time < 2100; |
|
533
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
|
534
|
|
|
|
|
|
|
&& $time < 600; |
|
535
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
|
536
|
|
|
|
|
|
|
&& $time < 1200; |
|
537
|
|
|
|
|
|
|
return 'night1' if $time >= 2100 |
|
538
|
|
|
|
|
|
|
&& $time < 2400; |
|
539
|
|
|
|
|
|
|
} |
|
540
|
|
|
|
|
|
|
last SWITCH; |
|
541
|
|
|
|
|
|
|
} |
|
542
|
|
|
|
|
|
|
} |
|
543
|
|
|
|
|
|
|
} }, |
|
544
|
|
|
|
|
|
|
); |
|
545
|
|
|
|
|
|
|
|
|
546
|
|
|
|
|
|
|
around day_period_data => sub { |
|
547
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
|
548
|
|
|
|
|
|
|
return $self->$orig; |
|
549
|
|
|
|
|
|
|
}; |
|
550
|
|
|
|
|
|
|
|
|
551
|
|
|
|
|
|
|
has 'day_periods' => ( |
|
552
|
|
|
|
|
|
|
is => 'ro', |
|
553
|
|
|
|
|
|
|
isa => HashRef, |
|
554
|
|
|
|
|
|
|
init_arg => undef, |
|
555
|
|
|
|
|
|
|
default => sub { { |
|
556
|
|
|
|
|
|
|
'gregorian' => { |
|
557
|
|
|
|
|
|
|
'format' => { |
|
558
|
|
|
|
|
|
|
'abbreviated' => { |
|
559
|
|
|
|
|
|
|
'afternoon2' => q{vesprada}, |
|
560
|
|
|
|
|
|
|
}, |
|
561
|
|
|
|
|
|
|
'narrow' => { |
|
562
|
|
|
|
|
|
|
'afternoon2' => q{vesprada}, |
|
563
|
|
|
|
|
|
|
}, |
|
564
|
|
|
|
|
|
|
'wide' => { |
|
565
|
|
|
|
|
|
|
'afternoon2' => q{vesprada}, |
|
566
|
|
|
|
|
|
|
}, |
|
567
|
|
|
|
|
|
|
}, |
|
568
|
|
|
|
|
|
|
'stand-alone' => { |
|
569
|
|
|
|
|
|
|
'narrow' => { |
|
570
|
|
|
|
|
|
|
'afternoon2' => q{vesprada}, |
|
571
|
|
|
|
|
|
|
}, |
|
572
|
|
|
|
|
|
|
'wide' => { |
|
573
|
|
|
|
|
|
|
'afternoon2' => q{vesprada}, |
|
574
|
|
|
|
|
|
|
}, |
|
575
|
|
|
|
|
|
|
}, |
|
576
|
|
|
|
|
|
|
}, |
|
577
|
|
|
|
|
|
|
} }, |
|
578
|
|
|
|
|
|
|
); |
|
579
|
|
|
|
|
|
|
|
|
580
|
|
|
|
|
|
|
has 'eras' => ( |
|
581
|
|
|
|
|
|
|
is => 'ro', |
|
582
|
|
|
|
|
|
|
isa => HashRef, |
|
583
|
|
|
|
|
|
|
init_arg => undef, |
|
584
|
|
|
|
|
|
|
default => sub { { |
|
585
|
|
|
|
|
|
|
'gregorian' => { |
|
586
|
|
|
|
|
|
|
}, |
|
587
|
|
|
|
|
|
|
} }, |
|
588
|
|
|
|
|
|
|
); |
|
589
|
|
|
|
|
|
|
|
|
590
|
|
|
|
|
|
|
has 'date_formats' => ( |
|
591
|
|
|
|
|
|
|
is => 'ro', |
|
592
|
|
|
|
|
|
|
isa => HashRef, |
|
593
|
|
|
|
|
|
|
init_arg => undef, |
|
594
|
|
|
|
|
|
|
default => sub { { |
|
595
|
|
|
|
|
|
|
'gregorian' => { |
|
596
|
|
|
|
|
|
|
}, |
|
597
|
|
|
|
|
|
|
} }, |
|
598
|
|
|
|
|
|
|
); |
|
599
|
|
|
|
|
|
|
|
|
600
|
|
|
|
|
|
|
has 'time_formats' => ( |
|
601
|
|
|
|
|
|
|
is => 'ro', |
|
602
|
|
|
|
|
|
|
isa => HashRef, |
|
603
|
|
|
|
|
|
|
init_arg => undef, |
|
604
|
|
|
|
|
|
|
default => sub { { |
|
605
|
|
|
|
|
|
|
'gregorian' => { |
|
606
|
|
|
|
|
|
|
}, |
|
607
|
|
|
|
|
|
|
} }, |
|
608
|
|
|
|
|
|
|
); |
|
609
|
|
|
|
|
|
|
|
|
610
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
|
611
|
|
|
|
|
|
|
is => 'ro', |
|
612
|
|
|
|
|
|
|
isa => HashRef, |
|
613
|
|
|
|
|
|
|
init_arg => undef, |
|
614
|
|
|
|
|
|
|
default => sub { { |
|
615
|
|
|
|
|
|
|
'gregorian' => { |
|
616
|
|
|
|
|
|
|
}, |
|
617
|
|
|
|
|
|
|
} }, |
|
618
|
|
|
|
|
|
|
); |
|
619
|
|
|
|
|
|
|
|
|
620
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
|
621
|
|
|
|
|
|
|
is => 'ro', |
|
622
|
|
|
|
|
|
|
isa => HashRef, |
|
623
|
|
|
|
|
|
|
init_arg => undef, |
|
624
|
|
|
|
|
|
|
default => sub { { |
|
625
|
|
|
|
|
|
|
} }, |
|
626
|
|
|
|
|
|
|
); |
|
627
|
|
|
|
|
|
|
|
|
628
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
|
629
|
|
|
|
|
|
|
is => 'ro', |
|
630
|
|
|
|
|
|
|
isa => HashRef, |
|
631
|
|
|
|
|
|
|
init_arg => undef, |
|
632
|
|
|
|
|
|
|
default => sub { { |
|
633
|
|
|
|
|
|
|
} }, |
|
634
|
|
|
|
|
|
|
); |
|
635
|
|
|
|
|
|
|
|
|
636
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
|
637
|
|
|
|
|
|
|
is => 'ro', |
|
638
|
|
|
|
|
|
|
isa => HashRef, |
|
639
|
|
|
|
|
|
|
init_arg => undef, |
|
640
|
|
|
|
|
|
|
default => sub { { |
|
641
|
|
|
|
|
|
|
} }, |
|
642
|
|
|
|
|
|
|
); |
|
643
|
|
|
|
|
|
|
|
|
644
|
1
|
|
|
1
|
|
3543
|
no Moo; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
7
|
|
|
645
|
|
|
|
|
|
|
|
|
646
|
|
|
|
|
|
|
1; |
|
647
|
|
|
|
|
|
|
|
|
648
|
|
|
|
|
|
|
# vim: tabstop=4 |