PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 2.19.3
GiveWP – Donation Plugin and Fundraising Platform v2.19.3
4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 2.32.0 2.33.0 2.33.1 2.33.2 2.33.3 2.33.4 2.33.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.10.0 3.11.0 3.12.0 3.12.1 3.12.2 3.12.3 3.13.0 3.14.0 3.14.1 3.14.2 3.15.0 3.15.1 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.17.0 3.17.1 3.17.2 3.18.0 3.19.0 3.19.1 3.19.2 3.19.3 3.19.4 3.2.0 3.2.1 3.2.2 3.20.0 3.21.0 3.21.1 3.22.0 3.22.1 3.22.2 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.7.0 3.8.0 3.9.0 4.0.0 4.1.0 4.1.1 4.10.0 4.10.1 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.1 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 trunk 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.2 2.11.3 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.13.1 2.13.2 2.13.3 2.13.4 2.14.0 2.15.0 2.16.0 2.16.1 2.17.0 2.17.1 2.17.3 2.18.0 2.18.1 2.19.1 2.19.2 2.19.3 2.19.4 2.19.5 2.19.6 2.19.7 2.19.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.20.0 2.20.1 2.20.2 2.21.0 2.21.1 2.21.2 2.21.3 2.21.4 2.22.0 2.22.1 2.22.2 2.22.3 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.24.2 2.25.0 2.25.1 2.25.2 2.25.3 2.26.0 2.27.0 2.27.1 2.27.2 2.27.3 2.28.0 2.29.0 2.29.1 2.29.2
give / src / Onboarding / LocaleCollection.php
give / src / Onboarding Last commit date
Config 4 years ago Helpers 4 years ago Migrations 4 years ago Routes 4 years ago Setup 4 years ago Wizard 4 years ago DefaultFormFactory.php 4 years ago FormRepository.php 4 years ago LocaleCollection.php 4 years ago SettingsRepository.php 4 years ago SettingsRepositoryFactory.php 4 years ago
LocaleCollection.php
312 lines
1 <?php
2
3 namespace Give\Onboarding;
4
5 /**
6 * Fork of woocommerce/18n/locale-info
7 *
8 * @since 2.8.0
9 * @since 2.11.0 Added KR locale info (#5831)
10 */
11 class LocaleCollection
12 {
13
14 protected $localeInfo = [
15 'AT' => [
16 'currency_code' => 'EUR',
17 'currency_pos' => 'left',
18 'thousand_sep' => '.',
19 'decimal_sep' => ',',
20 'num_decimals' => 2,
21 'weight_unit' => 'kg',
22 'dimension_unit' => 'cm',
23 ],
24 'AU' => [
25 'currency_code' => 'AUD',
26 'currency_pos' => 'left',
27 'thousand_sep' => ',',
28 'decimal_sep' => '.',
29 'num_decimals' => 2,
30 'weight_unit' => 'kg',
31 'dimension_unit' => 'cm',
32 ],
33 'BA' => [
34 'currency_code' => 'BAM',
35 'currency_pos' => 'right_space',
36 'thousand_sep' => '.',
37 'decimal_sep' => ',',
38 'num_decimals' => 2,
39 'weight_unit' => 'kg',
40 'dimension_unit' => 'cm',
41 ],
42 'BD' => [
43 'currency_code' => 'BDT',
44 'currency_pos' => 'left',
45 'thousand_sep' => ',',
46 'decimal_sep' => '.',
47 'num_decimals' => 2,
48 'weight_unit' => 'kg',
49 'dimension_unit' => 'in',
50 ],
51 'BE' => [
52 'currency_code' => 'EUR',
53 'currency_pos' => 'left',
54 'thousand_sep' => ' ',
55 'decimal_sep' => ',',
56 'num_decimals' => 2,
57 'weight_unit' => 'kg',
58 'dimension_unit' => 'cm',
59 ],
60 'BR' => [
61 'currency_code' => 'BRL',
62 'currency_pos' => 'left',
63 'thousand_sep' => '.',
64 'decimal_sep' => ',',
65 'num_decimals' => 2,
66 'weight_unit' => 'kg',
67 'dimension_unit' => 'cm',
68 ],
69 'CA' => [
70 'currency_code' => 'CAD',
71 'currency_pos' => 'left',
72 'thousand_sep' => ',',
73 'decimal_sep' => '.',
74 'num_decimals' => 2,
75 'weight_unit' => 'kg',
76 'dimension_unit' => 'cm',
77 ],
78 'CH' => [
79 'currency_code' => 'CHF',
80 'currency_pos' => 'left_space',
81 'thousand_sep' => "'",
82 'decimal_sep' => '.',
83 'num_decimals' => 2,
84 'weight_unit' => 'kg',
85 'dimension_unit' => 'cm',
86 ],
87 'DE' => [
88 'currency_code' => 'EUR',
89 'currency_pos' => 'left',
90 'thousand_sep' => '.',
91 'decimal_sep' => ',',
92 'num_decimals' => 2,
93 'weight_unit' => 'kg',
94 'dimension_unit' => 'cm',
95 ],
96 'DK' => [
97 'currency_code' => 'DKK',
98 'currency_pos' => 'left_space',
99 'thousand_sep' => '.',
100 'decimal_sep' => ',',
101 'num_decimals' => 2,
102 'weight_unit' => 'kg',
103 'dimension_unit' => 'cm',
104 ],
105 'ES' => [
106 'currency_code' => 'EUR',
107 'currency_pos' => 'right',
108 'thousand_sep' => '.',
109 'decimal_sep' => ',',
110 'num_decimals' => 2,
111 'weight_unit' => 'kg',
112 'dimension_unit' => 'cm',
113 ],
114 'FI' => [
115 'currency_code' => 'EUR',
116 'currency_pos' => 'right_space',
117 'thousand_sep' => ' ',
118 'decimal_sep' => ',',
119 'num_decimals' => 2,
120 'weight_unit' => 'kg',
121 'dimension_unit' => 'cm',
122 ],
123 'FR' => [
124 'currency_code' => 'EUR',
125 'currency_pos' => 'right',
126 'thousand_sep' => ' ',
127 'decimal_sep' => ',',
128 'num_decimals' => 2,
129 'weight_unit' => 'kg',
130 'dimension_unit' => 'cm',
131 ],
132 'GB' => [
133 'currency_code' => 'GBP',
134 'currency_pos' => 'left',
135 'thousand_sep' => ',',
136 'decimal_sep' => '.',
137 'num_decimals' => 2,
138 'weight_unit' => 'kg',
139 'dimension_unit' => 'cm',
140 ],
141 'HU' => [
142 'currency_code' => 'HUF',
143 'currency_pos' => 'right_space',
144 'thousand_sep' => ' ',
145 'decimal_sep' => ',',
146 'num_decimals' => 0,
147 'weight_unit' => 'kg',
148 'dimension_unit' => 'cm',
149 ],
150 'IT' => [
151 'currency_code' => 'EUR',
152 'currency_pos' => 'right',
153 'thousand_sep' => '.',
154 'decimal_sep' => ',',
155 'num_decimals' => 2,
156 'weight_unit' => 'kg',
157 'dimension_unit' => 'cm',
158 ],
159 'JM' => [
160 'currency_code' => 'JMD',
161 'currency_pos' => 'left',
162 'thousand_sep' => ',',
163 'decimal_sep' => '.',
164 'num_decimals' => 2,
165 'weight_unit' => 'lb',
166 'dimension_unit' => 'in',
167 ],
168 'JP' => [
169 'currency_code' => 'JPY',
170 'currency_pos' => 'left',
171 'thousand_sep' => ',',
172 'decimal_sep' => '.',
173 'num_decimals' => 0,
174 'weight_unit' => 'kg',
175 'dimension_unit' => 'cm',
176 ],
177 'KR' => [
178 'currency_code' => 'KRW',
179 'currency_pos' => 'right',
180 'thousand_sep' => ',',
181 'decimal_sep' => '.',
182 'num_decimals' => 0,
183 'weight_unit' => 'kg',
184 'dimension_unit' => 'cm',
185 ],
186 'LI' => [
187 'currency_code' => 'CHF',
188 'currency_pos' => 'left_space',
189 'thousand_sep' => "'",
190 'decimal_sep' => '.',
191 'num_decimals' => 2,
192 'weight_unit' => 'kg',
193 'dimension_unit' => 'cm',
194 ],
195 'MD' => [
196 'currency_code' => 'MDL',
197 'currency_pos' => 'right_space',
198 'thousand_sep' => '.',
199 'decimal_sep' => ',',
200 'num_decimals' => 2,
201 'weight_unit' => 'kg',
202 'dimension_unit' => 'cm',
203 ],
204 'NL' => [
205 'currency_code' => 'EUR',
206 'currency_pos' => 'left',
207 'thousand_sep' => ',',
208 'decimal_sep' => '.',
209 'num_decimals' => 2,
210 'weight_unit' => 'kg',
211 'dimension_unit' => 'cm',
212 ],
213 'NO' => [
214 'currency_code' => 'Kr',
215 'currency_pos' => 'left_space',
216 'thousand_sep' => '.',
217 'decimal_sep' => ',',
218 'num_decimals' => 2,
219 'weight_unit' => 'kg',
220 'dimension_unit' => 'cm',
221 ],
222 'NP' => [
223 'currency_code' => 'NPR',
224 'currency_pos' => 'left_space',
225 'thousand_sep' => ',',
226 'decimal_sep' => '.',
227 'num_decimals' => 2,
228 'weight_unit' => 'kg',
229 'dimension_unit' => 'cm',
230 ],
231 'PL' => [
232 'currency_code' => 'PLN',
233 'currency_pos' => 'right_space',
234 'thousand_sep' => ' ',
235 'decimal_sep' => ',',
236 'num_decimals' => 2,
237 'weight_unit' => 'kg',
238 'dimension_unit' => 'cm',
239 ],
240 'PY' => [
241 'currency_code' => 'PYG',
242 'currency_pos' => 'left',
243 'thousand_sep' => '.',
244 'decimal_sep' => ',',
245 'num_decimals' => 2,
246 'weight_unit' => 'kg',
247 'dimension_unit' => 'cm',
248 ],
249 'RO' => [
250 'currency_code' => 'RON',
251 'currency_pos' => 'right_space',
252 'thousand_sep' => '.',
253 'decimal_sep' => ',',
254 'num_decimals' => 2,
255 'weight_unit' => 'kg',
256 'dimension_unit' => 'cm',
257 ],
258 'RS' => [
259 'currency_code' => 'RSD',
260 'currency_pos' => 'right_space',
261 'thousand_sep' => '.',
262 'decimal_sep' => ',',
263 'num_decimals' => 2,
264 'weight_unit' => 'kg',
265 'dimension_unit' => 'cm',
266 'tax_rates' => [],
267 ],
268 'TH' => [
269 'currency_code' => 'THB',
270 'currency_pos' => 'left',
271 'thousand_sep' => ',',
272 'decimal_sep' => '.',
273 'num_decimals' => 2,
274 'weight_unit' => 'kg',
275 'dimension_unit' => 'cm',
276 ],
277 'TR' => [
278 'currency_code' => 'TRY',
279 'currency_pos' => 'left_space',
280 'thousand_sep' => '.',
281 'decimal_sep' => ',',
282 'num_decimals' => 2,
283 'weight_unit' => 'kg',
284 'dimension_unit' => 'cm',
285 ],
286 'US' => [
287 'currency_code' => 'USD',
288 'currency_pos' => 'left',
289 'thousand_sep' => ',',
290 'decimal_sep' => '.',
291 'num_decimals' => 2,
292 'weight_unit' => 'oz',
293 'dimension_unit' => 'in',
294 ],
295 'ZA' => [
296 'currency_code' => 'ZAR',
297 'currency_pos' => 'left',
298 'thousand_sep' => ',',
299 'decimal_sep' => '.',
300 'num_decimals' => 2,
301 'weight_unit' => 'kg',
302 'dimension_unit' => 'cm',
303 ],
304 ];
305
306 public function pluck($key)
307 {
308 return wp_list_pluck($this->localeInfo, $key);
309 }
310
311 }
312