import type { Dictionary } from '@shoptet/ui-core-web'; export type MultiSelectTranslations = { dismiss: string; emptyOptions: string; noOptionsSelected: string; multipleSelected: (count: number) => string; toggleAll: string; filterPlaceholder: string; }; export const dictionary: Dictionary = { 'en-US': { dismiss: 'Hide', emptyOptions: 'No options found', noOptionsSelected: 'Select an option', multipleSelected: (count: number) => { if (count === 1) { return 'Selected 1 option'; } return `Selected ${count} options`; }, toggleAll: 'Select all', filterPlaceholder: 'Search', }, 'cs-CZ': { dismiss: 'Skrýt', emptyOptions: 'Žádné možnosti nenalezeny', noOptionsSelected: 'Vyberte některou z možností', multipleSelected: (count: number) => { if (count === 1) { return 'Vybrána 1 možnost'; } else if (1 < count && count < 5) { return `Vybrány ${count} možnosti`; } return `Vybráno ${count} možností`; }, toggleAll: 'Vybrat vše', filterPlaceholder: 'Hledat', }, 'de-DE': { dismiss: 'Verbergen', emptyOptions: 'Keine Optionen gefunden', noOptionsSelected: 'Wählen Sie eine Option aus', multipleSelected: (count: number) => { if (count === 1) { return '1 Option ausgewählt'; } return `${count} Optionen ausgewählt`; }, toggleAll: 'Alle auswählen', filterPlaceholder: 'Suchen', }, 'hu-HU': { dismiss: 'Elrejtés', emptyOptions: 'Nincs találat', noOptionsSelected: 'Válasszon egyet a lehetőségek közül', multipleSelected: (count: number) => `Kiválasztva: ${count} lehetőség`, toggleAll: 'Összes kiválasztása', filterPlaceholder: 'Keresés', }, 'pl-PL': { dismiss: 'Ukryj', emptyOptions: 'Nie znaleziono opcji', noOptionsSelected: 'Wybierz jedną z opcji', multipleSelected: (count: number) => { if (count === 1) { return 'Wybrano 1 opcję'; } else if (1 < count && count < 5) { return `Wybrano ${count} opcje`; } return `Wybrano ${count} opcji`; }, toggleAll: 'Zaznacz wszystko', filterPlaceholder: 'Szukaj', }, 'ro-RO': { dismiss: 'Ascunde', emptyOptions: 'Nu s-au găsit opțiuni', noOptionsSelected: 'Selectați o opțiune', multipleSelected: (count: number) => { if (count === 1) { return '1 opțiune selectată'; } return `${count} opțiuni selectate`; }, toggleAll: 'Selectează tot', filterPlaceholder: 'Caută', }, 'sk-SK': { dismiss: 'Skryť', emptyOptions: 'Neboli nájdené žiadne možnosti', noOptionsSelected: 'Vyberte niektorú z možností', multipleSelected: (count: number) => { if (count === 1) { return 'Vybraná 1 možnosť'; } else if (1 < count && count < 5) { return `Vybrané ${count} možnosti`; } return `Vybraných ${count} možností`; }, toggleAll: 'Vybrať všetko', filterPlaceholder: 'Hľadať', }, 'vi-VN': { dismiss: 'Ẩn', emptyOptions: 'Không tìm thấy tùy chọn', noOptionsSelected: 'Chọn một tùy chọn', multipleSelected: (count: number) => `${count} mục đã chọn`, toggleAll: 'Chọn tất cả', filterPlaceholder: 'Tìm kiếm', }, } as const;