intl-tel-input 23.0.11 → 23.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/fi/countries.js +252 -0
- package/build/js/i18n/fi/index.js +6 -0
- package/build/js/i18n/fi/interface.js +14 -0
- package/build/js/i18n/index.js +2 -0
- package/build/js/i18n/sv/countries.js +252 -0
- package/build/js/i18n/sv/index.js +6 -0
- package/build/js/i18n/sv/interface.js +14 -0
- package/build/js/intlTelInput.d.ts +1 -0
- package/build/js/intlTelInput.js +22 -7
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +251 -182
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/build/js/utils.js +36 -37
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +21 -6
- package/react/build/IntlTelInput.d.ts +13 -4
- package/react/build/IntlTelInput.js +21 -6
- package/react/build/IntlTelInputWithUtils.cjs +250 -181
- package/react/build/IntlTelInputWithUtils.js +250 -181
package/README.md
CHANGED
|
@@ -68,16 +68,16 @@ _Note: We have now dropped support for all versions of Internet Explorer because
|
|
|
68
68
|
## Getting Started (Using a CDN)
|
|
69
69
|
1. Add the CSS
|
|
70
70
|
```html
|
|
71
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@23.0
|
|
71
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@23.1.0/build/css/intlTelInput.css">
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
2. Add the plugin script and initialise it on your input element
|
|
75
75
|
```html
|
|
76
|
-
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@23.0
|
|
76
|
+
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@23.1.0/build/js/intlTelInput.min.js"></script>
|
|
77
77
|
<script>
|
|
78
78
|
const input = document.querySelector("#phone");
|
|
79
79
|
window.intlTelInput(input, {
|
|
80
|
-
utilsScript: "https://cdn.jsdelivr.net/npm/intl-tel-input@23.0
|
|
80
|
+
utilsScript: "https://cdn.jsdelivr.net/npm/intl-tel-input@23.1.0/build/js/utils.js",
|
|
81
81
|
});
|
|
82
82
|
</script>
|
|
83
83
|
```
|
|
@@ -313,7 +313,7 @@ Control when the country list appears as a fullscreen popup vs an inline dropdow
|
|
|
313
313
|
|
|
314
314
|
**utilsScript**
|
|
315
315
|
Type: `String` Default: `""` Example: `"/build/js/utils.js"`
|
|
316
|
-
This is one way to (lazy) load the included utils.js (to enable formatting/validation etc) - see [Loading The Utilities Script](#loading-the-utilities-script) for more options. You will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.0
|
|
316
|
+
This is one way to (lazy) load the included utils.js (to enable formatting/validation etc) - see [Loading The Utilities Script](#loading-the-utilities-script) for more options. You will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.1.0/build/js/utils.js"`. The script is loaded via a [dynamic import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import) statement, which means the URL cannot be relative - it must be absolute. The script is only fetched when you initialise the plugin, and additionally, only when the page has finished loading (on the window load event) to prevent blocking (the script is ~260KB). When instantiating the plugin, a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) object is returned under the `promise` instance property, so you can do something like `iti.promise.then(callback)` to know when initialisation requests like this have finished. See [Utilities Script](#utilities-script) for more information.
|
|
317
317
|
|
|
318
318
|
**validationNumberType**
|
|
319
319
|
Type: `String` Default: `"MOBILE"`
|
|
@@ -401,7 +401,7 @@ const isValid = iti.isValidNumberPrecise();
|
|
|
401
401
|
Returns: `true`/`false`
|
|
402
402
|
|
|
403
403
|
**setCountry**
|
|
404
|
-
Change the country
|
|
404
|
+
Change the selected country. It should be rare, if ever, that you need to do this, as the selected country gets updated automatically when calling `setNumber` and passing a number including an international dial code, which is the recommended usage. Note you can omit the country code argument to set the country to the default empty (globe) state.
|
|
405
405
|
```js
|
|
406
406
|
iti.setCountry("gb");
|
|
407
407
|
```
|
|
@@ -485,7 +485,7 @@ The utils script provides lots of great functionality (see above section), but c
|
|
|
485
485
|
If you're not concerned about filesize, the easiest thing to do is to just use the full bundle /build/js/intlTelInputWithUtils.js, which comes with the utils script included. This script can be used exactly like the main intlTelInput.js - so it can either be loaded directly onto the page (which defines `window.intlTelInput` like usual), or it can be imported like so: `import intlTelInput from "intl-tel-input/intlTelInputWithUtils"`.
|
|
486
486
|
|
|
487
487
|
**Option 2: utilsScript**
|
|
488
|
-
If you *are* concerned about filesize, you can lazy load the utils script when the plugin intitialises, using the `utilsScript` initialisation option. You will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.0
|
|
488
|
+
If you *are* concerned about filesize, you can lazy load the utils script when the plugin intitialises, using the `utilsScript` initialisation option. You will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.1.0/build/js/utils.js"`. If you want more control over when this file is lazy loaded, you can instead use the `loadUtils` static method directly.
|
|
489
489
|
|
|
490
490
|
## Troubleshooting
|
|
491
491
|
|
package/build/js/data.js
CHANGED
package/build/js/data.min.js
CHANGED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
//* THIS FILE IS AUTO-GENERATED. DO NOT EDIT.
|
|
2
|
+
export default {
|
|
3
|
+
af: "Afganistan",
|
|
4
|
+
ax: "Ahvenanmaa",
|
|
5
|
+
nl: "Alankomaat",
|
|
6
|
+
al: "Albania",
|
|
7
|
+
dz: "Algeria",
|
|
8
|
+
as: "Amerikan Samoa",
|
|
9
|
+
ad: "Andorra",
|
|
10
|
+
ao: "Angola",
|
|
11
|
+
ai: "Anguilla",
|
|
12
|
+
aq: "Antarktis",
|
|
13
|
+
ag: "Antigua ja Barbuda",
|
|
14
|
+
ae: "Arabiemiirikunnat",
|
|
15
|
+
ar: "Argentiina",
|
|
16
|
+
am: "Armenia",
|
|
17
|
+
aw: "Aruba",
|
|
18
|
+
au: "Australia",
|
|
19
|
+
az: "Azerbaidžan",
|
|
20
|
+
bs: "Bahama",
|
|
21
|
+
bh: "Bahrain",
|
|
22
|
+
bd: "Bangladesh",
|
|
23
|
+
bb: "Barbados",
|
|
24
|
+
be: "Belgia",
|
|
25
|
+
bz: "Belize",
|
|
26
|
+
bj: "Benin",
|
|
27
|
+
bm: "Bermuda",
|
|
28
|
+
bt: "Bhutan",
|
|
29
|
+
bo: "Bolivia",
|
|
30
|
+
ba: "Bosnia ja Hertsegovina",
|
|
31
|
+
bw: "Botswana",
|
|
32
|
+
bv: "Bouvet’nsaari",
|
|
33
|
+
br: "Brasilia",
|
|
34
|
+
io: "Brittiläinen Intian valtameren alue",
|
|
35
|
+
vg: "Brittiläiset Neitsytsaaret",
|
|
36
|
+
bn: "Brunei",
|
|
37
|
+
bg: "Bulgaria",
|
|
38
|
+
bf: "Burkina Faso",
|
|
39
|
+
bi: "Burundi",
|
|
40
|
+
ky: "Caymansaaret",
|
|
41
|
+
cl: "Chile",
|
|
42
|
+
ck: "Cookinsaaret",
|
|
43
|
+
cr: "Costa Rica",
|
|
44
|
+
cw: "Curaçao",
|
|
45
|
+
dj: "Djibouti",
|
|
46
|
+
dm: "Dominica",
|
|
47
|
+
do: "Dominikaaninen tasavalta",
|
|
48
|
+
ec: "Ecuador",
|
|
49
|
+
eg: "Egypti",
|
|
50
|
+
sv: "El Salvador",
|
|
51
|
+
er: "Eritrea",
|
|
52
|
+
es: "Espanja",
|
|
53
|
+
za: "Etelä-Afrikka",
|
|
54
|
+
gs: "Etelä-Georgia ja Eteläiset Sandwichsaaret",
|
|
55
|
+
kr: "Etelä-Korea",
|
|
56
|
+
ss: "Etelä-Sudan",
|
|
57
|
+
et: "Etiopia",
|
|
58
|
+
fk: "Falklandinsaaret",
|
|
59
|
+
fj: "Fidži",
|
|
60
|
+
ph: "Filippiinit",
|
|
61
|
+
fo: "Färsaaret",
|
|
62
|
+
ga: "Gabon",
|
|
63
|
+
gm: "Gambia",
|
|
64
|
+
ge: "Georgia",
|
|
65
|
+
gh: "Ghana",
|
|
66
|
+
gi: "Gibraltar",
|
|
67
|
+
gd: "Grenada",
|
|
68
|
+
gl: "Grönlanti",
|
|
69
|
+
gp: "Guadeloupe",
|
|
70
|
+
gu: "Guam",
|
|
71
|
+
gt: "Guatemala",
|
|
72
|
+
gg: "Guernsey",
|
|
73
|
+
gn: "Guinea",
|
|
74
|
+
gw: "Guinea-Bissau",
|
|
75
|
+
gy: "Guyana",
|
|
76
|
+
ht: "Haiti",
|
|
77
|
+
hm: "Heard ja McDonaldinsaaret",
|
|
78
|
+
hn: "Honduras",
|
|
79
|
+
hk: "Hongkong – Kiinan e.h.a.",
|
|
80
|
+
sj: "Huippuvuoret ja Jan Mayen",
|
|
81
|
+
id: "Indonesia",
|
|
82
|
+
in: "Intia",
|
|
83
|
+
iq: "Irak",
|
|
84
|
+
ir: "Iran",
|
|
85
|
+
ie: "Irlanti",
|
|
86
|
+
is: "Islanti",
|
|
87
|
+
gb: "Iso-Britannia",
|
|
88
|
+
il: "Israel",
|
|
89
|
+
it: "Italia",
|
|
90
|
+
tl: "Itä-Timor",
|
|
91
|
+
at: "Itävalta",
|
|
92
|
+
jm: "Jamaika",
|
|
93
|
+
jp: "Japani",
|
|
94
|
+
ye: "Jemen",
|
|
95
|
+
je: "Jersey",
|
|
96
|
+
jo: "Jordania",
|
|
97
|
+
cx: "Joulusaari",
|
|
98
|
+
kh: "Kambodža",
|
|
99
|
+
cm: "Kamerun",
|
|
100
|
+
ca: "Kanada",
|
|
101
|
+
cv: "Kap Verde",
|
|
102
|
+
bq: "Karibian Alankomaat",
|
|
103
|
+
kz: "Kazakstan",
|
|
104
|
+
ke: "Kenia",
|
|
105
|
+
cf: "Keski-Afrikan tasavalta",
|
|
106
|
+
cn: "Kiina",
|
|
107
|
+
kg: "Kirgisia",
|
|
108
|
+
ki: "Kiribati",
|
|
109
|
+
co: "Kolumbia",
|
|
110
|
+
km: "Komorit",
|
|
111
|
+
cd: "Kongon demokraattinen tasavalta",
|
|
112
|
+
cg: "Kongon tasavalta",
|
|
113
|
+
cc: "Kookossaaret (Keelingsaaret)",
|
|
114
|
+
gr: "Kreikka",
|
|
115
|
+
hr: "Kroatia",
|
|
116
|
+
cu: "Kuuba",
|
|
117
|
+
kw: "Kuwait",
|
|
118
|
+
cy: "Kypros",
|
|
119
|
+
la: "Laos",
|
|
120
|
+
lv: "Latvia",
|
|
121
|
+
ls: "Lesotho",
|
|
122
|
+
lb: "Libanon",
|
|
123
|
+
lr: "Liberia",
|
|
124
|
+
ly: "Libya",
|
|
125
|
+
li: "Liechtenstein",
|
|
126
|
+
lt: "Liettua",
|
|
127
|
+
lu: "Luxemburg",
|
|
128
|
+
eh: "Länsi-Sahara",
|
|
129
|
+
mo: "Macao – Kiinan e.h.a.",
|
|
130
|
+
mg: "Madagaskar",
|
|
131
|
+
mw: "Malawi",
|
|
132
|
+
mv: "Malediivit",
|
|
133
|
+
my: "Malesia",
|
|
134
|
+
ml: "Mali",
|
|
135
|
+
mt: "Malta",
|
|
136
|
+
im: "Mansaari",
|
|
137
|
+
ma: "Marokko",
|
|
138
|
+
mh: "Marshallinsaaret",
|
|
139
|
+
mq: "Martinique",
|
|
140
|
+
mr: "Mauritania",
|
|
141
|
+
mu: "Mauritius",
|
|
142
|
+
yt: "Mayotte",
|
|
143
|
+
mx: "Meksiko",
|
|
144
|
+
fm: "Mikronesian liittovaltio",
|
|
145
|
+
md: "Moldova",
|
|
146
|
+
mc: "Monaco",
|
|
147
|
+
mn: "Mongolia",
|
|
148
|
+
me: "Montenegro",
|
|
149
|
+
ms: "Montserrat",
|
|
150
|
+
mz: "Mosambik",
|
|
151
|
+
mm: "Myanmar (Burma)",
|
|
152
|
+
na: "Namibia",
|
|
153
|
+
nr: "Nauru",
|
|
154
|
+
np: "Nepal",
|
|
155
|
+
ni: "Nicaragua",
|
|
156
|
+
ne: "Niger",
|
|
157
|
+
ng: "Nigeria",
|
|
158
|
+
nu: "Niue",
|
|
159
|
+
nf: "Norfolkinsaari",
|
|
160
|
+
no: "Norja",
|
|
161
|
+
ci: "Norsunluurannikko",
|
|
162
|
+
om: "Oman",
|
|
163
|
+
pk: "Pakistan",
|
|
164
|
+
pw: "Palau",
|
|
165
|
+
ps: "Palestiinalaisalueet",
|
|
166
|
+
pa: "Panama",
|
|
167
|
+
pg: "Papua-Uusi-Guinea",
|
|
168
|
+
py: "Paraguay",
|
|
169
|
+
pe: "Peru",
|
|
170
|
+
pn: "Pitcairn",
|
|
171
|
+
kp: "Pohjois-Korea",
|
|
172
|
+
mk: "Pohjois-Makedonia",
|
|
173
|
+
mp: "Pohjois-Mariaanit",
|
|
174
|
+
pt: "Portugali",
|
|
175
|
+
pr: "Puerto Rico",
|
|
176
|
+
pl: "Puola",
|
|
177
|
+
gq: "Päiväntasaajan Guinea",
|
|
178
|
+
qa: "Qatar",
|
|
179
|
+
fr: "Ranska",
|
|
180
|
+
tf: "Ranskan eteläiset alueet",
|
|
181
|
+
gf: "Ranskan Guayana",
|
|
182
|
+
pf: "Ranskan Polynesia",
|
|
183
|
+
re: "Réunion",
|
|
184
|
+
ro: "Romania",
|
|
185
|
+
rw: "Ruanda",
|
|
186
|
+
se: "Ruotsi",
|
|
187
|
+
sh: "Saint Helena",
|
|
188
|
+
kn: "Saint Kitts ja Nevis",
|
|
189
|
+
lc: "Saint Lucia",
|
|
190
|
+
vc: "Saint Vincent ja Grenadiinit",
|
|
191
|
+
bl: "Saint-Barthélemy",
|
|
192
|
+
mf: "Saint-Martin",
|
|
193
|
+
pm: "Saint-Pierre ja Miquelon",
|
|
194
|
+
de: "Saksa",
|
|
195
|
+
sb: "Salomonsaaret",
|
|
196
|
+
zm: "Sambia",
|
|
197
|
+
ws: "Samoa",
|
|
198
|
+
sm: "San Marino",
|
|
199
|
+
st: "São Tomé ja Príncipe",
|
|
200
|
+
sa: "Saudi-Arabia",
|
|
201
|
+
sn: "Senegal",
|
|
202
|
+
rs: "Serbia",
|
|
203
|
+
sc: "Seychellit",
|
|
204
|
+
sl: "Sierra Leone",
|
|
205
|
+
sg: "Singapore",
|
|
206
|
+
sx: "Sint Maarten",
|
|
207
|
+
sk: "Slovakia",
|
|
208
|
+
si: "Slovenia",
|
|
209
|
+
so: "Somalia",
|
|
210
|
+
lk: "Sri Lanka",
|
|
211
|
+
sd: "Sudan",
|
|
212
|
+
fi: "Suomi",
|
|
213
|
+
sr: "Suriname",
|
|
214
|
+
ch: "Sveitsi",
|
|
215
|
+
sz: "Swazimaa",
|
|
216
|
+
sy: "Syyria",
|
|
217
|
+
tj: "Tadžikistan",
|
|
218
|
+
tw: "Taiwan",
|
|
219
|
+
tz: "Tansania",
|
|
220
|
+
dk: "Tanska",
|
|
221
|
+
th: "Thaimaa",
|
|
222
|
+
tg: "Togo",
|
|
223
|
+
tk: "Tokelau",
|
|
224
|
+
to: "Tonga",
|
|
225
|
+
tt: "Trinidad ja Tobago",
|
|
226
|
+
td: "Tšad",
|
|
227
|
+
cz: "Tšekki",
|
|
228
|
+
tn: "Tunisia",
|
|
229
|
+
tr: "Turkki",
|
|
230
|
+
tm: "Turkmenistan",
|
|
231
|
+
tc: "Turks- ja Caicossaaret",
|
|
232
|
+
tv: "Tuvalu",
|
|
233
|
+
ug: "Uganda",
|
|
234
|
+
ua: "Ukraina",
|
|
235
|
+
hu: "Unkari",
|
|
236
|
+
uy: "Uruguay",
|
|
237
|
+
nc: "Uusi-Kaledonia",
|
|
238
|
+
nz: "Uusi-Seelanti",
|
|
239
|
+
uz: "Uzbekistan",
|
|
240
|
+
by: "Valko-Venäjä",
|
|
241
|
+
vu: "Vanuatu",
|
|
242
|
+
va: "Vatikaani",
|
|
243
|
+
ve: "Venezuela",
|
|
244
|
+
ru: "Venäjä",
|
|
245
|
+
vn: "Vietnam",
|
|
246
|
+
ee: "Viro",
|
|
247
|
+
wf: "Wallis ja Futuna",
|
|
248
|
+
us: "Yhdysvallat",
|
|
249
|
+
um: "Yhdysvaltain erillissaaret",
|
|
250
|
+
vi: "Yhdysvaltain Neitsytsaaret",
|
|
251
|
+
zw: "Zimbabwe",
|
|
252
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//* THIS FILE IS AUTO-GENERATED. DO NOT EDIT.
|
|
2
|
+
import countryTranslations from "./countries.js";
|
|
3
|
+
import interfaceTranslations from "./interface.js";
|
|
4
|
+
|
|
5
|
+
export { countryTranslations, interfaceTranslations };
|
|
6
|
+
export default { ...countryTranslations, ...interfaceTranslations };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//* Finnish. Translated by: Michael Winton (mrwinton).
|
|
2
|
+
export default {
|
|
3
|
+
"selectedCountryAriaLabel": "Valittu maa",
|
|
4
|
+
"noCountrySelected": "Maata ei ole valittu",
|
|
5
|
+
"countryListAriaLabel": "Luettelo maista",
|
|
6
|
+
"searchPlaceholder": "Haku",
|
|
7
|
+
"zeroSearchResults": "Ei tuloksia",
|
|
8
|
+
"oneSearchResult": "1 tulos löytyi",
|
|
9
|
+
"multipleSearchResults": "${count} tulosta löytyi",
|
|
10
|
+
|
|
11
|
+
// additional countries (not supported by country-list library)
|
|
12
|
+
"ac": "Ascension",
|
|
13
|
+
"xk": "Kosovo",
|
|
14
|
+
};
|
package/build/js/i18n/index.js
CHANGED
|
@@ -6,6 +6,7 @@ export { default as de, countryTranslations as deCountryTranslations, interfaceT
|
|
|
6
6
|
export { default as el, countryTranslations as elCountryTranslations, interfaceTranslations as elInterfaceTranslations } from "./el";
|
|
7
7
|
export { default as en, countryTranslations as enCountryTranslations, interfaceTranslations as enInterfaceTranslations } from "./en";
|
|
8
8
|
export { default as es, countryTranslations as esCountryTranslations, interfaceTranslations as esInterfaceTranslations } from "./es";
|
|
9
|
+
export { default as fi, countryTranslations as fiCountryTranslations, interfaceTranslations as fiInterfaceTranslations } from "./fi";
|
|
9
10
|
export { default as fr, countryTranslations as frCountryTranslations, interfaceTranslations as frInterfaceTranslations } from "./fr";
|
|
10
11
|
export { default as hi, countryTranslations as hiCountryTranslations, interfaceTranslations as hiInterfaceTranslations } from "./hi";
|
|
11
12
|
export { default as hu, countryTranslations as huCountryTranslations, interfaceTranslations as huInterfaceTranslations } from "./hu";
|
|
@@ -17,6 +18,7 @@ export { default as nl, countryTranslations as nlCountryTranslations, interfaceT
|
|
|
17
18
|
export { default as pt, countryTranslations as ptCountryTranslations, interfaceTranslations as ptInterfaceTranslations } from "./pt";
|
|
18
19
|
export { default as ro, countryTranslations as roCountryTranslations, interfaceTranslations as roInterfaceTranslations } from "./ro";
|
|
19
20
|
export { default as ru, countryTranslations as ruCountryTranslations, interfaceTranslations as ruInterfaceTranslations } from "./ru";
|
|
21
|
+
export { default as sv, countryTranslations as svCountryTranslations, interfaceTranslations as svInterfaceTranslations } from "./sv";
|
|
20
22
|
export { default as te, countryTranslations as teCountryTranslations, interfaceTranslations as teInterfaceTranslations } from "./te";
|
|
21
23
|
export { default as th, countryTranslations as thCountryTranslations, interfaceTranslations as thInterfaceTranslations } from "./th";
|
|
22
24
|
export { default as tr, countryTranslations as trCountryTranslations, interfaceTranslations as trInterfaceTranslations } from "./tr";
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
//* THIS FILE IS AUTO-GENERATED. DO NOT EDIT.
|
|
2
|
+
export default {
|
|
3
|
+
af: "Afghanistan",
|
|
4
|
+
al: "Albanien",
|
|
5
|
+
dz: "Algeriet",
|
|
6
|
+
vi: "Amerikanska Jungfruöarna",
|
|
7
|
+
as: "Amerikanska Samoa",
|
|
8
|
+
ad: "Andorra",
|
|
9
|
+
ao: "Angola",
|
|
10
|
+
ai: "Anguilla",
|
|
11
|
+
aq: "Antarktis",
|
|
12
|
+
ag: "Antigua och Barbuda",
|
|
13
|
+
ar: "Argentina",
|
|
14
|
+
am: "Armenien",
|
|
15
|
+
aw: "Aruba",
|
|
16
|
+
au: "Australien",
|
|
17
|
+
az: "Azerbajdzjan",
|
|
18
|
+
bs: "Bahamas",
|
|
19
|
+
bh: "Bahrain",
|
|
20
|
+
bd: "Bangladesh",
|
|
21
|
+
bb: "Barbados",
|
|
22
|
+
be: "Belgien",
|
|
23
|
+
bz: "Belize",
|
|
24
|
+
bj: "Benin",
|
|
25
|
+
bm: "Bermuda",
|
|
26
|
+
bt: "Bhutan",
|
|
27
|
+
bo: "Bolivia",
|
|
28
|
+
ba: "Bosnien och Hercegovina",
|
|
29
|
+
bw: "Botswana",
|
|
30
|
+
bv: "Bouvetön",
|
|
31
|
+
br: "Brasilien",
|
|
32
|
+
vg: "Brittiska Jungfruöarna",
|
|
33
|
+
io: "Brittiska territoriet i Indiska oceanen",
|
|
34
|
+
bn: "Brunei",
|
|
35
|
+
bg: "Bulgarien",
|
|
36
|
+
bf: "Burkina Faso",
|
|
37
|
+
bi: "Burundi",
|
|
38
|
+
ky: "Caymanöarna",
|
|
39
|
+
cf: "Centralafrikanska republiken",
|
|
40
|
+
cl: "Chile",
|
|
41
|
+
co: "Colombia",
|
|
42
|
+
ck: "Cooköarna",
|
|
43
|
+
cr: "Costa Rica",
|
|
44
|
+
cw: "Curaçao",
|
|
45
|
+
cy: "Cypern",
|
|
46
|
+
ci: "Côte d’Ivoire",
|
|
47
|
+
dk: "Danmark",
|
|
48
|
+
dj: "Djibouti",
|
|
49
|
+
dm: "Dominica",
|
|
50
|
+
do: "Dominikanska republiken",
|
|
51
|
+
ec: "Ecuador",
|
|
52
|
+
eg: "Egypten",
|
|
53
|
+
gq: "Ekvatorialguinea",
|
|
54
|
+
sv: "El Salvador",
|
|
55
|
+
er: "Eritrea",
|
|
56
|
+
ee: "Estland",
|
|
57
|
+
et: "Etiopien",
|
|
58
|
+
fk: "Falklandsöarna",
|
|
59
|
+
fj: "Fiji",
|
|
60
|
+
ph: "Filippinerna",
|
|
61
|
+
fi: "Finland",
|
|
62
|
+
fr: "Frankrike",
|
|
63
|
+
gf: "Franska Guyana",
|
|
64
|
+
pf: "Franska Polynesien",
|
|
65
|
+
tf: "Franska sydterritorierna",
|
|
66
|
+
fo: "Färöarna",
|
|
67
|
+
ae: "Förenade Arabemiraten",
|
|
68
|
+
ga: "Gabon",
|
|
69
|
+
gm: "Gambia",
|
|
70
|
+
ge: "Georgien",
|
|
71
|
+
gh: "Ghana",
|
|
72
|
+
gi: "Gibraltar",
|
|
73
|
+
gr: "Grekland",
|
|
74
|
+
gd: "Grenada",
|
|
75
|
+
gl: "Grönland",
|
|
76
|
+
gp: "Guadeloupe",
|
|
77
|
+
gu: "Guam",
|
|
78
|
+
gt: "Guatemala",
|
|
79
|
+
gg: "Guernsey",
|
|
80
|
+
gn: "Guinea",
|
|
81
|
+
gw: "Guinea-Bissau",
|
|
82
|
+
gy: "Guyana",
|
|
83
|
+
ht: "Haiti",
|
|
84
|
+
hm: "Heardön och McDonaldöarna",
|
|
85
|
+
hn: "Honduras",
|
|
86
|
+
hk: "Hongkong",
|
|
87
|
+
in: "Indien",
|
|
88
|
+
id: "Indonesien",
|
|
89
|
+
iq: "Irak",
|
|
90
|
+
ir: "Iran",
|
|
91
|
+
ie: "Irland",
|
|
92
|
+
is: "Island",
|
|
93
|
+
im: "Isle of Man",
|
|
94
|
+
il: "Israel",
|
|
95
|
+
it: "Italien",
|
|
96
|
+
jm: "Jamaica",
|
|
97
|
+
jp: "Japan",
|
|
98
|
+
ye: "Jemen",
|
|
99
|
+
je: "Jersey",
|
|
100
|
+
jo: "Jordanien",
|
|
101
|
+
cx: "Julön",
|
|
102
|
+
kh: "Kambodja",
|
|
103
|
+
cm: "Kamerun",
|
|
104
|
+
ca: "Kanada",
|
|
105
|
+
cv: "Kap Verde",
|
|
106
|
+
bq: "Karibiska Nederländerna",
|
|
107
|
+
kz: "Kazakstan",
|
|
108
|
+
ke: "Kenya",
|
|
109
|
+
cn: "Kina",
|
|
110
|
+
kg: "Kirgizistan",
|
|
111
|
+
ki: "Kiribati",
|
|
112
|
+
cc: "Kokosöarna",
|
|
113
|
+
km: "Komorerna",
|
|
114
|
+
cg: "Kongo-Brazzaville",
|
|
115
|
+
cd: "Kongo-Kinshasa",
|
|
116
|
+
hr: "Kroatien",
|
|
117
|
+
cu: "Kuba",
|
|
118
|
+
kw: "Kuwait",
|
|
119
|
+
la: "Laos",
|
|
120
|
+
ls: "Lesotho",
|
|
121
|
+
lv: "Lettland",
|
|
122
|
+
lb: "Libanon",
|
|
123
|
+
lr: "Liberia",
|
|
124
|
+
ly: "Libyen",
|
|
125
|
+
li: "Liechtenstein",
|
|
126
|
+
lt: "Litauen",
|
|
127
|
+
lu: "Luxemburg",
|
|
128
|
+
mo: "Macao",
|
|
129
|
+
mg: "Madagaskar",
|
|
130
|
+
mw: "Malawi",
|
|
131
|
+
my: "Malaysia",
|
|
132
|
+
mv: "Maldiverna",
|
|
133
|
+
ml: "Mali",
|
|
134
|
+
mt: "Malta",
|
|
135
|
+
ma: "Marocko",
|
|
136
|
+
mh: "Marshallöarna",
|
|
137
|
+
mq: "Martinique",
|
|
138
|
+
mr: "Mauretanien",
|
|
139
|
+
mu: "Mauritius",
|
|
140
|
+
yt: "Mayotte",
|
|
141
|
+
mx: "Mexiko",
|
|
142
|
+
fm: "Mikronesien",
|
|
143
|
+
mz: "Moçambique",
|
|
144
|
+
md: "Moldavien",
|
|
145
|
+
mc: "Monaco",
|
|
146
|
+
mn: "Mongoliet",
|
|
147
|
+
me: "Montenegro",
|
|
148
|
+
ms: "Montserrat",
|
|
149
|
+
mm: "Myanmar (Burma)",
|
|
150
|
+
na: "Namibia",
|
|
151
|
+
nr: "Nauru",
|
|
152
|
+
nl: "Nederländerna",
|
|
153
|
+
np: "Nepal",
|
|
154
|
+
ni: "Nicaragua",
|
|
155
|
+
ne: "Niger",
|
|
156
|
+
ng: "Nigeria",
|
|
157
|
+
nu: "Niue",
|
|
158
|
+
kp: "Nordkorea",
|
|
159
|
+
mk: "Nordmakedonien",
|
|
160
|
+
mp: "Nordmarianerna",
|
|
161
|
+
nf: "Norfolkön",
|
|
162
|
+
no: "Norge",
|
|
163
|
+
nc: "Nya Kaledonien",
|
|
164
|
+
nz: "Nya Zeeland",
|
|
165
|
+
om: "Oman",
|
|
166
|
+
pk: "Pakistan",
|
|
167
|
+
pw: "Palau",
|
|
168
|
+
ps: "Palestinska territorierna",
|
|
169
|
+
pa: "Panama",
|
|
170
|
+
pg: "Papua Nya Guinea",
|
|
171
|
+
py: "Paraguay",
|
|
172
|
+
pe: "Peru",
|
|
173
|
+
pn: "Pitcairnöarna",
|
|
174
|
+
pl: "Polen",
|
|
175
|
+
pt: "Portugal",
|
|
176
|
+
pr: "Puerto Rico",
|
|
177
|
+
qa: "Qatar",
|
|
178
|
+
re: "Réunion",
|
|
179
|
+
ro: "Rumänien",
|
|
180
|
+
rw: "Rwanda",
|
|
181
|
+
ru: "Ryssland",
|
|
182
|
+
bl: "S:t Barthélemy",
|
|
183
|
+
sh: "S:t Helena",
|
|
184
|
+
kn: "S:t Kitts och Nevis",
|
|
185
|
+
lc: "S:t Lucia",
|
|
186
|
+
pm: "S:t Pierre och Miquelon",
|
|
187
|
+
vc: "S:t Vincent och Grenadinerna",
|
|
188
|
+
mf: "Saint-Martin",
|
|
189
|
+
sb: "Salomonöarna",
|
|
190
|
+
ws: "Samoa",
|
|
191
|
+
sm: "San Marino",
|
|
192
|
+
st: "São Tomé och Príncipe",
|
|
193
|
+
sa: "Saudiarabien",
|
|
194
|
+
ch: "Schweiz",
|
|
195
|
+
sn: "Senegal",
|
|
196
|
+
rs: "Serbien",
|
|
197
|
+
sc: "Seychellerna",
|
|
198
|
+
sl: "Sierra Leone",
|
|
199
|
+
sg: "Singapore",
|
|
200
|
+
sx: "Sint Maarten",
|
|
201
|
+
sk: "Slovakien",
|
|
202
|
+
si: "Slovenien",
|
|
203
|
+
so: "Somalia",
|
|
204
|
+
es: "Spanien",
|
|
205
|
+
lk: "Sri Lanka",
|
|
206
|
+
gb: "Storbritannien",
|
|
207
|
+
sd: "Sudan",
|
|
208
|
+
sr: "Surinam",
|
|
209
|
+
sj: "Svalbard och Jan Mayen",
|
|
210
|
+
se: "Sverige",
|
|
211
|
+
sz: "Swaziland",
|
|
212
|
+
za: "Sydafrika",
|
|
213
|
+
gs: "Sydgeorgien och Sydsandwichöarna",
|
|
214
|
+
kr: "Sydkorea",
|
|
215
|
+
ss: "Sydsudan",
|
|
216
|
+
sy: "Syrien",
|
|
217
|
+
tj: "Tadzjikistan",
|
|
218
|
+
tw: "Taiwan",
|
|
219
|
+
tz: "Tanzania",
|
|
220
|
+
td: "Tchad",
|
|
221
|
+
th: "Thailand",
|
|
222
|
+
cz: "Tjeckien",
|
|
223
|
+
tg: "Togo",
|
|
224
|
+
tk: "Tokelau",
|
|
225
|
+
to: "Tonga",
|
|
226
|
+
tt: "Trinidad och Tobago",
|
|
227
|
+
tn: "Tunisien",
|
|
228
|
+
tr: "Turkiet",
|
|
229
|
+
tm: "Turkmenistan",
|
|
230
|
+
tc: "Turks- och Caicosöarna",
|
|
231
|
+
tv: "Tuvalu",
|
|
232
|
+
de: "Tyskland",
|
|
233
|
+
ug: "Uganda",
|
|
234
|
+
ua: "Ukraina",
|
|
235
|
+
hu: "Ungern",
|
|
236
|
+
uy: "Uruguay",
|
|
237
|
+
us: "USA",
|
|
238
|
+
um: "USA:s yttre öar",
|
|
239
|
+
uz: "Uzbekistan",
|
|
240
|
+
vu: "Vanuatu",
|
|
241
|
+
va: "Vatikanstaten",
|
|
242
|
+
ve: "Venezuela",
|
|
243
|
+
vn: "Vietnam",
|
|
244
|
+
by: "Vitryssland",
|
|
245
|
+
eh: "Västsahara",
|
|
246
|
+
wf: "Wallis- och Futunaöarna",
|
|
247
|
+
zm: "Zambia",
|
|
248
|
+
zw: "Zimbabwe",
|
|
249
|
+
ax: "Åland",
|
|
250
|
+
at: "Österrike",
|
|
251
|
+
tl: "Östtimor",
|
|
252
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//* THIS FILE IS AUTO-GENERATED. DO NOT EDIT.
|
|
2
|
+
import countryTranslations from "./countries.js";
|
|
3
|
+
import interfaceTranslations from "./interface.js";
|
|
4
|
+
|
|
5
|
+
export { countryTranslations, interfaceTranslations };
|
|
6
|
+
export default { ...countryTranslations, ...interfaceTranslations };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//* Swedish. Translated by: Nhi Tran.
|
|
2
|
+
export default {
|
|
3
|
+
"selectedCountryAriaLabel": "Valt land",
|
|
4
|
+
"noCountrySelected": "Inget land valt",
|
|
5
|
+
"countryListAriaLabel": "Lista över länder",
|
|
6
|
+
"searchPlaceholder": "Sök",
|
|
7
|
+
"zeroSearchResults": "Inga resultat hittades",
|
|
8
|
+
"oneSearchResult": "1 resultat hittades",
|
|
9
|
+
"multipleSearchResults": "${count} resultat hittades",
|
|
10
|
+
|
|
11
|
+
// additional countries (not supported by country-list library)
|
|
12
|
+
"ac": "Ascension",
|
|
13
|
+
"xk": "Kosovo",
|
|
14
|
+
};
|