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