mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user