Bump intl-tel-input

This commit is contained in:
johnnyq
2026-08-26 13:14:32 -04:00
parent 3d9a41bec4
commit cfafc385f0
219 changed files with 10122 additions and 26624 deletions

View File

@@ -1,86 +0,0 @@
* {
box-sizing: border-box;
}
body {
margin: 20px;
font-size: 14px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #555;
}
input,
.button {
height: 35px;
margin: 0;
padding: 6px 12px;
border-radius: 2px;
font-family: inherit;
font-size: 100%;
color: inherit;
}
input {
border: 1px solid #ccc;
width: 220px;
}
input::placeholder {
color: #bbb;
}
.button {
color: #fff;
background-color: #428bca;
border: 1px solid #357ebd;
margin-left: 5px;
}
.button:hover {
background-color: #3276b1;
border-color: #285e8e;
cursor: pointer;
}
.notice {
margin-top: 15px;
}
@media (prefers-color-scheme: dark) {
body, input {
color: white;
background-color: #0d1117;
}
input[disabled] {
background-color: #3c3c3c;
}
input {
border-color: #5b5b5b;
}
input::placeholder {
color: #8d96a0;
}
.iti {
--iti-border-color: #5b5b5b;
--iti-dialcode-color: #999999;
--iti-dropdown-bg: #0d1117;
--iti-arrow-color: #aaaaaa;
--iti-hover-color: #30363d;
--iti-path-globe-1x: url("../img/globe_light.webp");
--iti-path-globe-2x: url("../img/globe_light@2x.webp");
}
}
#error-msg {
color: red;
}
#valid-msg {
color: #00c900;
}
input.error {
border: 1px solid #ff7c7c;
}
.hide {
display: none;
}

View File

@@ -0,0 +1,253 @@
/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT. */
:root {
--iti-flag-width: 20px;
--iti-flag-count: 244;
}
.iti__ac { --iti-flag-offset: 0; }
.iti__ad { --iti-flag-offset: -1; }
.iti__ae { --iti-flag-offset: -2; }
.iti__af { --iti-flag-offset: -3; }
.iti__ag { --iti-flag-offset: -4; }
.iti__ai { --iti-flag-offset: -5; }
.iti__al { --iti-flag-offset: -6; }
.iti__am { --iti-flag-offset: -7; }
.iti__ao { --iti-flag-offset: -8; }
.iti__ar { --iti-flag-offset: -9; }
.iti__as { --iti-flag-offset: -10; }
.iti__at { --iti-flag-offset: -11; }
.iti__au { --iti-flag-offset: -12; }
.iti__aw { --iti-flag-offset: -13; }
.iti__ax { --iti-flag-offset: -14; }
.iti__az { --iti-flag-offset: -15; }
.iti__ba { --iti-flag-offset: -16; }
.iti__bb { --iti-flag-offset: -17; }
.iti__bd { --iti-flag-offset: -18; }
.iti__be { --iti-flag-offset: -19; }
.iti__bf { --iti-flag-offset: -20; }
.iti__bg { --iti-flag-offset: -21; }
.iti__bh { --iti-flag-offset: -22; }
.iti__bi { --iti-flag-offset: -23; }
.iti__bj { --iti-flag-offset: -24; }
.iti__bl { --iti-flag-offset: -25; }
.iti__bm { --iti-flag-offset: -26; }
.iti__bn { --iti-flag-offset: -27; }
.iti__bo { --iti-flag-offset: -28; }
.iti__bq { --iti-flag-offset: -29; }
.iti__br { --iti-flag-offset: -30; }
.iti__bs { --iti-flag-offset: -31; }
.iti__bt { --iti-flag-offset: -32; }
.iti__bw { --iti-flag-offset: -33; }
.iti__by { --iti-flag-offset: -34; }
.iti__bz { --iti-flag-offset: -35; }
.iti__ca { --iti-flag-offset: -36; }
.iti__cc { --iti-flag-offset: -37; }
.iti__cd { --iti-flag-offset: -38; }
.iti__cf { --iti-flag-offset: -39; }
.iti__cg { --iti-flag-offset: -40; }
.iti__ch { --iti-flag-offset: -41; }
.iti__ci { --iti-flag-offset: -42; }
.iti__ck { --iti-flag-offset: -43; }
.iti__cl { --iti-flag-offset: -44; }
.iti__cm { --iti-flag-offset: -45; }
.iti__cn { --iti-flag-offset: -46; }
.iti__co { --iti-flag-offset: -47; }
.iti__cr { --iti-flag-offset: -48; }
.iti__cu { --iti-flag-offset: -49; }
.iti__cv { --iti-flag-offset: -50; }
.iti__cw { --iti-flag-offset: -51; }
.iti__cx { --iti-flag-offset: -52; }
.iti__cy { --iti-flag-offset: -53; }
.iti__cz { --iti-flag-offset: -54; }
.iti__de { --iti-flag-offset: -55; }
.iti__dj { --iti-flag-offset: -56; }
.iti__dk { --iti-flag-offset: -57; }
.iti__dm { --iti-flag-offset: -58; }
.iti__do { --iti-flag-offset: -59; }
.iti__dz { --iti-flag-offset: -60; }
.iti__ec { --iti-flag-offset: -61; }
.iti__ee { --iti-flag-offset: -62; }
.iti__eg { --iti-flag-offset: -63; }
.iti__eh { --iti-flag-offset: -64; }
.iti__er { --iti-flag-offset: -65; }
.iti__es { --iti-flag-offset: -66; }
.iti__et { --iti-flag-offset: -67; }
.iti__fi { --iti-flag-offset: -68; }
.iti__fj { --iti-flag-offset: -69; }
.iti__fk { --iti-flag-offset: -70; }
.iti__fm { --iti-flag-offset: -71; }
.iti__fo { --iti-flag-offset: -72; }
.iti__fr { --iti-flag-offset: -73; }
.iti__ga { --iti-flag-offset: -74; }
.iti__gb { --iti-flag-offset: -75; }
.iti__gd { --iti-flag-offset: -76; }
.iti__ge { --iti-flag-offset: -77; }
.iti__gf { --iti-flag-offset: -78; }
.iti__gg { --iti-flag-offset: -79; }
.iti__gh { --iti-flag-offset: -80; }
.iti__gi { --iti-flag-offset: -81; }
.iti__gl { --iti-flag-offset: -82; }
.iti__gm { --iti-flag-offset: -83; }
.iti__gn { --iti-flag-offset: -84; }
.iti__gp { --iti-flag-offset: -85; }
.iti__gq { --iti-flag-offset: -86; }
.iti__gr { --iti-flag-offset: -87; }
.iti__gt { --iti-flag-offset: -88; }
.iti__gu { --iti-flag-offset: -89; }
.iti__gw { --iti-flag-offset: -90; }
.iti__gy { --iti-flag-offset: -91; }
.iti__hk { --iti-flag-offset: -92; }
.iti__hn { --iti-flag-offset: -93; }
.iti__hr { --iti-flag-offset: -94; }
.iti__ht { --iti-flag-offset: -95; }
.iti__hu { --iti-flag-offset: -96; }
.iti__id { --iti-flag-offset: -97; }
.iti__ie { --iti-flag-offset: -98; }
.iti__il { --iti-flag-offset: -99; }
.iti__im { --iti-flag-offset: -100; }
.iti__in { --iti-flag-offset: -101; }
.iti__io { --iti-flag-offset: -102; }
.iti__iq { --iti-flag-offset: -103; }
.iti__ir { --iti-flag-offset: -104; }
.iti__is { --iti-flag-offset: -105; }
.iti__it { --iti-flag-offset: -106; }
.iti__je { --iti-flag-offset: -107; }
.iti__jm { --iti-flag-offset: -108; }
.iti__jo { --iti-flag-offset: -109; }
.iti__jp { --iti-flag-offset: -110; }
.iti__ke { --iti-flag-offset: -111; }
.iti__kg { --iti-flag-offset: -112; }
.iti__kh { --iti-flag-offset: -113; }
.iti__ki { --iti-flag-offset: -114; }
.iti__km { --iti-flag-offset: -115; }
.iti__kn { --iti-flag-offset: -116; }
.iti__kp { --iti-flag-offset: -117; }
.iti__kr { --iti-flag-offset: -118; }
.iti__kw { --iti-flag-offset: -119; }
.iti__ky { --iti-flag-offset: -120; }
.iti__kz { --iti-flag-offset: -121; }
.iti__la { --iti-flag-offset: -122; }
.iti__lb { --iti-flag-offset: -123; }
.iti__lc { --iti-flag-offset: -124; }
.iti__li { --iti-flag-offset: -125; }
.iti__lk { --iti-flag-offset: -126; }
.iti__lr { --iti-flag-offset: -127; }
.iti__ls { --iti-flag-offset: -128; }
.iti__lt { --iti-flag-offset: -129; }
.iti__lu { --iti-flag-offset: -130; }
.iti__lv { --iti-flag-offset: -131; }
.iti__ly { --iti-flag-offset: -132; }
.iti__ma { --iti-flag-offset: -133; }
.iti__mc { --iti-flag-offset: -134; }
.iti__md { --iti-flag-offset: -135; }
.iti__me { --iti-flag-offset: -136; }
.iti__mf { --iti-flag-offset: -137; }
.iti__mg { --iti-flag-offset: -138; }
.iti__mh { --iti-flag-offset: -139; }
.iti__mk { --iti-flag-offset: -140; }
.iti__ml { --iti-flag-offset: -141; }
.iti__mm { --iti-flag-offset: -142; }
.iti__mn { --iti-flag-offset: -143; }
.iti__mo { --iti-flag-offset: -144; }
.iti__mp { --iti-flag-offset: -145; }
.iti__mq { --iti-flag-offset: -146; }
.iti__mr { --iti-flag-offset: -147; }
.iti__ms { --iti-flag-offset: -148; }
.iti__mt { --iti-flag-offset: -149; }
.iti__mu { --iti-flag-offset: -150; }
.iti__mv { --iti-flag-offset: -151; }
.iti__mw { --iti-flag-offset: -152; }
.iti__mx { --iti-flag-offset: -153; }
.iti__my { --iti-flag-offset: -154; }
.iti__mz { --iti-flag-offset: -155; }
.iti__na { --iti-flag-offset: -156; }
.iti__nc { --iti-flag-offset: -157; }
.iti__ne { --iti-flag-offset: -158; }
.iti__nf { --iti-flag-offset: -159; }
.iti__ng { --iti-flag-offset: -160; }
.iti__ni { --iti-flag-offset: -161; }
.iti__nl { --iti-flag-offset: -162; }
.iti__no { --iti-flag-offset: -163; }
.iti__np { --iti-flag-offset: -164; }
.iti__nr { --iti-flag-offset: -165; }
.iti__nu { --iti-flag-offset: -166; }
.iti__nz { --iti-flag-offset: -167; }
.iti__om { --iti-flag-offset: -168; }
.iti__pa { --iti-flag-offset: -169; }
.iti__pe { --iti-flag-offset: -170; }
.iti__pf { --iti-flag-offset: -171; }
.iti__pg { --iti-flag-offset: -172; }
.iti__ph { --iti-flag-offset: -173; }
.iti__pk { --iti-flag-offset: -174; }
.iti__pl { --iti-flag-offset: -175; }
.iti__pm { --iti-flag-offset: -176; }
.iti__pr { --iti-flag-offset: -177; }
.iti__ps { --iti-flag-offset: -178; }
.iti__pt { --iti-flag-offset: -179; }
.iti__pw { --iti-flag-offset: -180; }
.iti__py { --iti-flag-offset: -181; }
.iti__qa { --iti-flag-offset: -182; }
.iti__re { --iti-flag-offset: -183; }
.iti__ro { --iti-flag-offset: -184; }
.iti__rs { --iti-flag-offset: -185; }
.iti__ru { --iti-flag-offset: -186; }
.iti__rw { --iti-flag-offset: -187; }
.iti__sa { --iti-flag-offset: -188; }
.iti__sb { --iti-flag-offset: -189; }
.iti__sc { --iti-flag-offset: -190; }
.iti__sd { --iti-flag-offset: -191; }
.iti__se { --iti-flag-offset: -192; }
.iti__sg { --iti-flag-offset: -193; }
.iti__sh { --iti-flag-offset: -194; }
.iti__si { --iti-flag-offset: -195; }
.iti__sj { --iti-flag-offset: -196; }
.iti__sk { --iti-flag-offset: -197; }
.iti__sl { --iti-flag-offset: -198; }
.iti__sm { --iti-flag-offset: -199; }
.iti__sn { --iti-flag-offset: -200; }
.iti__so { --iti-flag-offset: -201; }
.iti__sr { --iti-flag-offset: -202; }
.iti__ss { --iti-flag-offset: -203; }
.iti__st { --iti-flag-offset: -204; }
.iti__sv { --iti-flag-offset: -205; }
.iti__sx { --iti-flag-offset: -206; }
.iti__sy { --iti-flag-offset: -207; }
.iti__sz { --iti-flag-offset: -208; }
.iti__tc { --iti-flag-offset: -209; }
.iti__td { --iti-flag-offset: -210; }
.iti__tg { --iti-flag-offset: -211; }
.iti__th { --iti-flag-offset: -212; }
.iti__tj { --iti-flag-offset: -213; }
.iti__tk { --iti-flag-offset: -214; }
.iti__tl { --iti-flag-offset: -215; }
.iti__tm { --iti-flag-offset: -216; }
.iti__tn { --iti-flag-offset: -217; }
.iti__to { --iti-flag-offset: -218; }
.iti__tr { --iti-flag-offset: -219; }
.iti__tt { --iti-flag-offset: -220; }
.iti__tv { --iti-flag-offset: -221; }
.iti__tw { --iti-flag-offset: -222; }
.iti__tz { --iti-flag-offset: -223; }
.iti__ua { --iti-flag-offset: -224; }
.iti__ug { --iti-flag-offset: -225; }
.iti__us { --iti-flag-offset: -226; }
.iti__uy { --iti-flag-offset: -227; }
.iti__uz { --iti-flag-offset: -228; }
.iti__va { --iti-flag-offset: -229; }
.iti__vc { --iti-flag-offset: -230; }
.iti__ve { --iti-flag-offset: -231; }
.iti__vg { --iti-flag-offset: -232; }
.iti__vi { --iti-flag-offset: -233; }
.iti__vn { --iti-flag-offset: -234; }
.iti__vu { --iti-flag-offset: -235; }
.iti__wf { --iti-flag-offset: -236; }
.iti__ws { --iti-flag-offset: -237; }
.iti__xk { --iti-flag-offset: -238; }
.iti__ye { --iti-flag-offset: -239; }
.iti__yt { --iti-flag-offset: -240; }
.iti__za { --iti-flag-offset: -241; }
.iti__zm { --iti-flag-offset: -242; }
.iti__zw { --iti-flag-offset: -243; }
/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT. */

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
@import "intlTelInput.css";
:root {
/* Image related variables. */
--iti-path-flags-1x: url('../img/flags.webp');
--iti-path-flags-2x: url('../img/flags@2x.webp');
}

2
libs/intl-tel-input/css/styles.d.ts vendored Normal file
View File

@@ -0,0 +1,2 @@
declare const styles: string;
export default styles;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,213 @@
// Shared constants extracted from intl-tel-input logic to avoid magic strings/numbers
import type { Iso2 } from "./data.js";
export const EVENTS = {
OPEN_COUNTRY_SELECTOR: "open:countryselector",
CLOSE_COUNTRY_SELECTOR: "close:countryselector",
COUNTRY_CHANGE: "countrychange",
INPUT: "input", // used for synthetic input trigger
STRICT_REJECT: "strict:reject",
} as const;
//* The named "slots" (i.e. the elements we generate) that consumers can add their own classes
//* to, via the classNames option. Deliberately decoupled from our internal iti__* class names,
//* so the markup remains an implementation detail. Used to validate the option at runtime, and
//* to derive the ItiClassNames type. Keep in sync with the ItiClassNames interface.
export const ITI_SLOTS = [
"container",
"input",
"countryContainer",
"selectedCountry",
"selectedCountryPrimary",
"selectedFlag",
"arrow",
"selectedDialCode",
"countrySelector",
"countrySelectorContainer",
"searchWrapper",
"searchIcon",
"searchInput",
"searchClear",
"countryList",
"countryListItem",
"countryListItemFlag",
"countryName",
"dialCode",
"countryCheck",
"noResults",
] as const;
export const CLASSES = {
HIDE: "iti__hide",
V_HIDE: "iti__v-hide",
ARROW_UP: "iti__arrow--up",
GLOBE: "iti__globe",
FLAG: "iti__flag",
LOADING: "iti__loading",
COUNTRY_ITEM: "iti__country",
HIGHLIGHT: "iti__highlight",
STRICT_REJECT_ANIMATION: "iti__strict-reject-animation",
} as const;
export const KEYS = {
ARROW_UP: "ArrowUp",
ARROW_DOWN: "ArrowDown",
SPACE: " ",
ENTER: "Enter",
ESC: "Escape",
TAB: "Tab",
} as const;
export const INPUT_TYPES = {
PASTE: "insertFromPaste",
DELETE_FORWARD: "deleteContentForward",
} as const;
export const REGEX = {
ALPHA_UNICODE: /\p{L}/u, // any kind of letter from any language
NON_PLUS_NUMERIC: /[^+0-9]/, // chars that are NOT + or digit
NON_PLUS_NUMERIC_GLOBAL: /[^+0-9]/g, // chars that are NOT + or digit (global)
HIDDEN_SEARCH_CHAR: /^[a-zA-ZÀ-ÿа-яА-Я ]$/, // single acceptable hidden-search char
} as const;
export const TIMINGS = {
SEARCH_DEBOUNCE_MS: 100,
HIDDEN_SEARCH_RESET_MS: 1000,
NEXT_TICK: 0,
} as const;
// Layout / sizing fallbacks (used when measuring elements fails e.g., hidden containers)
// TODO: find a way to pull these out of the CSS, so there's a single source of truth.
export const LAYOUT = {
NARROW_VIEWPORT_WIDTH: 500, // keep in sync with .iti__country-list CSS media query
FALLBACK_SELECTED_COUNTRY_WITH_DIAL_WIDTH: 78, // px width fallback when separateDialCode enabled
FALLBACK_SELECTED_COUNTRY_NO_DIAL_WIDTH: 42, // px width fallback when no separate dial code
INPUT_PADDING_EXTRA_LEFT: 6, // px gap between selected country container and input text
DROPDOWN_MARGIN: 3, // px margin between dropdown and tel input
FALLBACK_DROPDOWN_HEIGHT: 200, // px height fallback for dropdown
} as const;
// Helpful grouping for dial code logic (kept lean; expand only if reused widely)
export const DIAL_CODE = {
PLUS: "+",
NANP: "1", // North American Numbering Plan
} as const;
// E.164 caps a full international number (dial code + national number) at 15
// digits. Used as a fallback max length in strictMode when there is no selected
// country, and so no country-specific max to enforce.
export const E164_MAX_DIGITS = 15;
// Country-specific telephone rules
export const UK = {
ISO2: "gb" as Iso2,
DIAL_CODE: "44", // +44 United Kingdom
MOBILE_PREFIX: "7", // UK mobile numbers start with 7 after national trunk (0) or core section
MOBILE_CORE_LENGTH: 10, // core number length (excluding dial code / national prefix) for mobiles
} as const;
export const US = {
ISO2: "us" as Iso2,
DIAL_CODE: "1", // +1 United States
};
// Public-facing enum constant for placeholderNumberPolicy. Singular to match
// NUMBER_FORMAT / NUMBER_TYPE / VALIDATION_ERROR. Hand-defined (rather than
// derived via toEnumObject) because there's no parallel array to be the source
// of truth.
export const PLACEHOLDER_POLICY = {
AGGRESSIVE: "AGGRESSIVE",
POLITE: "POLITE",
OFF: "OFF",
} as const;
// Valid values for the countrySelectorMode option. The COUNTRY_SELECTOR_MODE
// enum object is derived from this array (below, alongside NUMBER_FORMAT etc).
export const COUNTRY_SELECTOR_MODES = [
"OFF",
"DROPDOWN",
"FULLSCREEN",
"AUTO",
] as const;
// libphonenumber enums - sole source of truth for both the core library (option
// validation, public types) and utils.js (which builds its int maps from
// these arrays at build time via scripts/build-utils.js).
//
// Order matters - the array index is the integer value libphonenumber uses,
// EXCEPT for NUMBER_TYPES.UNKNOWN which libphonenumber maps to -1 (handled
// explicitly in utils.js).
//
// Mirrors:
// - i18n.phonenumbers.PhoneNumberFormat
// - i18n.phonenumbers.PhoneNumberType
// - i18n.phonenumbers.PhoneNumberUtil.ValidationResult
// in third_party/libphonenumber/javascript/i18n/phonenumbers/phonenumberutil.js
export const NUMBER_FORMATS = [
"E164",
"INTERNATIONAL",
"NATIONAL",
"RFC3966",
] as const;
export const NUMBER_TYPES = [
"FIXED_LINE",
"MOBILE",
"FIXED_LINE_OR_MOBILE",
"TOLL_FREE",
"PREMIUM_RATE",
"SHARED_COST",
"VOIP",
"PERSONAL_NUMBER",
"PAGER",
"UAN",
"VOICEMAIL",
"UNKNOWN",
] as const;
export const VALIDATION_ERRORS = [
"IS_POSSIBLE",
"INVALID_COUNTRY_CODE",
"TOO_SHORT",
"TOO_LONG",
"IS_POSSIBLE_LOCAL_ONLY",
"INVALID_LENGTH",
] as const;
// Convenience constants so consumers can write NUMBER_TYPE.MOBILE instead of
// the bare string "MOBILE" - typo-safe and matches the PLACEHOLDER_POLICY style.
// Derived from the arrays above so there's no second list to keep in sync.
const toEnumObject = <T extends readonly string[]>(
arr: T,
): Readonly<{ [K in T[number]]: K }> =>
Object.fromEntries(arr.map((v) => [v, v])) as Readonly<{
[K in T[number]]: K;
}>;
export const NUMBER_FORMAT = toEnumObject(NUMBER_FORMATS);
export const NUMBER_TYPE = toEnumObject(NUMBER_TYPES);
export const VALIDATION_ERROR = toEnumObject(VALIDATION_ERRORS);
export const COUNTRY_SELECTOR_MODE = toEnumObject(COUNTRY_SELECTOR_MODES);
// Data-* keys used on DOM nodes
export const DATA_KEYS = {
// e.g. <li data-iso2="us"> for country items in the country list
ISO2: "iso2",
DIAL_CODE: "dialCode",
// e.g. <input data-intl-tel-input-id="0"> on the input element
INSTANCE_ID: "intlTelInputId",
} as const;
// ARIA attribute names (avoid typos & for potential future refactors)
export const ARIA = {
EXPANDED: "aria-expanded",
LABEL: "aria-label",
SELECTED: "aria-selected",
ACTIVE_DESCENDANT: "aria-activedescendant",
HASPOPUP: "aria-haspopup",
CONTROLS: "aria-controls",
HIDDEN: "aria-hidden",
AUTOCOMPLETE: "aria-autocomplete",
MODAL: "aria-modal",
} as const;

View File

@@ -0,0 +1,148 @@
// * Country search & ranking logic extracted from intlTelInput.ts
// * Maintains original comments/order. Pure functions for reuse & testability.
import type { Country, Iso2 } from "../data.js";
import { normaliseString } from "../helpers/string.js";
export interface SearchTokens {
normalisedName: string;
words: string[];
initials: string;
dialCodePlus: string;
}
export type SearchTokensMap = Map<Iso2, SearchTokens>;
//* Strip all non-letter chars (any script via \p{L}) so separators like "-", ".", "'", "&" all collapse to a single space.
//* Lets queries like "St Pierre" match "St. Pierre & Miquelon", "Sant Elena" match "Sant'Elena", etc., regardless of locale.
const normaliseName = (s: string): string =>
normaliseString(s).replace(/[^\p{L}]+/gu, " ").trim();
//* Precompute country search tokens (normalised name, initials, +dialCode) to speed up filtering.
export const buildSearchTokens = (countries: Country[]): SearchTokensMap => {
const tokens: SearchTokensMap = new Map();
for (const c of countries) {
const normalisedName = normaliseName(c.name);
const words = normalisedName.split(" ").filter(Boolean);
const initials = words.map((w) => w[0] || "").join("");
tokens.set(c.iso2, {
normalisedName,
words,
initials,
dialCodePlus: `+${c.dialCode}`,
});
}
return tokens;
};
/**
* Country search: Given raw query, return ordered list of countries by priority buckets.
* Buckets (in order):
* 1. exact iso2 matches
* 2. name starts with
* 3. name contains
* 4. dial code exact match (bare or with plus)
* 5. dial code contains (with plus form)
* 6. initials match
* 7. word fallback: any query word is a prefix of some word in the name (only when query has 2+ words AND no name bucket hit)
* Each bucket preserves country.priority ordering.
*/
export const getMatchedCountries = (
countries: Country[],
searchTokens: SearchTokensMap,
query: string,
): Country[] => {
//* lowerQuery preserves digits/+ for iso2/dial-code/initials checks; nameQuery strips non-letters for name matching.
const lowerQuery = normaliseString(query);
const nameQuery = normaliseName(query);
//* Skip name buckets if the user typed only non-letters (e.g. "+44") — otherwise empty nameQuery would match everything.
const skipNameBuckets = lowerQuery !== "" && nameQuery === "";
// search result groups, in order of priority
// first, exact iso2 matches, then name starts with, then name contains, dial code match etc.
const iso2Matches: Country[] = [];
const nameStartsWith: Country[] = [];
const nameContains: Country[] = [];
const dialCodeMatches: Country[] = [];
const dialCodeContains: Country[] = [];
const initialsMatches: Country[] = [];
const wordMatches: Country[] = [];
for (const c of countries) {
const t = searchTokens.get(c.iso2)!;
if (c.iso2 === lowerQuery) {
iso2Matches.push(c);
} else if (!skipNameBuckets && t.normalisedName.startsWith(nameQuery)) {
nameStartsWith.push(c);
} else if (!skipNameBuckets && t.normalisedName.includes(nameQuery)) {
nameContains.push(c);
} else if (
lowerQuery === c.dialCode ||
lowerQuery === t.dialCodePlus
) {
dialCodeMatches.push(c);
} else if (t.dialCodePlus.includes(lowerQuery)) {
dialCodeContains.push(c);
} else if (t.initials.includes(lowerQuery)) {
initialsMatches.push(c);
}
}
//* Per-word fallback for multi-word queries that hit no name bucket. A country qualifies when at least one
//* query word is the *prefix of* some word in its name (not a mid-word substring) — so "Saint Hel" finds
//* "St. Helena" via "helena", but does not surface "Seychelles" / "St. Barthélemy" where "hel" sits mid-word.
const queryWords = nameQuery.split(" ").filter(Boolean);
if (
queryWords.length > 1 &&
iso2Matches.length === 0 &&
nameStartsWith.length === 0 &&
nameContains.length === 0
) {
const claimed = new Set<Iso2>([
...dialCodeMatches.map((c) => c.iso2),
...dialCodeContains.map((c) => c.iso2),
...initialsMatches.map((c) => c.iso2),
]);
for (const c of countries) {
if (claimed.has(c.iso2)) {
continue;
}
const t = searchTokens.get(c.iso2)!;
if (queryWords.some((qw) => t.words.some((sw) => sw.startsWith(qw)))) {
wordMatches.push(c);
}
}
}
// Combine result groups in correct order (and respect country priority order within each group e.g. if search +44, then UK appears first above Guernsey etc)
const sortByPriority = (a: Country, b: Country) => a.priority - b.priority;
return [
...iso2Matches,
...nameStartsWith,
...nameContains,
// priority sort is only relevant when showing multiple countries with the same dial code (that's what the priority field is used to distinguish between)
...dialCodeMatches.sort(sortByPriority),
...dialCodeContains.sort(sortByPriority),
...initialsMatches,
...wordMatches,
];
};
/**
* Hidden search (when countrySearch disabled): find first country whose name starts with query (case-insensitive).
*/
export const findFirstCountryStartingWith = (
countries: Country[],
searchTokens: SearchTokensMap,
query: string,
): Country | null => {
const nameQuery = normaliseName(query);
for (const c of countries) {
const { normalisedName } = searchTokens.get(c.iso2)!;
if (normalisedName.startsWith(nameQuery)) {
return c;
}
}
return null;
};

View File

@@ -0,0 +1,64 @@
import { ARIA } from "../constants.js";
type SvgNode = [
tag: string,
attrs?: Record<string, string | number>,
children?: SvgNode[],
];
const SVG_NS = "http://www.w3.org/2000/svg";
const buildSvg = ([tag, attrs, children]: SvgNode): SVGElement => {
const el = document.createElementNS(SVG_NS, tag);
if (attrs) {
for (const k in attrs) {
el.setAttribute(k, String(attrs[k]));
}
}
if (children) {
for (const c of children) {
el.appendChild(buildSvg(c));
}
}
return el;
};
/** Magnifying glass search icon */
export const buildSearchIcon = (): SVGElement => buildSvg(
["svg", { class: "iti__search-icon-svg", width: 14, height: 14, viewBox: "0 0 24 24", focusable: "false", [ARIA.HIDDEN]: "true" }, [
["circle", { cx: 11, cy: 11, r: 7 }],
["line", { x1: 21, y1: 21, x2: 16.65, y2: 16.65 }],
]],
);
/**
* Clear (circle with X) icon
* @param id Instance id used to create a unique mask id.
*/
export const buildClearIcon = (id: number): SVGElement => {
const maskId = `iti-${id}-clear-mask`;
return buildSvg(
["svg", { class: "iti__search-clear-svg", width: 12, height: 12, viewBox: "0 0 16 16", [ARIA.HIDDEN]: "true", focusable: "false" }, [
["mask", { id: maskId, maskUnits: "userSpaceOnUse" }, [
["rect", { width: 16, height: 16, fill: "white" }],
["path", { d: "M5.2 5.2 L10.8 10.8 M10.8 5.2 L5.2 10.8", stroke: "black", "stroke-linecap": "round", class: "iti__search-clear-x" }],
]],
["circle", { cx: 8, cy: 8, r: 8, class: "iti__search-clear-bg", mask: `url(#${maskId})` }],
]],
);
};
/** Check icon shown next to the selected country in the country list. */
export const buildCheckIcon = (): SVGElement => buildSvg(
["svg", { class: "iti__country-check-svg", width: 14, height: 14, viewBox: "0 0 16 16", fill: "currentColor", focusable: "false", [ARIA.HIDDEN]: "true" }, [
["path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" }],
]],
);
/** Globe icon used when no country is selected */
export const buildGlobeIcon = (): SVGElement => buildSvg(
["svg", { width: 256, height: 256, viewBox: "0 0 512 512", class: "iti__globe-svg" }, [
["path", { d: "M508 213a240 240 0 0 0-449-87l-2 5-2 5c-8 14-13 30-17 46a65 65 0 0 1 56 4c16-10 35-19 56-27l9-3c-6 23-10 48-10 74h-16l4 6c3 4 5 8 6 13h6c0 22 3 44 8 65l2 10-25-10-4 5 12 18 9 3 6 2 8 3 9 26 1 2 16-7h1l-5-13-1-2c24 6 49 9 75 10v26l11 10 7 7v-30l1-13c22 0 44-3 65-8l10-2-21 48-1 1a317 317 0 0 1-14 23l-21 5h-2c6 16 7 33 1 50a240 240 0 0 0 211-265m-401-56-11 6c19-44 54-79 98-98-11 20-21 44-29 69-21 6-40 15-58 23m154 182v4c-29-1-57-6-81-13-7-25-12-52-13-81h94zm0-109h-94c1-29 6-56 13-81 24-7 52-12 81-13zm0-112c-22 1-44 4-65 8l-10 2 12-30 9-17 1-2a332 332 0 0 1 13-23c13-4 26-6 40-7zm187 69 6 4c4 12 6 25 6 38v1h-68c-1-26-4-51-10-74l48 20 1 1 14 8zm-14-44 10 20c-20-11-43-21-68-29-8-25-18-49-29-69 37 16 67 44 87 78M279 49h1c13 1 27 3 39 7l14 23 1 2a343 343 0 0 1 12 26l2 5 6 16c-23-6-48-9-74-10h-1zm0 87h1c29 1 56 6 81 13 7 24 12 51 12 80v1h-94zm2 207h-2v-94h95c-1 29-6 56-13 81-24 7-51 12-80 13m86 60-20 10c11-20 21-43 29-68 25-8 48-18 68-29-16 37-43 67-77 87m87-115-7 5-16 9-2 1a337 337 0 0 1-47 21c6-24 9-49 10-75h68c0 13-2 27-6 39" }],
["path", { d: "m261 428-2-2-22-21a40 40 0 0 0-32-11h-1a37 37 0 0 0-18 8l-1 1-4 2-2 2-5 4c-9-3-36-31-47-44s-32-45-34-55l3-2a151 151 0 0 0 11-9v-1a39 39 0 0 0 5-48l-3-3-11-19-3-4-5-7h-1l-3-3-4-3-5-2a35 35 0 0 0-16-3h-5c-4 1-14 5-24 11l-4 2-4 3-4 2c-9 8-17 17-18 27a380 380 0 0 0 212 259h3c12 0 25-10 36-21l10-12 6-11a39 39 0 0 0-8-40" }],
]],
);

View File

@@ -0,0 +1,64 @@
export class Numerals {
#userNumeralSet: "ascii" | "arabic-indic" | "persian" | undefined;
//* Stateless conversion of any Arabic-Indic / Persian digits to ASCII 0-9.
//* Use this when you need to normalise digits without affecting any instance's tracked numeral set (e.g. for the country-search query).
public static toAscii(str: string): string {
if (!str) {
return "";
}
// Note: yes it runs two replaces, but a replace call is really a test + manipulate, so for standard ascii input, it just runs 2x tests. Not worth splitting up and adding test guards.
return str
.replace(/[٠-٩]/g, (ch) =>
String.fromCharCode(0x30 + (ch.charCodeAt(0) - 0x0660)),
)
.replace(/[۰-۹]/g, (ch) =>
String.fromCharCode(0x30 + (ch.charCodeAt(0) - 0x06f0)),
);
}
constructor(initialValue: string) {
if (initialValue) {
this.#updateNumeralSet(initialValue);
}
}
// If any Arabic-Indic digits, then label it as that set. Same for Persian. Otherwise assume ASCII.
#updateNumeralSet(str: string): void {
if (/[٠-٩]/.test(str)) {
this.#userNumeralSet = "arabic-indic";
} else if (/[۰-۹]/.test(str)) {
this.#userNumeralSet = "persian";
} else {
this.#userNumeralSet = "ascii";
}
}
// Denormalise ASCII 0-9 to the user's numeral set. If not yet known, return as-is.
// NOTE: normalise is always called before this, so it should be impossible for the numeral set to be unknown at this point.
public denormalise(str: string): string {
if (!this.#userNumeralSet || this.#userNumeralSet === "ascii") {
return str;
}
const base = this.#userNumeralSet === "arabic-indic" ? 0x0660 : 0x06f0;
return str.replace(/[0-9]/g, (d) => String.fromCharCode(base + Number(d)));
}
// Normalize Eastern Arabic (U+0660-0669) and Persian/Extended Arabic-Indic (U+06F0-06F9) numerals to ASCII 0-9.
// Tracks the user's numeral set as a side effect so denormalise can mirror it back.
public normalise(str: string): string {
if (!str) {
return "";
}
this.#updateNumeralSet(str);
//* Fast-path ASCII (the common case) so we skip both replaces on every keystroke.
if (this.#userNumeralSet === "ascii") {
return str;
}
return Numerals.toAscii(str);
}
public isAscii(): boolean {
return !this.#userNumeralSet || this.#userNumeralSet === "ascii";
}
}

View File

@@ -0,0 +1,466 @@
import {
PLACEHOLDER_POLICY,
NUMBER_FORMAT,
NUMBER_TYPE,
NUMBER_TYPES,
COUNTRY_SELECTOR_MODE,
COUNTRY_SELECTOR_MODES,
ITI_SLOTS,
LAYOUT,
} from "../constants.js";
import defaultEnglishStrings from "../locale/en.js";
import { isIso2, type Iso2 } from "../data.js";
import type { AllOptions, SomeOptions } from "../types/public-api.js";
// Helper for media query evaluation
const mediaQuery = (q: string): boolean =>
typeof window !== "undefined" &&
typeof window.matchMedia === "function" &&
window.matchMedia(q).matches;
const isNarrowViewport = () =>
mediaQuery(`(max-width: ${LAYOUT.NARROW_VIEWPORT_WIDTH}px)`);
//* Heuristic for resolving countrySelectorMode "AUTO" to "FULLSCREEN" or "DROPDOWN".
const resolveAutoCountrySelectorMode = ():
| typeof COUNTRY_SELECTOR_MODE.FULLSCREEN
| typeof COUNTRY_SELECTOR_MODE.DROPDOWN => {
if (typeof navigator !== "undefined" && typeof window !== "undefined") {
const isShortViewport = mediaQuery("(max-height: 600px)");
const isCoarsePointer = mediaQuery("(pointer: coarse)");
/* Heuristic rationale: If narrow width OR (coarse pointer with constrained height) we prefer fullscreen for usability. Coarse pointer usually implies touch (phones/tablets, some hybrids) where larger touch targets help (and virtual keyboards may be used, which consume more vertical space). */
if (isNarrowViewport() || (isCoarsePointer && isShortViewport)) {
return COUNTRY_SELECTOR_MODE.FULLSCREEN;
}
}
return COUNTRY_SELECTOR_MODE.DROPDOWN;
};
export const defaults: AllOptions = {
//* How the country selector is displayed. "DROPDOWN" vs "FULLSCREEN", or "AUTO" to decide itself, or "OFF".
countrySelectorMode: COUNTRY_SELECTOR_MODE.AUTO,
//* The number type to enforce during validation.
allowedNumberTypes: [NUMBER_TYPE.MOBILE, NUMBER_TYPE.FIXED_LINE],
//* Whether or not to allow extensions after the main number.
allowNumberExtensions: false,
// Allow alphanumeric "phonewords" (e.g. +1 800 FLOWERS) as valid numbers
allowPhonewords: false,
//* Add custom classes to the elements we generate, keyed by slot name e.g. { selectedCountry: "rounded-l-lg" }.
classNames: {},
//* Add a custom class to the (injected) container element.
containerClass: "",
//* Locale for localising country names via Intl.DisplayNames.
countryNameLocale: "en",
//* Override individual country names by iso2 code.
countryNameOverrides: {},
//* The order of the countries in the country list. Defaults to alphabetical.
countryOrder: null,
//* Add a country search input at the top of the country selector.
countrySearch: true,
//* Modify the auto placeholder.
customPlaceholder: null,
//* Always show the dropdown
dropdownAlwaysOpen: false,
//* Optional DOM element to append the dropdown to (used to escape ancestors with overflow:hidden, or to mount in a custom container). Only consulted in dropdown rendering; ignored when the country selector renders as a fullscreen popup.
dropdownParent: null,
//* Don't display these countries.
excludeCountries: null,
//* Fix the dropdown width to the input width (rather than being as wide as the longest country name).
matchDropdownWidth: true,
//* Format the number as the user types
formatAsYouType: true,
//* Inject hidden inputs with the names returned from this function, and on submit, populate them with the full number and selected country iso2.
hiddenInputs: null,
//* Translations for the core library UI strings e.g. search input placeholder, country names.
uiTranslations: {},
//* Initial country.
initialCountry: "",
//* Async lookup function used to determine the initial country (e.g. via IP). Ignored if initialCountry is set.
initialCountryLookup: null,
//* A function to load the utils script.
loadUtils: null,
//* Format used when displaying numbers (placeholder examples and stored values). One of "E164", "INTERNATIONAL", "NATIONAL".
numberDisplayFormat: NUMBER_FORMAT.INTERNATIONAL,
//* Display only these countries.
onlyCountries: null,
//* When to set the placeholder to an example number for the selected country: "POLITE" only when the input has no manually-set placeholder, "AGGRESSIVE" always, "OFF" never.
placeholderNumberPolicy: PLACEHOLDER_POLICY.POLITE,
//* Number type to use for placeholders.
placeholderNumberType: NUMBER_TYPE.MOBILE,
//* Add custom classes to the search input element.
searchInputClass: "",
//* Display the international dial code next to the selected flag.
separateDialCode: true,
//* When strictMode rejects a key (etc), play a short feedback animation
strictRejectAnimation: true,
//* Show flags - for both the selected country, and in the country list
showFlags: true,
//* Only allow certain chars e.g. a plus followed by numeric digits, and cap at max valid length.
strictMode: true,
};
const toString = (val: unknown): string => JSON.stringify(val);
const isPlainObject = (val: unknown): val is Record<string, unknown> =>
Boolean(val) && typeof val === "object" && !Array.isArray(val);
const isFunction = (val: unknown): val is (...args: unknown[]) => unknown =>
typeof val === "function";
const isElLike = (val: unknown): val is HTMLElement => {
if (!val || typeof val !== "object") {
return false;
}
const v = val as any;
return (
v.nodeType === 1 &&
typeof v.tagName === "string" &&
typeof v.appendChild === "function"
);
};
const placeholderPolicySet = new Set<string>(Object.values(PLACEHOLDER_POLICY));
const slotSet = new Set<string>(ITI_SLOTS);
const warn = (message: string): void => {
console.warn(`[intl-tel-input] ${message}`);
};
const warnOption = (
optionName: string,
expectedType: string,
actualValue: unknown,
): void => {
warn(
`Option '${optionName}' must be ${expectedType}; got ${toString(actualValue)}. Ignoring.`,
);
};
const validateIso2Array = (key: string, value: unknown): string[] | false => {
const expectedType = "an array of iso2 country code strings";
if (!Array.isArray(value)) {
warnOption(key, expectedType, value);
return false;
}
const valid: string[] = [];
for (const v of value) {
if (typeof v !== "string") {
warnOption(key, expectedType, value);
return false;
}
const lower = v.toLowerCase();
if (!isIso2(lower)) {
warn(`Invalid iso2 code in '${key}': '${v}'. Skipping.`);
} else {
valid.push(v);
}
}
return valid;
};
/**
* Validate runtime init options
*/
export const validateOptions = (customOptions: unknown): SomeOptions => {
if (customOptions === undefined) {
return {};
}
if (!isPlainObject(customOptions)) {
const error = `The second argument must be an options object; got ${toString(customOptions)}. Using defaults.`;
warn(error);
return {};
}
const validatedOptions: Record<string, unknown> = {};
for (const [key, value] of Object.entries(customOptions)) {
// Check option exists
if (!Object.hasOwn(defaults, key)) {
warn(`Unknown option '${key}'. Ignoring.`);
continue;
}
switch (key) {
case "allowNumberExtensions":
case "allowPhonewords":
case "countrySearch":
case "dropdownAlwaysOpen":
case "matchDropdownWidth":
case "formatAsYouType":
case "showFlags":
case "separateDialCode":
case "strictMode":
case "strictRejectAnimation":
if (typeof value !== "boolean") {
warnOption(key, "a boolean", value);
break;
}
validatedOptions[key] = value;
break;
case "countrySelectorMode":
if (
typeof value !== "string" ||
!(COUNTRY_SELECTOR_MODES as readonly string[]).includes(value)
) {
warnOption(
"countrySelectorMode",
`one of ${COUNTRY_SELECTOR_MODES.map((m) => `"${m}"`).join(", ")}`,
value,
);
break;
}
validatedOptions[key] = value;
break;
case "numberDisplayFormat":
if (
typeof value !== "string" ||
value === NUMBER_FORMAT.RFC3966 ||
!(value === NUMBER_FORMAT.E164 ||
value === NUMBER_FORMAT.INTERNATIONAL ||
value === NUMBER_FORMAT.NATIONAL)
) {
warnOption(
"numberDisplayFormat",
'one of "E164", "INTERNATIONAL", "NATIONAL"',
value,
);
break;
}
validatedOptions[key] = value;
break;
case "placeholderNumberPolicy":
if (typeof value !== "string" || !placeholderPolicySet.has(value)) {
const validPolicies = Array.from(placeholderPolicySet).join(", ");
warnOption("placeholderNumberPolicy", `one of ${validPolicies}`, value);
break;
}
validatedOptions[key] = value;
break;
case "containerClass":
case "searchInputClass":
case "countryNameLocale":
if (typeof value !== "string") {
warnOption(key, "a string", value);
break;
}
validatedOptions[key] = value;
break;
case "classNames": {
if (!isPlainObject(value)) {
warnOption("classNames", "an object", value);
break;
}
//* Drop unknown slots and non-string values, so a typo is loud rather than silent.
const validSlots: Record<string, string> = {};
for (const [slot, slotValue] of Object.entries(value)) {
if (!slotSet.has(slot)) {
warn(
`Unknown slot '${slot}' in 'classNames'. Valid slots: ${ITI_SLOTS.join(", ")}. Skipping.`,
);
} else if (typeof slotValue !== "string") {
warnOption(`classNames.${slot}`, "a string", slotValue);
} else {
//* Normalise whitespace, so consumers can be untidy, and we can safely split on single spaces.
validSlots[slot] = slotValue.trim().replace(/\s+/g, " ");
}
}
validatedOptions[key] = validSlots;
break;
}
case "countryOrder": {
if (value === null) {
validatedOptions[key] = value;
} else {
const filtered = validateIso2Array(key, value);
if (filtered !== false) {
validatedOptions[key] = filtered;
}
}
break;
}
case "customPlaceholder":
case "hiddenInputs":
case "initialCountryLookup":
case "loadUtils":
if (value !== null && !isFunction(value)) {
warnOption(key, "a function or null", value);
break;
}
validatedOptions[key] = value;
break;
case "dropdownParent":
if (value !== null && !isElLike(value)) {
warnOption("dropdownParent", "an HTMLElement or null", value);
break;
}
validatedOptions[key] = value;
break;
case "excludeCountries":
case "onlyCountries": {
if (value === null) {
validatedOptions[key] = value;
} else {
const filtered = validateIso2Array(key, value);
if (filtered !== false) {
validatedOptions[key] = filtered;
}
}
break;
}
case "uiTranslations":
if (value && !isPlainObject(value)) {
warnOption("uiTranslations", "an object", value);
break;
}
// don't bother validating the shape of the object, as the standard use is to just pass in one of the provided locale objects.
validatedOptions[key] = value;
break;
case "countryNameOverrides":
if (value && !isPlainObject(value)) {
warnOption("countryNameOverrides", "an object", value);
break;
}
validatedOptions[key] = value;
break;
case "initialCountry": {
if (typeof value !== "string") {
warnOption("initialCountry", "a string", value);
break;
}
const lower = value.toLowerCase();
if (lower && !isIso2(lower)) {
warnOption("initialCountry", "a valid iso2 country code", value);
break;
}
validatedOptions[key] = value;
break;
}
case "placeholderNumberType":
if (
typeof value !== "string" ||
!(NUMBER_TYPES as readonly string[]).includes(value)
) {
const validTypes = NUMBER_TYPES.join(", ");
warnOption("placeholderNumberType", `one of ${validTypes}`, value);
break;
}
validatedOptions[key] = value;
break;
case "allowedNumberTypes":
if (value !== null) {
if (!Array.isArray(value)) {
warnOption(
"allowedNumberTypes",
"an array of number types or null",
value,
);
break;
}
let allValid = true;
for (const v of value as unknown[]) {
if (
typeof v !== "string" ||
!(NUMBER_TYPES as readonly string[]).includes(v)
) {
const validTypes = NUMBER_TYPES.join(", ");
warnOption(
"allowedNumberTypes",
`an array of valid number types (${validTypes})`,
v,
);
allValid = false;
break;
}
}
if (allValid) {
// include it (even if empty)
validatedOptions[key] = value;
}
} else {
validatedOptions[key] = null;
}
break;
}
}
return validatedOptions as SomeOptions;
};
// Normalise option values so downstream code doesn't have to (mutates the passed object).
export const normaliseOptions = (o: AllOptions): void => {
//* Lowercase all iso2 codes so consumers can compare directly.
if (o.initialCountry) {
o.initialCountry = o.initialCountry.toLowerCase() as Iso2 | "";
}
if (o.onlyCountries?.length) {
o.onlyCountries = o.onlyCountries.map((c) => c.toLowerCase() as Iso2);
}
if (o.excludeCountries?.length) {
o.excludeCountries = o.excludeCountries.map((c) => c.toLowerCase() as Iso2);
}
if (o.countryOrder) {
o.countryOrder = o.countryOrder.map((c) => c.toLowerCase() as Iso2);
}
};
// Apply option side-effects (mutates the passed object)
export const applyOptionSideEffects = (o: AllOptions): void => {
//* Resolve "AUTO" to a concrete mode based on the current viewport. Downstream code only ever sees "OFF", "DROPDOWN", or "FULLSCREEN".
if (o.countrySelectorMode === COUNTRY_SELECTOR_MODE.AUTO) {
o.countrySelectorMode = resolveAutoCountrySelectorMode();
}
//* dropdownAlwaysOpen requires the dropdown rendering (fullscreen popup doesn't support always-open, and we need the country selector to exist).
if (o.dropdownAlwaysOpen) {
o.countrySelectorMode = COUNTRY_SELECTOR_MODE.DROPDOWN;
}
//* If showing fullscreen popup, do not fix the width.
if (o.countrySelectorMode === COUNTRY_SELECTOR_MODE.FULLSCREEN) {
o.matchDropdownWidth = false;
} else {
// if fullscreen popup disabled for whatever reason, but it's still a narrow screen (so full width dropdown wont fit), then the best UX is to fix dropdown width to input width.
if (isNarrowViewport()) {
o.matchDropdownWidth = true;
}
}
//* If theres only one country, then use it!
if (o.onlyCountries?.length === 1) {
o.initialCountry = o.onlyCountries[0];
}
//* When separateDialCode enabled, NATIONAL display is contradictory (the dial code is supposed to be thought of as part of the typed number), so force INTERNATIONAL.
if (o.separateDialCode && o.numberDisplayFormat === NUMBER_FORMAT.NATIONAL) {
o.numberDisplayFormat = NUMBER_FORMAT.INTERNATIONAL;
}
// if there is a country selector, but no flags and no separate dial code, then it suggests that there are multiple countries to choose from, but no way to see which one is currently selected, so we force INTERNATIONAL display, as it doesn't make sense to show a national number placeholder if there's no way to see which country is selected
if (
o.countrySelectorMode !== COUNTRY_SELECTOR_MODE.OFF &&
!o.showFlags &&
!o.separateDialCode &&
o.numberDisplayFormat === NUMBER_FORMAT.NATIONAL
) {
o.numberDisplayFormat = NUMBER_FORMAT.INTERNATIONAL;
}
//* Allow overriding the default interface strings.
o.uiTranslations = { ...defaultEnglishStrings, ...o.uiTranslations };
};

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,20 +0,0 @@
/*
* International Telephone Input v25.3.0
* https://github.com/jackocnr/intl-tel-input.git
* Licensed under the MIT license
*/
// UMD
(function(factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory();
} else {
window.allCountries = factory();
}
}(() => {
var factoryOutput=(()=>{var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var c=(t,n)=>{for(var s in n)l(t,s,{get:n[s],enumerable:!0})},u=(t,n,s,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of g(n))!o.call(t,r)&&r!==s&&l(t,r,{get:()=>n[r],enumerable:!(a=m(n,r))||a.enumerable});return t};var b=t=>u(l({},"__esModule",{value:!0}),t);var p={};c(p,{default:()=>d});var e=[["af","93"],["ax","358",1],["al","355"],["dz","213"],["as","1",5,["684"]],["ad","376"],["ao","244"],["ai","1",6,["264"]],["ag","1",7,["268"]],["ar","54"],["am","374"],["aw","297"],["ac","247"],["au","61",0,null,"0"],["at","43"],["az","994"],["bs","1",8,["242"]],["bh","973"],["bd","880"],["bb","1",9,["246"]],["by","375"],["be","32"],["bz","501"],["bj","229"],["bm","1",10,["441"]],["bt","975"],["bo","591"],["ba","387"],["bw","267"],["br","55"],["io","246"],["vg","1",11,["284"]],["bn","673"],["bg","359"],["bf","226"],["bi","257"],["kh","855"],["cm","237"],["ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905"]],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"]],["cf","236"],["td","235"],["cl","56"],["cn","86"],["cx","61",2,["89164"],"0"],["cc","61",1,["89162"],"0"],["co","57"],["km","269"],["cg","242"],["cd","243"],["ck","682"],["cr","506"],["ci","225"],["hr","385"],["cu","53"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"]],["do","1",2,["809","829","849"]],["ec","593"],["eg","20"],["sv","503"],["gq","240"],["er","291"],["ee","372"],["sz","268"],["et","251"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0],["fr","33"],["gf","594"],["pf","689"],["ga","241"],["gm","220"],["ge","995"],["de","49"],["gh","233"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"]],["gp","590",0],["gu","1",15,["671"]],["gt","502"],["gg","44",1,["1481","7781","7839","7911"],"0"],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36"],["is","354"],["in","91"],["id","62"],["ir","98"],["iq","964"],["ie","353"],["im","44",2,["1624","74576","7524","7924","7624"],"0"],["il","972"],["it","39",0],["jm","1",4,["876","658"]],["jp","81"],["je","44",3,["1534","7509","7700","7797","7829","7937"],"0"],["jo","962"],["kz","7",1,["33","7"],"8"],["ke","254"],["ki","686"],["xk","383"],["kw","965"],["kg","996"],["la","856"],["lv","371"],["lb","961"],["ls","266"],["lr","231"],["ly","218"],["li","423"],["lt","370"],["lu","352"],["mo","853"],["mg","261"],["mw","265"],["my","60"],["mv","960"],["ml","223"],["mt","356"],["mh","692"],["mq","596"],["mr","222"],["mu","230"],["yt","262",1,["269","639"],"0"],["mx","52"],["fm","691"],["md","373"],["mc","377"],["mn","976"],["me","382"],["ms","1",16,["664"]],["ma","212",0,null,"0"],["mz","258"],["mm","95"],["na","264"],["nr","674"],["np","977"],["nl","31"],["nc","687"],["nz","64"],["ni","505"],["ne","227"],["ng","234"],["nu","683"],["nf","672"],["kp","850"],["mk","389"],["mp","1",17,["670"]],["no","47",0],["om","968"],["pk","92"],["pw","680"],["ps","970"],["pa","507"],["pg","675"],["py","595"],["pe","51"],["ph","63"],["pl","48"],["pt","351"],["pr","1",3,["787","939"]],["qa","974"],["re","262",0,null,"0"],["ro","40"],["ru","7",0,null,"8"],["rw","250"],["ws","685"],["sm","378"],["st","239"],["sa","966"],["sn","221"],["rs","381"],["sc","248"],["sl","232"],["sg","65"],["sx","1",21,["721"]],["sk","421"],["si","386"],["sb","677"],["so","252"],["za","27"],["kr","82"],["ss","211"],["es","34"],["lk","94"],["bl","590",1],["sh","290"],["kn","1",18,["869"]],["lc","1",19,["758"]],["mf","590",2],["pm","508"],["vc","1",20,["784"]],["sd","249"],["sr","597"],["sj","47",1,["79"]],["se","46"],["ch","41"],["sy","963"],["tw","886"],["tj","992"],["tz","255"],["th","66"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"]],["tn","216"],["tr","90"],["tm","993"],["tc","1",23,["649"]],["tv","688"],["ug","256"],["ua","380"],["ae","971"],["gb","44",0,null,"0"],["us","1",0],["uy","598"],["vi","1",24,["340"]],["uz","998"],["vu","678"],["va","39",1,["06698"]],["ve","58"],["vn","84"],["wf","681"],["eh","212",1,["5288","5289"],"0"],["ye","967"],["zm","260"],["zw","263"]],i=[];for(let t=0;t<e.length;t++){let n=e[t];i[t]={name:"",iso2:n[0],dialCode:n[1],priority:n[2]||0,areaCodes:n[3]||null,nodeById:{},nationalPrefix:n[4]||null}}var d=i;return b(p);})();
// UMD
return factoryOutput.default;
}));

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,168 @@
import allCountries, { type Country, type Iso2 } from "../data.js";
import type { AllOptions } from "../types/public-api.js";
export interface ProcessedDialCodes {
dialCodes: Set<string>;
dialCodeMaxLength: number;
dialCodeToIso2Map: Record<string, Iso2[]>;
}
//* Process onlyCountries or excludeCountries array if present.
export const processAllCountries = (options: AllOptions): Country[] => {
const { onlyCountries, excludeCountries } = options;
if (onlyCountries?.length) {
return allCountries.filter((country) =>
onlyCountries.includes(country.iso2),
);
} else if (excludeCountries?.length) {
return allCountries.filter(
(country) => !excludeCountries.includes(country.iso2),
);
}
//* Create new array so avoid a bug where multiple instances with different countryOrder options interfere with each other (as they were sharing the same allCountries array, which is mutated by sortCountries).
return [...allCountries];
};
//* Generate country names using Intl.DisplayNames
export const generateCountryNames = (
countries: Country[],
options: AllOptions,
): void => {
const { countryNameLocale, countryNameOverrides, uiTranslations } = options;
//* Some locales (e.g. bs, hy, is, mk, sq, uz) bundle their own country names
//* because certain browsers' Intl.DisplayNames lacks region data for them and
//* silently falls back to English (notably Chrome desktop). When the active
//* uiTranslations carries these, they take precedence over Intl.DisplayNames.
const bundledCountryNames = uiTranslations?.countryNames;
//* Populate country names using Intl.DisplayNames (per instance) with countryNameLocale.
let displayNames;
try {
const hasDisplayNames =
typeof Intl !== "undefined" &&
typeof (Intl as any).DisplayNames === "function";
if (hasDisplayNames) {
displayNames = new (Intl as any).DisplayNames(countryNameLocale, {
type: "region",
});
} else {
displayNames = null;
}
} catch (e) {
console.error(e);
displayNames = null;
}
for (const c of countries) {
c.name =
countryNameOverrides[c.iso2] ||
bundledCountryNames?.[c.iso2] ||
displayNames?.of(c.iso2.toUpperCase()) ||
"";
}
};
//* Generate dialCodes and dialCodeToIso2Map.
export const processDialCodes = (
countries: Country[],
): ProcessedDialCodes => {
//* Here we store just dial codes, where the key is the dial code, and the value is true
//* e.g. { 1: true, 7: true, 20: true, ... }.
const dialCodes = new Set<string>();
let dialCodeMaxLength = 0;
//* Here we map dialCodes (inc both dialCode and dialCode+areaCode) to iso2 codes e.g.
/*
* {
* 1: [ 'us', 'ca', ... ], # all NANP countries (with dial code "1")
* 12: [ 'us', 'ca', ... ], # subset of NANP countries (that have area codes starting with "2")
* 120: [ 'us', 'ca' ], # just US and Canada (that have area codes starting "20")
* 1204: [ 'ca' ], # only Canada (that has a "204" area code)
* ...
* }
*/
const dialCodeToIso2Map: Record<string, Iso2[]> = {};
//* Add a dial code to this.dialCodeToIso2Map.
const addToDialCodeMap = (iso2: Iso2, dialCode: string) => {
// Bail if no iso2 or dialCode (this can happen with onlyCountries or excludeCountries options).
if (!iso2 || !dialCode) {
return;
}
//* Update dialCodeMaxLength.
if (dialCode.length > dialCodeMaxLength) {
dialCodeMaxLength = dialCode.length;
}
//* If this entry doesn't already exist, then create it.
if (!Object.hasOwn(dialCodeToIso2Map, dialCode)) {
dialCodeToIso2Map[dialCode] = [];
}
const iso2List = dialCodeToIso2Map[dialCode];
//* Bail if we already have this country for this dialCode.
if (iso2List.includes(iso2)) {
return;
}
iso2List.push(iso2);
};
// Sort countries by priority so that when we add to the dialCodeToIso2Map, higher priority countries come first
const countriesSortedByPriority = [...countries].sort(
(a, b) => a.priority - b.priority,
);
for (const c of countriesSortedByPriority) {
if (!dialCodes.has(c.dialCode)) {
dialCodes.add(c.dialCode);
}
// add the dial code partial matches to the map
for (let k = 1; k < c.dialCode.length; k++) {
const partialDialCode = c.dialCode.substring(0, k);
addToDialCodeMap(c.iso2, partialDialCode);
}
// add the full dial code to the map
addToDialCodeMap(c.iso2, c.dialCode);
if (c.areaCodes) {
const rootIso2Code = dialCodeToIso2Map[c.dialCode][0];
//* For each area code.
for (const areaCode of c.areaCodes) {
//* Add partial matches: For each digit in the area code
for (let k = 1; k < areaCode.length; k++) {
const partialAreaCode = areaCode.substring(0, k);
const partialDialCode = c.dialCode + partialAreaCode;
//* Start with the root country, as that also matches this partial dial code.
addToDialCodeMap(rootIso2Code, partialDialCode);
addToDialCodeMap(c.iso2, partialDialCode);
}
//* Add the full area code.
addToDialCodeMap(c.iso2, c.dialCode + areaCode);
}
}
}
return { dialCodes, dialCodeMaxLength, dialCodeToIso2Map };
};
//* Sort countries by countryOrder option (if present), then name.
export const sortCountries = (
countries: Country[],
options: AllOptions,
): void => {
const { countryOrder } = options;
countries.sort((a: Country, b: Country): number => {
//* Primary sort: countryOrder option
if (countryOrder) {
const aIndex = countryOrder.indexOf(a.iso2);
const bIndex = countryOrder.indexOf(b.iso2);
const aIndexExists = aIndex > -1;
const bIndexExists = bIndex > -1;
if (aIndexExists || bIndexExists) {
if (aIndexExists && bIndexExists) {
return aIndex - bIndex;
}
return aIndexExists ? -1 : 1;
}
}
//* Secondary sort: country name
return a.name.localeCompare(b.name);
});
};

View File

@@ -0,0 +1,20 @@
import { getNumeric } from "../helpers/string.js";
// Non-geographic / regionless international dial codes that should always be
// treated as international numbers (no associated iso2 country).
// e.g. +800 is the Universal International Freephone Service (UIFS), which is not associated with any country
export const regionlessDialCodes: Set<string> = new Set([
"800",
"808",
"870",
"881",
"882",
"883",
"888",
"979",
]);
export const hasRegionlessDialCode = (number: string): boolean => {
const dialCode = getNumeric(number).slice(0, 3);
return number.startsWith("+") && regionlessDialCodes.has(dialCode);
};

View File

@@ -0,0 +1,37 @@
import { DIAL_CODE } from "../constants.js";
import { getNumeric } from "../helpers/string.js";
// NANP (North American Numbering Plan) countries (e.g. USA, Canada, and many more) use +1 as their international dial code
//* https://en.wikipedia.org/wiki/List_of_North_American_Numbering_Plan_area_codes#Non-geographic_area_codes
// e.g. +1800 is a toll-free number, which can be used across NANP countries and is not associated with any specific country
// NOTE: this export is used in the tests!
export const regionlessNanpAreaCodes = new Set([
"800",
"822",
"833",
"844",
"855",
"866",
"877",
"880",
"881",
"882",
"883",
"884",
"885",
"886",
"887",
"888",
"889",
]);
//* Check if the given number is a regionless NANP number (expects the number to contain an international dial code)
export const isRegionlessNanp = (number: string): boolean => {
const numeric = getNumeric(number);
if (numeric.startsWith(DIAL_CODE.NANP) && numeric.length >= 4) {
const areaCode = numeric.substring(1, 4);
return regionlessNanpAreaCodes.has(areaCode);
}
return false;
};

View File

@@ -0,0 +1,32 @@
//* Iterate through the formattedValue until hit the right number of relevant chars.
export const computeNewCaretPosition = (
relevantChars: number,
formattedValue: string,
prevCaretPos: number,
isDeleteForwards: boolean,
): number => {
//* If the first char is a formatting char, and they backspace delete it:
//* Cursor should stay at the start (pos 0), rather than stick to the first digit (pos 1).
if (prevCaretPos === 0 && !isDeleteForwards) {
return 0;
}
let relevantCharCount = 0;
for (let i = 0; i < formattedValue.length; i++) {
//* Count this as a relevant char if it's a + or a digit.
if (/[+0-9]/.test(formattedValue[i])) {
relevantCharCount++;
}
//* Normal case: stop when you hit the right number of relevant chars
//* (cursor will be just after the final relevant char).
if (relevantCharCount === relevantChars && !isDeleteForwards) {
return i + 1;
}
//* Special case: delete forwards (fn + delete on a mac):
//* Wait until hit one extra relevant char, and put the cursor just before it (after any formatting chars).
if (isDeleteForwards && relevantCharCount === relevantChars + 1) {
return i;
}
}
return formattedValue.length;
};

View File

@@ -0,0 +1,48 @@
import type { ItiUtils, SelectedCountry } from "../types/public-api.js";
//* Remove the dial code if separateDialCode is enabled
export const stripSeparateDialCode = (
fullNumber: string,
hasValidDialCode: boolean,
separateDialCode: boolean,
selectedCountry: SelectedCountry,
): string => {
if (!separateDialCode || !hasValidDialCode) {
return fullNumber;
}
//* In case getDialCode returned an area code as well.
const dialCode = `+${selectedCountry!.dialCode}`;
//* a lot of numbers will have a space separating the dial code and the main number, and
//* some NANP numbers will have a hyphen e.g. +1 684-733-1234 - in both cases we want to get rid of it.
//* NOTE: Don't just trim all non-numerics as may want to preserve an open parenthesis etc.
const start =
fullNumber[dialCode.length] === " " || fullNumber[dialCode.length] === "-"
? dialCode.length + 1
: dialCode.length;
return fullNumber.substring(start);
};
//* Format the number as the user types.
export const formatNumberAsYouType = (
fullNumber: string,
telInputValue: string,
utils: ItiUtils | undefined,
selectedCountry: SelectedCountry,
separateDialCode: boolean,
): string => {
const result = utils
? utils.formatNumberAsYouType(fullNumber, selectedCountry?.iso2)
: fullNumber;
//* If separateDialCode and they haven't (re)typed the dial code in the input as well, then remove the dial code.
const dialCode = selectedCountry?.dialCode;
if (
separateDialCode &&
telInputValue.charAt(0) !== "+" &&
result.includes(`+${dialCode}`)
) {
const afterDialCode = result.split(`+${dialCode}`)[1] || "";
return afterDialCode.trim();
}
return result;
};

View File

@@ -0,0 +1,26 @@
/**
* Build a space-delimited class string from an object map of className -> truthy/falsey.
* Only keys with truthy values are included.
*/
export const buildClassNames = (flags: Record<string, unknown>): string =>
Object.keys(flags)
.filter((k) => Boolean(flags[k]))
.join(" ");
//* Create a DOM element.
export const createEl = (
tagName: string,
attrs?: object | null,
container?: HTMLElement,
): HTMLElement => {
const el = document.createElement(tagName);
if (attrs) {
Object.entries(attrs).forEach(([key, value]) =>
el.setAttribute(key, value),
);
}
if (container) {
container.appendChild(el);
}
return el;
};

View File

@@ -0,0 +1,10 @@
//* Extract the numeric digits from the given string (\D matches any non-digit).
export const getNumeric = (s: string): string => s.replace(/\D/g, "");
//* Normalise string: turns "Réunion" into "Reunion".
//* from https://stackoverflow.com/a/37511463
export const normaliseString = (s: string = ""): string =>
s
.normalize("NFD")
.replace(/[\u0300-\u036f]/g, "")
.toLowerCase();

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "أندورا",
ae: "الإمارات العربية المتحدة",
af: "أفغانستان",
ag: "أنتيغوا وبربودا",
ai: "أنغويلا",
al: "ألبانيا",
am: "أرمينيا",
ao: "أنغولا",
ar: "الأرجنتين",
as: "ساموا الأمريكية",
at: "النمسا",
au: "أستراليا",
aw: "أروبا",
ax: "جزر آلاند",
az: "أذربيجان",
ba: "البوسنة والهرسك",
bb: "بربادوس",
bd: "بنغلاديش",
be: "بلجيكا",
bf: "بوركينا فاسو",
bg: "بلغاريا",
bh: "البحرين",
bi: "بوروندي",
bj: "بنين",
bl: "سان بارتليمي",
bm: "برمودا",
bn: "بروناي",
bo: "بوليفيا",
bq: "هولندا الكاريبية",
br: "البرازيل",
bs: "جزر البهاما",
bt: "بوتان",
bw: "بوتسوانا",
by: "بيلاروس",
bz: "بليز",
ca: "كندا",
cc: "جزر كوكوس (كيلينغ)",
cd: "الكونغو - كينشاسا",
cf: "جمهورية أفريقيا الوسطى",
cg: "الكونغو - برازافيل",
ch: "سويسرا",
ci: "ساحل العاج",
ck: "جزر كوك",
cl: "تشيلي",
cm: "الكاميرون",
cn: "الصين",
co: "كولومبيا",
cr: "كوستاريكا",
cu: "كوبا",
cv: "الرأس الأخضر",
cw: "كوراساو",
cx: "جزيرة كريسماس",
cy: "قبرص",
cz: "التشيك",
de: "ألمانيا",
dj: "جيبوتي",
dk: "الدانمرك",
dm: "دومينيكا",
do: "جمهورية الدومينيكان",
dz: "الجزائر",
ec: "الإكوادور",
ee: "إستونيا",
eg: "مصر",
eh: "الصحراء الغربية",
er: "إريتريا",
es: "إسبانيا",
et: "إثيوبيا",
fi: "فنلندا",
fj: "فيجي",
fk: "جزر فوكلاند",
fm: "ميكرونيزيا",
fo: "جزر فارو",
fr: "فرنسا",
ga: "الغابون",
gb: "المملكة المتحدة",
gd: "غرينادا",
ge: "جورجيا",
gf: "غويانا الفرنسية",
gg: "غيرنزي",
gh: "غانا",
gi: "جبل طارق",
gl: "غرينلاند",
gm: "غامبيا",
gn: "غينيا",
gp: "غوادلوب",
gq: "غينيا الاستوائية",
gr: "اليونان",
gt: "غواتيمالا",
gu: "غوام",
gw: "غينيا بيساو",
gy: "غيانا",
hk: "هونغ كونغ الصينية (منطقة إدارية خاصة)",
hn: "هندوراس",
hr: "كرواتيا",
ht: "هايتي",
hu: "هنغاريا",
id: "إندونيسيا",
ie: "أيرلندا",
il: "إسرائيل",
im: "جزيرة مان",
in: "الهند",
io: "الإقليم البريطاني في المحيط الهندي",
iq: "العراق",
ir: "إيران",
is: "آيسلندا",
it: "إيطاليا",
je: "جيرسي",
jm: "جامايكا",
jo: "الأردن",
jp: "اليابان",
ke: "كينيا",
kg: "قيرغيزستان",
kh: "كمبوديا",
ki: "كيريباتي",
km: "جزر القمر",
kn: "سانت كيتس ونيفيس",
kp: "كوريا الشمالية",
kr: "كوريا الجنوبية",
kw: "الكويت",
ky: "جزر كايمان",
kz: "كازاخستان",
la: "لاوس",
lb: "لبنان",
lc: "سانت لوسيا",
li: "ليختنشتاين",
lk: "سريلانكا",
lr: "ليبيريا",
ls: "ليسوتو",
lt: "ليتوانيا",
lu: "لوكسمبورغ",
lv: "لاتفيا",
ly: "ليبيا",
ma: "المغرب",
mc: "موناكو",
md: "مولدوفا",
me: "الجبل الأسود",
mf: "سان مارتن",
mg: "مدغشقر",
mh: "جزر مارشال",
mk: "مقدونيا الشمالية",
ml: "مالي",
mm: "ميانمار (بورما)",
mn: "منغوليا",
mo: "منطقة ماكاو الإدارية الخاصة",
mp: "جزر ماريانا الشمالية",
mq: "جزر المارتينيك",
mr: "موريتانيا",
ms: "مونتسرات",
mt: "مالطا",
mu: "موريشيوس",
mv: "جزر المالديف",
mw: "ملاوي",
mx: "المكسيك",
my: "ماليزيا",
mz: "موزمبيق",
na: "ناميبيا",
nc: "كاليدونيا الجديدة",
ne: "النيجر",
nf: "جزيرة نورفولك",
ng: "نيجيريا",
ni: "نيكاراغوا",
nl: "هولندا",
no: "النرويج",
np: "نيبال",
nr: "ناورو",
nu: "نيوي",
nz: "نيوزيلندا",
om: "عُمان",
pa: "بنما",
pe: "بيرو",
pf: "بولينيزيا الفرنسية",
pg: "بابوا غينيا الجديدة",
ph: "الفلبين",
pk: "باكستان",
pl: "بولندا",
pm: "سان بيير ومكويلون",
pr: "بورتوريكو",
ps: "الأراضي الفلسطينية",
pt: "البرتغال",
pw: "بالاو",
py: "باراغواي",
qa: "قطر",
re: "روينيون",
ro: "رومانيا",
rs: "صربيا",
ru: "روسيا",
rw: "رواندا",
sa: "المملكة العربية السعودية",
sb: "جزر سليمان",
sc: "سيشل",
sd: "السودان",
se: "السويد",
sg: "سنغافورة",
sh: "سانت هيلينا",
si: "سلوفينيا",
sj: "سفالبارد وجان ماين",
sk: "سلوفاكيا",
sl: "سيراليون",
sm: "سان مارينو",
sn: "السنغال",
so: "الصومال",
sr: "سورينام",
ss: "جنوب السودان",
st: "ساو تومي وبرينسيبي",
sv: "السلفادور",
sx: "سانت مارتن",
sy: "سوريا",
sz: "إسواتيني",
tc: "جزر توركس وكايكوس",
td: "تشاد",
tg: "توغو",
th: "تايلاند",
tj: "طاجيكستان",
tk: "توكيلو",
tl: "تيمور - ليشتي",
tm: "تركمانستان",
tn: "تونس",
to: "تونغا",
tr: "تركيا",
tt: "ترينيداد وتوباغو",
tv: "توفالو",
tw: "تايوان",
tz: "تنزانيا",
ua: "أوكرانيا",
ug: "أوغندا",
us: "الولايات المتحدة",
uy: "أورغواي",
uz: "أوزبكستان",
va: "الفاتيكان",
vc: "سانت فنسنت وجزر غرينادين",
ve: "فنزويلا",
vg: "جزر فيرجن البريطانية",
vi: "جزر فيرجن التابعة للولايات المتحدة",
vn: "فيتنام",
vu: "فانواتو",
wf: "جزر والس وفوتونا",
ws: "ساموا",
ye: "اليمن",
yt: "مايوت",
za: "جنوب أفريقيا",
zm: "زامبيا",
zw: "زيمبابوي"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "البلد المحدد",
noCountrySelected: "لم يتم تحديد أي بلد",
countryListAriaLabel: "قائمة الدول",
searchPlaceholder: "يبحث",
zeroSearchResults: "لم يتم العثور على نتائج",
oneSearchResult: "تم العثور على نتيجة واحدة",
multipleSearchResults: "تم العثور على ${count} من النتائج",
// additional countries (not supported by country-list library)
ac: "جزيرة الصعود",
xk: "كوسوفو"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Андора",
ae: "Обединени арабски емирства",
af: "Афганистан",
ag: "Антигуа и Барбуда",
ai: "Ангуила",
al: "Албания",
am: "Армения",
ao: "Ангола",
ar: "Аржентина",
as: "Американска Самоа",
at: "Австрия",
au: "Австралия",
aw: "Аруба",
ax: "Оландски острови",
az: "Азербайджан",
ba: "Босна и Херцеговина",
bb: "Барбадос",
bd: "Бангладеш",
be: "Белгия",
bf: "Буркина Фасо",
bg: "България",
bh: "Бахрейн",
bi: "Бурунди",
bj: "Бенин",
bl: "Сен Бартелеми",
bm: "Бермудски острови",
bn: "Бруней Даруссалам",
bo: "Боливия",
bq: "Карибска Нидерландия",
br: "Бразилия",
bs: "Бахамски острови",
bt: "Бутан",
bw: "Ботсвана",
by: "Беларус",
bz: "Белиз",
ca: "Канада",
cc: "Кокосови острови (острови Кийлинг)",
cd: "Конго (Киншаса)",
cf: "Централноафриканска република",
cg: "Конго (Бразавил)",
ch: "Швейцария",
ci: "Кот д’Ивоар",
ck: "острови Кук",
cl: "Чили",
cm: "Камерун",
cn: "Китай",
co: "Колумбия",
cr: "Коста Рика",
cu: "Куба",
cv: "Кабо Верде",
cw: "Кюрасао",
cx: "остров Рождество",
cy: "Кипър",
cz: "Чехия",
de: "Германия",
dj: "Джибути",
dk: "Дания",
dm: "Доминика",
do: "Доминиканска република",
dz: "Алжир",
ec: "Еквадор",
ee: "Естония",
eg: "Египет",
eh: "Западна Сахара",
er: "Еритрея",
es: "Испания",
et: "Етиопия",
fi: "Финландия",
fj: "Фиджи",
fk: "Фолкландски острови",
fm: "Микронезия",
fo: "Фарьорски острови",
fr: "Франция",
ga: "Габон",
gb: "Обединеното кралство",
gd: "Гренада",
ge: "Грузия",
gf: "Френска Гвиана",
gg: "Гърнзи",
gh: "Гана",
gi: "Гибралтар",
gl: "Гренландия",
gm: "Гамбия",
gn: "Гвинея",
gp: "Гваделупа",
gq: "Екваториална Гвинея",
gr: "Гърция",
gt: "Гватемала",
gu: "Гуам",
gw: "Гвинея-Бисау",
gy: "Гаяна",
hk: "Хонконг, САР на Китай",
hn: "Хондурас",
hr: "Хърватия",
ht: "Хаити",
hu: "Унгария",
id: "Индонезия",
ie: "Ирландия",
il: "Израел",
im: "остров Ман",
in: "Индия",
io: "Британска територия в Индийския океан",
iq: "Ирак",
ir: "Иран",
is: "Исландия",
it: "Италия",
je: "Джърси",
jm: "Ямайка",
jo: "Йордания",
jp: "Япония",
ke: "Кения",
kg: "Киргизстан",
kh: "Камбоджа",
ki: "Кирибати",
km: "Коморски острови",
kn: "Сейнт Китс и Невис",
kp: "Северна Корея",
kr: "Южна Корея",
kw: "Кувейт",
ky: "Кайманови острови",
kz: "Казахстан",
la: "Лаос",
lb: "Ливан",
lc: "Сейнт Лусия",
li: "Лихтенщайн",
lk: "Шри Ланка",
lr: "Либерия",
ls: "Лесото",
lt: "Литва",
lu: "Люксембург",
lv: "Латвия",
ly: "Либия",
ma: "Мароко",
mc: "Монако",
md: "Молдова",
me: "Черна гора",
mf: "Сен Мартен",
mg: "Мадагаскар",
mh: "Маршалови острови",
mk: "Северна Македония",
ml: "Мали",
mm: "Мианмар (Бирма)",
mn: "Монголия",
mo: "Макао, САР на Китай",
mp: "Северни Мариански острови",
mq: "Мартиника",
mr: "Мавритания",
ms: "Монтсерат",
mt: "Малта",
mu: "Мавриций",
mv: "Малдиви",
mw: "Малави",
mx: "Мексико",
my: "Малайзия",
mz: "Мозамбик",
na: "Намибия",
nc: "Нова Каледония",
ne: "Нигер",
nf: "остров Норфолк",
ng: "Нигерия",
ni: "Никарагуа",
nl: "Нидерландия",
no: "Норвегия",
np: "Непал",
nr: "Науру",
nu: "Ниуе",
nz: "Нова Зеландия",
om: "Оман",
pa: "Панама",
pe: "Перу",
pf: "Френска Полинезия",
pg: "Папуа-Нова Гвинея",
ph: "Филипини",
pk: "Пакистан",
pl: "Полша",
pm: "Сен Пиер и Микелон",
pr: "Пуерто Рико",
ps: "Палестински територии",
pt: "Португалия",
pw: "Палау",
py: "Парагвай",
qa: "Катар",
re: "Реюнион",
ro: "Румъния",
rs: "Сърбия",
ru: "Русия",
rw: "Руанда",
sa: "Саудитска Арабия",
sb: "Соломонови острови",
sc: "Сейшели",
sd: "Судан",
se: "Швеция",
sg: "Сингапур",
sh: "Света Елена",
si: "Словения",
sj: "Свалбард и Ян Майен",
sk: "Словакия",
sl: "Сиера Леоне",
sm: "Сан Марино",
sn: "Сенегал",
so: "Сомалия",
sr: "Суринам",
ss: "Южен Судан",
st: "Сао Томе и Принсипи",
sv: "Салвадор",
sx: "Синт Мартен",
sy: "Сирия",
sz: "Есватини",
tc: "острови Търкс и Кайкос",
td: "Чад",
tg: "Того",
th: "Тайланд",
tj: "Таджикистан",
tk: "Токелау",
tl: "Източен Тимор",
tm: "Туркменистан",
tn: "Тунис",
to: "Тонга",
tr: "Турция",
tt: "Тринидад и Тобаго",
tv: "Тувалу",
tw: "Тайван",
tz: "Танзания",
ua: "Украйна",
ug: "Уганда",
us: "Съединени щати",
uy: "Уругвай",
uz: "Узбекистан",
va: "Ватикан",
vc: "Сейнт Винсънт и Гренадини",
ve: "Венецуела",
vg: "Британски Вирджински острови",
vi: "Американски Вирджински острови",
vn: "Виетнам",
vu: "Вануату",
wf: "Уолис и Футуна",
ws: "Самоа",
ye: "Йемен",
yt: "Майот",
za: "Южна Африка",
zm: "Замбия",
zw: "Зимбабве"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Избрана държава",
noCountrySelected: "Няма избрана държава",
countryListAriaLabel: "Списък на страните",
searchPlaceholder: "Търсене",
zeroSearchResults: "Няма намерени резултати",
oneSearchResult: "Намерен е 1 резултат",
multipleSearchResults: "${count} намерени резултата",
// additional countries (not supported by country-list library)
ac: "Остров Възнесение",
xk: "Косово"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "আন্ডোরা",
ae: "সংযুক্ত আরব আমিরাত",
af: "আফগানিস্তান",
ag: "অ্যান্টিগুয়া ও বারবুডা",
ai: "এ্যাঙ্গুইলা",
al: "আলবেনিয়া",
am: "আর্মেনিয়া",
ao: "অ্যাঙ্গোলা",
ar: "আর্জেন্টিনা",
as: "আমেরিকান সামোয়া",
at: "অস্ট্রিয়া",
au: "অস্ট্রেলিয়া",
aw: "আরুবা",
ax: "আলান্ড দ্বীপপুঞ্জ",
az: "আজারবাইজান",
ba: "বসনিয়া ও হার্জেগোভিনা",
bb: "বারবাদোস",
bd: "বাংলাদেশ",
be: "বেলজিয়াম",
bf: "বুরকিনা ফাসো",
bg: "বুলগেরিয়া",
bh: "বাহরাইন",
bi: "বুরুন্ডি",
bj: "বেনিন",
bl: "সেন্ট বারথেলিমি",
bm: "বারমুডা",
bn: "ব্রুনেই",
bo: "বলিভিয়া",
bq: "ক্যারিবিয়ান নেদারল্যান্ডস",
br: "ব্রাজিল",
bs: "বাহামা দ্বীপপুঞ্জ",
bt: "ভুটান",
bw: "বতসোয়ানা",
by: "বেলারুশ",
bz: "বেলিজ",
ca: "কানাডা",
cc: "কোকোস (কিলিং) দ্বীপপুঞ্জ",
cd: "কঙ্গো-কিনশাসা",
cf: "মধ্য আফ্রিকার প্রজাতন্ত্র",
cg: "কঙ্গো - ব্রাজাভিল",
ch: "সুইজারল্যান্ড",
ci: "কোত দিভোয়ার",
ck: "কুক দ্বীপপুঞ্জ",
cl: "চিলি",
cm: "ক্যামেরুন",
cn: "চীন",
co: "কলম্বিয়া",
cr: "কোস্টারিকা",
cu: "কিউবা",
cv: "কেপভার্দে",
cw: "কুরাসাও",
cx: "ক্রিসমাস দ্বীপ",
cy: "সাইপ্রাস",
cz: "চেচিয়া",
de: "জার্মানি",
dj: "জিবুতি",
dk: "ডেনমার্ক",
dm: "ডোমিনিকা",
do: "ডোমেনিকান প্রজাতন্ত্র",
dz: "আলজেরিয়া",
ec: "ইকুয়েডর",
ee: "এস্তোনিয়া",
eg: "মিশর",
eh: "পশ্চিম সাহারা",
er: "ইরিত্রিয়া",
es: "স্পেন",
et: "ইথিওপিয়া",
fi: "ফিনল্যান্ড",
fj: "ফিজি",
fk: "ফকল্যান্ড দ্বীপপুঞ্জ",
fm: "মাইক্রোনেশিয়া",
fo: "ফ্যারও দ্বীপপুঞ্জ",
fr: "ফ্রান্স",
ga: "গ্যাবন",
gb: "যুক্তরাজ্য",
gd: "গ্রেনাডা",
ge: "জর্জিয়া",
gf: "ফরাসী গায়ানা",
gg: "গুয়ার্নসি",
gh: "ঘানা",
gi: "জিব্রাল্টার",
gl: "গ্রীনল্যান্ড",
gm: "গাম্বিয়া",
gn: "গিনি",
gp: "গুয়াদেলৌপ",
gq: "নিরক্ষীয় গিনি",
gr: "গ্রীস",
gt: "গুয়াতেমালা",
gu: "গুয়াম",
gw: "গিনি-বিসাউ",
gy: "গিয়ানা",
hk: "হংকং এসএআর চীনা",
hn: "হন্ডুরাস",
hr: "ক্রোয়েশিয়া",
ht: "হাইতি",
hu: "হাঙ্গেরি",
id: "ইন্দোনেশিয়া",
ie: "আয়ারল্যান্ড",
il: "ইজরায়েল",
im: "আইল অফ ম্যান",
in: "ভারত",
io: "ব্রিটিশ ভারত মহাসাগরীয় অঞ্চল",
iq: "ইরাক",
ir: "ইরান",
is: "আইসল্যান্ড",
it: "ইতালি",
je: "জার্সি",
jm: "জামাইকা",
jo: "জর্ডন",
jp: "জাপান",
ke: "কেনিয়া",
kg: "কিরগিজিস্তান",
kh: "কম্বোডিয়া",
ki: "কিরিবাতি",
km: "কমোরোস",
kn: "সেন্ট কিটস ও নেভিস",
kp: "উত্তর কোরিয়া",
kr: "দক্ষিণ কোরিয়া",
kw: "কুয়েত",
ky: "কেম্যান দ্বীপপুঞ্জ",
kz: "কাজাখস্তান",
la: "লাওস",
lb: "লেবানন",
lc: "সেন্ট লুসিয়া",
li: "লিচেনস্টেইন",
lk: "শ্রীলঙ্কা",
lr: "লাইবেরিয়া",
ls: "লেসোথো",
lt: "লিথুয়ানিয়া",
lu: "লাক্সেমবার্গ",
lv: "লাত্ভিয়া",
ly: "লিবিয়া",
ma: "মোরক্কো",
mc: "মোনাকো",
md: "মলডোভা",
me: "মন্টিনিগ্রো",
mf: "সেন্ট মার্টিন",
mg: "মাদাগাস্কার",
mh: "মার্শাল দ্বীপপুঞ্জ",
mk: "উত্তর ম্যাসেডোনিয়া",
ml: "মালি",
mm: "মায়ানমার (বার্মা)",
mn: "মঙ্গোলিয়া",
mo: "ম্যাকাও এসএআর চীনা",
mp: "উত্তরাঞ্চলীয় মারিয়ানা দ্বীপপুঞ্জ",
mq: "মার্টিনিক",
mr: "মরিতানিয়া",
ms: "মন্টসেরাট",
mt: "মাল্টা",
mu: "মরিশাস",
mv: "মালদ্বীপ",
mw: "মালাউই",
mx: "মেক্সিকো",
my: "মালয়েশিয়া",
mz: "মোজাম্বিক",
na: "নামিবিয়া",
nc: "নিউ ক্যালেডোনিয়া",
ne: "নাইজার",
nf: "নরফোক দ্বীপ",
ng: "নাইজেরিয়া",
ni: "নিকারাগুয়া",
nl: "নেদারল্যান্ডস",
no: "নরওয়ে",
np: "নেপাল",
nr: "নাউরু",
nu: "নিউয়ে",
nz: "নিউজিল্যান্ড",
om: "ওমান",
pa: "পানামা",
pe: "পেরু",
pf: "ফরাসী পলিনেশিয়া",
pg: "পাপুয়া নিউ গিনি",
ph: "ফিলিপাইন",
pk: "পাকিস্তান",
pl: "পোল্যান্ড",
pm: "সেন্ট পিয়ের ও মিকুয়েলন",
pr: "পুয়ের্তো রিকো",
ps: "প্যালেস্টাইনের অঞ্চলসমূহ",
pt: "পর্তুগাল",
pw: "পালাউ",
py: "প্যারাগুয়ে",
qa: "কাতার",
re: "রিইউনিয়ন",
ro: "রোমানিয়া",
rs: "সার্বিয়া",
ru: "রাশিয়া",
rw: "রুয়ান্ডা",
sa: "সৌদি আরব",
sb: "সলোমন দ্বীপপুঞ্জ",
sc: "সিসিলি",
sd: "সুদান",
se: "সুইডেন",
sg: "সিঙ্গাপুর",
sh: "সেন্ট হেলেনা",
si: "স্লোভানিয়া",
sj: "স্বালবার্ড ও জান মেয়েন",
sk: "স্লোভাকিয়া",
sl: "সিয়েরা লিওন",
sm: "সান মারিনো",
sn: "সেনেগাল",
so: "সোমালিয়া",
sr: "সুরিনাম",
ss: "দক্ষিণ সুদান",
st: "সাওটোমা ও প্রিন্সিপি",
sv: "এল সালভেদর",
sx: "সিন্ট মার্টেন",
sy: "সিরিয়া",
sz: "ইসওয়াতিনি",
tc: "তুর্কস ও কাইকোস দ্বীপপুঞ্জ",
td: "চাদ",
tg: "টোগো",
th: "থাইল্যান্ড",
tj: "তাজিকিস্তান",
tk: "টোকেলাউ",
tl: "তিমুর-লেস্তে",
tm: "তুর্কমেনিস্তান",
tn: "তিউনিসিয়া",
to: "টোঙ্গা",
tr: "তুরস্ক",
tt: "ত্রিনিনাদ ও টোব্যাগো",
tv: "টুভালু",
tw: "তাইওয়ান",
tz: "তাঞ্জানিয়া",
ua: "ইউক্রেন",
ug: "উগান্ডা",
us: "মার্কিন যুক্তরাষ্ট্র",
uy: "উরুগুয়ে",
uz: "উজবেকিস্তান",
va: "ভ্যাটিকান সিটি",
vc: "সেন্ট ভিনসেন্ট ও গ্রেনাডিনস",
ve: "ভেনেজুয়েলা",
vg: "ব্রিটিশ ভার্জিন দ্বীপপুঞ্জ",
vi: "মার্কিন যুক্তরাষ্ট্রের ভার্জিন দ্বীপপুঞ্জ",
vn: "ভিয়েতনাম",
vu: "ভানুয়াটু",
wf: "ওয়ালিস ও ফুটুনা",
ws: "সামোয়া",
ye: "ইয়েমেন",
yt: "মায়োত্তে",
za: "দক্ষিণ আফ্রিকা",
zm: "জাম্বিয়া",
zw: "জিম্বাবোয়ে"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "নির্বাচিত দেশ",
noCountrySelected: "কোনো দেশ নির্বাচন করা হয়নি",
countryListAriaLabel: "দেশের তালিকা",
searchPlaceholder: "অনুসন্ধান করুন",
zeroSearchResults: "কোন ফলাফল পাওয়া যায়নি",
oneSearchResult: "1টি ফলাফল পাওয়া গেছে",
multipleSearchResults: "${count} ফলাফল পাওয়া গেছে",
// additional countries (not supported by country-list library)
ac: "অ্যাসেনশন দ্বীপ",
xk: "কসোভো"
};
export default interfaceTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Odabrana zemlja",
noCountrySelected: "Zemlja nije odabrana",
countryListAriaLabel: "Lista zemalja",
searchPlaceholder: "Pretraži",
zeroSearchResults: "Nema pronađenih rezultata",
oneSearchResult: "Pronađen 1 rezultat",
multipleSearchResults: "${count} rezultata pronađeno",
// additional countries (not supported by country-list library)
ac: "Ascension",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "Emirats Àrabs Units",
af: "Afganistan",
ag: "Antigua i Barbuda",
ai: "Anguilla",
al: "Albània",
am: "Armènia",
ao: "Angola",
ar: "Argentina",
as: "Samoa Nord-americana",
at: "Àustria",
au: "Austràlia",
aw: "Aruba",
ax: "Illes Åland",
az: "Azerbaidjan",
ba: "Bòsnia i Hercegovina",
bb: "Barbados",
bd: "Bangladesh",
be: "Bèlgica",
bf: "Burkina Faso",
bg: "Bulgària",
bh: "Bahrain",
bi: "Burundi",
bj: "Benín",
bl: "Saint Barthélemy",
bm: "Bermudes",
bn: "Brunei",
bo: "Bolívia",
bq: "Carib Neerlandès",
br: "Brasil",
bs: "Bahames",
bt: "Bhutan",
bw: "Botswana",
by: "Belarús",
bz: "Belize",
ca: "Canadà",
cc: "Illes Cocos",
cd: "Congo - Kinshasa",
cf: "República Centreafricana",
cg: "Congo - Brazzaville",
ch: "Suïssa",
ci: "Côte dIvoire",
ck: "Illes Cook",
cl: "Xile",
cm: "Camerun",
cn: "Xina",
co: "Colòmbia",
cr: "Costa Rica",
cu: "Cuba",
cv: "Cap Verd",
cw: "Curaçao",
cx: "Illa Christmas",
cy: "Xipre",
cz: "Txèquia",
de: "Alemanya",
dj: "Djibouti",
dk: "Dinamarca",
dm: "Dominica",
do: "República Dominicana",
dz: "Algèria",
ec: "Equador",
ee: "Estònia",
eg: "Egipte",
eh: "Sàhara Occidental",
er: "Eritrea",
es: "Espanya",
et: "Etiòpia",
fi: "Finlàndia",
fj: "Fiji",
fk: "Illes Malvines",
fm: "Micronèsia",
fo: "Illes Fèroe",
fr: "França",
ga: "Gabon",
gb: "Regne Unit",
gd: "Grenada",
ge: "Geòrgia",
gf: "Guaiana Francesa",
gg: "Guernsey",
gh: "Ghana",
gi: "Gibraltar",
gl: "Groenlàndia",
gm: "Gàmbia",
gn: "Guinea",
gp: "Guadeloupe",
gq: "Guinea Equatorial",
gr: "Grècia",
gt: "Guatemala",
gu: "Guam",
gw: "Guinea Bissau",
gy: "Guyana",
hk: "Hong Kong (RAE Xina)",
hn: "Hondures",
hr: "Croàcia",
ht: "Haití",
hu: "Hongria",
id: "Indonèsia",
ie: "Irlanda",
il: "Israel",
im: "Illa de Man",
in: "Índia",
io: "Territori Britànic de lOceà Índic",
iq: "Iraq",
ir: "Iran",
is: "Islàndia",
it: "Itàlia",
je: "Jersey",
jm: "Jamaica",
jo: "Jordània",
jp: "Japó",
ke: "Kenya",
kg: "Kirguizistan",
kh: "Cambodja",
ki: "Kiribati",
km: "Comores",
kn: "Saint Christopher i Nevis",
kp: "Corea del Nord",
kr: "Corea del Sud",
kw: "Kuwait",
ky: "Illes Caiman",
kz: "Kazakhstan",
la: "Laos",
lb: "Líban",
lc: "Saint Lucia",
li: "Liechtenstein",
lk: "Sri Lanka",
lr: "Libèria",
ls: "Lesotho",
lt: "Lituània",
lu: "Luxemburg",
lv: "Letònia",
ly: "Líbia",
ma: "Marroc",
mc: "Mònaco",
md: "Moldàvia",
me: "Montenegro",
mf: "Saint Martin",
mg: "Madagascar",
mh: "Illes Marshall",
mk: "Macedònia del Nord",
ml: "Mali",
mm: "Myanmar (Birmània)",
mn: "Mongòlia",
mo: "Macau (RAE Xina)",
mp: "Illes Mariannes del Nord",
mq: "Martinica",
mr: "Mauritània",
ms: "Montserrat",
mt: "Malta",
mu: "Maurici",
mv: "Maldives",
mw: "Malawi",
mx: "Mèxic",
my: "Malàisia",
mz: "Moçambic",
na: "Namíbia",
nc: "Nova Caledònia",
ne: "Níger",
nf: "Norfolk",
ng: "Nigèria",
ni: "Nicaragua",
nl: "Països Baixos",
no: "Noruega",
np: "Nepal",
nr: "Nauru",
nu: "Niue",
nz: "Nova Zelanda",
om: "Oman",
pa: "Panamà",
pe: "Perú",
pf: "Polinèsia Francesa",
pg: "Papua Nova Guinea",
ph: "Filipines",
pk: "Pakistan",
pl: "Polònia",
pm: "Saint-Pierre-et-Miquelon",
pr: "Puerto Rico",
ps: "Territoris palestins",
pt: "Portugal",
pw: "Palau",
py: "Paraguai",
qa: "Qatar",
re: "Illa de la Reunió",
ro: "Romania",
rs: "Sèrbia",
ru: "Rússia",
rw: "Ruanda",
sa: "Aràbia Saudita",
sb: "Illes Salomó",
sc: "Seychelles",
sd: "Sudan",
se: "Suècia",
sg: "Singapur",
sh: "Saint Helena",
si: "Eslovènia",
sj: "Svalbard i Jan Mayen",
sk: "Eslovàquia",
sl: "Sierra Leone",
sm: "San Marino",
sn: "Senegal",
so: "Somàlia",
sr: "Surinam",
ss: "Sudan del Sud",
st: "São Tomé i Príncipe",
sv: "El Salvador",
sx: "Sint Maarten",
sy: "Síria",
sz: "eSwatini",
tc: "Illes Turks i Caicos",
td: "Txad",
tg: "Togo",
th: "Tailàndia",
tj: "Tadjikistan",
tk: "Tokelau",
tl: "Timor Oriental",
tm: "Turkmenistan",
tn: "Tunísia",
to: "Tonga",
tr: "Turquia",
tt: "Trinitat i Tobago",
tv: "Tuvalu",
tw: "Taiwan",
tz: "Tanzània",
ua: "Ucraïna",
ug: "Uganda",
us: "Estats Units",
uy: "Uruguai",
uz: "Uzbekistan",
va: "Ciutat del Vaticà",
vc: "Saint Vincent i les Grenadines",
ve: "Veneçuela",
vg: "Illes Verges Britàniques",
vi: "Illes Verges Nord-americanes",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Wallis i Futuna",
ws: "Samoa",
ye: "Iemen",
yt: "Mayotte",
za: "República de Sud-àfrica",
zm: "Zàmbia",
zw: "Zimbàbue"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "País seleccionat",
noCountrySelected: "No s'ha seleccionat cap país",
countryListAriaLabel: "Llista de països",
searchPlaceholder: "Cerca",
zeroSearchResults: "Sense resultats",
oneSearchResult: "1 resultat trobat",
multipleSearchResults: "${count} resultats trobats",
// additional countries (not supported by country-list library)
ac: "Illa de l'Ascensió",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "Spojené arabské emiráty",
af: "Afghánistán",
ag: "Antigua a Barbuda",
ai: "Anguilla",
al: "Albánie",
am: "Arménie",
ao: "Angola",
ar: "Argentina",
as: "Americká Samoa",
at: "Rakousko",
au: "Austrálie",
aw: "Aruba",
ax: "Ålandy",
az: "Ázerbájdžán",
ba: "Bosna a Hercegovina",
bb: "Barbados",
bd: "Bangladéš",
be: "Belgie",
bf: "Burkina Faso",
bg: "Bulharsko",
bh: "Bahrajn",
bi: "Burundi",
bj: "Benin",
bl: "Svatý Bartoloměj",
bm: "Bermudy",
bn: "Brunej",
bo: "Bolívie",
bq: "Karibské Nizozemsko",
br: "Brazílie",
bs: "Bahamy",
bt: "Bhútán",
bw: "Botswana",
by: "Bělorusko",
bz: "Belize",
ca: "Kanada",
cc: "Kokosové ostrovy",
cd: "Kongo Kinshasa",
cf: "Středoafrická republika",
cg: "Kongo Brazzaville",
ch: "Švýcarsko",
ci: "Pobřeží slonoviny",
ck: "Cookovy ostrovy",
cl: "Chile",
cm: "Kamerun",
cn: "Čína",
co: "Kolumbie",
cr: "Kostarika",
cu: "Kuba",
cv: "Kapverdy",
cw: "Curaçao",
cx: "Vánoční ostrov",
cy: "Kypr",
cz: "Česko",
de: "Německo",
dj: "Džibutsko",
dk: "Dánsko",
dm: "Dominika",
do: "Dominikánská republika",
dz: "Alžírsko",
ec: "Ekvádor",
ee: "Estonsko",
eg: "Egypt",
eh: "Západní Sahara",
er: "Eritrea",
es: "Španělsko",
et: "Etiopie",
fi: "Finsko",
fj: "Fidži",
fk: "Falklandské ostrovy",
fm: "Mikronésie",
fo: "Faerské ostrovy",
fr: "Francie",
ga: "Gabon",
gb: "Spojené království",
gd: "Grenada",
ge: "Gruzie",
gf: "Francouzská Guyana",
gg: "Guernsey",
gh: "Ghana",
gi: "Gibraltar",
gl: "Grónsko",
gm: "Gambie",
gn: "Guinea",
gp: "Guadeloupe",
gq: "Rovníková Guinea",
gr: "Řecko",
gt: "Guatemala",
gu: "Guam",
gw: "Guinea-Bissau",
gy: "Guyana",
hk: "Hongkong ZAO Číny",
hn: "Honduras",
hr: "Chorvatsko",
ht: "Haiti",
hu: "Maďarsko",
id: "Indonésie",
ie: "Irsko",
il: "Izrael",
im: "Ostrov Man",
in: "Indie",
io: "Britské indickooceánské území",
iq: "Irák",
ir: "Írán",
is: "Island",
it: "Itálie",
je: "Jersey",
jm: "Jamajka",
jo: "Jordánsko",
jp: "Japonsko",
ke: "Keňa",
kg: "Kyrgyzstán",
kh: "Kambodža",
ki: "Kiribati",
km: "Komory",
kn: "Svatý Kryštof a Nevis",
kp: "Severní Korea",
kr: "Jižní Korea",
kw: "Kuvajt",
ky: "Kajmanské ostrovy",
kz: "Kazachstán",
la: "Laos",
lb: "Libanon",
lc: "Svatá Lucie",
li: "Lichtenštejnsko",
lk: "Srí Lanka",
lr: "Libérie",
ls: "Lesotho",
lt: "Litva",
lu: "Lucembursko",
lv: "Lotyšsko",
ly: "Libye",
ma: "Maroko",
mc: "Monako",
md: "Moldavsko",
me: "Černá Hora",
mf: "Svatý Martin (Francie)",
mg: "Madagaskar",
mh: "Marshallovy ostrovy",
mk: "Severní Makedonie",
ml: "Mali",
mm: "Myanmar (Barma)",
mn: "Mongolsko",
mo: "Macao ZAO Číny",
mp: "Severní Mariany",
mq: "Martinik",
mr: "Mauritánie",
ms: "Montserrat",
mt: "Malta",
mu: "Mauricius",
mv: "Maledivy",
mw: "Malawi",
mx: "Mexiko",
my: "Malajsie",
mz: "Mosambik",
na: "Namibie",
nc: "Nová Kaledonie",
ne: "Niger",
nf: "Norfolk",
ng: "Nigérie",
ni: "Nikaragua",
nl: "Nizozemsko",
no: "Norsko",
np: "Nepál",
nr: "Nauru",
nu: "Niue",
nz: "Nový Zéland",
om: "Omán",
pa: "Panama",
pe: "Peru",
pf: "Francouzská Polynésie",
pg: "Papua-Nová Guinea",
ph: "Filipíny",
pk: "Pákistán",
pl: "Polsko",
pm: "Saint-Pierre a Miquelon",
pr: "Portoriko",
ps: "Palestinská území",
pt: "Portugalsko",
pw: "Palau",
py: "Paraguay",
qa: "Katar",
re: "Réunion",
ro: "Rumunsko",
rs: "Srbsko",
ru: "Rusko",
rw: "Rwanda",
sa: "Saúdská Arábie",
sb: "Šalamounovy ostrovy",
sc: "Seychely",
sd: "Súdán",
se: "Švédsko",
sg: "Singapur",
sh: "Svatá Helena",
si: "Slovinsko",
sj: "Špicberky a Jan Mayen",
sk: "Slovensko",
sl: "Sierra Leone",
sm: "San Marino",
sn: "Senegal",
so: "Somálsko",
sr: "Surinam",
ss: "Jižní Súdán",
st: "Svatý Tomáš a Princův ostrov",
sv: "Salvador",
sx: "Svatý Martin (Nizozemsko)",
sy: "Sýrie",
sz: "Svazijsko",
tc: "Turks a Caicos",
td: "Čad",
tg: "Togo",
th: "Thajsko",
tj: "Tádžikistán",
tk: "Tokelau",
tl: "Východní Timor",
tm: "Turkmenistán",
tn: "Tunisko",
to: "Tonga",
tr: "Turecko",
tt: "Trinidad a Tobago",
tv: "Tuvalu",
tw: "Tchaj-wan",
tz: "Tanzanie",
ua: "Ukrajina",
ug: "Uganda",
us: "Spojené státy",
uy: "Uruguay",
uz: "Uzbekistán",
va: "Vatikán",
vc: "Svatý Vincenc a Grenadiny",
ve: "Venezuela",
vg: "Britské Panenské ostrovy",
vi: "Americké Panenské ostrovy",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Wallis a Futuna",
ws: "Samoa",
ye: "Jemen",
yt: "Mayotte",
za: "Jihoafrická republika",
zm: "Zambie",
zw: "Zimbabwe"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Vybraná země",
noCountrySelected: "Není vybrána žádná země",
countryListAriaLabel: "Seznam zemí",
searchPlaceholder: "Vyhledat",
zeroSearchResults: "Nebyly nalezeny žádné výsledky",
oneSearchResult: "1 výsledek nalezen",
multipleSearchResults: "${count} výsledků nalezeno",
// additional countries (not supported by country-list library)
ac: "Ascension",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "De Forenede Arabiske Emirater",
af: "Afghanistan",
ag: "Antigua og Barbuda",
ai: "Anguilla",
al: "Albanien",
am: "Armenien",
ao: "Angola",
ar: "Argentina",
as: "Amerikansk Samoa",
at: "Østrig",
au: "Australien",
aw: "Aruba",
ax: "Åland",
az: "Aserbajdsjan",
ba: "Bosnien-Hercegovina",
bb: "Barbados",
bd: "Bangladesh",
be: "Belgien",
bf: "Burkina Faso",
bg: "Bulgarien",
bh: "Bahrain",
bi: "Burundi",
bj: "Benin",
bl: "Saint Barthélemy",
bm: "Bermuda",
bn: "Brunei",
bo: "Bolivia",
bq: "De tidligere Nederlandske Antiller",
br: "Brasilien",
bs: "Bahamas",
bt: "Bhutan",
bw: "Botswana",
by: "Hviderusland",
bz: "Belize",
ca: "Canada",
cc: "Cocosøerne",
cd: "Congo-Kinshasa",
cf: "Den Centralafrikanske Republik",
cg: "Congo-Brazzaville",
ch: "Schweiz",
ci: "Elfenbenskysten",
ck: "Cookøerne",
cl: "Chile",
cm: "Cameroun",
cn: "Kina",
co: "Colombia",
cr: "Costa Rica",
cu: "Cuba",
cv: "Kap Verde",
cw: "Curaçao",
cx: "Juleøen",
cy: "Cypern",
cz: "Tjekkiet",
de: "Tyskland",
dj: "Djibouti",
dk: "Danmark",
dm: "Dominica",
do: "Den Dominikanske Republik",
dz: "Algeriet",
ec: "Ecuador",
ee: "Estland",
eg: "Egypten",
eh: "Vestsahara",
er: "Eritrea",
es: "Spanien",
et: "Etiopien",
fi: "Finland",
fj: "Fiji",
fk: "Falklandsøerne",
fm: "Mikronesien",
fo: "Færøerne",
fr: "Frankrig",
ga: "Gabon",
gb: "Storbritannien",
gd: "Grenada",
ge: "Georgien",
gf: "Fransk Guyana",
gg: "Guernsey",
gh: "Ghana",
gi: "Gibraltar",
gl: "Grønland",
gm: "Gambia",
gn: "Guinea",
gp: "Guadeloupe",
gq: "Ækvatorialguinea",
gr: "Grækenland",
gt: "Guatemala",
gu: "Guam",
gw: "Guinea-Bissau",
gy: "Guyana",
hk: "SAR Hongkong",
hn: "Honduras",
hr: "Kroatien",
ht: "Haiti",
hu: "Ungarn",
id: "Indonesien",
ie: "Irland",
il: "Israel",
im: "Isle of Man",
in: "Indien",
io: "Det Britiske Territorium i Det Indiske Ocean",
iq: "Irak",
ir: "Iran",
is: "Island",
it: "Italien",
je: "Jersey",
jm: "Jamaica",
jo: "Jordan",
jp: "Japan",
ke: "Kenya",
kg: "Kirgisistan",
kh: "Cambodja",
ki: "Kiribati",
km: "Comorerne",
kn: "Saint Kitts og Nevis",
kp: "Nordkorea",
kr: "Sydkorea",
kw: "Kuwait",
ky: "Caymanøerne",
kz: "Kasakhstan",
la: "Laos",
lb: "Libanon",
lc: "Saint Lucia",
li: "Liechtenstein",
lk: "Sri Lanka",
lr: "Liberia",
ls: "Lesotho",
lt: "Litauen",
lu: "Luxembourg",
lv: "Letland",
ly: "Libyen",
ma: "Marokko",
mc: "Monaco",
md: "Moldova",
me: "Montenegro",
mf: "Saint Martin",
mg: "Madagaskar",
mh: "Marshalløerne",
mk: "Nordmakedonien",
ml: "Mali",
mm: "Myanmar (Burma)",
mn: "Mongoliet",
mo: "SAR Macao",
mp: "Nordmarianerne",
mq: "Martinique",
mr: "Mauretanien",
ms: "Montserrat",
mt: "Malta",
mu: "Mauritius",
mv: "Maldiverne",
mw: "Malawi",
mx: "Mexico",
my: "Malaysia",
mz: "Mozambique",
na: "Namibia",
nc: "Ny Kaledonien",
ne: "Niger",
nf: "Norfolk Island",
ng: "Nigeria",
ni: "Nicaragua",
nl: "Holland",
no: "Norge",
np: "Nepal",
nr: "Nauru",
nu: "Niue",
nz: "New Zealand",
om: "Oman",
pa: "Panama",
pe: "Peru",
pf: "Fransk Polynesien",
pg: "Papua Ny Guinea",
ph: "Filippinerne",
pk: "Pakistan",
pl: "Polen",
pm: "Saint Pierre og Miquelon",
pr: "Puerto Rico",
ps: "De palæstinensiske områder",
pt: "Portugal",
pw: "Palau",
py: "Paraguay",
qa: "Qatar",
re: "Réunion",
ro: "Rumænien",
rs: "Serbien",
ru: "Rusland",
rw: "Rwanda",
sa: "Saudi-Arabien",
sb: "Salomonøerne",
sc: "Seychellerne",
sd: "Sudan",
se: "Sverige",
sg: "Singapore",
sh: "St. Helena",
si: "Slovenien",
sj: "Svalbard og Jan Mayen",
sk: "Slovakiet",
sl: "Sierra Leone",
sm: "San Marino",
sn: "Senegal",
so: "Somalia",
sr: "Surinam",
ss: "Sydsudan",
st: "São Tomé og Príncipe",
sv: "El Salvador",
sx: "Sint Maarten",
sy: "Syrien",
sz: "Eswatini",
tc: "Turks- og Caicosøerne",
td: "Tchad",
tg: "Togo",
th: "Thailand",
tj: "Tadsjikistan",
tk: "Tokelau",
tl: "Timor-Leste",
tm: "Turkmenistan",
tn: "Tunesien",
to: "Tonga",
tr: "Tyrkiet",
tt: "Trinidad og Tobago",
tv: "Tuvalu",
tw: "Taiwan",
tz: "Tanzania",
ua: "Ukraine",
ug: "Uganda",
us: "USA",
uy: "Uruguay",
uz: "Usbekistan",
va: "Vatikanstaten",
vc: "Saint Vincent og Grenadinerne",
ve: "Venezuela",
vg: "De Britiske Jomfruøer",
vi: "De Amerikanske Jomfruøer",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Wallis og Futuna",
ws: "Samoa",
ye: "Yemen",
yt: "Mayotte",
za: "Sydafrika",
zm: "Zambia",
zw: "Zimbabwe"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Valgt land",
noCountrySelected: "Intet land er valgt",
countryListAriaLabel: "Liste over lande",
searchPlaceholder: "Søg",
zeroSearchResults: "Ingen resultater fundet",
oneSearchResult: "1 resultat fundet",
multipleSearchResults: "${count} resultater fundet",
// additional countries (not supported by country-list library)
ac: "Ascension",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "Vereinigte Arabische Emirate",
af: "Afghanistan",
ag: "Antigua und Barbuda",
ai: "Anguilla",
al: "Albanien",
am: "Armenien",
ao: "Angola",
ar: "Argentinien",
as: "Amerikanisch-Samoa",
at: "Österreich",
au: "Australien",
aw: "Aruba",
ax: "Ålandinseln",
az: "Aserbaidschan",
ba: "Bosnien und Herzegowina",
bb: "Barbados",
bd: "Bangladesch",
be: "Belgien",
bf: "Burkina Faso",
bg: "Bulgarien",
bh: "Bahrain",
bi: "Burundi",
bj: "Benin",
bl: "St. Barthélemy",
bm: "Bermuda",
bn: "Brunei Darussalam",
bo: "Bolivien",
bq: "Bonaire, Sint Eustatius und Saba",
br: "Brasilien",
bs: "Bahamas",
bt: "Bhutan",
bw: "Botsuana",
by: "Belarus",
bz: "Belize",
ca: "Kanada",
cc: "Kokosinseln",
cd: "Kongo-Kinshasa",
cf: "Zentralafrikanische Republik",
cg: "Kongo-Brazzaville",
ch: "Schweiz",
ci: "Côte dIvoire",
ck: "Cookinseln",
cl: "Chile",
cm: "Kamerun",
cn: "China",
co: "Kolumbien",
cr: "Costa Rica",
cu: "Kuba",
cv: "Cabo Verde",
cw: "Curaçao",
cx: "Weihnachtsinsel",
cy: "Zypern",
cz: "Tschechien",
de: "Deutschland",
dj: "Dschibuti",
dk: "Dänemark",
dm: "Dominica",
do: "Dominikanische Republik",
dz: "Algerien",
ec: "Ecuador",
ee: "Estland",
eg: "Ägypten",
eh: "Westsahara",
er: "Eritrea",
es: "Spanien",
et: "Äthiopien",
fi: "Finnland",
fj: "Fidschi",
fk: "Falklandinseln",
fm: "Mikronesien",
fo: "Färöer",
fr: "Frankreich",
ga: "Gabun",
gb: "Vereinigtes Königreich",
gd: "Grenada",
ge: "Georgien",
gf: "Französisch-Guayana",
gg: "Guernsey",
gh: "Ghana",
gi: "Gibraltar",
gl: "Grönland",
gm: "Gambia",
gn: "Guinea",
gp: "Guadeloupe",
gq: "Äquatorialguinea",
gr: "Griechenland",
gt: "Guatemala",
gu: "Guam",
gw: "Guinea-Bissau",
gy: "Guyana",
hk: "Sonderverwaltungsregion Hongkong",
hn: "Honduras",
hr: "Kroatien",
ht: "Haiti",
hu: "Ungarn",
id: "Indonesien",
ie: "Irland",
il: "Israel",
im: "Isle of Man",
in: "Indien",
io: "Britisches Territorium im Indischen Ozean",
iq: "Irak",
ir: "Iran",
is: "Island",
it: "Italien",
je: "Jersey",
jm: "Jamaika",
jo: "Jordanien",
jp: "Japan",
ke: "Kenia",
kg: "Kirgisistan",
kh: "Kambodscha",
ki: "Kiribati",
km: "Komoren",
kn: "St. Kitts und Nevis",
kp: "Nordkorea",
kr: "Südkorea",
kw: "Kuwait",
ky: "Kaimaninseln",
kz: "Kasachstan",
la: "Laos",
lb: "Libanon",
lc: "St. Lucia",
li: "Liechtenstein",
lk: "Sri Lanka",
lr: "Liberia",
ls: "Lesotho",
lt: "Litauen",
lu: "Luxemburg",
lv: "Lettland",
ly: "Libyen",
ma: "Marokko",
mc: "Monaco",
md: "Republik Moldau",
me: "Montenegro",
mf: "St. Martin",
mg: "Madagaskar",
mh: "Marshallinseln",
mk: "Nordmazedonien",
ml: "Mali",
mm: "Myanmar",
mn: "Mongolei",
mo: "Sonderverwaltungsregion Macau",
mp: "Nördliche Marianen",
mq: "Martinique",
mr: "Mauretanien",
ms: "Montserrat",
mt: "Malta",
mu: "Mauritius",
mv: "Malediven",
mw: "Malawi",
mx: "Mexiko",
my: "Malaysia",
mz: "Mosambik",
na: "Namibia",
nc: "Neukaledonien",
ne: "Niger",
nf: "Norfolkinsel",
ng: "Nigeria",
ni: "Nicaragua",
nl: "Niederlande",
no: "Norwegen",
np: "Nepal",
nr: "Nauru",
nu: "Niue",
nz: "Neuseeland",
om: "Oman",
pa: "Panama",
pe: "Peru",
pf: "Französisch-Polynesien",
pg: "Papua-Neuguinea",
ph: "Philippinen",
pk: "Pakistan",
pl: "Polen",
pm: "St. Pierre und Miquelon",
pr: "Puerto Rico",
ps: "Palästinensische Autonomiegebiete",
pt: "Portugal",
pw: "Palau",
py: "Paraguay",
qa: "Katar",
re: "Réunion",
ro: "Rumänien",
rs: "Serbien",
ru: "Russland",
rw: "Ruanda",
sa: "Saudi-Arabien",
sb: "Salomonen",
sc: "Seychellen",
sd: "Sudan",
se: "Schweden",
sg: "Singapur",
sh: "St. Helena",
si: "Slowenien",
sj: "Spitzbergen und Jan Mayen",
sk: "Slowakei",
sl: "Sierra Leone",
sm: "San Marino",
sn: "Senegal",
so: "Somalia",
sr: "Suriname",
ss: "Südsudan",
st: "São Tomé und Príncipe",
sv: "El Salvador",
sx: "Sint Maarten",
sy: "Syrien",
sz: "Eswatini",
tc: "Turks- und Caicosinseln",
td: "Tschad",
tg: "Togo",
th: "Thailand",
tj: "Tadschikistan",
tk: "Tokelau",
tl: "Timor-Leste",
tm: "Turkmenistan",
tn: "Tunesien",
to: "Tonga",
tr: "Türkei",
tt: "Trinidad und Tobago",
tv: "Tuvalu",
tw: "Taiwan",
tz: "Tansania",
ua: "Ukraine",
ug: "Uganda",
us: "Vereinigte Staaten",
uy: "Uruguay",
uz: "Usbekistan",
va: "Vatikanstadt",
vc: "St. Vincent und die Grenadinen",
ve: "Venezuela",
vg: "Britische Jungferninseln",
vi: "Amerikanische Jungferninseln",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Wallis und Futuna",
ws: "Samoa",
ye: "Jemen",
yt: "Mayotte",
za: "Südafrika",
zm: "Sambia",
zw: "Simbabwe"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Ausgewähltes Land",
noCountrySelected: "Kein Land ausgewählt",
countryListAriaLabel: "Liste der Länder",
searchPlaceholder: "Suchen",
zeroSearchResults: "Keine Suchergebnisse",
oneSearchResult: "1 Suchergebnis",
multipleSearchResults: "${count} Suchergebnisse",
// additional countries (not supported by country-list library)
ac: "Ascension-Insel",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Ανδόρα",
ae: "Ηνωμένα Αραβικά Εμιράτα",
af: "Αφγανιστάν",
ag: "Αντίγκουα και Μπαρμπούντα",
ai: "Ανγκουίλα",
al: "Αλβανία",
am: "Αρμενία",
ao: "Αγκόλα",
ar: "Αργεντινή",
as: "Αμερικανική Σαμόα",
at: "Αυστρία",
au: "Αυστραλία",
aw: "Αρούμπα",
ax: "Νήσοι Όλαντ",
az: "Αζερμπαϊτζάν",
ba: "Βοσνία - Ερζεγοβίνη",
bb: "Μπαρμπέιντος",
bd: "Μπανγκλαντές",
be: "Βέλγιο",
bf: "Μπουρκίνα Φάσο",
bg: "Βουλγαρία",
bh: "Μπαχρέιν",
bi: "Μπουρούντι",
bj: "Μπενίν",
bl: "Άγιος Βαρθολομαίος",
bm: "Βερμούδες",
bn: "Μπρουνέι",
bo: "Βολιβία",
bq: "Ολλανδία Καραϊβικής",
br: "Βραζιλία",
bs: "Μπαχάμες",
bt: "Μπουτάν",
bw: "Μποτσουάνα",
by: "Λευκορωσία",
bz: "Μπελίζ",
ca: "Καναδάς",
cc: "Νήσοι Κόκος (Κίλινγκ)",
cd: "Κονγκό - Κινσάσα",
cf: "Κεντροαφρικανική Δημοκρατία",
cg: "Κονγκό - Μπραζαβίλ",
ch: "Ελβετία",
ci: "Ακτή Ελεφαντοστού",
ck: "Νήσοι Κουκ",
cl: "Χιλή",
cm: "Καμερούν",
cn: "Κίνα",
co: "Κολομβία",
cr: "Κόστα Ρίκα",
cu: "Κούβα",
cv: "Πράσινο Ακρωτήριο",
cw: "Κουρασάο",
cx: "Νήσος των Χριστουγέννων",
cy: "Κύπρος",
cz: "Τσεχία",
de: "Γερμανία",
dj: "Τζιμπουτί",
dk: "Δανία",
dm: "Ντομίνικα",
do: "Δομινικανή Δημοκρατία",
dz: "Αλγερία",
ec: "Ισημερινός",
ee: "Εσθονία",
eg: "Αίγυπτος",
eh: "Δυτική Σαχάρα",
er: "Ερυθραία",
es: "Ισπανία",
et: "Αιθιοπία",
fi: "Φινλανδία",
fj: "Φίτζι",
fk: "Νήσοι Φόκλαντ",
fm: "Μικρονησία",
fo: "Νήσοι Φερόες",
fr: "Γαλλία",
ga: "Γκαμπόν",
gb: "Ηνωμένο Βασίλειο",
gd: "Γρενάδα",
ge: "Γεωργία",
gf: "Γαλλική Γουιάνα",
gg: "Γκέρνζι",
gh: "Γκάνα",
gi: "Γιβραλτάρ",
gl: "Γροιλανδία",
gm: "Γκάμπια",
gn: "Γουινέα",
gp: "Γουαδελούπη",
gq: "Ισημερινή Γουινέα",
gr: "Ελλάδα",
gt: "Γουατεμάλα",
gu: "Γκουάμ",
gw: "Γουινέα Μπισάου",
gy: "Γουιάνα",
hk: "Χονγκ Κονγκ ΕΔΠ Κίνας",
hn: "Ονδούρα",
hr: "Κροατία",
ht: "Αϊτή",
hu: "Ουγγαρία",
id: "Ινδονησία",
ie: "Ιρλανδία",
il: "Ισραήλ",
im: "Νήσος του Μαν",
in: "Ινδία",
io: "Βρετανικά Εδάφη Ινδικού Ωκεανού",
iq: "Ιράκ",
ir: "Ιράν",
is: "Ισλανδία",
it: "Ιταλία",
je: "Τζέρζι",
jm: "Τζαμάικα",
jo: "Ιορδανία",
jp: "Ιαπωνία",
ke: "Κένυα",
kg: "Κιργιστάν",
kh: "Καμπότζη",
ki: "Κιριμπάτι",
km: "Κομόρες",
kn: "Σεν Κιτς και Νέβις",
kp: "Βόρεια Κορέα",
kr: "Νότια Κορέα",
kw: "Κουβέιτ",
ky: "Νήσοι Κέιμαν",
kz: "Καζακστάν",
la: "Λάος",
lb: "Λίβανος",
lc: "Αγία Λουκία",
li: "Λιχτενστάιν",
lk: "Σρι Λάνκα",
lr: "Λιβερία",
ls: "Λεσότο",
lt: "Λιθουανία",
lu: "Λουξεμβούργο",
lv: "Λετονία",
ly: "Λιβύη",
ma: "Μαρόκο",
mc: "Μονακό",
md: "Μολδαβία",
me: "Μαυροβούνιο",
mf: "Άγιος Μαρτίνος (Γαλλικό τμήμα)",
mg: "Μαδαγασκάρη",
mh: "Νήσοι Μάρσαλ",
mk: "Βόρεια Μακεδονία",
ml: "Μάλι",
mm: "Μιανμάρ (Βιρμανία)",
mn: "Μογγολία",
mo: "Μακάο ΕΔΠ Κίνας",
mp: "Νήσοι Βόρειες Μαριάνες",
mq: "Μαρτινίκα",
mr: "Μαυριτανία",
ms: "Μονσεράτ",
mt: "Μάλτα",
mu: "Μαυρίκιος",
mv: "Μαλδίβες",
mw: "Μαλάουι",
mx: "Μεξικό",
my: "Μαλαισία",
mz: "Μοζαμβίκη",
na: "Ναμίμπια",
nc: "Νέα Καληδονία",
ne: "Νίγηρας",
nf: "Νήσος Νόρφολκ",
ng: "Νιγηρία",
ni: "Νικαράγουα",
nl: "Ολλανδία",
no: "Νορβηγία",
np: "Νεπάλ",
nr: "Ναουρού",
nu: "Νιούε",
nz: "Νέα Ζηλανδία",
om: "Ομάν",
pa: "Παναμάς",
pe: "Περού",
pf: "Γαλλική Πολυνησία",
pg: "Παπούα Νέα Γουινέα",
ph: "Φιλιππίνες",
pk: "Πακιστάν",
pl: "Πολωνία",
pm: "Σεν Πιερ και Μικελόν",
pr: "Πουέρτο Ρίκο",
ps: "Παλαιστινιακά Εδάφη",
pt: "Πορτογαλία",
pw: "Παλάου",
py: "Παραγουάη",
qa: "Κατάρ",
re: "Ρεϊνιόν",
ro: "Ρουμανία",
rs: "Σερβία",
ru: "Ρωσία",
rw: "Ρουάντα",
sa: "Σαουδική Αραβία",
sb: "Νήσοι Σολομώντος",
sc: "Σεϋχέλλες",
sd: "Σουδάν",
se: "Σουηδία",
sg: "Σιγκαπούρη",
sh: "Αγία Ελένη",
si: "Σλοβενία",
sj: "Σβάλμπαρντ και Γιαν Μαγιέν",
sk: "Σλοβακία",
sl: "Σιέρα Λεόνε",
sm: "Άγιος Μαρίνος",
sn: "Σενεγάλη",
so: "Σομαλία",
sr: "Σουρινάμ",
ss: "Νότιο Σουδάν",
st: "Σάο Τομέ και Πρίνσιπε",
sv: "Ελ Σαλβαδόρ",
sx: "Άγιος Μαρτίνος (Ολλανδικό τμήμα)",
sy: "Συρία",
sz: "Σουαζιλάνδη",
tc: "Νήσοι Τερκς και Κάικος",
td: "Τσαντ",
tg: "Τόγκο",
th: "Ταϊλάνδη",
tj: "Τατζικιστάν",
tk: "Τοκελάου",
tl: "Τιμόρ-Λέστε",
tm: "Τουρκμενιστάν",
tn: "Τυνησία",
to: "Τόνγκα",
tr: "Τουρκία",
tt: "Τρινιντάντ και Τομπάγκο",
tv: "Τουβαλού",
tw: "Ταϊβάν",
tz: "Τανζανία",
ua: "Ουκρανία",
ug: "Ουγκάντα",
us: "Ηνωμένες Πολιτείες",
uy: "Ουρουγουάη",
uz: "Ουζμπεκιστάν",
va: "Βατικανό",
vc: "Άγιος Βικέντιος και Γρεναδίνες",
ve: "Βενεζουέλα",
vg: "Βρετανικές Παρθένες Νήσοι",
vi: "Αμερικανικές Παρθένες Νήσοι",
vn: "Βιετνάμ",
vu: "Βανουάτου",
wf: "Γουάλις και Φουτούνα",
ws: "Σαμόα",
ye: "Υεμένη",
yt: "Μαγιότ",
za: "Νότια Αφρική",
zm: "Ζάμπια",
zw: "Ζιμπάμπουε"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Επιλεγμένη χώρα",
noCountrySelected: "Δεν έχει επιλεγεί χώρα",
countryListAriaLabel: "Κατάλογος χωρών",
searchPlaceholder: "Αναζήτηση",
zeroSearchResults: "Δεν βρέθηκαν αποτελέσματα",
oneSearchResult: "Βρέθηκε 1 αποτέλεσμα",
multipleSearchResults: "Βρέθηκαν ${count} αποτελέσματα",
// additional countries (not supported by country-list library)
ac: "Νησί της Ανάληψης",
xk: "Κοσσυφοπέδιο"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "United Arab Emirates",
af: "Afghanistan",
ag: "Antigua & Barbuda",
ai: "Anguilla",
al: "Albania",
am: "Armenia",
ao: "Angola",
ar: "Argentina",
as: "American Samoa",
at: "Austria",
au: "Australia",
aw: "Aruba",
ax: "Åland Islands",
az: "Azerbaijan",
ba: "Bosnia & Herzegovina",
bb: "Barbados",
bd: "Bangladesh",
be: "Belgium",
bf: "Burkina Faso",
bg: "Bulgaria",
bh: "Bahrain",
bi: "Burundi",
bj: "Benin",
bl: "St. Barthélemy",
bm: "Bermuda",
bn: "Brunei",
bo: "Bolivia",
bq: "Caribbean Netherlands",
br: "Brazil",
bs: "Bahamas",
bt: "Bhutan",
bw: "Botswana",
by: "Belarus",
bz: "Belize",
ca: "Canada",
cc: "Cocos (Keeling) Islands",
cd: "Congo - Kinshasa",
cf: "Central African Republic",
cg: "Congo - Brazzaville",
ch: "Switzerland",
ci: "Côte dIvoire",
ck: "Cook Islands",
cl: "Chile",
cm: "Cameroon",
cn: "China",
co: "Colombia",
cr: "Costa Rica",
cu: "Cuba",
cv: "Cape Verde",
cw: "Curaçao",
cx: "Christmas Island",
cy: "Cyprus",
cz: "Czechia",
de: "Germany",
dj: "Djibouti",
dk: "Denmark",
dm: "Dominica",
do: "Dominican Republic",
dz: "Algeria",
ec: "Ecuador",
ee: "Estonia",
eg: "Egypt",
eh: "Western Sahara",
er: "Eritrea",
es: "Spain",
et: "Ethiopia",
fi: "Finland",
fj: "Fiji",
fk: "Falkland Islands",
fm: "Micronesia",
fo: "Faroe Islands",
fr: "France",
ga: "Gabon",
gb: "United Kingdom",
gd: "Grenada",
ge: "Georgia",
gf: "French Guiana",
gg: "Guernsey",
gh: "Ghana",
gi: "Gibraltar",
gl: "Greenland",
gm: "Gambia",
gn: "Guinea",
gp: "Guadeloupe",
gq: "Equatorial Guinea",
gr: "Greece",
gt: "Guatemala",
gu: "Guam",
gw: "Guinea-Bissau",
gy: "Guyana",
hk: "Hong Kong SAR China",
hn: "Honduras",
hr: "Croatia",
ht: "Haiti",
hu: "Hungary",
id: "Indonesia",
ie: "Ireland",
il: "Israel",
im: "Isle of Man",
in: "India",
io: "British Indian Ocean Territory",
iq: "Iraq",
ir: "Iran",
is: "Iceland",
it: "Italy",
je: "Jersey",
jm: "Jamaica",
jo: "Jordan",
jp: "Japan",
ke: "Kenya",
kg: "Kyrgyzstan",
kh: "Cambodia",
ki: "Kiribati",
km: "Comoros",
kn: "St. Kitts & Nevis",
kp: "North Korea",
kr: "South Korea",
kw: "Kuwait",
ky: "Cayman Islands",
kz: "Kazakhstan",
la: "Laos",
lb: "Lebanon",
lc: "St. Lucia",
li: "Liechtenstein",
lk: "Sri Lanka",
lr: "Liberia",
ls: "Lesotho",
lt: "Lithuania",
lu: "Luxembourg",
lv: "Latvia",
ly: "Libya",
ma: "Morocco",
mc: "Monaco",
md: "Moldova",
me: "Montenegro",
mf: "St. Martin",
mg: "Madagascar",
mh: "Marshall Islands",
mk: "North Macedonia",
ml: "Mali",
mm: "Myanmar (Burma)",
mn: "Mongolia",
mo: "Macao SAR China",
mp: "Northern Mariana Islands",
mq: "Martinique",
mr: "Mauritania",
ms: "Montserrat",
mt: "Malta",
mu: "Mauritius",
mv: "Maldives",
mw: "Malawi",
mx: "Mexico",
my: "Malaysia",
mz: "Mozambique",
na: "Namibia",
nc: "New Caledonia",
ne: "Niger",
nf: "Norfolk Island",
ng: "Nigeria",
ni: "Nicaragua",
nl: "Netherlands",
no: "Norway",
np: "Nepal",
nr: "Nauru",
nu: "Niue",
nz: "New Zealand",
om: "Oman",
pa: "Panama",
pe: "Peru",
pf: "French Polynesia",
pg: "Papua New Guinea",
ph: "Philippines",
pk: "Pakistan",
pl: "Poland",
pm: "St. Pierre & Miquelon",
pr: "Puerto Rico",
ps: "Palestinian Territories",
pt: "Portugal",
pw: "Palau",
py: "Paraguay",
qa: "Qatar",
re: "Réunion",
ro: "Romania",
rs: "Serbia",
ru: "Russia",
rw: "Rwanda",
sa: "Saudi Arabia",
sb: "Solomon Islands",
sc: "Seychelles",
sd: "Sudan",
se: "Sweden",
sg: "Singapore",
sh: "St. Helena",
si: "Slovenia",
sj: "Svalbard & Jan Mayen",
sk: "Slovakia",
sl: "Sierra Leone",
sm: "San Marino",
sn: "Senegal",
so: "Somalia",
sr: "Suriname",
ss: "South Sudan",
st: "São Tomé & Príncipe",
sv: "El Salvador",
sx: "Sint Maarten",
sy: "Syria",
sz: "Eswatini",
tc: "Turks & Caicos Islands",
td: "Chad",
tg: "Togo",
th: "Thailand",
tj: "Tajikistan",
tk: "Tokelau",
tl: "Timor-Leste",
tm: "Turkmenistan",
tn: "Tunisia",
to: "Tonga",
tr: "Turkey",
tt: "Trinidad & Tobago",
tv: "Tuvalu",
tw: "Taiwan",
tz: "Tanzania",
ua: "Ukraine",
ug: "Uganda",
us: "United States",
uy: "Uruguay",
uz: "Uzbekistan",
va: "Vatican City",
vc: "St. Vincent & Grenadines",
ve: "Venezuela",
vg: "British Virgin Islands",
vi: "U.S. Virgin Islands",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Wallis & Futuna",
ws: "Samoa",
ye: "Yemen",
yt: "Mayotte",
za: "South Africa",
zm: "Zambia",
zw: "Zimbabwe"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Selected country",
noCountrySelected: "No country selected",
countryListAriaLabel: "List of countries",
searchPlaceholder: "Search",
zeroSearchResults: "No results found",
oneSearchResult: "1 result found",
multipleSearchResults: "${count} results found",
// additional countries (not supported by country-list library)
ac: "Ascension Island",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "Emiratos Árabes Unidos",
af: "Afganistán",
ag: "Antigua y Barbuda",
ai: "Anguila",
al: "Albania",
am: "Armenia",
ao: "Angola",
ar: "Argentina",
as: "Samoa Americana",
at: "Austria",
au: "Australia",
aw: "Aruba",
ax: "Islas Åland",
az: "Azerbaiyán",
ba: "Bosnia y Herzegovina",
bb: "Barbados",
bd: "Bangladés",
be: "Bélgica",
bf: "Burkina Faso",
bg: "Bulgaria",
bh: "Baréin",
bi: "Burundi",
bj: "Benín",
bl: "San Bartolomé",
bm: "Bermudas",
bn: "Brunéi",
bo: "Bolivia",
bq: "Caribe neerlandés",
br: "Brasil",
bs: "Bahamas",
bt: "Bután",
bw: "Botsuana",
by: "Bielorrusia",
bz: "Belice",
ca: "Canadá",
cc: "Islas Cocos",
cd: "República Democrática del Congo",
cf: "República Centroafricana",
cg: "Congo",
ch: "Suiza",
ci: "Côte dIvoire",
ck: "Islas Cook",
cl: "Chile",
cm: "Camerún",
cn: "China",
co: "Colombia",
cr: "Costa Rica",
cu: "Cuba",
cv: "Cabo Verde",
cw: "Curazao",
cx: "Isla de Navidad",
cy: "Chipre",
cz: "Chequia",
de: "Alemania",
dj: "Yibuti",
dk: "Dinamarca",
dm: "Dominica",
do: "República Dominicana",
dz: "Argelia",
ec: "Ecuador",
ee: "Estonia",
eg: "Egipto",
eh: "Sáhara Occidental",
er: "Eritrea",
es: "España",
et: "Etiopía",
fi: "Finlandia",
fj: "Fiyi",
fk: "Islas Malvinas",
fm: "Micronesia",
fo: "Islas Feroe",
fr: "Francia",
ga: "Gabón",
gb: "Reino Unido",
gd: "Granada",
ge: "Georgia",
gf: "Guayana Francesa",
gg: "Guernsey",
gh: "Ghana",
gi: "Gibraltar",
gl: "Groenlandia",
gm: "Gambia",
gn: "Guinea",
gp: "Guadalupe",
gq: "Guinea Ecuatorial",
gr: "Grecia",
gt: "Guatemala",
gu: "Guam",
gw: "Guinea-Bisáu",
gy: "Guyana",
hk: "RAE de Hong Kong (China)",
hn: "Honduras",
hr: "Croacia",
ht: "Haití",
hu: "Hungría",
id: "Indonesia",
ie: "Irlanda",
il: "Israel",
im: "Isla de Man",
in: "India",
io: "Territorio Británico del Océano Índico",
iq: "Irak",
ir: "Irán",
is: "Islandia",
it: "Italia",
je: "Jersey",
jm: "Jamaica",
jo: "Jordania",
jp: "Japón",
ke: "Kenia",
kg: "Kirguistán",
kh: "Camboya",
ki: "Kiribati",
km: "Comoras",
kn: "San Cristóbal y Nieves",
kp: "Corea del Norte",
kr: "Corea del Sur",
kw: "Kuwait",
ky: "Islas Caimán",
kz: "Kazajistán",
la: "Laos",
lb: "Líbano",
lc: "Santa Lucía",
li: "Liechtenstein",
lk: "Sri Lanka",
lr: "Liberia",
ls: "Lesoto",
lt: "Lituania",
lu: "Luxemburgo",
lv: "Letonia",
ly: "Libia",
ma: "Marruecos",
mc: "Mónaco",
md: "Moldavia",
me: "Montenegro",
mf: "San Martín",
mg: "Madagascar",
mh: "Islas Marshall",
mk: "Macedonia del Norte",
ml: "Mali",
mm: "Myanmar (Birmania)",
mn: "Mongolia",
mo: "RAE de Macao (China)",
mp: "Islas Marianas del Norte",
mq: "Martinica",
mr: "Mauritania",
ms: "Montserrat",
mt: "Malta",
mu: "Mauricio",
mv: "Maldivas",
mw: "Malaui",
mx: "México",
my: "Malasia",
mz: "Mozambique",
na: "Namibia",
nc: "Nueva Caledonia",
ne: "Níger",
nf: "Isla Norfolk",
ng: "Nigeria",
ni: "Nicaragua",
nl: "Países Bajos",
no: "Noruega",
np: "Nepal",
nr: "Nauru",
nu: "Niue",
nz: "Nueva Zelanda",
om: "Omán",
pa: "Panamá",
pe: "Perú",
pf: "Polinesia Francesa",
pg: "Papúa Nueva Guinea",
ph: "Filipinas",
pk: "Pakistán",
pl: "Polonia",
pm: "San Pedro y Miquelón",
pr: "Puerto Rico",
ps: "Territorios Palestinos",
pt: "Portugal",
pw: "Palaos",
py: "Paraguay",
qa: "Catar",
re: "Reunión",
ro: "Rumanía",
rs: "Serbia",
ru: "Rusia",
rw: "Ruanda",
sa: "Arabia Saudí",
sb: "Islas Salomón",
sc: "Seychelles",
sd: "Sudán",
se: "Suecia",
sg: "Singapur",
sh: "Santa Elena",
si: "Eslovenia",
sj: "Svalbard y Jan Mayen",
sk: "Eslovaquia",
sl: "Sierra Leona",
sm: "San Marino",
sn: "Senegal",
so: "Somalia",
sr: "Surinam",
ss: "Sudán del Sur",
st: "Santo Tomé y Príncipe",
sv: "El Salvador",
sx: "Sint Maarten",
sy: "Siria",
sz: "Esuatini",
tc: "Islas Turcas y Caicos",
td: "Chad",
tg: "Togo",
th: "Tailandia",
tj: "Tayikistán",
tk: "Tokelau",
tl: "Timor-Leste",
tm: "Turkmenistán",
tn: "Túnez",
to: "Tonga",
tr: "Turquía",
tt: "Trinidad y Tobago",
tv: "Tuvalu",
tw: "Taiwán",
tz: "Tanzania",
ua: "Ucrania",
ug: "Uganda",
us: "Estados Unidos",
uy: "Uruguay",
uz: "Uzbekistán",
va: "Ciudad del Vaticano",
vc: "San Vicente y las Granadinas",
ve: "Venezuela",
vg: "Islas Vírgenes Británicas",
vi: "Islas Vírgenes de EE. UU.",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Wallis y Futuna",
ws: "Samoa",
ye: "Yemen",
yt: "Mayotte",
za: "Sudáfrica",
zm: "Zambia",
zw: "Zimbabue"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "País seleccionado",
noCountrySelected: "Ningún país seleccionado",
countryListAriaLabel: "Lista de países",
searchPlaceholder: "Buscar",
zeroSearchResults: "No se han encontrado resultados",
oneSearchResult: "1 resultado encontrado",
multipleSearchResults: "${count} resultados encontrados",
// additional countries (not supported by country-list library)
ac: "isla Ascencion",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "آندورا",
ae: "امارات متحدهٔ عربی",
af: "افغانستان",
ag: "آنتیگوا و باربودا",
ai: "آنگویلا",
al: "آلبانی",
am: "ارمنستان",
ao: "آنگولا",
ar: "آرژانتین",
as: "ساموآی امریکا",
at: "اتریش",
au: "استرالیا",
aw: "آروبا",
ax: "جزایر آلاند",
az: "جمهوری آذربایجان",
ba: "بوسنی و هرزگوین",
bb: "باربادوس",
bd: "بنگلادش",
be: "بلژیک",
bf: "بورکینافاسو",
bg: "بلغارستان",
bh: "بحرین",
bi: "بوروندی",
bj: "بنین",
bl: "سن بارتلمی",
bm: "برمودا",
bn: "برونئی",
bo: "بولیوی",
bq: "جزایر کارائیب هلند",
br: "برزیل",
bs: "باهاما",
bt: "بوتان",
bw: "بوتسوانا",
by: "بلاروس",
bz: "بلیز",
ca: "کانادا",
cc: "جزایر کوکوس",
cd: "کنگو - کینشاسا",
cf: "جمهوری افریقای مرکزی",
cg: "کنگو - برازویل",
ch: "سوئیس",
ci: "ساحل عاج",
ck: "جزایر کوک",
cl: "شیلی",
cm: "کامرون",
cn: "چین",
co: "کلمبیا",
cr: "کاستاریکا",
cu: "کوبا",
cv: "کیپ‌ورد",
cw: "کوراسائو",
cx: "جزیرهٔ کریسمس",
cy: "قبرس",
cz: "چک",
de: "آلمان",
dj: "جیبوتی",
dk: "دانمارک",
dm: "دومینیکا",
do: "جمهوری دومینیکن",
dz: "الجزایر",
ec: "اکوادور",
ee: "استونی",
eg: "مصر",
eh: "صحرای غربی",
er: "اریتره",
es: "اسپانیا",
et: "اتیوپی",
fi: "فنلاند",
fj: "فیجی",
fk: "جزایر فالکلند",
fm: "میکرونزی",
fo: "جزایر فارو",
fr: "فرانسه",
ga: "گابن",
gb: "بریتانیا",
gd: "گرنادا",
ge: "گرجستان",
gf: "گویان فرانسه",
gg: "گرنزی",
gh: "غنا",
gi: "جبل‌الطارق",
gl: "گرینلند",
gm: "گامبیا",
gn: "گینه",
gp: "گوادلوپ",
gq: "گینهٔ استوایی",
gr: "یونان",
gt: "گواتمالا",
gu: "گوام",
gw: "گینهٔ بیسائو",
gy: "گویان",
hk: "هنگ‌کنگ، منطقهٔ ویژهٔ اداری چین",
hn: "هندوراس",
hr: "کرواسی",
ht: "هائیتی",
hu: "مجارستان",
id: "اندونزی",
ie: "ایرلند",
il: "اسرائیل",
im: "جزیرهٔ من",
in: "هند",
io: "قلمرو بریتانیا در اقیانوس هند",
iq: "عراق",
ir: "ایران",
is: "ایسلند",
it: "ایتالیا",
je: "جرزی",
jm: "جامائیکا",
jo: "اردن",
jp: "ژاپن",
ke: "کنیا",
kg: "قرقیزستان",
kh: "کامبوج",
ki: "کیریباتی",
km: "کومور",
kn: "سنت کیتس و نویس",
kp: "کرهٔ شمالی",
kr: "کرهٔ جنوبی",
kw: "کویت",
ky: "جزایر کِیمن",
kz: "قزاقستان",
la: "لائوس",
lb: "لبنان",
lc: "سنت لوسیا",
li: "لیختن‌اشتاین",
lk: "سری‌لانکا",
lr: "لیبریا",
ls: "لسوتو",
lt: "لیتوانی",
lu: "لوکزامبورگ",
lv: "لتونی",
ly: "لیبی",
ma: "مراکش",
mc: "موناکو",
md: "مولداوی",
me: "مونته‌نگرو",
mf: "سنت مارتین",
mg: "ماداگاسکار",
mh: "جزایر مارشال",
mk: "مقدونیهٔ شمالی",
ml: "مالی",
mm: "میانمار (برمه)",
mn: "مغولستان",
mo: "ماکائو، منطقهٔ ویژهٔ اداری چین",
mp: "جزایر ماریانای شمالی",
mq: "مارتینیک",
mr: "موریتانی",
ms: "مونت‌سرات",
mt: "مالت",
mu: "موریس",
mv: "مالدیو",
mw: "مالاوی",
mx: "مکزیک",
my: "مالزی",
mz: "موزامبیک",
na: "نامیبیا",
nc: "کالدونیای جدید",
ne: "نیجر",
nf: "جزیرهٔ نورفولک",
ng: "نیجریه",
ni: "نیکاراگوئه",
nl: "هلند",
no: "نروژ",
np: "نپال",
nr: "نائورو",
nu: "نیوئه",
nz: "نیوزیلند",
om: "عمان",
pa: "پاناما",
pe: "پرو",
pf: "پلی‌نزی فرانسه",
pg: "پاپوا گینهٔ نو",
ph: "فیلیپین",
pk: "پاکستان",
pl: "لهستان",
pm: "سن پیر و میکلن",
pr: "پورتوریکو",
ps: "سرزمین‌های فلسطینی",
pt: "پرتغال",
pw: "پالائو",
py: "پاراگوئه",
qa: "قطر",
re: "رئونیون",
ro: "رومانی",
rs: "صربستان",
ru: "روسیه",
rw: "رواندا",
sa: "عربستان سعودی",
sb: "جزایر سلیمان",
sc: "سیشل",
sd: "سودان",
se: "سوئد",
sg: "سنگاپور",
sh: "سنت هلن",
si: "اسلوونی",
sj: "سوالبارد و یان ماین",
sk: "اسلواکی",
sl: "سیرالئون",
sm: "سان‌مارینو",
sn: "سنگال",
so: "سومالی",
sr: "سورینام",
ss: "سودان جنوبی",
st: "سائوتومه و پرینسیپ",
sv: "السالوادور",
sx: "سنت مارتن",
sy: "سوریه",
sz: "اسواتینی",
tc: "جزایر تورکس و کایکوس",
td: "چاد",
tg: "توگو",
th: "تایلند",
tj: "تاجیکستان",
tk: "توکلائو",
tl: "تیمور-لسته",
tm: "ترکمنستان",
tn: "تونس",
to: "تونگا",
tr: "ترکیه",
tt: "ترینیداد و توباگو",
tv: "تووالو",
tw: "تایوان",
tz: "تانزانیا",
ua: "اوکراین",
ug: "اوگاندا",
us: "ایالات متحده",
uy: "اروگوئه",
uz: "ازبکستان",
va: "واتیکان",
vc: "سنت وینسنت و گرنادین",
ve: "ونزوئلا",
vg: "جزایر ویرجین بریتانیا",
vi: "جزایر ویرجین ایالات متحده",
vn: "ویتنام",
vu: "وانواتو",
wf: "والیس و فوتونا",
ws: "ساموآ",
ye: "یمن",
yt: "مایوت",
za: "افریقای جنوبی",
zm: "زامبیا",
zw: "زیمبابوه"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "کشور انتخاب شده",
noCountrySelected: "هیچ کشوری انتخاب نشده است",
countryListAriaLabel: "لیست کشورها",
searchPlaceholder: "جستجو",
zeroSearchResults: "هیچ نتیجه‌ای یافت نشد",
oneSearchResult: "1 نتیجه یافت شد",
multipleSearchResults: "${count} نتیجه یافت شد",
// additional countries (not supported by country-list library)
ac: "جزیره اسنشن",
xk: "کوزوو"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "Arabiemiirikunnat",
af: "Afganistan",
ag: "Antigua ja Barbuda",
ai: "Anguilla",
al: "Albania",
am: "Armenia",
ao: "Angola",
ar: "Argentiina",
as: "Amerikan Samoa",
at: "Itävalta",
au: "Australia",
aw: "Aruba",
ax: "Ahvenanmaa",
az: "Azerbaidžan",
ba: "Bosnia ja Hertsegovina",
bb: "Barbados",
bd: "Bangladesh",
be: "Belgia",
bf: "Burkina Faso",
bg: "Bulgaria",
bh: "Bahrain",
bi: "Burundi",
bj: "Benin",
bl: "Saint-Barthélemy",
bm: "Bermuda",
bn: "Brunei",
bo: "Bolivia",
bq: "Karibian Alankomaat",
br: "Brasilia",
bs: "Bahama",
bt: "Bhutan",
bw: "Botswana",
by: "Valko-Venäjä",
bz: "Belize",
ca: "Kanada",
cc: "Kookossaaret (Keelingsaaret)",
cd: "Kongon demokraattinen tasavalta",
cf: "Keski-Afrikan tasavalta",
cg: "Kongon tasavalta",
ch: "Sveitsi",
ci: "Norsunluurannikko",
ck: "Cookinsaaret",
cl: "Chile",
cm: "Kamerun",
cn: "Kiina",
co: "Kolumbia",
cr: "Costa Rica",
cu: "Kuuba",
cv: "Kap Verde",
cw: "Curaçao",
cx: "Joulusaari",
cy: "Kypros",
cz: "Tšekki",
de: "Saksa",
dj: "Djibouti",
dk: "Tanska",
dm: "Dominica",
do: "Dominikaaninen tasavalta",
dz: "Algeria",
ec: "Ecuador",
ee: "Viro",
eg: "Egypti",
eh: "Länsi-Sahara",
er: "Eritrea",
es: "Espanja",
et: "Etiopia",
fi: "Suomi",
fj: "Fidži",
fk: "Falklandinsaaret",
fm: "Mikronesian liittovaltio",
fo: "Färsaaret",
fr: "Ranska",
ga: "Gabon",
gb: "Iso-Britannia",
gd: "Grenada",
ge: "Georgia",
gf: "Ranskan Guayana",
gg: "Guernsey",
gh: "Ghana",
gi: "Gibraltar",
gl: "Grönlanti",
gm: "Gambia",
gn: "Guinea",
gp: "Guadeloupe",
gq: "Päiväntasaajan Guinea",
gr: "Kreikka",
gt: "Guatemala",
gu: "Guam",
gw: "Guinea-Bissau",
gy: "Guyana",
hk: "Hongkong Kiinan e.h.a.",
hn: "Honduras",
hr: "Kroatia",
ht: "Haiti",
hu: "Unkari",
id: "Indonesia",
ie: "Irlanti",
il: "Israel",
im: "Mansaari",
in: "Intia",
io: "Brittiläinen Intian valtameren alue",
iq: "Irak",
ir: "Iran",
is: "Islanti",
it: "Italia",
je: "Jersey",
jm: "Jamaika",
jo: "Jordania",
jp: "Japani",
ke: "Kenia",
kg: "Kirgisia",
kh: "Kambodža",
ki: "Kiribati",
km: "Komorit",
kn: "Saint Kitts ja Nevis",
kp: "Pohjois-Korea",
kr: "Etelä-Korea",
kw: "Kuwait",
ky: "Caymansaaret",
kz: "Kazakstan",
la: "Laos",
lb: "Libanon",
lc: "Saint Lucia",
li: "Liechtenstein",
lk: "Sri Lanka",
lr: "Liberia",
ls: "Lesotho",
lt: "Liettua",
lu: "Luxemburg",
lv: "Latvia",
ly: "Libya",
ma: "Marokko",
mc: "Monaco",
md: "Moldova",
me: "Montenegro",
mf: "Saint-Martin",
mg: "Madagaskar",
mh: "Marshallinsaaret",
mk: "Pohjois-Makedonia",
ml: "Mali",
mm: "Myanmar (Burma)",
mn: "Mongolia",
mo: "Macao Kiinan e.h.a.",
mp: "Pohjois-Mariaanit",
mq: "Martinique",
mr: "Mauritania",
ms: "Montserrat",
mt: "Malta",
mu: "Mauritius",
mv: "Malediivit",
mw: "Malawi",
mx: "Meksiko",
my: "Malesia",
mz: "Mosambik",
na: "Namibia",
nc: "Uusi-Kaledonia",
ne: "Niger",
nf: "Norfolkinsaari",
ng: "Nigeria",
ni: "Nicaragua",
nl: "Alankomaat",
no: "Norja",
np: "Nepal",
nr: "Nauru",
nu: "Niue",
nz: "Uusi-Seelanti",
om: "Oman",
pa: "Panama",
pe: "Peru",
pf: "Ranskan Polynesia",
pg: "Papua-Uusi-Guinea",
ph: "Filippiinit",
pk: "Pakistan",
pl: "Puola",
pm: "Saint-Pierre ja Miquelon",
pr: "Puerto Rico",
ps: "Palestiinalaisalueet",
pt: "Portugali",
pw: "Palau",
py: "Paraguay",
qa: "Qatar",
re: "Réunion",
ro: "Romania",
rs: "Serbia",
ru: "Venäjä",
rw: "Ruanda",
sa: "Saudi-Arabia",
sb: "Salomonsaaret",
sc: "Seychellit",
sd: "Sudan",
se: "Ruotsi",
sg: "Singapore",
sh: "Saint Helena",
si: "Slovenia",
sj: "Huippuvuoret ja Jan Mayen",
sk: "Slovakia",
sl: "Sierra Leone",
sm: "San Marino",
sn: "Senegal",
so: "Somalia",
sr: "Suriname",
ss: "Etelä-Sudan",
st: "São Tomé ja Príncipe",
sv: "El Salvador",
sx: "Sint Maarten",
sy: "Syyria",
sz: "Swazimaa",
tc: "Turks- ja Caicossaaret",
td: "Tšad",
tg: "Togo",
th: "Thaimaa",
tj: "Tadžikistan",
tk: "Tokelau",
tl: "Itä-Timor",
tm: "Turkmenistan",
tn: "Tunisia",
to: "Tonga",
tr: "Turkki",
tt: "Trinidad ja Tobago",
tv: "Tuvalu",
tw: "Taiwan",
tz: "Tansania",
ua: "Ukraina",
ug: "Uganda",
us: "Yhdysvallat",
uy: "Uruguay",
uz: "Uzbekistan",
va: "Vatikaani",
vc: "Saint Vincent ja Grenadiinit",
ve: "Venezuela",
vg: "Brittiläiset Neitsytsaaret",
vi: "Yhdysvaltain Neitsytsaaret",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Wallis ja Futuna",
ws: "Samoa",
ye: "Jemen",
yt: "Mayotte",
za: "Etelä-Afrikka",
zm: "Sambia",
zw: "Zimbabwe"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
"selectedCountryAriaLabel": "Valittu maa",
"noCountrySelected": "Maata ei ole valittu",
"countryListAriaLabel": "Luettelo maista",
"searchPlaceholder": "Haku",
"zeroSearchResults": "Ei tuloksia",
"oneSearchResult": "1 tulos löytyi",
"multipleSearchResults": "${count} tulosta löytyi",
// additional countries (not supported by country-list library)
"ac": "Ascension",
"xk": "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorre",
ae: "Émirats arabes unis",
af: "Afghanistan",
ag: "Antigua-et-Barbuda",
ai: "Anguilla",
al: "Albanie",
am: "Arménie",
ao: "Angola",
ar: "Argentine",
as: "Samoa américaines",
at: "Autriche",
au: "Australie",
aw: "Aruba",
ax: "Îles Åland",
az: "Azerbaïdjan",
ba: "Bosnie-Herzégovine",
bb: "Barbade",
bd: "Bangladesh",
be: "Belgique",
bf: "Burkina Faso",
bg: "Bulgarie",
bh: "Bahreïn",
bi: "Burundi",
bj: "Bénin",
bl: "Saint-Barthélemy",
bm: "Bermudes",
bn: "Brunéi Darussalam",
bo: "Bolivie",
bq: "Pays-Bas caribéens",
br: "Brésil",
bs: "Bahamas",
bt: "Bhoutan",
bw: "Botswana",
by: "Biélorussie",
bz: "Belize",
ca: "Canada",
cc: "Îles Cocos",
cd: "Congo-Kinshasa",
cf: "République centrafricaine",
cg: "Congo-Brazzaville",
ch: "Suisse",
ci: "Côte dIvoire",
ck: "Îles Cook",
cl: "Chili",
cm: "Cameroun",
cn: "Chine",
co: "Colombie",
cr: "Costa Rica",
cu: "Cuba",
cv: "Cap-Vert",
cw: "Curaçao",
cx: "Île Christmas",
cy: "Chypre",
cz: "Tchéquie",
de: "Allemagne",
dj: "Djibouti",
dk: "Danemark",
dm: "Dominique",
do: "République dominicaine",
dz: "Algérie",
ec: "Équateur",
ee: "Estonie",
eg: "Égypte",
eh: "Sahara occidental",
er: "Érythrée",
es: "Espagne",
et: "Éthiopie",
fi: "Finlande",
fj: "Fidji",
fk: "Îles Malouines",
fm: "États fédérés de Micronésie",
fo: "Îles Féroé",
fr: "France",
ga: "Gabon",
gb: "Royaume-Uni",
gd: "Grenade",
ge: "Géorgie",
gf: "Guyane française",
gg: "Guernesey",
gh: "Ghana",
gi: "Gibraltar",
gl: "Groenland",
gm: "Gambie",
gn: "Guinée",
gp: "Guadeloupe",
gq: "Guinée équatoriale",
gr: "Grèce",
gt: "Guatemala",
gu: "Guam",
gw: "Guinée-Bissau",
gy: "Guyana",
hk: "R.A.S. chinoise de Hong Kong",
hn: "Honduras",
hr: "Croatie",
ht: "Haïti",
hu: "Hongrie",
id: "Indonésie",
ie: "Irlande",
il: "Israël",
im: "Île de Man",
in: "Inde",
io: "Territoire britannique de locéan Indien",
iq: "Irak",
ir: "Iran",
is: "Islande",
it: "Italie",
je: "Jersey",
jm: "Jamaïque",
jo: "Jordanie",
jp: "Japon",
ke: "Kenya",
kg: "Kirghizistan",
kh: "Cambodge",
ki: "Kiribati",
km: "Comores",
kn: "Saint-Christophe-et-Niévès",
kp: "Corée du Nord",
kr: "Corée du Sud",
kw: "Koweït",
ky: "Îles Caïmans",
kz: "Kazakhstan",
la: "Laos",
lb: "Liban",
lc: "Sainte-Lucie",
li: "Liechtenstein",
lk: "Sri Lanka",
lr: "Libéria",
ls: "Lesotho",
lt: "Lituanie",
lu: "Luxembourg",
lv: "Lettonie",
ly: "Libye",
ma: "Maroc",
mc: "Monaco",
md: "Moldavie",
me: "Monténégro",
mf: "Saint-Martin",
mg: "Madagascar",
mh: "Îles Marshall",
mk: "Macédoine du Nord",
ml: "Mali",
mm: "Myanmar (Birmanie)",
mn: "Mongolie",
mo: "R.A.S. chinoise de Macao",
mp: "Îles Mariannes du Nord",
mq: "Martinique",
mr: "Mauritanie",
ms: "Montserrat",
mt: "Malte",
mu: "Maurice",
mv: "Maldives",
mw: "Malawi",
mx: "Mexique",
my: "Malaisie",
mz: "Mozambique",
na: "Namibie",
nc: "Nouvelle-Calédonie",
ne: "Niger",
nf: "Île Norfolk",
ng: "Nigéria",
ni: "Nicaragua",
nl: "Pays-Bas",
no: "Norvège",
np: "Népal",
nr: "Nauru",
nu: "Niue",
nz: "Nouvelle-Zélande",
om: "Oman",
pa: "Panama",
pe: "Pérou",
pf: "Polynésie française",
pg: "Papouasie-Nouvelle-Guinée",
ph: "Philippines",
pk: "Pakistan",
pl: "Pologne",
pm: "Saint-Pierre-et-Miquelon",
pr: "Porto Rico",
ps: "Territoires palestiniens",
pt: "Portugal",
pw: "Palaos",
py: "Paraguay",
qa: "Qatar",
re: "La Réunion",
ro: "Roumanie",
rs: "Serbie",
ru: "Russie",
rw: "Rwanda",
sa: "Arabie saoudite",
sb: "Îles Salomon",
sc: "Seychelles",
sd: "Soudan",
se: "Suède",
sg: "Singapour",
sh: "Sainte-Hélène",
si: "Slovénie",
sj: "Svalbard et Jan Mayen",
sk: "Slovaquie",
sl: "Sierra Leone",
sm: "Saint-Marin",
sn: "Sénégal",
so: "Somalie",
sr: "Suriname",
ss: "Soudan du Sud",
st: "Sao Tomé-et-Principe",
sv: "Salvador",
sx: "Saint-Martin (partie néerlandaise)",
sy: "Syrie",
sz: "Eswatini",
tc: "Îles Turques-et-Caïques",
td: "Tchad",
tg: "Togo",
th: "Thaïlande",
tj: "Tadjikistan",
tk: "Tokelau",
tl: "Timor oriental",
tm: "Turkménistan",
tn: "Tunisie",
to: "Tonga",
tr: "Turquie",
tt: "Trinité-et-Tobago",
tv: "Tuvalu",
tw: "Taïwan",
tz: "Tanzanie",
ua: "Ukraine",
ug: "Ouganda",
us: "États-Unis",
uy: "Uruguay",
uz: "Ouzbékistan",
va: "État de la Cité du Vatican",
vc: "Saint-Vincent-et-les-Grenadines",
ve: "Venezuela",
vg: "Îles Vierges britanniques",
vi: "Îles Vierges des États-Unis",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Wallis-et-Futuna",
ws: "Samoa",
ye: "Yémen",
yt: "Mayotte",
za: "Afrique du Sud",
zm: "Zambie",
zw: "Zimbabwe"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Pays sélectionné",
noCountrySelected: "Aucun pays sélectionné",
countryListAriaLabel: "Liste des pays",
searchPlaceholder: "Recherche",
zeroSearchResults: "Aucun résultat trouvé",
oneSearchResult: "1 résultat trouvé",
multipleSearchResults: "${count} résultats trouvés",
// additional countries (not supported by country-list library)
ac: "Île de l'Ascension",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "एंडोरा",
ae: "संयुक्त अरब अमीरात",
af: "अफ़गानिस्तान",
ag: "एंटिगुआ और बरबुडा",
ai: "एंग्विला",
al: "अल्बानिया",
am: "आर्मेनिया",
ao: "अंगोला",
ar: "अर्जेंटीना",
as: "अमेरिकी समोआ",
at: "ऑस्ट्रिया",
au: "ऑस्ट्रेलिया",
aw: "अरूबा",
ax: "एलैंड द्वीपसमूह",
az: "अज़रबैजान",
ba: "बोस्निया और हर्ज़ेगोविना",
bb: "बारबाडोस",
bd: "बांग्लादेश",
be: "बेल्जियम",
bf: "बुर्किना फ़ासो",
bg: "बुल्गारिया",
bh: "बहरीन",
bi: "बुरुंडी",
bj: "बेनिन",
bl: "सेंट बार्थेलेमी",
bm: "बरमूडा",
bn: "ब्रूनेई",
bo: "बोलीविया",
bq: "कैरिबियन नीदरलैंड",
br: "ब्राज़ील",
bs: "बहामास",
bt: "भूटान",
bw: "बोत्स्वाना",
by: "बेलारूस",
bz: "बेलीज़",
ca: "कनाडा",
cc: "कोकोस (कीलिंग) द्वीपसमूह",
cd: "कांगो - किंशासा",
cf: "मध्य अफ़्रीकी गणराज्य",
cg: "कांगो ब्राज़ाविल",
ch: "स्विट्ज़रलैंड",
ci: "कोट डी आइवर",
ck: "कुक द्वीपसमूह",
cl: "चिली",
cm: "कैमरून",
cn: "चीन",
co: "कोलंबिया",
cr: "कोस्टारिका",
cu: "क्यूबा",
cv: "केप वर्ड",
cw: "क्यूरासाओ",
cx: "क्रिसमस द्वीप",
cy: "साइप्रस",
cz: "चेकिया",
de: "जर्मनी",
dj: "जिबूती",
dk: "डेनमार्क",
dm: "डोमिनिका",
do: "डोमिनिकन गणराज्य",
dz: "अल्जीरिया",
ec: "इक्वाडोर",
ee: "एस्टोनिया",
eg: "मिस्र",
eh: "पश्चिमी सहारा",
er: "इरिट्रिया",
es: "स्पेन",
et: "इथियोपिया",
fi: "फ़िनलैंड",
fj: "फ़िजी",
fk: "फ़ॉकलैंड द्वीपसमूह",
fm: "माइक्रोनेशिया",
fo: "फ़ेरो द्वीपसमूह",
fr: "फ़्रांस",
ga: "गैबॉन",
gb: "यूनाइटेड किंगडम",
gd: "ग्रेनाडा",
ge: "जॉर्जिया",
gf: "फ़्रेंच गुयाना",
gg: "गर्नसी",
gh: "घाना",
gi: "जिब्राल्टर",
gl: "ग्रीनलैंड",
gm: "गाम्बिया",
gn: "गिनी",
gp: "ग्वाडेलूप",
gq: "इक्वेटोरियल गिनी",
gr: "यूनान",
gt: "ग्वाटेमाला",
gu: "गुआम",
gw: "गिनी-बिसाउ",
gy: "गुयाना",
hk: "हाँग काँग (चीन विशेष प्रशासनिक क्षेत्र)",
hn: "होंडूरास",
hr: "क्रोएशिया",
ht: "हैती",
hu: "हंगरी",
id: "इंडोनेशिया",
ie: "आयरलैंड",
il: "इज़राइल",
im: "आइल ऑफ़ मैन",
in: "भारत",
io: "ब्रिटिश हिंद महासागरीय क्षेत्र",
iq: "इराक",
ir: "ईरान",
is: "आइसलैंड",
it: "इटली",
je: "जर्सी",
jm: "जमैका",
jo: "जॉर्डन",
jp: "जापान",
ke: "केन्या",
kg: "किर्गिज़स्तान",
kh: "कंबोडिया",
ki: "किरिबाती",
km: "कोमोरोस",
kn: "सेंट किट्स और नेविस",
kp: "उत्तर कोरिया",
kr: "दक्षिण कोरिया",
kw: "कुवैत",
ky: "कैमेन द्वीपसमूह",
kz: "कज़ाखस्तान",
la: "लाओस",
lb: "लेबनान",
lc: "सेंट लूसिया",
li: "लिचेंस्टीन",
lk: "श्रीलंका",
lr: "लाइबेरिया",
ls: "लेसोथो",
lt: "लिथुआनिया",
lu: "लग्ज़मबर्ग",
lv: "लातविया",
ly: "लीबिया",
ma: "मोरक्को",
mc: "मोनाको",
md: "मॉल्डोवा",
me: "मोंटेनेग्रो",
mf: "सेंट मार्टिन",
mg: "मेडागास्कर",
mh: "मार्शल द्वीपसमूह",
mk: "उत्तरी मकदूनिया",
ml: "माली",
mm: "म्यांमार (बर्मा)",
mn: "मंगोलिया",
mo: "मकाऊ (विशेष प्रशासनिक क्षेत्र चीन)",
mp: "उत्तरी मारियाना द्वीपसमूह",
mq: "मार्टीनिक",
mr: "मॉरिटानिया",
ms: "मोंटसेरात",
mt: "माल्टा",
mu: "मॉरीशस",
mv: "मालदीव",
mw: "मलावी",
mx: "मैक्सिको",
my: "मलेशिया",
mz: "मोज़ांबिक",
na: "नामीबिया",
nc: "न्यू कैलेडोनिया",
ne: "नाइजर",
nf: "नॉरफ़ॉक द्वीप",
ng: "नाइजीरिया",
ni: "निकारागुआ",
nl: "नीदरलैंड",
no: "नॉर्वे",
np: "नेपाल",
nr: "नाउरु",
nu: "नीयू",
nz: "न्यूज़ीलैंड",
om: "ओमान",
pa: "पनामा",
pe: "पेरू",
pf: "फ़्रेंच पोलिनेशिया",
pg: "पापुआ न्यू गिनी",
ph: "फ़िलिपींस",
pk: "पाकिस्तान",
pl: "पोलैंड",
pm: "सेंट पिएरे और मिक्वेलान",
pr: "पोर्टो रिको",
ps: "फ़िलिस्तीनी क्षेत्र",
pt: "पुर्तगाल",
pw: "पलाऊ",
py: "पराग्वे",
qa: "क़तर",
re: "रियूनियन",
ro: "रोमानिया",
rs: "सर्बिया",
ru: "रूस",
rw: "रवांडा",
sa: "सऊदी अरब",
sb: "सोलोमन द्वीपसमूह",
sc: "सेशेल्स",
sd: "सूडान",
se: "स्वीडन",
sg: "सिंगापुर",
sh: "सेंट हेलेना",
si: "स्लोवेनिया",
sj: "स्वालबार्ड और जान मायेन",
sk: "स्लोवाकिया",
sl: "सिएरा लियोन",
sm: "सैन मेरीनो",
sn: "सेनेगल",
so: "सोमालिया",
sr: "सूरीनाम",
ss: "दक्षिण सूडान",
st: "साओ टोम और प्रिंसिपे",
sv: "अल सल्वाडोर",
sx: "सिंट मार्टिन",
sy: "सीरिया",
sz: "स्वाज़ीलैंड",
tc: "तुर्क और कैकोज़ द्वीपसमूह",
td: "चाड",
tg: "टोगो",
th: "थाईलैंड",
tj: "ताज़िकिस्तान",
tk: "तोकेलाउ",
tl: "तिमोर-लेस्त",
tm: "तुर्कमेनिस्तान",
tn: "ट्यूनीशिया",
to: "टोंगा",
tr: "तुर्की",
tt: "त्रिनिदाद और टोबैगो",
tv: "तुवालू",
tw: "ताइवान",
tz: "तंज़ानिया",
ua: "यूक्रेन",
ug: "युगांडा",
us: "संयुक्त राज्य",
uy: "उरूग्वे",
uz: "उज़्बेकिस्तान",
va: "वेटिकन सिटी",
vc: "सेंट विंसेंट और ग्रेनाडाइंस",
ve: "वेनेज़ुएला",
vg: "ब्रिटिश वर्जिन द्वीपसमूह",
vi: "यू॰एस॰ वर्जिन द्वीपसमूह",
vn: "वियतनाम",
vu: "वनुआतू",
wf: "वालिस और फ़्यूचूना",
ws: "समोआ",
ye: "यमन",
yt: "मायोते",
za: "दक्षिण अफ़्रीका",
zm: "ज़ाम्बिया",
zw: "ज़िम्बाब्वे"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "चयनित देश",
noCountrySelected: "कोई देश चयनित नहीं",
countryListAriaLabel: "देशों की सूची",
searchPlaceholder: "खोज",
zeroSearchResults: "कोई परिणाम नहीं मिला",
oneSearchResult: "1 परिणाम मिला",
multipleSearchResults: "${count} परिणाम मिले",
// additional countries (not supported by country-list library)
ac: "असेंशन द्वीप",
xk: "कोसोवो"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andora",
ae: "Ujedinjeni Arapski Emirati",
af: "Afganistan",
ag: "Antigva i Barbuda",
ai: "Angvila",
al: "Albanija",
am: "Armenija",
ao: "Angola",
ar: "Argentina",
as: "Američka Samoa",
at: "Austrija",
au: "Australija",
aw: "Aruba",
ax: "Ålandski otoci",
az: "Azerbajdžan",
ba: "Bosna i Hercegovina",
bb: "Barbados",
bd: "Bangladeš",
be: "Belgija",
bf: "Burkina Faso",
bg: "Bugarska",
bh: "Bahrein",
bi: "Burundi",
bj: "Benin",
bl: "Saint Barthélemy",
bm: "Bermudi",
bn: "Brunej",
bo: "Bolivija",
bq: "Karipski otoci Nizozemske",
br: "Brazil",
bs: "Bahami",
bt: "Butan",
bw: "Bocvana",
by: "Bjelorusija",
bz: "Belize",
ca: "Kanada",
cc: "Kokosovi (Keelingovi) otoci",
cd: "Kongo - Kinshasa",
cf: "Srednjoafrička Republika",
cg: "Kongo - Brazzaville",
ch: "Švicarska",
ci: "Obala Bjelokosti",
ck: "Cookovi Otoci",
cl: "Čile",
cm: "Kamerun",
cn: "Kina",
co: "Kolumbija",
cr: "Kostarika",
cu: "Kuba",
cv: "Zelenortska Republika",
cw: "Curaçao",
cx: "Božićni otok",
cy: "Cipar",
cz: "Češka",
de: "Njemačka",
dj: "Džibuti",
dk: "Danska",
dm: "Dominika",
do: "Dominikanska Republika",
dz: "Alžir",
ec: "Ekvador",
ee: "Estonija",
eg: "Egipat",
eh: "Zapadna Sahara",
er: "Eritreja",
es: "Španjolska",
et: "Etiopija",
fi: "Finska",
fj: "Fidži",
fk: "Falklandski otoci",
fm: "Mikronezija",
fo: "Farski otoci",
fr: "Francuska",
ga: "Gabon",
gb: "Ujedinjeno Kraljevstvo",
gd: "Grenada",
ge: "Gruzija",
gf: "Francuska Gijana",
gg: "Guernsey",
gh: "Gana",
gi: "Gibraltar",
gl: "Grenland",
gm: "Gambija",
gn: "Gvineja",
gp: "Guadalupe",
gq: "Ekvatorska Gvineja",
gr: "Grčka",
gt: "Gvatemala",
gu: "Guam",
gw: "Gvineja Bisau",
gy: "Gvajana",
hk: "PUP Hong Kong Kina",
hn: "Honduras",
hr: "Hrvatska",
ht: "Haiti",
hu: "Mađarska",
id: "Indonezija",
ie: "Irska",
il: "Izrael",
im: "Otok Man",
in: "Indija",
io: "Britanski Indijskooceanski teritorij",
iq: "Irak",
ir: "Iran",
is: "Island",
it: "Italija",
je: "Jersey",
jm: "Jamajka",
jo: "Jordan",
jp: "Japan",
ke: "Kenija",
kg: "Kirgistan",
kh: "Kambodža",
ki: "Kiribati",
km: "Komori",
kn: "Sveti Kristofor i Nevis",
kp: "Sjeverna Koreja",
kr: "Južna Koreja",
kw: "Kuvajt",
ky: "Kajmanski otoci",
kz: "Kazahstan",
la: "Laos",
lb: "Libanon",
lc: "Sveta Lucija",
li: "Lihtenštajn",
lk: "Šri Lanka",
lr: "Liberija",
ls: "Lesoto",
lt: "Litva",
lu: "Luksemburg",
lv: "Latvija",
ly: "Libija",
ma: "Maroko",
mc: "Monako",
md: "Moldavija",
me: "Crna Gora",
mf: "Saint Martin",
mg: "Madagaskar",
mh: "Maršalovi Otoci",
mk: "Sjeverna Makedonija",
ml: "Mali",
mm: "Mjanmar (Burma)",
mn: "Mongolija",
mo: "PUP Makao Kina",
mp: "Sjevernomarijanski otoci",
mq: "Martinique",
mr: "Mauretanija",
ms: "Montserrat",
mt: "Malta",
mu: "Mauricijus",
mv: "Maldivi",
mw: "Malavi",
mx: "Meksiko",
my: "Malezija",
mz: "Mozambik",
na: "Namibija",
nc: "Nova Kaledonija",
ne: "Niger",
nf: "Otok Norfolk",
ng: "Nigerija",
ni: "Nikaragva",
nl: "Nizozemska",
no: "Norveška",
np: "Nepal",
nr: "Nauru",
nu: "Niue",
nz: "Novi Zeland",
om: "Oman",
pa: "Panama",
pe: "Peru",
pf: "Francuska Polinezija",
pg: "Papua Nova Gvineja",
ph: "Filipini",
pk: "Pakistan",
pl: "Poljska",
pm: "Saint-Pierre-et-Miquelon",
pr: "Portoriko",
ps: "Palestinsko područje",
pt: "Portugal",
pw: "Palau",
py: "Paragvaj",
qa: "Katar",
re: "Réunion",
ro: "Rumunjska",
rs: "Srbija",
ru: "Rusija",
rw: "Ruanda",
sa: "Saudijska Arabija",
sb: "Salomonski Otoci",
sc: "Sejšeli",
sd: "Sudan",
se: "Švedska",
sg: "Singapur",
sh: "Sveta Helena",
si: "Slovenija",
sj: "Svalbard i Jan Mayen",
sk: "Slovačka",
sl: "Sijera Leone",
sm: "San Marino",
sn: "Senegal",
so: "Somalija",
sr: "Surinam",
ss: "Južni Sudan",
st: "Sveti Toma i Princip",
sv: "Salvador",
sx: "Sint Maarten",
sy: "Sirija",
sz: "Esvatini",
tc: "Otoci Turks i Caicos",
td: "Čad",
tg: "Togo",
th: "Tajland",
tj: "Tadžikistan",
tk: "Tokelau",
tl: "Timor-Leste",
tm: "Turkmenistan",
tn: "Tunis",
to: "Tonga",
tr: "Turska",
tt: "Trinidad i Tobago",
tv: "Tuvalu",
tw: "Tajvan",
tz: "Tanzanija",
ua: "Ukrajina",
ug: "Uganda",
us: "Sjedinjene Američke Države",
uy: "Urugvaj",
uz: "Uzbekistan",
va: "Vatikanski Grad",
vc: "Sveti Vincent i Grenadini",
ve: "Venezuela",
vg: "Britanski Djevičanski otoci",
vi: "Američki Djevičanski otoci",
vn: "Vijetnam",
vu: "Vanuatu",
wf: "Wallis i Futuna",
ws: "Samoa",
ye: "Jemen",
yt: "Mayotte",
za: "Južnoafrička Republika",
zm: "Zambija",
zw: "Zimbabve"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Odabrana zemlja",
noCountrySelected: "Zemlja nije odabrana",
countryListAriaLabel: "Lista zemalja",
searchPlaceholder: "Pretraži",
zeroSearchResults: "Nema pronađenih rezultata",
oneSearchResult: "Pronađen 1 rezultat",
multipleSearchResults: "${count} rezultata pronađeno",
// additional countries (not supported by country-list library)
ac: "Ascension",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "Egyesült Arab Emírségek",
af: "Afganisztán",
ag: "Antigua és Barbuda",
ai: "Anguilla",
al: "Albánia",
am: "Örményország",
ao: "Angola",
ar: "Argentína",
as: "Amerikai Szamoa",
at: "Ausztria",
au: "Ausztrália",
aw: "Aruba",
ax: "Åland-szigetek",
az: "Azerbajdzsán",
ba: "Bosznia-Hercegovina",
bb: "Barbados",
bd: "Banglades",
be: "Belgium",
bf: "Burkina Faso",
bg: "Bulgária",
bh: "Bahrein",
bi: "Burundi",
bj: "Benin",
bl: "Saint-Barthélemy",
bm: "Bermuda",
bn: "Brunei",
bo: "Bolívia",
bq: "Holland Karib-térség",
br: "Brazília",
bs: "Bahama-szigetek",
bt: "Bhután",
bw: "Botswana",
by: "Belarusz",
bz: "Belize",
ca: "Kanada",
cc: "Kókusz (Keeling)-szigetek",
cd: "Kongó - Kinshasa",
cf: "Közép-afrikai Köztársaság",
cg: "Kongó - Brazzaville",
ch: "Svájc",
ci: "Elefántcsontpart",
ck: "Cook-szigetek",
cl: "Chile",
cm: "Kamerun",
cn: "Kína",
co: "Kolumbia",
cr: "Costa Rica",
cu: "Kuba",
cv: "Zöld-foki Köztársaság",
cw: "Curaçao",
cx: "Karácsony-sziget",
cy: "Ciprus",
cz: "Csehország",
de: "Németország",
dj: "Dzsibuti",
dk: "Dánia",
dm: "Dominika",
do: "Dominikai Köztársaság",
dz: "Algéria",
ec: "Ecuador",
ee: "Észtország",
eg: "Egyiptom",
eh: "Nyugat-Szahara",
er: "Eritrea",
es: "Spanyolország",
et: "Etiópia",
fi: "Finnország",
fj: "Fidzsi",
fk: "Falkland-szigetek",
fm: "Mikronézia",
fo: "Feröer szigetek",
fr: "Franciaország",
ga: "Gabon",
gb: "Egyesült Királyság",
gd: "Grenada",
ge: "Grúzia",
gf: "Francia Guyana",
gg: "Guernsey",
gh: "Ghána",
gi: "Gibraltár",
gl: "Grönland",
gm: "Gambia",
gn: "Guinea",
gp: "Guadeloupe",
gq: "Egyenlítői-Guinea",
gr: "Görögország",
gt: "Guatemala",
gu: "Guam",
gw: "Bissau-Guinea",
gy: "Guyana",
hk: "Hongkong KKT",
hn: "Honduras",
hr: "Horvátország",
ht: "Haiti",
hu: "Magyarország",
id: "Indonézia",
ie: "Írország",
il: "Izrael",
im: "Man-sziget",
in: "India",
io: "Brit Indiai-óceáni Terület",
iq: "Irak",
ir: "Irán",
is: "Izland",
it: "Olaszország",
je: "Jersey",
jm: "Jamaica",
jo: "Jordánia",
jp: "Japán",
ke: "Kenya",
kg: "Kirgizisztán",
kh: "Kambodzsa",
ki: "Kiribati",
km: "Comore-szigetek",
kn: "Saint Kitts és Nevis",
kp: "Észak-Korea",
kr: "Dél-Korea",
kw: "Kuvait",
ky: "Kajmán-szigetek",
kz: "Kazahsztán",
la: "Laosz",
lb: "Libanon",
lc: "Saint Lucia",
li: "Liechtenstein",
lk: "Srí Lanka",
lr: "Libéria",
ls: "Lesotho",
lt: "Litvánia",
lu: "Luxemburg",
lv: "Lettország",
ly: "Líbia",
ma: "Marokkó",
mc: "Monaco",
md: "Moldova",
me: "Montenegró",
mf: "Saint Martin",
mg: "Madagaszkár",
mh: "Marshall-szigetek",
mk: "Észak-Macedónia",
ml: "Mali",
mm: "Mianmar",
mn: "Mongólia",
mo: "Makaó KKT",
mp: "Északi Mariana-szigetek",
mq: "Martinique",
mr: "Mauritánia",
ms: "Montserrat",
mt: "Málta",
mu: "Mauritius",
mv: "Maldív-szigetek",
mw: "Malawi",
mx: "Mexikó",
my: "Malajzia",
mz: "Mozambik",
na: "Namíbia",
nc: "Új-Kaledónia",
ne: "Niger",
nf: "Norfolk-sziget",
ng: "Nigéria",
ni: "Nicaragua",
nl: "Hollandia",
no: "Norvégia",
np: "Nepál",
nr: "Nauru",
nu: "Niue",
nz: "Új-Zéland",
om: "Omán",
pa: "Panama",
pe: "Peru",
pf: "Francia Polinézia",
pg: "Pápua Új-Guinea",
ph: "Fülöp-szigetek",
pk: "Pakisztán",
pl: "Lengyelország",
pm: "Saint-Pierre és Miquelon",
pr: "Puerto Rico",
ps: "Palesztin Terület",
pt: "Portugália",
pw: "Palau",
py: "Paraguay",
qa: "Katar",
re: "Réunion",
ro: "Románia",
rs: "Szerbia",
ru: "Oroszország",
rw: "Ruanda",
sa: "Szaúd-Arábia",
sb: "Salamon-szigetek",
sc: "Seychelle-szigetek",
sd: "Szudán",
se: "Svédország",
sg: "Szingapúr",
sh: "Szent Ilona",
si: "Szlovénia",
sj: "Svalbard és Jan Mayen",
sk: "Szlovákia",
sl: "Sierra Leone",
sm: "San Marino",
sn: "Szenegál",
so: "Szomália",
sr: "Suriname",
ss: "Dél-Szudán",
st: "São Tomé és Príncipe",
sv: "Salvador",
sx: "Sint Maarten",
sy: "Szíria",
sz: "Szváziföld",
tc: "Turks- és Caicos-szigetek",
td: "Csád",
tg: "Togo",
th: "Thaiföld",
tj: "Tádzsikisztán",
tk: "Tokelau",
tl: "Kelet-Timor",
tm: "Türkmenisztán",
tn: "Tunézia",
to: "Tonga",
tr: "Törökország",
tt: "Trinidad és Tobago",
tv: "Tuvalu",
tw: "Tajvan",
tz: "Tanzánia",
ua: "Ukrajna",
ug: "Uganda",
us: "Egyesült Államok",
uy: "Uruguay",
uz: "Üzbegisztán",
va: "Vatikán",
vc: "Saint Vincent és a Grenadine-szigetek",
ve: "Venezuela",
vg: "Brit Virgin-szigetek",
vi: "Amerikai Virgin-szigetek",
vn: "Vietnám",
vu: "Vanuatu",
wf: "Wallis és Futuna",
ws: "Szamoa",
ye: "Jemen",
yt: "Mayotte",
za: "Dél-afrikai Köztársaság",
zm: "Zambia",
zw: "Zimbabwe"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Kiválasztott ország",
noCountrySelected: "Nincs ország kiválasztva",
countryListAriaLabel: "Országok listája",
searchPlaceholder: "Keresés",
zeroSearchResults: "Nincs találat",
oneSearchResult: "1 találat",
multipleSearchResults: "${count} találat",
// additional countries (not supported by country-list library)
ac: "Ascension-sziget",
xk: "Koszovó"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "Uni Emirat Arab",
af: "Afganistan",
ag: "Antigua dan Barbuda",
ai: "Anguilla",
al: "Albania",
am: "Armenia",
ao: "Angola",
ar: "Argentina",
as: "Samoa Amerika",
at: "Austria",
au: "Australia",
aw: "Aruba",
ax: "Kepulauan Aland",
az: "Azerbaijan",
ba: "Bosnia dan Herzegovina",
bb: "Barbados",
bd: "Bangladesh",
be: "Belgia",
bf: "Burkina Faso",
bg: "Bulgaria",
bh: "Bahrain",
bi: "Burundi",
bj: "Benin",
bl: "Saint Barthélemy",
bm: "Bermuda",
bn: "Brunei",
bo: "Bolivia",
bq: "Belanda Karibia",
br: "Brasil",
bs: "Bahama",
bt: "Bhutan",
bw: "Botswana",
by: "Belarus",
bz: "Belize",
ca: "Kanada",
cc: "Kepulauan Cocos (Keeling)",
cd: "Kongo - Kinshasa",
cf: "Republik Afrika Tengah",
cg: "Kongo - Brazzaville",
ch: "Swiss",
ci: "Côte dIvoire",
ck: "Kepulauan Cook",
cl: "Cile",
cm: "Kamerun",
cn: "Tiongkok",
co: "Kolombia",
cr: "Kosta Rika",
cu: "Kuba",
cv: "Tanjung Verde",
cw: "Curaçao",
cx: "Pulau Natal",
cy: "Siprus",
cz: "Ceko",
de: "Jerman",
dj: "Jibuti",
dk: "Denmark",
dm: "Dominika",
do: "Republik Dominika",
dz: "Aljazair",
ec: "Ekuador",
ee: "Estonia",
eg: "Mesir",
eh: "Sahara Barat",
er: "Eritrea",
es: "Spanyol",
et: "Etiopia",
fi: "Finlandia",
fj: "Fiji",
fk: "Kepulauan Falkland",
fm: "Mikronesia",
fo: "Kepulauan Faroe",
fr: "Prancis",
ga: "Gabon",
gb: "Inggris Raya",
gd: "Grenada",
ge: "Georgia",
gf: "Guyana Prancis",
gg: "Guernsey",
gh: "Ghana",
gi: "Gibraltar",
gl: "Grinlandia",
gm: "Gambia",
gn: "Guinea",
gp: "Guadeloupe",
gq: "Guinea Ekuatorial",
gr: "Yunani",
gt: "Guatemala",
gu: "Guam",
gw: "Guinea-Bissau",
gy: "Guyana",
hk: "Hong Kong DAK Tiongkok",
hn: "Honduras",
hr: "Kroasia",
ht: "Haiti",
hu: "Hungaria",
id: "Indonesia",
ie: "Irlandia",
il: "Israel",
im: "Pulau Man",
in: "India",
io: "Wilayah Inggris di Samudra Hindia",
iq: "Irak",
ir: "Iran",
is: "Islandia",
it: "Italia",
je: "Jersey",
jm: "Jamaika",
jo: "Yordania",
jp: "Jepang",
ke: "Kenya",
kg: "Kirgistan",
kh: "Kamboja",
ki: "Kiribati",
km: "Komoro",
kn: "Saint Kitts dan Nevis",
kp: "Korea Utara",
kr: "Korea Selatan",
kw: "Kuwait",
ky: "Kepulauan Cayman",
kz: "Kazakstan",
la: "Laos",
lb: "Lebanon",
lc: "Saint Lucia",
li: "Liechtenstein",
lk: "Sri Lanka",
lr: "Liberia",
ls: "Lesotho",
lt: "Lituania",
lu: "Luksemburg",
lv: "Latvia",
ly: "Libia",
ma: "Maroko",
mc: "Monako",
md: "Moldova",
me: "Montenegro",
mf: "Saint Martin",
mg: "Madagaskar",
mh: "Kepulauan Marshall",
mk: "Makedonia Utara",
ml: "Mali",
mm: "Myanmar (Burma)",
mn: "Mongolia",
mo: "Makau DAK Tiongkok",
mp: "Kepulauan Mariana Utara",
mq: "Martinik",
mr: "Mauritania",
ms: "Montserrat",
mt: "Malta",
mu: "Mauritius",
mv: "Maladewa",
mw: "Malawi",
mx: "Meksiko",
my: "Malaysia",
mz: "Mozambik",
na: "Namibia",
nc: "Kaledonia Baru",
ne: "Niger",
nf: "Kepulauan Norfolk",
ng: "Nigeria",
ni: "Nikaragua",
nl: "Belanda",
no: "Norwegia",
np: "Nepal",
nr: "Nauru",
nu: "Niue",
nz: "Selandia Baru",
om: "Oman",
pa: "Panama",
pe: "Peru",
pf: "Polinesia Prancis",
pg: "Papua Nugini",
ph: "Filipina",
pk: "Pakistan",
pl: "Polandia",
pm: "Saint Pierre dan Miquelon",
pr: "Puerto Riko",
ps: "Wilayah Palestina",
pt: "Portugal",
pw: "Palau",
py: "Paraguay",
qa: "Qatar",
re: "Réunion",
ro: "Rumania",
rs: "Serbia",
ru: "Rusia",
rw: "Rwanda",
sa: "Arab Saudi",
sb: "Kepulauan Solomon",
sc: "Seychelles",
sd: "Sudan",
se: "Swedia",
sg: "Singapura",
sh: "Saint Helena",
si: "Slovenia",
sj: "Kepulauan Svalbard dan Jan Mayen",
sk: "Slovakia",
sl: "Sierra Leone",
sm: "San Marino",
sn: "Senegal",
so: "Somalia",
sr: "Suriname",
ss: "Sudan Selatan",
st: "Sao Tome dan Principe",
sv: "El Salvador",
sx: "Sint Maarten",
sy: "Suriah",
sz: "eSwatini",
tc: "Kepulauan Turks dan Caicos",
td: "Cad",
tg: "Togo",
th: "Thailand",
tj: "Tajikistan",
tk: "Tokelau",
tl: "Timor Leste",
tm: "Turkimenistan",
tn: "Tunisia",
to: "Tonga",
tr: "Turki",
tt: "Trinidad dan Tobago",
tv: "Tuvalu",
tw: "Taiwan",
tz: "Tanzania",
ua: "Ukraina",
ug: "Uganda",
us: "Amerika Serikat",
uy: "Uruguay",
uz: "Uzbekistan",
va: "Vatikan",
vc: "Saint Vincent dan Grenadine",
ve: "Venezuela",
vg: "Kepulauan Virgin Britania Raya",
vi: "Kepulauan Virgin Amerika Serikat",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Kepulauan Wallis dan Futuna",
ws: "Samoa",
ye: "Yaman",
yt: "Mayotte",
za: "Afrika Selatan",
zm: "Zambia",
zw: "Zimbabwe"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Negara yang dipilih",
noCountrySelected: "Tidak ada negara yang dipilih",
countryListAriaLabel: "Daftar negara",
searchPlaceholder: "Mencari",
zeroSearchResults: "Tidak ada hasil yang ditemukan",
oneSearchResult: "1 hasil ditemukan",
multipleSearchResults: "${count} hasil ditemukan",
// additional countries (not supported by country-list library)
ac: "Pulau Kenaikan",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,37 +0,0 @@
export { default as ar, countryTranslations as arCountryTranslations, interfaceTranslations as arInterfaceTranslations } from "./ar";
export { default as bg, countryTranslations as bgCountryTranslations, interfaceTranslations as bgInterfaceTranslations } from "./bg";
export { default as bn, countryTranslations as bnCountryTranslations, interfaceTranslations as bnInterfaceTranslations } from "./bn";
export { default as bs, countryTranslations as bsCountryTranslations, interfaceTranslations as bsInterfaceTranslations } from "./bs";
export { default as ca, countryTranslations as caCountryTranslations, interfaceTranslations as caInterfaceTranslations } from "./ca";
export { default as cs, countryTranslations as csCountryTranslations, interfaceTranslations as csInterfaceTranslations } from "./cs";
export { default as da, countryTranslations as daCountryTranslations, interfaceTranslations as daInterfaceTranslations } from "./da";
export { default as de, countryTranslations as deCountryTranslations, interfaceTranslations as deInterfaceTranslations } from "./de";
export { default as el, countryTranslations as elCountryTranslations, interfaceTranslations as elInterfaceTranslations } from "./el";
export { default as en, countryTranslations as enCountryTranslations, interfaceTranslations as enInterfaceTranslations } from "./en";
export { default as es, countryTranslations as esCountryTranslations, interfaceTranslations as esInterfaceTranslations } from "./es";
export { default as fa, countryTranslations as faCountryTranslations, interfaceTranslations as faInterfaceTranslations } from "./fa";
export { default as fi, countryTranslations as fiCountryTranslations, interfaceTranslations as fiInterfaceTranslations } from "./fi";
export { default as fr, countryTranslations as frCountryTranslations, interfaceTranslations as frInterfaceTranslations } from "./fr";
export { default as hi, countryTranslations as hiCountryTranslations, interfaceTranslations as hiInterfaceTranslations } from "./hi";
export { default as hr, countryTranslations as hrCountryTranslations, interfaceTranslations as hrInterfaceTranslations } from "./hr";
export { default as hu, countryTranslations as huCountryTranslations, interfaceTranslations as huInterfaceTranslations } from "./hu";
export { default as id, countryTranslations as idCountryTranslations, interfaceTranslations as idInterfaceTranslations } from "./id";
export { default as it, countryTranslations as itCountryTranslations, interfaceTranslations as itInterfaceTranslations } from "./it";
export { default as ja, countryTranslations as jaCountryTranslations, interfaceTranslations as jaInterfaceTranslations } from "./ja";
export { default as ko, countryTranslations as koCountryTranslations, interfaceTranslations as koInterfaceTranslations } from "./ko";
export { default as mr, countryTranslations as mrCountryTranslations, interfaceTranslations as mrInterfaceTranslations } from "./mr";
export { default as nl, countryTranslations as nlCountryTranslations, interfaceTranslations as nlInterfaceTranslations } from "./nl";
export { default as no, countryTranslations as noCountryTranslations, interfaceTranslations as noInterfaceTranslations } from "./no";
export { default as pl, countryTranslations as plCountryTranslations, interfaceTranslations as plInterfaceTranslations } from "./pl";
export { default as pt, countryTranslations as ptCountryTranslations, interfaceTranslations as ptInterfaceTranslations } from "./pt";
export { default as ro, countryTranslations as roCountryTranslations, interfaceTranslations as roInterfaceTranslations } from "./ro";
export { default as ru, countryTranslations as ruCountryTranslations, interfaceTranslations as ruInterfaceTranslations } from "./ru";
export { default as sk, countryTranslations as skCountryTranslations, interfaceTranslations as skInterfaceTranslations } from "./sk";
export { default as sv, countryTranslations as svCountryTranslations, interfaceTranslations as svInterfaceTranslations } from "./sv";
export { default as te, countryTranslations as teCountryTranslations, interfaceTranslations as teInterfaceTranslations } from "./te";
export { default as th, countryTranslations as thCountryTranslations, interfaceTranslations as thInterfaceTranslations } from "./th";
export { default as tr, countryTranslations as trCountryTranslations, interfaceTranslations as trInterfaceTranslations } from "./tr";
export { default as uk, countryTranslations as ukCountryTranslations, interfaceTranslations as ukInterfaceTranslations } from "./uk";
export { default as ur, countryTranslations as urCountryTranslations, interfaceTranslations as urInterfaceTranslations } from "./ur";
export { default as vi, countryTranslations as viCountryTranslations, interfaceTranslations as viInterfaceTranslations } from "./vi";
export { default as zh, countryTranslations as zhCountryTranslations, interfaceTranslations as zhInterfaceTranslations } from "./zh";

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "Andorra",
ae: "Emirati Arabi Uniti",
af: "Afghanistan",
ag: "Antigua e Barbuda",
ai: "Anguilla",
al: "Albania",
am: "Armenia",
ao: "Angola",
ar: "Argentina",
as: "Samoa americane",
at: "Austria",
au: "Australia",
aw: "Aruba",
ax: "Isole Åland",
az: "Azerbaigian",
ba: "Bosnia ed Erzegovina",
bb: "Barbados",
bd: "Bangladesh",
be: "Belgio",
bf: "Burkina Faso",
bg: "Bulgaria",
bh: "Bahrein",
bi: "Burundi",
bj: "Benin",
bl: "Saint-Barthélemy",
bm: "Bermuda",
bn: "Brunei",
bo: "Bolivia",
bq: "Caraibi olandesi",
br: "Brasile",
bs: "Bahamas",
bt: "Bhutan",
bw: "Botswana",
by: "Bielorussia",
bz: "Belize",
ca: "Canada",
cc: "Isole Cocos (Keeling)",
cd: "Congo - Kinshasa",
cf: "Repubblica Centrafricana",
cg: "Congo-Brazzaville",
ch: "Svizzera",
ci: "Costa dAvorio",
ck: "Isole Cook",
cl: "Cile",
cm: "Camerun",
cn: "Cina",
co: "Colombia",
cr: "Costa Rica",
cu: "Cuba",
cv: "Capo Verde",
cw: "Curaçao",
cx: "Isola Christmas",
cy: "Cipro",
cz: "Cechia",
de: "Germania",
dj: "Gibuti",
dk: "Danimarca",
dm: "Dominica",
do: "Repubblica Dominicana",
dz: "Algeria",
ec: "Ecuador",
ee: "Estonia",
eg: "Egitto",
eh: "Sahara occidentale",
er: "Eritrea",
es: "Spagna",
et: "Etiopia",
fi: "Finlandia",
fj: "Figi",
fk: "Isole Falkland",
fm: "Micronesia",
fo: "Isole Fær Øer",
fr: "Francia",
ga: "Gabon",
gb: "Regno Unito",
gd: "Grenada",
ge: "Georgia",
gf: "Guyana francese",
gg: "Guernsey",
gh: "Ghana",
gi: "Gibilterra",
gl: "Groenlandia",
gm: "Gambia",
gn: "Guinea",
gp: "Guadalupa",
gq: "Guinea Equatoriale",
gr: "Grecia",
gt: "Guatemala",
gu: "Guam",
gw: "Guinea-Bissau",
gy: "Guyana",
hk: "RAS di Hong Kong",
hn: "Honduras",
hr: "Croazia",
ht: "Haiti",
hu: "Ungheria",
id: "Indonesia",
ie: "Irlanda",
il: "Israele",
im: "Isola di Man",
in: "India",
io: "Territorio britannico dellOceano Indiano",
iq: "Iraq",
ir: "Iran",
is: "Islanda",
it: "Italia",
je: "Jersey",
jm: "Giamaica",
jo: "Giordania",
jp: "Giappone",
ke: "Kenya",
kg: "Kirghizistan",
kh: "Cambogia",
ki: "Kiribati",
km: "Comore",
kn: "Saint Kitts e Nevis",
kp: "Corea del Nord",
kr: "Corea del Sud",
kw: "Kuwait",
ky: "Isole Cayman",
kz: "Kazakistan",
la: "Laos",
lb: "Libano",
lc: "Saint Lucia",
li: "Liechtenstein",
lk: "Sri Lanka",
lr: "Liberia",
ls: "Lesotho",
lt: "Lituania",
lu: "Lussemburgo",
lv: "Lettonia",
ly: "Libia",
ma: "Marocco",
mc: "Monaco",
md: "Moldavia",
me: "Montenegro",
mf: "Saint Martin",
mg: "Madagascar",
mh: "Isole Marshall",
mk: "Macedonia del Nord",
ml: "Mali",
mm: "Myanmar (Birmania)",
mn: "Mongolia",
mo: "RAS di Macao",
mp: "Isole Marianne settentrionali",
mq: "Martinica",
mr: "Mauritania",
ms: "Montserrat",
mt: "Malta",
mu: "Mauritius",
mv: "Maldive",
mw: "Malawi",
mx: "Messico",
my: "Malaysia",
mz: "Mozambico",
na: "Namibia",
nc: "Nuova Caledonia",
ne: "Niger",
nf: "Isola Norfolk",
ng: "Nigeria",
ni: "Nicaragua",
nl: "Paesi Bassi",
no: "Norvegia",
np: "Nepal",
nr: "Nauru",
nu: "Niue",
nz: "Nuova Zelanda",
om: "Oman",
pa: "Panamá",
pe: "Perù",
pf: "Polinesia francese",
pg: "Papua Nuova Guinea",
ph: "Filippine",
pk: "Pakistan",
pl: "Polonia",
pm: "Saint-Pierre e Miquelon",
pr: "Portorico",
ps: "Territori palestinesi",
pt: "Portogallo",
pw: "Palau",
py: "Paraguay",
qa: "Qatar",
re: "Riunione",
ro: "Romania",
rs: "Serbia",
ru: "Russia",
rw: "Ruanda",
sa: "Arabia Saudita",
sb: "Isole Salomone",
sc: "Seychelles",
sd: "Sudan",
se: "Svezia",
sg: "Singapore",
sh: "SantElena",
si: "Slovenia",
sj: "Svalbard e Jan Mayen",
sk: "Slovacchia",
sl: "Sierra Leone",
sm: "San Marino",
sn: "Senegal",
so: "Somalia",
sr: "Suriname",
ss: "Sud Sudan",
st: "São Tomé e Príncipe",
sv: "El Salvador",
sx: "Sint Maarten",
sy: "Siria",
sz: "Swaziland",
tc: "Isole Turks e Caicos",
td: "Ciad",
tg: "Togo",
th: "Thailandia",
tj: "Tagikistan",
tk: "Tokelau",
tl: "Timor Est",
tm: "Turkmenistan",
tn: "Tunisia",
to: "Tonga",
tr: "Turchia",
tt: "Trinidad e Tobago",
tv: "Tuvalu",
tw: "Taiwan",
tz: "Tanzania",
ua: "Ucraina",
ug: "Uganda",
us: "Stati Uniti",
uy: "Uruguay",
uz: "Uzbekistan",
va: "Città del Vaticano",
vc: "Saint Vincent e Grenadine",
ve: "Venezuela",
vg: "Isole Vergini Britanniche",
vi: "Isole Vergini Americane",
vn: "Vietnam",
vu: "Vanuatu",
wf: "Wallis e Futuna",
ws: "Samoa",
ye: "Yemen",
yt: "Mayotte",
za: "Sudafrica",
zm: "Zambia",
zw: "Zimbabwe"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "Paese selezionato",
noCountrySelected: "Nessun paese selezionato",
countryListAriaLabel: "Elenco dei paesi",
searchPlaceholder: "Ricerca",
zeroSearchResults: "Nessun risultato trovato",
oneSearchResult: "1 risultato trovato",
multipleSearchResults: "${count} risultati trovati",
// additional countries (not supported by country-list library)
ac: "Isola di Ascensione",
xk: "Kosovo"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "アンドラ",
ae: "アラブ首長国連邦",
af: "アフガニスタン",
ag: "アンティグア・バーブーダ",
ai: "アンギラ",
al: "アルバニア",
am: "アルメニア",
ao: "アンゴラ",
ar: "アルゼンチン",
as: "米領サモア",
at: "オーストリア",
au: "オーストラリア",
aw: "アルバ",
ax: "オーランド諸島",
az: "アゼルバイジャン",
ba: "ボスニア・ヘルツェゴビナ",
bb: "バルバドス",
bd: "バングラデシュ",
be: "ベルギー",
bf: "ブルキナファソ",
bg: "ブルガリア",
bh: "バーレーン",
bi: "ブルンジ",
bj: "ベナン",
bl: "サン・バルテルミー",
bm: "バミューダ",
bn: "ブルネイ",
bo: "ボリビア",
bq: "オランダ領カリブ",
br: "ブラジル",
bs: "バハマ",
bt: "ブータン",
bw: "ボツワナ",
by: "ベラルーシ",
bz: "ベリーズ",
ca: "カナダ",
cc: "ココス(キーリング)諸島",
cd: "コンゴ民主共和国(キンシャサ)",
cf: "中央アフリカ共和国",
cg: "コンゴ共和国(ブラザビル)",
ch: "スイス",
ci: "コートジボワール",
ck: "クック諸島",
cl: "チリ",
cm: "カメルーン",
cn: "中国",
co: "コロンビア",
cr: "コスタリカ",
cu: "キューバ",
cv: "カーボベルデ",
cw: "キュラソー",
cx: "クリスマス島",
cy: "キプロス",
cz: "チェコ",
de: "ドイツ",
dj: "ジブチ",
dk: "デンマーク",
dm: "ドミニカ国",
do: "ドミニカ共和国",
dz: "アルジェリア",
ec: "エクアドル",
ee: "エストニア",
eg: "エジプト",
eh: "西サハラ",
er: "エリトリア",
es: "スペイン",
et: "エチオピア",
fi: "フィンランド",
fj: "フィジー",
fk: "フォークランド諸島",
fm: "ミクロネシア連邦",
fo: "フェロー諸島",
fr: "フランス",
ga: "ガボン",
gb: "イギリス",
gd: "グレナダ",
ge: "ジョージア",
gf: "仏領ギアナ",
gg: "ガーンジー",
gh: "ガーナ",
gi: "ジブラルタル",
gl: "グリーンランド",
gm: "ガンビア",
gn: "ギニア",
gp: "グアドループ",
gq: "赤道ギニア",
gr: "ギリシャ",
gt: "グアテマラ",
gu: "グアム",
gw: "ギニアビサウ",
gy: "ガイアナ",
hk: "中華人民共和国香港特別行政区",
hn: "ホンジュラス",
hr: "クロアチア",
ht: "ハイチ",
hu: "ハンガリー",
id: "インドネシア",
ie: "アイルランド",
il: "イスラエル",
im: "マン島",
in: "インド",
io: "英領インド洋地域",
iq: "イラク",
ir: "イラン",
is: "アイスランド",
it: "イタリア",
je: "ジャージー",
jm: "ジャマイカ",
jo: "ヨルダン",
jp: "日本",
ke: "ケニア",
kg: "キルギス",
kh: "カンボジア",
ki: "キリバス",
km: "コモロ",
kn: "セントクリストファー・ネーヴィス",
kp: "北朝鮮",
kr: "韓国",
kw: "クウェート",
ky: "ケイマン諸島",
kz: "カザフスタン",
la: "ラオス",
lb: "レバノン",
lc: "セントルシア",
li: "リヒテンシュタイン",
lk: "スリランカ",
lr: "リベリア",
ls: "レソト",
lt: "リトアニア",
lu: "ルクセンブルク",
lv: "ラトビア",
ly: "リビア",
ma: "モロッコ",
mc: "モナコ",
md: "モルドバ",
me: "モンテネグロ",
mf: "サン・マルタン",
mg: "マダガスカル",
mh: "マーシャル諸島",
mk: "北マケドニア",
ml: "マリ",
mm: "ミャンマー (ビルマ)",
mn: "モンゴル",
mo: "中華人民共和国マカオ特別行政区",
mp: "北マリアナ諸島",
mq: "マルティニーク",
mr: "モーリタニア",
ms: "モントセラト",
mt: "マルタ",
mu: "モーリシャス",
mv: "モルディブ",
mw: "マラウイ",
mx: "メキシコ",
my: "マレーシア",
mz: "モザンビーク",
na: "ナミビア",
nc: "ニューカレドニア",
ne: "ニジェール",
nf: "ノーフォーク島",
ng: "ナイジェリア",
ni: "ニカラグア",
nl: "オランダ",
no: "ノルウェー",
np: "ネパール",
nr: "ナウル",
nu: "ニウエ",
nz: "ニュージーランド",
om: "オマーン",
pa: "パナマ",
pe: "ペルー",
pf: "仏領ポリネシア",
pg: "パプアニューギニア",
ph: "フィリピン",
pk: "パキスタン",
pl: "ポーランド",
pm: "サンピエール島・ミクロン島",
pr: "プエルトリコ",
ps: "パレスチナ自治区",
pt: "ポルトガル",
pw: "パラオ",
py: "パラグアイ",
qa: "カタール",
re: "レユニオン",
ro: "ルーマニア",
rs: "セルビア",
ru: "ロシア",
rw: "ルワンダ",
sa: "サウジアラビア",
sb: "ソロモン諸島",
sc: "セーシェル",
sd: "スーダン",
se: "スウェーデン",
sg: "シンガポール",
sh: "セントヘレナ",
si: "スロベニア",
sj: "スバールバル諸島・ヤンマイエン島",
sk: "スロバキア",
sl: "シエラレオネ",
sm: "サンマリノ",
sn: "セネガル",
so: "ソマリア",
sr: "スリナム",
ss: "南スーダン",
st: "サントメ・プリンシペ",
sv: "エルサルバドル",
sx: "シント・マールテン",
sy: "シリア",
sz: "エスワティニ",
tc: "タークス・カイコス諸島",
td: "チャド",
tg: "トーゴ",
th: "タイ",
tj: "タジキスタン",
tk: "トケラウ",
tl: "東ティモール",
tm: "トルクメニスタン",
tn: "チュニジア",
to: "トンガ",
tr: "トルコ",
tt: "トリニダード・トバゴ",
tv: "ツバル",
tw: "台湾",
tz: "タンザニア",
ua: "ウクライナ",
ug: "ウガンダ",
us: "アメリカ合衆国",
uy: "ウルグアイ",
uz: "ウズベキスタン",
va: "バチカン市国",
vc: "セントビンセント及びグレナディーン諸島",
ve: "ベネズエラ",
vg: "英領ヴァージン諸島",
vi: "米領ヴァージン諸島",
vn: "ベトナム",
vu: "バヌアツ",
wf: "ウォリス・フツナ",
ws: "サモア",
ye: "イエメン",
yt: "マヨット",
za: "南アフリカ",
zm: "ザンビア",
zw: "ジンバブエ"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "選択した国",
noCountrySelected: "国が選択されていません",
countryListAriaLabel: "国のリスト",
searchPlaceholder: "検索",
zeroSearchResults: "結果が見つかりません",
oneSearchResult: "1 件の結果が見つかりました",
multipleSearchResults: "${count} 件の結果が見つかりました",
// additional countries (not supported by country-list library)
ac: "アセンション島",
xk: "コソボ"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "안도라",
ae: "아랍에미리트",
af: "아프가니스탄",
ag: "앤티가 바부다",
ai: "앵귈라",
al: "알바니아",
am: "아르메니아",
ao: "앙골라",
ar: "아르헨티나",
as: "아메리칸 사모아",
at: "오스트리아",
au: "오스트레일리아",
aw: "아루바",
ax: "올란드 제도",
az: "아제르바이잔",
ba: "보스니아 헤르체고비나",
bb: "바베이도스",
bd: "방글라데시",
be: "벨기에",
bf: "부르키나파소",
bg: "불가리아",
bh: "바레인",
bi: "부룬디",
bj: "베냉",
bl: "생바르텔레미",
bm: "버뮤다",
bn: "브루나이",
bo: "볼리비아",
bq: "네덜란드령 카리브",
br: "브라질",
bs: "바하마",
bt: "부탄",
bw: "보츠와나",
by: "벨라루스",
bz: "벨리즈",
ca: "캐나다",
cc: "코코스 제도",
cd: "콩고-킨샤사",
cf: "중앙 아프리카 공화국",
cg: "콩고-브라자빌",
ch: "스위스",
ci: "코트디부아르",
ck: "쿡 제도",
cl: "칠레",
cm: "카메룬",
cn: "중국",
co: "콜롬비아",
cr: "코스타리카",
cu: "쿠바",
cv: "카보베르데",
cw: "퀴라소",
cx: "크리스마스섬",
cy: "키프로스",
cz: "체코",
de: "독일",
dj: "지부티",
dk: "덴마크",
dm: "도미니카",
do: "도미니카 공화국",
dz: "알제리",
ec: "에콰도르",
ee: "에스토니아",
eg: "이집트",
eh: "서사하라",
er: "에리트리아",
es: "스페인",
et: "에티오피아",
fi: "핀란드",
fj: "피지",
fk: "포클랜드 제도",
fm: "미크로네시아",
fo: "페로 제도",
fr: "프랑스",
ga: "가봉",
gb: "영국",
gd: "그레나다",
ge: "조지아",
gf: "프랑스령 기아나",
gg: "건지",
gh: "가나",
gi: "지브롤터",
gl: "그린란드",
gm: "감비아",
gn: "기니",
gp: "과들루프",
gq: "적도 기니",
gr: "그리스",
gt: "과테말라",
gu: "괌",
gw: "기니비사우",
gy: "가이아나",
hk: "홍콩(중국 특별행정구)",
hn: "온두라스",
hr: "크로아티아",
ht: "아이티",
hu: "헝가리",
id: "인도네시아",
ie: "아일랜드",
il: "이스라엘",
im: "맨 섬",
in: "인도",
io: "영국령 인도양 식민지",
iq: "이라크",
ir: "이란",
is: "아이슬란드",
it: "이탈리아",
je: "저지",
jm: "자메이카",
jo: "요르단",
jp: "일본",
ke: "케냐",
kg: "키르기스스탄",
kh: "캄보디아",
ki: "키리바시",
km: "코모로",
kn: "세인트키츠 네비스",
kp: "북한",
kr: "대한민국",
kw: "쿠웨이트",
ky: "케이맨 제도",
kz: "카자흐스탄",
la: "라오스",
lb: "레바논",
lc: "세인트루시아",
li: "리히텐슈타인",
lk: "스리랑카",
lr: "라이베리아",
ls: "레소토",
lt: "리투아니아",
lu: "룩셈부르크",
lv: "라트비아",
ly: "리비아",
ma: "모로코",
mc: "모나코",
md: "몰도바",
me: "몬테네그로",
mf: "생마르탱",
mg: "마다가스카르",
mh: "마셜 제도",
mk: "북마케도니아",
ml: "말리",
mm: "미얀마",
mn: "몽골",
mo: "마카오(중국 특별행정구)",
mp: "북마리아나제도",
mq: "마르티니크",
mr: "모리타니",
ms: "몬트세라트",
mt: "몰타",
mu: "모리셔스",
mv: "몰디브",
mw: "말라위",
mx: "멕시코",
my: "말레이시아",
mz: "모잠비크",
na: "나미비아",
nc: "뉴칼레도니아",
ne: "니제르",
nf: "노퍽섬",
ng: "나이지리아",
ni: "니카라과",
nl: "네덜란드",
no: "노르웨이",
np: "네팔",
nr: "나우루",
nu: "니우에",
nz: "뉴질랜드",
om: "오만",
pa: "파나마",
pe: "페루",
pf: "프랑스령 폴리네시아",
pg: "파푸아뉴기니",
ph: "필리핀",
pk: "파키스탄",
pl: "폴란드",
pm: "생피에르 미클롱",
pr: "푸에르토리코",
ps: "팔레스타인 지구",
pt: "포르투갈",
pw: "팔라우",
py: "파라과이",
qa: "카타르",
re: "리유니온",
ro: "루마니아",
rs: "세르비아",
ru: "러시아",
rw: "르완다",
sa: "사우디아라비아",
sb: "솔로몬 제도",
sc: "세이셸",
sd: "수단",
se: "스웨덴",
sg: "싱가포르",
sh: "세인트헬레나",
si: "슬로베니아",
sj: "스발바르제도-얀마웬섬",
sk: "슬로바키아",
sl: "시에라리온",
sm: "산마리노",
sn: "세네갈",
so: "소말리아",
sr: "수리남",
ss: "남수단",
st: "상투메 프린시페",
sv: "엘살바도르",
sx: "신트마르턴",
sy: "시리아",
sz: "에스와티니",
tc: "터크스 케이커스 제도",
td: "차드",
tg: "토고",
th: "태국",
tj: "타지키스탄",
tk: "토켈라우",
tl: "동티모르",
tm: "투르크메니스탄",
tn: "튀니지",
to: "통가",
tr: "터키",
tt: "트리니다드 토바고",
tv: "투발루",
tw: "대만",
tz: "탄자니아",
ua: "우크라이나",
ug: "우간다",
us: "미국",
uy: "우루과이",
uz: "우즈베키스탄",
va: "바티칸 시국",
vc: "세인트빈센트그레나딘",
ve: "베네수엘라",
vg: "영국령 버진아일랜드",
vi: "미국령 버진아일랜드",
vn: "베트남",
vu: "바누아투",
wf: "왈리스-푸투나 제도",
ws: "사모아",
ye: "예멘",
yt: "마요트",
za: "남아프리카",
zm: "잠비아",
zw: "짐바브웨"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "선택한 국가",
noCountrySelected: "선택한 국가가 없습니다.",
countryListAriaLabel: "국가 목록",
searchPlaceholder: "검색",
zeroSearchResults: "검색 결과가 없습니다",
oneSearchResult: "1개의 결과를 찾았습니다.",
multipleSearchResults: "${count}개의 결과를 찾았습니다.",
// additional countries (not supported by country-list library)
ac: "어센션섬",
xk: "코소보"
};
export default interfaceTranslations;

View File

@@ -1,245 +0,0 @@
const countryTranslations = {
ad: "अँडोरा",
ae: "संयुक्त अरब अमीरात",
af: "अफगाणिस्तान",
ag: "अँटिग्वा आणि बर्बुडा",
ai: "अँग्विला",
al: "अल्बानिया",
am: "अर्मेनिया",
ao: "अंगोला",
ar: "अर्जेंटिना",
as: "अमेरिकन सामोआ",
at: "ऑस्ट्रिया",
au: "ऑस्ट्रेलिया",
aw: "अरुबा",
ax: "अ‍ॅलँड बेटे",
az: "अझरबैजान",
ba: "बोस्निया अणि हर्जेगोविना",
bb: "बार्बाडोस",
bd: "बांगलादेश",
be: "बेल्जियम",
bf: "बुर्किना फासो",
bg: "बल्गेरिया",
bh: "बहारीन",
bi: "बुरुंडी",
bj: "बेनिन",
bl: "सेंट बार्थेलेमी",
bm: "बर्मुडा",
bn: "ब्रुनेई",
bo: "बोलिव्हिया",
bq: "कॅरिबियन नेदरलँड्स",
br: "ब्राझिल",
bs: "बहामाज",
bt: "भूतान",
bw: "बोट्सवाना",
by: "बेलारूस",
bz: "बेलिझे",
ca: "कॅनडा",
cc: "कोकोस (कीलिंग) बेटे",
cd: "काँगो - किंशासा",
cf: "केंद्रीय अफ्रिकी प्रजासत्ताक",
cg: "काँगो - ब्राझाविले",
ch: "स्वित्झर्लंड",
ci: "आयव्हरी कोस्ट",
ck: "कुक बेटे",
cl: "चिली",
cm: "कॅमेरून",
cn: "चीन",
co: "कोलम्बिया",
cr: "कोस्टा रिका",
cu: "क्यूबा",
cv: "केप व्हर्डे",
cw: "क्युरासाओ",
cx: "ख्रिसमस बेट",
cy: "सायप्रस",
cz: "झेकिया",
de: "जर्मनी",
dj: "जिबौटी",
dk: "डेन्मार्क",
dm: "डोमिनिका",
do: "डोमिनिकन प्रजासत्ताक",
dz: "अल्जीरिया",
ec: "इक्वाडोर",
ee: "एस्टोनिया",
eg: "इजिप्त",
eh: "पश्चिम सहारा",
er: "एरिट्रिया",
es: "स्पेन",
et: "इथिओपिया",
fi: "फिनलंड",
fj: "फिजी",
fk: "फॉकलंड बेटे",
fm: "मायक्रोनेशिया",
fo: "फेरो बेटे",
fr: "फ्रान्स",
ga: "गॅबॉन",
gb: "युनायटेड किंगडम",
gd: "ग्रेनेडा",
ge: "जॉर्जिया",
gf: "फ्रेंच गयाना",
gg: "ग्वेर्नसे",
gh: "घाना",
gi: "जिब्राल्टर",
gl: "ग्रीनलंड",
gm: "गाम्बिया",
gn: "गिनी",
gp: "ग्वाडेलोउपे",
gq: "इक्वेटोरियल गिनी",
gr: "ग्रीस",
gt: "ग्वाटेमाला",
gu: "गुआम",
gw: "गिनी-बिसाउ",
gy: "गयाना",
hk: "हाँगकाँग एसएआर चीन",
hn: "होंडुरास",
hr: "क्रोएशिया",
ht: "हैती",
hu: "हंगेरी",
id: "इंडोनेशिया",
ie: "आयर्लंड",
il: "इस्त्राइल",
im: "आयल ऑफ मॅन",
in: "भारत",
io: "ब्रिटिश हिंदी महासागर क्षेत्र",
iq: "इराक",
ir: "इराण",
is: "आइसलँड",
it: "इटली",
je: "जर्सी",
jm: "जमैका",
jo: "जॉर्डन",
jp: "जपान",
ke: "केनिया",
kg: "किरगिझस्तान",
kh: "कंबोडिया",
ki: "किरीबाटी",
km: "कोमोरोज",
kn: "सेंट किट्स आणि नेव्हिस",
kp: "उत्तर कोरिया",
kr: "दक्षिण कोरिया",
kw: "कुवेत",
ky: "केमन बेटे",
kz: "कझाकस्तान",
la: "लाओस",
lb: "लेबनॉन",
lc: "सेंट ल्यूसिया",
li: "लिक्टेनस्टाइन",
lk: "श्रीलंका",
lr: "लायबेरिया",
ls: "लेसोथो",
lt: "लिथुआनिया",
lu: "लक्झेंबर्ग",
lv: "लात्विया",
ly: "लिबिया",
ma: "मोरोक्को",
mc: "मोनॅको",
md: "मोल्डोव्हा",
me: "मोंटेनेग्रो",
mf: "सेंट मार्टिन",
mg: "मादागास्कर",
mh: "मार्शल बेटे",
mk: "उत्तर मॅसेडोनिया",
ml: "माली",
mm: "म्यानमार (बर्मा)",
mn: "मंगोलिया",
mo: "मकाओ एसएआर चीन",
mp: "उत्तरी मारियाना बेटे",
mq: "मार्टिनिक",
mr: "मॉरिटानिया",
ms: "मॉन्ट्सेराट",
mt: "माल्टा",
mu: "मॉरिशस",
mv: "मालदीव",
mw: "मलावी",
mx: "मेक्सिको",
my: "मलेशिया",
mz: "मोझाम्बिक",
na: "नामिबिया",
nc: "न्यू कॅलेडोनिया",
ne: "नाइजर",
nf: "नॉरफॉक बेट",
ng: "नायजेरिया",
ni: "निकाराग्वा",
nl: "नेदरलँड",
no: "नॉर्वे",
np: "नेपाळ",
nr: "नाउरू",
nu: "नीयू",
nz: "न्यूझीलंड",
om: "ओमान",
pa: "पनामा",
pe: "पेरू",
pf: "फ्रेंच पॉलिनेशिया",
pg: "पापुआ न्यू गिनी",
ph: "फिलिपिन्स",
pk: "पाकिस्तान",
pl: "पोलंड",
pm: "सेंट पियरे आणि मिक्वेलोन",
pr: "प्युएर्तो रिको",
ps: "पॅलेस्टिनियन प्रदेश",
pt: "पोर्तुगाल",
pw: "पलाऊ",
py: "पराग्वे",
qa: "कतार",
re: "रियुनियन",
ro: "रोमानिया",
rs: "सर्बिया",
ru: "रशिया",
rw: "रवांडा",
sa: "सौदी अरब",
sb: "सोलोमन बेटे",
sc: "सेशेल्स",
sd: "सुदान",
se: "स्वीडन",
sg: "सिंगापूर",
sh: "सेंट हेलेना",
si: "स्लोव्हेनिया",
sj: "स्वालबर्ड आणि जान मायेन",
sk: "स्लोव्हाकिया",
sl: "सिएरा लिओन",
sm: "सॅन मरीनो",
sn: "सेनेगल",
so: "सोमालिया",
sr: "सुरिनाम",
ss: "दक्षिण सुदान",
st: "साओ टोम आणि प्रिंसिपे",
sv: "अल साल्वाडोर",
sx: "सिंट मार्टेन",
sy: "सीरिया",
sz: "इस्वातिनी",
tc: "टर्क्स आणि कैकोस बेटे",
td: "चाड",
tg: "टोगो",
th: "थायलंड",
tj: "ताजिकिस्तान",
tk: "तोकेलाउ",
tl: "तिमोर-लेस्ते",
tm: "तुर्कमेनिस्तान",
tn: "ट्यूनिशिया",
to: "टोंगा",
tr: "तुर्की",
tt: "त्रिनिदाद आणि टोबॅगो",
tv: "टुवालु",
tw: "तैवान",
tz: "टांझानिया",
ua: "युक्रेन",
ug: "युगांडा",
us: "युनायटेड स्टेट्स",
uy: "उरुग्वे",
uz: "उझबेकिस्तान",
va: "व्हॅटिकन सिटी",
vc: "सेंट व्हिन्सेंट आणि ग्रेनडाइन्स",
ve: "व्हेनेझुएला",
vg: "ब्रिटिश व्हर्जिन बेटे",
vi: "यू.एस. व्हर्जिन बेटे",
vn: "व्हिएतनाम",
vu: "वानुआतु",
wf: "वालिस आणि फ्यूचूना",
ws: "सामोआ",
ye: "येमेन",
yt: "मायोट्टे",
za: "दक्षिण आफ्रिका",
zm: "झाम्बिया",
zw: "झिम्बाब्वे"
};
export default countryTranslations;

View File

@@ -1,5 +0,0 @@
import countryTranslations from "./countries.js";
import interfaceTranslations from "./interface.js";
export { countryTranslations, interfaceTranslations };
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
export default allTranslations;

View File

@@ -1,13 +0,0 @@
const interfaceTranslations = {
selectedCountryAriaLabel: "निवडलेला देश",
noCountrySelected: "कोणताही देश निवडलेला नाही",
countryListAriaLabel: "देशांची यादी",
searchPlaceholder: "शोधा",
zeroSearchResults: "कोणतेही परिणाम आढळले नाहीत",
oneSearchResult: "1 परिणाम आढळला",
multipleSearchResults: "${count} परिणाम आढळले",
// additional countries (not supported by country-list library)
ac: "असेन्शन बेट",
xk: "कोसोवो"
};
export default interfaceTranslations;

Some files were not shown because too many files have changed in this diff Show More