UNPKG

intl-tel-input

Version:

A JavaScript plugin for entering and validating international telephone numbers

22 lines (21 loc) 931 B
const interfaceTranslations = { selectedCountryAriaLabel: "Промени земљу, изабрано ${countryName} (${dialCode})", noCountrySelected: "Изабери земљу", countryListAriaLabel: "Листа земаља", searchPlaceholder: "Претрага", clearSearchAriaLabel: "Обриши претрагу", zeroSearchResults: "Нема резултата", searchResultsText(count) { const mod10 = count % 10; const mod100 = count % 100; if (mod10 === 1 && mod100 !== 11) { return `Пронађен ${count} резултат`; } const isFew = mod10 >= 2 && mod10 <= 4 && !(mod100 >= 12 && mod100 <= 14); return `${isFew ? "Пронађена" : "Пронађено"} ${count} резултата`; }, // additional countries (not supported by country-list library) ac: "Острво Асенсион", xk: "Косово" }; export default interfaceTranslations;