mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
27 lines
892 B
JavaScript
27 lines
892 B
JavaScript
const interfaceTranslations = {
|
|
selectedCountryAriaLabel: "Pakeisti šalį, pasirinkta ${countryName} (${dialCode})",
|
|
noCountrySelected: "Pasirinkite šalį",
|
|
countryListAriaLabel: "Šalių sąrašas",
|
|
searchPlaceholder: "Paieška",
|
|
clearSearchAriaLabel: "Išvalyti paiešką",
|
|
zeroSearchResults: "Rezultatų nerasta",
|
|
searchResultsText(count) {
|
|
if (count === 1) {
|
|
return "Rastas 1 rezultatas";
|
|
}
|
|
const mod10 = count % 10;
|
|
const mod100 = count % 100;
|
|
if (mod10 === 1 && mod100 !== 11) {
|
|
return `Rasti ${count} rezultatas`;
|
|
}
|
|
if (mod10 >= 2 && mod10 <= 9 && !(mod100 >= 11 && mod100 <= 19)) {
|
|
return `Rasti ${count} rezultatai`;
|
|
}
|
|
return `Rasta ${count} rezultatų`;
|
|
},
|
|
// additional countries (not supported by country-list library)
|
|
ac: "Dangun Žengimo sala",
|
|
xk: "Kosovas"
|
|
};
|
|
export default interfaceTranslations;
|