mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 03:50:30 +00:00
a70eea5bf2
Travellers who track what a trip costs but never split it saw an Unfinished warning on every expense and a settle-up they had no use for. A trip now has a costs mode (appended migration, trips.costs_mode, split by default); totals leaves payers, shares and settling up out of Costs on desktop and phone through the same gate as a trip of one, and saves new expenses without a payer. PUT /api/trips/:id and update_trip take it on budget_edit. The split chips move into their own component.
225 lines
11 KiB
TypeScript
225 lines
11 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const budget: TranslationStrings = {
|
||
'costs.confirm.deleteTitle': 'Eliminare la spesa?',
|
||
'costs.confirm.deleteBody': '"{name}" verrà eliminato permanentemente.',
|
||
'budget.title': 'Budget', // same-as-en
|
||
'budget.exportCsv': 'Esporta CSV',
|
||
'budget.emptyTitle': 'Ancora nessun budget creato',
|
||
'budget.emptyText': 'Crea categorie e voci per pianificare il budget del tuo viaggio',
|
||
'budget.emptyPlaceholder': 'Inserisci nome categoria...',
|
||
'budget.createCategory': 'Crea categoria',
|
||
'budget.category': 'Categoria',
|
||
'budget.categoryName': 'Nome categoria',
|
||
'budget.addCategory': 'Aggiungi categoria',
|
||
'budget.table.name': 'Nome',
|
||
'budget.table.total': 'Totale',
|
||
'budget.table.persons': 'Persone',
|
||
'budget.table.days': 'Giorni',
|
||
'budget.table.perPerson': 'Per persona',
|
||
'budget.table.perDay': 'Per giorno',
|
||
'budget.table.perPersonDay': 'P. p / gio.',
|
||
'budget.table.note': 'Nota',
|
||
'budget.table.date': 'Data',
|
||
'budget.newEntry': 'Nuova voce',
|
||
'budget.defaultEntry': 'Nuova voce',
|
||
'budget.defaultCategory': 'Nuova categoria',
|
||
'budget.total': 'Totale',
|
||
'budget.totalBudget': 'Budget totale',
|
||
'budget.byCategory': 'Per categoria',
|
||
'budget.editTooltip': 'Clicca per modificare',
|
||
'budget.linkedToReservation': 'Collegato a una prenotazione — modifica il nome lì',
|
||
'budget.confirm.deleteCategory': 'Sei sicuro di voler eliminare la categoria "{name}" con {count} voci?',
|
||
'budget.confirm.deleteCategory.one': 'Sei sicuro di voler eliminare la categoria "{name}" con {count} voce?',
|
||
'budget.deleteCategory': 'Elimina categoria',
|
||
'budget.perPerson': 'Per persona',
|
||
'budget.paid': 'Pagato',
|
||
'budget.open': 'Aperto',
|
||
'budget.noMembers': 'Nessun membro assegnato',
|
||
'budget.settlement': 'Regolamento',
|
||
'budget.settlementInfo':
|
||
"Clicca sull'avatar di un membro su una voce di budget per contrassegnarlo in verde — significa che ha pagato. Il regolamento mostra poi chi deve quanto a chi.",
|
||
'budget.netBalances': 'Saldi netti',
|
||
'budget.categoriesLabel': 'categorie',
|
||
'costs.you': 'Tu',
|
||
'costs.youShort': 'T',
|
||
'costs.youLower': 'tu',
|
||
'costs.youOwe': 'Devi',
|
||
'costs.youOweSub': 'Dovresti pagare gli altri',
|
||
'costs.youreOwed': 'Ti devono',
|
||
'costs.youreOwedSub': 'Gli altri dovrebbero pagarti',
|
||
'costs.totalSpend': 'Spesa totale del viaggio',
|
||
'costs.totalSpendSub': 'Tra tutti i viaggiatori',
|
||
'costs.to': 'A',
|
||
'costs.from': 'Da',
|
||
'costs.allSettled': 'Hai saldato tutto',
|
||
'costs.nothingOwed': 'Nessuno ti deve nulla',
|
||
'costs.yourShare': 'La tua quota',
|
||
'costs.youPaid': 'Hai pagato',
|
||
'costs.outstanding': 'Importo in sospeso',
|
||
'costs.outstandingSub': 'Spese senza pagante',
|
||
'costs.outstandingItems': 'spese senza pagante',
|
||
'costs.outstandingItems.one': 'spesa senza pagante',
|
||
'costs.expenses': 'Spese',
|
||
'costs.entries': '{count} voci',
|
||
'costs.entries.one': '{count} voce',
|
||
'costs.searchPlaceholder': 'Cerca spese…',
|
||
'costs.filter.all': 'Tutte',
|
||
'costs.filter.mine': 'Pagate da me',
|
||
'costs.filter.owed': 'Mi devono',
|
||
'costs.addExpense': 'Aggiungi spesa',
|
||
'costs.view.label': 'Vista',
|
||
'costs.view.list': 'Elenco',
|
||
'costs.view.table': 'Tabella',
|
||
'costs.table.lockedPayer': 'Pagato da qualcuno: cambia l’importo nella spesa, così i saldi restano giusti.',
|
||
'costs.table.lockedCurrency': 'Inserito in {currency}: cambia l’importo nella spesa.',
|
||
'costs.table.summary': 'Riepilogo',
|
||
'costs.table.byCategory': 'Categoria',
|
||
'costs.table.byDate': 'Giorno',
|
||
'costs.table.byPayer': 'Pagante',
|
||
'costs.table.byStatus': 'Stato',
|
||
'costs.table.noPayer': 'Ancora nessun pagante',
|
||
'costs.table.paid': 'Pagato',
|
||
'costs.table.open': 'Aperto',
|
||
'costs.editExpense': 'Modifica spesa',
|
||
'costs.noMatch': 'Nessuna spesa corrisponde alla ricerca.',
|
||
'costs.emptyText': 'Ancora nessuna spesa. Aggiungi la prima.',
|
||
'costs.spent': '{amount} spesi',
|
||
'costs.noDate': 'Nessuna data',
|
||
'costs.noOnePaid': 'Nessuno ha ancora pagato',
|
||
'costs.youLent': 'hai prestato {amount}',
|
||
'costs.youBorrowed': 'hai preso in prestito {amount}',
|
||
'costs.settleUp': 'Salda',
|
||
'costs.history': 'Cronologia',
|
||
'costs.everyoneSquare': 'Sono tutti in pari',
|
||
'costs.nothingOutstanding': 'Nessun pagamento in sospeso al momento.',
|
||
'costs.pay': 'paga',
|
||
'costs.pays': 'paga',
|
||
'costs.settle': 'Salda',
|
||
'costs.balances': 'Saldi',
|
||
'costs.finalBudget': 'Budget finale',
|
||
'costs.finalExpenses': 'Spese pagate',
|
||
'costs.finalReimbursed': 'Rimborsi netti',
|
||
'costs.finalPending': 'Rimborsi in sospeso',
|
||
'costs.byCategory': 'Per categoria',
|
||
'costs.noCategories': 'Ancora nessuna spesa.',
|
||
'costs.settleHistory': 'Cronologia saldi',
|
||
'costs.noSettlements': 'Ancora nessun pagamento saldato.',
|
||
'costs.paymentsSettled': '{count} pagamenti saldati',
|
||
'costs.paymentsSettled.one': '{count} pagamento saldato',
|
||
'costs.paid': 'pagato',
|
||
'costs.undo': 'Annulla',
|
||
'costs.whatFor': 'Per cosa era?',
|
||
'costs.namePlaceholder': 'es. Cena, souvenir, benzina…',
|
||
'costs.note': 'Nota',
|
||
'costs.notePlaceholder': 'Cosa comprendeva, chi deve cosa…',
|
||
'costs.paymentNotePlaceholder': 'Pagato in contanti, con bonifico…',
|
||
'costs.addNote': 'Aggiungi nota',
|
||
'costs.showNote': 'Mostra nota',
|
||
'costs.hideNote': 'Nascondi nota',
|
||
'costs.totalAmount': 'Importo totale',
|
||
'costs.currency': 'Valuta',
|
||
'costs.day': 'Giorno',
|
||
'costs.rateLabel': '1 {from} in {to}', // same-as-en
|
||
'costs.category': 'Categoria',
|
||
'costs.whoPaid': 'Chi ha pagato?',
|
||
'costs.multiplePayers': 'Hanno pagato più persone',
|
||
'costs.singlePayer': 'Ha pagato una sola persona',
|
||
'costs.payersUnbalanced': 'Gli importi dei paganti devono sommare a {amount}',
|
||
'costs.splitBetween': 'Dividi equamente tra',
|
||
'costs.pickSomeone': 'Scegli almeno una persona con cui dividere.',
|
||
'costs.splitSummary': 'Diviso in {count} · {amount} ciascuno',
|
||
'costs.splitSummary.one': '{count} persona · {amount}',
|
||
'costs.cat.accommodation': 'Alloggio',
|
||
'costs.cat.food': 'Cibo e bevande',
|
||
'costs.cat.groceries': 'Spesa alimentare',
|
||
'costs.cat.transport': 'Trasporti',
|
||
'costs.cat.flights': 'Voli',
|
||
'costs.cat.activities': 'Attività',
|
||
'costs.cat.sightseeing': 'Visite turistiche',
|
||
'costs.cat.shopping': 'Shopping', // same-as-en
|
||
'costs.cat.fees': 'Tariffe e biglietti',
|
||
'costs.cat.health': 'Salute',
|
||
'costs.cat.tips': 'Mance',
|
||
'costs.cat.fuel': 'Carburante',
|
||
'costs.cat.parking': 'Parcheggio',
|
||
'costs.cat.other': 'Altro',
|
||
'costs.daysCount': '{count} giorni',
|
||
'costs.daysCount.one': '{count} giorno',
|
||
'costs.travelers': '{count} viaggiatori',
|
||
'costs.travelers.one': '{count} viaggiatore',
|
||
'costs.liveRate': 'tasso in tempo reale',
|
||
'costs.settleAll': 'Salda tutto',
|
||
'costs.payment': 'Pagamento',
|
||
'costs.editPayment': 'Modifica pagamento',
|
||
'costs.addPayment': 'Aggiungi pagamento',
|
||
'costs.unfinished': 'Incompleto',
|
||
'costs.unfinishedHint': 'Solo nel totale: non ancora saldato',
|
||
'costs.tapToInclude': 'Tocca per includere',
|
||
'costs.amount': 'Importo',
|
||
'costs.split': 'Suddivisione',
|
||
'costs.splitChipLabel': '{name}: {amount}',
|
||
'costs.splitEqually': 'In parti uguali',
|
||
'costs.splitCustom': 'Personalizzato',
|
||
'costs.splitTicket': 'Scontrino',
|
||
'costs.perPerson': '{amount} a persona',
|
||
'costs.payersHint': 'Spunta chi ha pagato e inserisci quanto ha versato ciascuno.',
|
||
'costs.splitHint.equally': 'Tutti quelli spuntati pagano la stessa quota.',
|
||
'costs.splitHint.custom': 'Inserisci la quota di ogni persona; insieme devono fare il totale.',
|
||
'costs.splitHint.percent': 'Inserisci la quota di ciascuno in percentuale; insieme devono fare 100 %.',
|
||
'costs.splitUnit': 'Inserisci le quote come',
|
||
'costs.splitPercentOff': '{sum} % di 100 % assegnato',
|
||
'costs.splitUnitShares': 'Quote',
|
||
'costs.splitHint.shares':
|
||
'Assegna a ogni persona un numero di quote, ad esempio le notti in cui è rimasta; il totale viene diviso in questa proporzione.',
|
||
'costs.splitSharesOf': 'Quote di {name}',
|
||
'costs.splitSharesNone': 'Assegna una quota ad almeno una persona',
|
||
'costs.mode.label': 'Dividere le spese tra i viaggiatori',
|
||
'costs.mode.hintSplit': 'Chi ha pagato e chi condivide ogni spesa, e il saldo alla fine.',
|
||
'costs.mode.hintTotals': 'Solo totali: niente pagatori, quote o saldi. Ciò che era già diviso resta salvato.',
|
||
'costs.splitHint.ticket': "Elenca cosa c'era sulla ricevuta e spunta chi ha preso ciascun articolo.",
|
||
'costs.filter.allCategories': 'Tutte le categorie',
|
||
'costs.filter.allDays': 'Tutti i giorni',
|
||
'costs.expensesCount': '{count} spese',
|
||
'costs.expensesCount.one': '{count} spesa',
|
||
'costs.ticketItemName': "Nome dell'articolo",
|
||
'costs.ticketSplitting': 'Diviso tra:',
|
||
'costs.ticketAddItem': 'Aggiungi articolo',
|
||
'costs.ticketShares': 'Quota di ciascuno',
|
||
'costs.excluded': 'Escluso',
|
||
'costs.splitBalanced': 'La divisione corrisponde al totale',
|
||
'costs.splitSumUnder': 'Somma delle quote: {sum} di {total} (mancano {diff})',
|
||
'costs.splitSumOver': 'Somma delle quote: {sum} di {total} ({diff} in più)',
|
||
'costs.toggleSign': 'Passa da spesa a rimborso',
|
||
'costs.receipts': 'Ricevute',
|
||
'costs.receipts.one': 'Ricevuta',
|
||
'costs.receiptsTitle': 'Ricevute e fatture',
|
||
'costs.attachReceipt': 'Allega ricevuta / fattura',
|
||
'costs.attach': 'Allega',
|
||
'costs.scan.button': 'Scansiona ricevuta',
|
||
'costs.scan.reading': 'Lettura della ricevuta…',
|
||
'costs.scan.review': 'Controlla la spesa',
|
||
'costs.scan.nothingRead': 'Non è stato possibile leggere una ricevuta da questa foto.',
|
||
'costs.scan.failed': 'Impossibile avviare la lettura della ricevuta.',
|
||
'costs.scan.title': 'Scansiona ricevuta',
|
||
'costs.scan.accepted':
|
||
'La foto di una sola ricevuta (JPG, PNG o WEBP, fino a 10 MB). Il modello di IA la legge in background, poi controlli la spesa prima di salvarla.',
|
||
'costs.scan.dropHere': 'Trascina qui la foto della ricevuta, oppure fai clic per sceglierla o scattarla',
|
||
'costs.scan.dropActive': 'Rilascia la foto per scansionarla',
|
||
'costs.scan.start': 'Scansiona',
|
||
'costs.scan.unsupported': 'Si può scansionare solo una foto: JPG, PNG o WEBP.',
|
||
'costs.noReceipts': 'Nessuna ricevuta allegata',
|
||
'costs.deleteReceipt': 'Rimuovi ricevuta',
|
||
'costs.viewReceipt': 'Visualizza ricevuta',
|
||
'costs.receiptLeftBehind':
|
||
'Salvataggio non riuscito e {count} ricevute caricate sono ancora lì. Rimuovile nella scheda File.',
|
||
'costs.receiptLeftBehind.one':
|
||
'Salvataggio non riuscito e {count} ricevuta caricata è ancora lì. Rimuovila nella scheda File.',
|
||
'costs.receiptsNeedConnection':
|
||
'Le ricevute hanno bisogno di una connessione per essere caricate. Rimuovi quelle nuove per salvare la spesa offline, oppure salva quando sei di nuovo online.',
|
||
'costs.paymentQueued': 'Sei offline. Il pagamento è salvato e comparirà quando TREK tornerà online.',
|
||
'costs.confirm.deleteBodyReceipts':
|
||
'"{name}" verrà eliminato definitivamente. I file delle sue ricevute restano in File.',
|
||
};
|
||
export default budget;
|