PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 2.12.2
GiveWP – Donation Plugin and Fundraising Platform v2.12.2
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 5 years ago Helpers 5 years ago Routes 4 years ago Setup 5 years ago Wizard 4 years ago DefaultFormFactory.php 5 years ago FormRepository.php 5 years ago LocaleCollection.php 5 years ago SettingsRepository.php 5 years ago SettingsRepositoryFactory.php 5 years ago
LocaleCollection.php
310 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 protected $localeInfo = [
14 'AT' => [
15 'currency_code' => 'EUR',
16 'currency_pos' => 'left',
17 'thousand_sep' => '.',
18 'decimal_sep' => ',',
19 'num_decimals' => 2,
20 'weight_unit' => 'kg',
21 'dimension_unit' => 'cm',
22 ],
23 'AU' => [
24 'currency_code' => 'AUD',
25 'currency_pos' => 'left',
26 'thousand_sep' => ',',
27 'decimal_sep' => '.',
28 'num_decimals' => 2,
29 'weight_unit' => 'kg',
30 'dimension_unit' => 'cm',
31 ],
32 'BA' => [
33 'currency_code' => 'BAM',
34 'currency_pos' => 'right_space',
35 'thousand_sep' => '.',
36 'decimal_sep' => ',',
37 'num_decimals' => 2,
38 'weight_unit' => 'kg',
39 'dimension_unit' => 'cm',
40 ],
41 'BD' => [
42 'currency_code' => 'BDT',
43 'currency_pos' => 'left',
44 'thousand_sep' => ',',
45 'decimal_sep' => '.',
46 'num_decimals' => 2,
47 'weight_unit' => 'kg',
48 'dimension_unit' => 'in',
49 ],
50 'BE' => [
51 'currency_code' => 'EUR',
52 'currency_pos' => 'left',
53 'thousand_sep' => ' ',
54 'decimal_sep' => ',',
55 'num_decimals' => 2,
56 'weight_unit' => 'kg',
57 'dimension_unit' => 'cm',
58 ],
59 'BR' => [
60 'currency_code' => 'BRL',
61 'currency_pos' => 'left',
62 'thousand_sep' => '.',
63 'decimal_sep' => ',',
64 'num_decimals' => 2,
65 'weight_unit' => 'kg',
66 'dimension_unit' => 'cm',
67 ],
68 'CA' => [
69 'currency_code' => 'CAD',
70 'currency_pos' => 'left',
71 'thousand_sep' => ',',
72 'decimal_sep' => '.',
73 'num_decimals' => 2,
74 'weight_unit' => 'kg',
75 'dimension_unit' => 'cm',
76 ],
77 'CH' => [
78 'currency_code' => 'CHF',
79 'currency_pos' => 'left_space',
80 'thousand_sep' => "'",
81 'decimal_sep' => '.',
82 'num_decimals' => 2,
83 'weight_unit' => 'kg',
84 'dimension_unit' => 'cm',
85 ],
86 'DE' => [
87 'currency_code' => 'EUR',
88 'currency_pos' => 'left',
89 'thousand_sep' => '.',
90 'decimal_sep' => ',',
91 'num_decimals' => 2,
92 'weight_unit' => 'kg',
93 'dimension_unit' => 'cm',
94 ],
95 'DK' => [
96 'currency_code' => 'DKK',
97 'currency_pos' => 'left_space',
98 'thousand_sep' => '.',
99 'decimal_sep' => ',',
100 'num_decimals' => 2,
101 'weight_unit' => 'kg',
102 'dimension_unit' => 'cm',
103 ],
104 'ES' => [
105 'currency_code' => 'EUR',
106 'currency_pos' => 'right',
107 'thousand_sep' => '.',
108 'decimal_sep' => ',',
109 'num_decimals' => 2,
110 'weight_unit' => 'kg',
111 'dimension_unit' => 'cm',
112 ],
113 'FI' => [
114 'currency_code' => 'EUR',
115 'currency_pos' => 'right_space',
116 'thousand_sep' => ' ',
117 'decimal_sep' => ',',
118 'num_decimals' => 2,
119 'weight_unit' => 'kg',
120 'dimension_unit' => 'cm',
121 ],
122 'FR' => [
123 'currency_code' => 'EUR',
124 'currency_pos' => 'right',
125 'thousand_sep' => ' ',
126 'decimal_sep' => ',',
127 'num_decimals' => 2,
128 'weight_unit' => 'kg',
129 'dimension_unit' => 'cm',
130 ],
131 'GB' => [
132 'currency_code' => 'GBP',
133 'currency_pos' => 'left',
134 'thousand_sep' => ',',
135 'decimal_sep' => '.',
136 'num_decimals' => 2,
137 'weight_unit' => 'kg',
138 'dimension_unit' => 'cm',
139 ],
140 'HU' => [
141 'currency_code' => 'HUF',
142 'currency_pos' => 'right_space',
143 'thousand_sep' => ' ',
144 'decimal_sep' => ',',
145 'num_decimals' => 0,
146 'weight_unit' => 'kg',
147 'dimension_unit' => 'cm',
148 ],
149 'IT' => [
150 'currency_code' => 'EUR',
151 'currency_pos' => 'right',
152 'thousand_sep' => '.',
153 'decimal_sep' => ',',
154 'num_decimals' => 2,
155 'weight_unit' => 'kg',
156 'dimension_unit' => 'cm',
157 ],
158 'JM' => [
159 'currency_code' => 'JMD',
160 'currency_pos' => 'left',
161 'thousand_sep' => ',',
162 'decimal_sep' => '.',
163 'num_decimals' => 2,
164 'weight_unit' => 'lb',
165 'dimension_unit' => 'in',
166 ],
167 'JP' => [
168 'currency_code' => 'JPY',
169 'currency_pos' => 'left',
170 'thousand_sep' => ',',
171 'decimal_sep' => '.',
172 'num_decimals' => 0,
173 'weight_unit' => 'kg',
174 'dimension_unit' => 'cm',
175 ],
176 'KR' => [
177 'currency_code' => 'KRW',
178 'currency_pos' => 'right',
179 'thousand_sep' => ',',
180 'decimal_sep' => '.',
181 'num_decimals' => 0,
182 'weight_unit' => 'kg',
183 'dimension_unit' => 'cm',
184 ],
185 'LI' => [
186 'currency_code' => 'CHF',
187 'currency_pos' => 'left_space',
188 'thousand_sep' => "'",
189 'decimal_sep' => '.',
190 'num_decimals' => 2,
191 'weight_unit' => 'kg',
192 'dimension_unit' => 'cm',
193 ],
194 'MD' => [
195 'currency_code' => 'MDL',
196 'currency_pos' => 'right_space',
197 'thousand_sep' => '.',
198 'decimal_sep' => ',',
199 'num_decimals' => 2,
200 'weight_unit' => 'kg',
201 'dimension_unit' => 'cm',
202 ],
203 'NL' => [
204 'currency_code' => 'EUR',
205 'currency_pos' => 'left',
206 'thousand_sep' => ',',
207 'decimal_sep' => '.',
208 'num_decimals' => 2,
209 'weight_unit' => 'kg',
210 'dimension_unit' => 'cm',
211 ],
212 'NO' => [
213 'currency_code' => 'Kr',
214 'currency_pos' => 'left_space',
215 'thousand_sep' => '.',
216 'decimal_sep' => ',',
217 'num_decimals' => 2,
218 'weight_unit' => 'kg',
219 'dimension_unit' => 'cm',
220 ],
221 'NP' => [
222 'currency_code' => 'NPR',
223 'currency_pos' => 'left_space',
224 'thousand_sep' => ',',
225 'decimal_sep' => '.',
226 'num_decimals' => 2,
227 'weight_unit' => 'kg',
228 'dimension_unit' => 'cm',
229 ],
230 'PL' => [
231 'currency_code' => 'PLN',
232 'currency_pos' => 'right_space',
233 'thousand_sep' => ' ',
234 'decimal_sep' => ',',
235 'num_decimals' => 2,
236 'weight_unit' => 'kg',
237 'dimension_unit' => 'cm',
238 ],
239 'PY' => [
240 'currency_code' => 'PYG',
241 'currency_pos' => 'left',
242 'thousand_sep' => '.',
243 'decimal_sep' => ',',
244 'num_decimals' => 2,
245 'weight_unit' => 'kg',
246 'dimension_unit' => 'cm',
247 ],
248 'RO' => [
249 'currency_code' => 'RON',
250 'currency_pos' => 'right_space',
251 'thousand_sep' => '.',
252 'decimal_sep' => ',',
253 'num_decimals' => 2,
254 'weight_unit' => 'kg',
255 'dimension_unit' => 'cm',
256 ],
257 'RS' => [
258 'currency_code' => 'RSD',
259 'currency_pos' => 'right_space',
260 'thousand_sep' => '.',
261 'decimal_sep' => ',',
262 'num_decimals' => 2,
263 'weight_unit' => 'kg',
264 'dimension_unit' => 'cm',
265 'tax_rates' => [],
266 ],
267 'TH' => [
268 'currency_code' => 'THB',
269 'currency_pos' => 'left',
270 'thousand_sep' => ',',
271 'decimal_sep' => '.',
272 'num_decimals' => 2,
273 'weight_unit' => 'kg',
274 'dimension_unit' => 'cm',
275 ],
276 'TR' => [
277 'currency_code' => 'TRY',
278 'currency_pos' => 'left_space',
279 'thousand_sep' => '.',
280 'decimal_sep' => ',',
281 'num_decimals' => 2,
282 'weight_unit' => 'kg',
283 'dimension_unit' => 'cm',
284 ],
285 'US' => [
286 'currency_code' => 'USD',
287 'currency_pos' => 'left',
288 'thousand_sep' => ',',
289 'decimal_sep' => '.',
290 'num_decimals' => 2,
291 'weight_unit' => 'oz',
292 'dimension_unit' => 'in',
293 ],
294 'ZA' => [
295 'currency_code' => 'ZAR',
296 'currency_pos' => 'left',
297 'thousand_sep' => ',',
298 'decimal_sep' => '.',
299 'num_decimals' => 2,
300 'weight_unit' => 'kg',
301 'dimension_unit' => 'cm',
302 ],
303 ];
304
305 public function pluck( $key ) {
306 return wp_list_pluck( $this->localeInfo, $key );
307 }
308
309 }
310