mirror of
https://github.com/itflow-org/itflow
synced 2026-09-20 13:41:15 +00:00
31 lines
921 B
TypeScript
31 lines
921 B
TypeScript
//* Icelandic. Translated by: Claude.
|
|
import type { UiTranslations } from "./types.js";
|
|
import countryNames from "./country-names/is.js";
|
|
|
|
const interfaceTranslations: UiTranslations = {
|
|
selectedCountryAriaLabel:
|
|
"Breyta landi fyrir símanúmer, valið ${countryName} (${dialCode})",
|
|
noCountrySelected: "Veldu land fyrir símanúmer",
|
|
countryListAriaLabel: "Listi yfir lönd",
|
|
searchPlaceholder: "Leita",
|
|
clearSearchAriaLabel: "Hreinsa leit",
|
|
searchEmptyState: "Engar niðurstöður fundust",
|
|
|
|
searchSummaryAria(count) {
|
|
if (count === 0) {
|
|
return "Engar niðurstöður fundust";
|
|
}
|
|
const mod10 = count % 10;
|
|
const mod100 = count % 100;
|
|
|
|
// Numbers ending in 1, but not 11
|
|
if (mod10 === 1 && mod100 !== 11) {
|
|
return `${count} niðurstaða fannst`;
|
|
}
|
|
|
|
return `${count} niðurstöður fundust`;
|
|
},
|
|
};
|
|
|
|
export default { ...interfaceTranslations, countryNames };
|