mirror of
https://github.com/itflow-org/itflow
synced 2026-09-18 04:35:12 +00:00
39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
//* Lithuanian. Translated by: ChatGPT 5.
|
|
import type { UiTranslations } from "./types.js";
|
|
|
|
const interfaceTranslations: UiTranslations = {
|
|
selectedCountryAriaLabel:
|
|
"Pakeisti šalį telefono numeriui, pasirinkta ${countryName} (${dialCode})",
|
|
noCountrySelected: "Pasirinkite šalį telefono numeriui",
|
|
countryListAriaLabel: "Šalių sąrašas",
|
|
searchPlaceholder: "Paieška",
|
|
clearSearchAriaLabel: "Išvalyti paiešką",
|
|
searchEmptyState: "Rezultatų nerasta",
|
|
|
|
searchSummaryAria(count) {
|
|
if (count === 0) {
|
|
return "Rezultatų nerasta";
|
|
}
|
|
if (count === 1) {
|
|
return "Rastas 1 rezultatas";
|
|
}
|
|
|
|
const mod10 = count % 10;
|
|
const mod100 = count % 100;
|
|
|
|
// Numbers ending in 1, but not 11
|
|
if (mod10 === 1 && mod100 !== 11) {
|
|
return `Rasti ${count} rezultatas`;
|
|
}
|
|
|
|
// Numbers ending in 2-9, but not 11-19
|
|
if (mod10 >= 2 && mod10 <= 9 && !(mod100 >= 11 && mod100 <= 19)) {
|
|
return `Rasti ${count} rezultatai`;
|
|
}
|
|
|
|
return `Rasta ${count} rezultatų`;
|
|
},
|
|
};
|
|
|
|
export default interfaceTranslations;
|