mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
22 lines
931 B
JavaScript
22 lines
931 B
JavaScript
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;
|