import type { Locale } from '../types/models';
const pl = {
  appName: 'Baltique OS', staff: 'Personel', login: 'Zaloguj się', email: 'E-mail', password: 'Hasło', signIn: 'Wejdź do systemu', loggingIn: 'Logowanie…',
  dashboard: 'Pulpit', tasks: 'Zadania', patients: 'Pacjenci', orDay: 'Blok operacyjny', messages: 'Wiadomości', more: 'Więcej', settings: 'Ustawienia', notifications: 'Powiadomienia',
  search: 'Szukaj', allLocations: 'Wszystkie lokalizacje', location: 'Lokalizacja', language: 'Język', theme: 'Motyw', dark: 'Ciemny', light: 'Jasny', system: 'Systemowy', logout: 'Wyloguj',
  open: 'Otwórz', retry: 'Spróbuj ponownie', noData: 'Brak danych', loading: 'Ładowanie…', offline: 'Brak połączenia z serwerem',
  myWork: 'Moja kolejka pracy', overdue: 'Po terminie', dueToday: 'Na dziś', critical: 'Krytyczne', openItems: 'Otwarte', inProgress: 'W toku', completed: 'Zakończone', blocked: 'Zablokowane',
  patientSearch: 'Szukaj pacjenta, telefonu lub numeru sprawy', patient: 'Pacjent', case: 'Sprawa', timeline: 'Ścieżka', documents: 'Dokumenty', labs: 'Badania', communication: 'Komunikacja',
  biometric: 'Blokada biometryczna', enablePush: 'Włącz powiadomienia push', pushEnabled: 'Powiadomienia aktywne', save: 'Zapisz', cancel: 'Anuluj',
  intake: 'Smart Intake', scanDocument: 'Skanuj dokument', chooseFile: 'Wybierz plik', capture: 'Zrób zdjęcie', upload: 'Prześlij do weryfikacji',
  secureNote: 'Aplikacja nie przechowuje dokumentacji klinicznej offline. Dane są pobierane bezpiecznie po zalogowaniu.',
};
const en: typeof pl = {
  appName: 'Baltique OS', staff: 'Staff', login: 'Sign in', email: 'Email', password: 'Password', signIn: 'Open system', loggingIn: 'Signing in…',
  dashboard: 'Dashboard', tasks: 'Tasks', patients: 'Patients', orDay: 'Operating room', messages: 'Messages', more: 'More', settings: 'Settings', notifications: 'Notifications',
  search: 'Search', allLocations: 'All locations', location: 'Location', language: 'Language', theme: 'Theme', dark: 'Dark', light: 'Light', system: 'System', logout: 'Sign out',
  open: 'Open', retry: 'Try again', noData: 'No data', loading: 'Loading…', offline: 'No connection to server',
  myWork: 'My work queue', overdue: 'Overdue', dueToday: 'Due today', critical: 'Critical', openItems: 'Open', inProgress: 'In progress', completed: 'Completed', blocked: 'Blocked',
  patientSearch: 'Search patient, phone or case number', patient: 'Patient', case: 'Case', timeline: 'Journey', documents: 'Documents', labs: 'Labs', communication: 'Communication',
  biometric: 'Biometric lock', enablePush: 'Enable push notifications', pushEnabled: 'Notifications enabled', save: 'Save', cancel: 'Cancel',
  intake: 'Smart Intake', scanDocument: 'Scan document', chooseFile: 'Choose file', capture: 'Take photo', upload: 'Send for verification',
  secureNote: 'The app does not store clinical documentation offline. Data is securely retrieved after sign-in.',
};
export type StringKey = keyof typeof pl;
export const strings = { pl, en };
export const t = (locale: Locale, key: StringKey) => strings[locale][key] ?? strings.pl[key];
