mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14:05 +00:00
435b782c85
Requested in discussion #1658: an expense carries an amount and a category, and everything else about it ends up crammed into the title. The column was already there. It just was not available, because the costs UI stores an itemized receipt in it as TICKETJSON:{...}, so an expense split by receipt could never carry a note - and saving one any other way wrote note=null, which quietly wiped whatever had been typed into the budget table. The receipt gets its own column and note goes back to being text. Old clients that still send the blob as a note are routed to the right column instead of clobbering the note. On desktop the row now has fixed columns, so the amount does not drift left when one row has a note and the next does not. The category moved to the card edge as a tab like the mobile card does, which is what frees the line the note sits on. Collapsed it is one line, and the same element grows in place when opened. The dialog is two columns now: what the expense was on the left, how it is shared on the right, grouped into panels the way the trip dialog does it. On the phone the eleven category pills became a dropdown, which is where the room for the note field came from, and a note on a card unfolds when you tap it.
141 lines
5.8 KiB
TypeScript
141 lines
5.8 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',
|
|
'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.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.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.expenses': 'Spese',
|
|
'costs.entries': '{count} voci',
|
|
'costs.searchPlaceholder': 'Cerca spese…',
|
|
'costs.filter.all': 'Tutte',
|
|
'costs.filter.mine': 'Pagate da me',
|
|
'costs.filter.owed': 'Mi devono',
|
|
'costs.addExpense': 'Aggiungi spesa',
|
|
'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.byCategory': 'Per categoria',
|
|
'costs.noCategories': 'Ancora nessuna spesa.',
|
|
'costs.settleHistory': 'Cronologia saldi',
|
|
'costs.noSettlements': 'Ancora nessun pagamento saldato.',
|
|
'costs.paymentsSettled': '{count} pagamenti saldati',
|
|
'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.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.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.other': 'Altro',
|
|
'costs.daysCount': '{count} giorni',
|
|
'costs.travelers': '{count} viaggiatori',
|
|
'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': 'Split',
|
|
'costs.splitEqually': 'Equally',
|
|
'costs.splitCustom': 'Custom',
|
|
'costs.splitTicket': 'Ticket',
|
|
'costs.filter.allCategories': 'Tutte le categorie',
|
|
'costs.filter.allDays': 'Tutti i giorni',
|
|
'costs.expensesCount': '{count} spese',
|
|
};
|
|
export default budget;
|