mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-22 23:16:46 +00:00
33fcbba414
- Replace fixed-order date parser with locale-aware implementation using Intl.DateTimeFormat.formatToParts to detect field order; adds swap fallback for unambiguous inputs (day > 12) to handle locale mismatches gracefully - Pre-fill keyboard input with locale-formatted numeric date (e.g. 14.06.2026) instead of raw ISO value - Replace all hardcoded English aria-labels and titles with t() calls; add new keys under common.datepicker.* namespace across all locale files - Update FE-COMP-DATEPICKER-013 to use unambiguous day value (> 12) to avoid locale-dependent test failures
67 lines
2.3 KiB
TypeScript
67 lines
2.3 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const common: TranslationStrings = {
|
|
'common.save': 'Salva',
|
|
'common.showMore': 'Mostra di più',
|
|
'common.showLess': 'Mostra meno',
|
|
'common.cancel': 'Annulla',
|
|
'common.clear': 'Cancella',
|
|
'common.delete': 'Elimina',
|
|
'common.edit': 'Modifica',
|
|
'common.add': 'Aggiungi',
|
|
'common.loading': 'Caricamento...',
|
|
'common.import': 'Importa',
|
|
'common.select': 'Seleziona',
|
|
'common.selectAll': 'Seleziona tutto',
|
|
'common.deselectAll': 'Deseleziona tutto',
|
|
'common.error': 'Errore',
|
|
'common.unknownError': 'Errore sconosciuto',
|
|
'common.tooManyAttempts': 'Troppi tentativi. Riprova più tardi.',
|
|
'common.back': 'Indietro',
|
|
'common.all': 'Tutti',
|
|
'common.close': 'Chiudi',
|
|
'common.open': 'Apri',
|
|
'common.upload': 'Carica',
|
|
'common.search': 'Cerca',
|
|
'common.confirm': 'Conferma',
|
|
'common.ok': 'OK',
|
|
'common.yes': 'Sì',
|
|
'common.no': 'No',
|
|
'common.or': 'o',
|
|
'common.none': 'Nessuno',
|
|
'common.date': 'Data',
|
|
'common.rename': 'Rinomina',
|
|
'common.discardChanges': 'Scarta modifiche',
|
|
'common.discard': 'Scarta',
|
|
'common.name': 'Nome',
|
|
'common.email': 'Email',
|
|
'common.password': 'Password',
|
|
'common.saving': 'Salvataggio...',
|
|
'common.saved': 'Salvato',
|
|
'common.expand': 'Espandi',
|
|
'common.collapse': 'Comprimi',
|
|
'common.update': 'Aggiorna',
|
|
'common.change': 'Cambia',
|
|
'common.uploading': 'Caricamento…',
|
|
'common.backToPlanning': 'Torna al Programma',
|
|
'common.reset': 'Reimposta',
|
|
'common.copy': 'Copia',
|
|
'common.copied': 'Copiato',
|
|
'common.justNow': 'proprio ora',
|
|
'common.hoursAgo': '{count}h fa',
|
|
'common.daysAgo': '{count}g fa',
|
|
'common.datepicker.prevMonth': 'Mese precedente',
|
|
'common.datepicker.nextMonth': 'Mese prossimo',
|
|
'common.datepicker.prevYear': 'Anno precedente',
|
|
'common.datepicker.nextYear': 'Anno prossimo',
|
|
'common.datepicker.prevYears': 'Anni precedenti',
|
|
'common.datepicker.nextYears': 'Anni prossimi',
|
|
'common.datepicker.selectMonth': 'Seleziona mese',
|
|
'common.datepicker.selectYear': 'Seleziona anno',
|
|
'common.datepicker.enterManually': 'Inserisci la data manualmente',
|
|
'common.datepicker.typeDate': 'Inserisci una data',
|
|
'common.datepicker.dialog': 'Selettore di date',
|
|
'common.datepicker.clearDate': 'Cancella data',
|
|
};
|
|
export default common;
|