mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 17:26:24 +00:00
bee500880e
Finishes the plural work the previous wip commit started. t() picks a count string's form by the language's own Intl.PluralRules, and every locale now spells out the forms its language reaches with whole numbers, about 160 count strings in all: one, few and many in Russian, Ukrainian and Polish, one and few in Czech and Slovak, five forms in Arabic, one in the others, none in Japanese, Korean, Chinese, Thai, Vietnamese and Indonesian. Each language was translated and then reviewed on its own. English no longer reads "1 files", "1 updates available" or "photo(s)". Count labels shown next to a number now take that number too: the atlas and admin statistics, the trip cards, journey and shared trip pills, packing templates, receipts, storage usage, the Studio export note. A heading that shared its key with a counted label keeps a key of its own (the boarding pass heading, the Bookings tab), so languages that put a noun after a number in the singular keep a plural heading. The plugin hosts chip passed its count through .replace() after t() and never got a form; three toasts sent the count as text. Mail and push texts for shared photos and suppressed storage failures pick their form in code through pluralForm. A whole number sent as text counts too, which is how in-app notification params arrive, and the plural rule follows the language of the strings on screen while another one still loads. The parity check knows which forms each language needs and refuses missing and impossible ones. It also reads keys that contain a colon now: it skipped them, which hid 58 missing plugin permission texts in Catalan and 35 in Vietnamese, both translated. The client parity test covers every language of the registry instead of a hand-kept list of 19, and the placeholder spec lets a form spell its number out only where its category is that one number. Brazilian Portuguese error screens were in Breton, and an Arabic dashboard label held Hebrew text.
86 lines
4.4 KiB
TypeScript
86 lines
4.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const mobileTrip: TranslationStrings = {
|
||
'mobileTrip.addBookingShort': 'Prenotazione',
|
||
'mobileTrip.addNoteShort': 'Nota',
|
||
'mobileTrip.addPlaceShort': 'Luogo',
|
||
'mobileTrip.addToDayQuestion': 'Aggiungere a un giorno?',
|
||
'mobileTrip.addTransportShort': 'Trasporto',
|
||
'mobileTrip.allDays': 'Tutti i giorni',
|
||
'mobileTrip.today': 'Oggi',
|
||
'mobileTrip.jumpToToday': 'Vai a oggi',
|
||
'mobileTrip.assignedDays': 'Giorni assegnati',
|
||
'mobileTrip.assignmentNotes': 'Note specifiche del giorno',
|
||
'mobileTrip.bookingsEmpty': 'Ancora nessuna prenotazione',
|
||
'mobileTrip.collabFeatureDisabled': 'Questa funzione è disattivata per questo viaggio',
|
||
'mobileTrip.compactView': 'Vista compatta',
|
||
'mobileTrip.dayAnnounce': 'Giorno {current} di {total}',
|
||
'mobileTrip.dayTitlePlaceholder': 'Titolo del giorno',
|
||
'mobileTrip.export': 'Esporta',
|
||
'mobileTrip.filesEmpty': 'Ancora nessun file',
|
||
'mobileTrip.filesNext': 'File successivo',
|
||
'mobileTrip.filesPrev': 'File precedente',
|
||
'mobileTrip.googleMaps': 'Google Maps',
|
||
'mobileTrip.coMaps': 'CoMaps',
|
||
'mobileTrip.icsDownload': 'Scarica .ics',
|
||
'mobileTrip.icsSubscribe': 'Abbonati al calendario',
|
||
'mobileTrip.icsSubscribeSub': 'Si aggiorna automaticamente nella tua app calendario',
|
||
'mobileTrip.importListSub': 'Incolla il link di un elenco condiviso',
|
||
'mobileTrip.importPlaces': 'Importa luoghi',
|
||
'mobileTrip.inCountdown': 'tra {time}',
|
||
'mobileTrip.listView': 'Vista elenco',
|
||
'mobileTrip.mapView': 'Vista mappa',
|
||
'mobileTrip.more': 'Altro',
|
||
'mobileTrip.newCategory': 'Nuova categoria',
|
||
'mobileTrip.newReservation': 'Nuova prenotazione',
|
||
'mobileTrip.notes': 'Note',
|
||
'mobileTrip.onMap': 'Sulla mappa',
|
||
'mobileTrip.profileDriving': 'In auto',
|
||
'mobileTrip.profileWalking': 'A piedi',
|
||
'mobileTrip.profileCycling': 'In bici',
|
||
'mobileTrip.renameDay': 'Rinomina giorno',
|
||
'mobileTrip.resBadge': 'Prenotazione',
|
||
'mobileTrip.showOnMap': 'Mostra sulla mappa',
|
||
'mobileTrip.statDocuments': '{count} file',
|
||
'mobileTrip.statDocuments.one': '{count} file',
|
||
'mobileTrip.statPeople': '{count} persone',
|
||
'mobileTrip.statPeople.one': '{count} persona',
|
||
'mobileTrip.stay': 'Soggiorno',
|
||
'mobileTrip.tapAgainToDelete': 'Tocca di nuovo per eliminare',
|
||
'mobileTrip.todoOpenCount': '{count} aperte',
|
||
'mobileTrip.todoOpenCount.one': '{count} aperta',
|
||
'mobileTrip.travel': 'Viaggio',
|
||
'mobileTrip.upNext': 'Prossimo',
|
||
'mobileTrip.viewDetails': 'Vedi dettagli',
|
||
'mobileTrip.transportsEmpty': 'Ancora nessun trasporto',
|
||
'mobileTrip.rtInfoTitle': 'Dati del tragitto',
|
||
'mobileTrip.rtDesktopNote':
|
||
'Questi dati si impostano da computer, dove puoi anche confrontare percorsi alternativi e far seguire a un giorno una traccia importata.',
|
||
'mobileTrip.rtPlanOnDesktop':
|
||
'La pianificazione si fa da computer. TREK calcola il tragitto appena un giorno ha due luoghi.',
|
||
'mobileTrip.rtSearchOffline': 'Serve una connessione: la ricerca legge il percorso che hai davanti.',
|
||
'mobileTrip.rtBehind': '{time} di ritardo sul programma',
|
||
'mobileTrip.rtStart': 'Inizio',
|
||
'mobileTrip.rtStayScope':
|
||
'La durata della sosta appartiene al luogo, quindi vale in ogni giorno in cui questa tappa è prevista.',
|
||
'mobileTrip.rtStayLess': '{count} minuti in meno',
|
||
'mobileTrip.rtStayLess.one': '{count} minuto in meno',
|
||
'mobileTrip.rtStayMore': '{count} minuti in più',
|
||
'mobileTrip.rtStayMore.one': '{count} minuto in più',
|
||
'mobileTrip.rtNightDesktopOnly':
|
||
'Prenotare un pernottamento in questo luogo si fa nel pianificatore da computer. Qui puoi solo scartarlo.',
|
||
'mobileTrip.rtReach': 'Fin dove',
|
||
'mobileTrip.rtReachAhead': '{distance} davanti',
|
||
'mobileTrip.rtFromNext': 'Dalla tua prossima sosta',
|
||
'mobileTrip.rtFromStart': 'Dall’inizio della tappa',
|
||
'mobileTrip.rtNoneAhead': 'Niente sulla strada davanti a te. Prova con tutta la tappa.',
|
||
'mobileTrip.rtNoneOnStage': 'Niente del genere lungo questa tappa.',
|
||
'mobileTrip.rtTruncated.other':
|
||
'Su {count} tratti ce n’erano più di quanti ne stiano in una risposta. Scegli meno tipi per vedere il resto.',
|
||
'mobileTrip.rtTruncated.one':
|
||
'Su {count} tratto ce n’erano più di quanti ne stiano in una risposta. Scegli meno tipi per vedere il resto.',
|
||
'mobileTrip.rtNoDay': 'Nessun giorno selezionato',
|
||
'mobileTrip.rtNoDayHint': 'La mappa mostra l’intero viaggio. Tocca un giorno qui sopra per vederne il percorso.',
|
||
};
|
||
export default mobileTrip;
|