Files
TREK/shared/src/i18n/it/budget.ts
T
Maurice cfdbfb49c0 fix(costs): expenses and payments saved offline wait in the queue and sync once the connection is back
Every Costs write went straight to the API, so offline an expense failed with
"Unknown error" and was lost. Expenses (add, edit, delete, split, paid tick,
reorder) now go through budgetRepo and the mutation queue like places and
packing items: a temporary row offline, held behind an older queued write
online. The replay reads the expense from `item` only, so the split answer
({ members, item }) keeps the local payers and the paid answer ({ member })
never lands in the expense table. An expense linked to a place or booking
created offline is sent with the real id once that one has synced.

Payments are queued without a local row and a hint says they show once
sent; the ledger reads the balances again when the queue is through, and
offline it shows the last balances it read (new Dexie table, v10). Receipts
need an upload, so an offline save with new ones is stopped with a hint.

Refs #2601
2026-10-12 18:14:30 +02:00

215 lines
10 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { TranslationStrings } from '../types';
const budget: TranslationStrings = {
'costs.confirm.deleteTitle': 'Eliminare la spesa?',
'costs.confirm.deleteBody': '"{name}" verrà eliminato permanentemente.',
'budget.title': 'Budget',
'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}',
'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',
'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.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.',
};
export default budget;