mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 13:23:04 +00:00
cfdbfb49c0
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
215 lines
10 KiB
TypeScript
215 lines
10 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const budget: TranslationStrings = {
|
|
'costs.confirm.deleteTitle': 'Ausgabe löschen?',
|
|
'costs.confirm.deleteBody': '"{name}" wird unwiderruflich gelöscht.',
|
|
'budget.title': 'Budget',
|
|
'budget.exportCsv': 'CSV exportieren',
|
|
'budget.emptyTitle': 'Noch kein Budget erstellt',
|
|
'budget.emptyText': 'Erstelle Kategorien und Einträge, um dein Reisebudget zu planen',
|
|
'budget.emptyPlaceholder': 'Kategoriename eingeben...',
|
|
'budget.createCategory': 'Kategorie erstellen',
|
|
'budget.category': 'Kategorie',
|
|
'budget.categoryName': 'Kategoriename',
|
|
'budget.addCategory': 'Kategorie hinzufügen',
|
|
'budget.table.name': 'Name',
|
|
'budget.table.total': 'Gesamt',
|
|
'budget.table.persons': 'Personen',
|
|
'budget.table.days': 'Tage',
|
|
'budget.table.perPerson': 'Pro Person',
|
|
'budget.table.perDay': 'Pro Tag',
|
|
'budget.table.perPersonDay': 'P. p / Tag',
|
|
'budget.table.note': 'Notiz',
|
|
'budget.table.date': 'Datum',
|
|
'budget.newEntry': 'Neuer Eintrag',
|
|
'budget.defaultEntry': 'Neuer Eintrag',
|
|
'budget.defaultCategory': 'Neue Kategorie',
|
|
'budget.total': 'Gesamt',
|
|
'budget.totalBudget': 'Gesamtbudget',
|
|
'budget.byCategory': 'Nach Kategorie',
|
|
'budget.editTooltip': 'Klicken zum Bearbeiten',
|
|
'budget.linkedToReservation': 'Verknüpft mit einer Buchung — Name dort bearbeiten',
|
|
'budget.confirm.deleteCategory': 'Möchtest du die Kategorie "{name}" mit {count} Einträgen wirklich löschen?',
|
|
'budget.confirm.deleteCategory.one': 'Möchtest du die Kategorie "{name}" mit {count} Eintrag wirklich löschen?',
|
|
'budget.deleteCategory': 'Kategorie löschen',
|
|
'budget.perPerson': 'Pro Person',
|
|
'budget.paid': 'Bezahlt',
|
|
'budget.open': 'Offen',
|
|
'budget.noMembers': 'Keine Teilnehmer zugewiesen',
|
|
'budget.settlement': 'Ausgleich',
|
|
'budget.settlementInfo':
|
|
'Klicke auf ein Mitglied-Bild bei einem Eintrag, um es grün zu markieren — das bedeutet, diese Person hat bezahlt. Der Ausgleich zeigt dann, wer wem wie viel schuldet.',
|
|
'budget.netBalances': 'Netto-Salden',
|
|
'budget.categoriesLabel': 'Kategorien',
|
|
'costs.you': 'Du',
|
|
'costs.youShort': 'Du',
|
|
'costs.youLower': 'dir',
|
|
'costs.youOwe': 'Du schuldest',
|
|
'costs.youOweSub': 'Du solltest anderen zahlen',
|
|
'costs.youreOwed': 'Dir wird geschuldet',
|
|
'costs.youreOwedSub': 'Andere sollten dir zahlen',
|
|
'costs.totalSpend': 'Gesamtausgaben',
|
|
'costs.totalSpendSub': 'Über alle Reisenden',
|
|
'costs.to': 'An',
|
|
'costs.from': 'Von',
|
|
'costs.allSettled': 'Alles ausgeglichen',
|
|
'costs.nothingOwed': 'Dir wird nichts geschuldet',
|
|
'costs.yourShare': 'Dein Anteil',
|
|
'costs.youPaid': 'Du zahltest',
|
|
'costs.outstanding': 'Ausstehender Betrag',
|
|
'costs.outstandingSub': 'Ausgaben noch ohne Zahler',
|
|
'costs.outstandingItems': 'Ausgaben ohne Zahler',
|
|
'costs.outstandingItems.one': 'Ausgabe ohne Zahler',
|
|
'costs.expenses': 'Ausgaben',
|
|
'costs.entries': '{count} Einträge',
|
|
'costs.entries.one': '{count} Eintrag',
|
|
'costs.searchPlaceholder': 'Ausgaben suchen…',
|
|
'costs.filter.all': 'Alle',
|
|
'costs.filter.mine': 'Von mir bezahlt',
|
|
'costs.filter.owed': 'Mir geschuldet',
|
|
'costs.filter.allCategories': 'Alle Kategorien',
|
|
'costs.filter.allDays': 'Alle Tage',
|
|
'costs.expensesCount': '{count} Ausgaben',
|
|
'costs.expensesCount.one': '{count} Ausgabe',
|
|
'costs.addExpense': 'Ausgabe hinzufügen',
|
|
'costs.view.label': 'Ansicht',
|
|
'costs.view.list': 'Liste',
|
|
'costs.view.table': 'Tabelle',
|
|
'costs.table.lockedPayer': 'Von jemandem bezahlt: Ändere den Betrag in der Ausgabe, damit die Salden stimmen.',
|
|
'costs.table.lockedCurrency': 'In {currency} eingetragen: Ändere den Betrag in der Ausgabe.',
|
|
'costs.table.summary': 'Übersicht',
|
|
'costs.table.byCategory': 'Kategorie',
|
|
'costs.table.byDate': 'Tag',
|
|
'costs.table.byPayer': 'Zahler',
|
|
'costs.table.byStatus': 'Status',
|
|
'costs.table.noPayer': 'Noch kein Zahler',
|
|
'costs.table.paid': 'Bezahlt',
|
|
'costs.table.open': 'Offen',
|
|
'costs.editExpense': 'Ausgabe bearbeiten',
|
|
'costs.noMatch': 'Keine Ausgaben passen zur Suche.',
|
|
'costs.emptyText': 'Noch keine Ausgaben. Füge die erste hinzu.',
|
|
'costs.spent': '{amount} ausgegeben',
|
|
'costs.noDate': 'Kein Datum',
|
|
'costs.noOnePaid': 'Noch niemand bezahlt',
|
|
'costs.youLent': '{amount} ausgelegt',
|
|
'costs.youBorrowed': '{amount} geliehen',
|
|
'costs.settleUp': 'Ausgleichen',
|
|
'costs.history': 'Verlauf',
|
|
'costs.everyoneSquare': 'Alle quitt',
|
|
'costs.nothingOutstanding': 'Aktuell keine offenen Zahlungen.',
|
|
'costs.pay': 'zahlst',
|
|
'costs.pays': 'zahlt',
|
|
'costs.settle': 'Ausgleichen',
|
|
'costs.balances': 'Salden',
|
|
'costs.finalBudget': 'Endbudget',
|
|
'costs.finalExpenses': 'Bezahlte Ausgaben',
|
|
'costs.finalReimbursed': 'Rückzahlungen netto',
|
|
'costs.finalPending': 'Ausstehende Rückzahlungen',
|
|
'costs.byCategory': 'Nach Kategorie',
|
|
'costs.noCategories': 'Noch keine Ausgaben.',
|
|
'costs.settleHistory': 'Ausgleichs-Verlauf',
|
|
'costs.noSettlements': 'Noch keine ausgeglichenen Zahlungen.',
|
|
'costs.paymentsSettled': '{count} Zahlungen ausgeglichen',
|
|
'costs.paymentsSettled.one': '{count} Zahlung ausgeglichen',
|
|
'costs.paid': 'zahlte',
|
|
'costs.undo': 'Rückgängig',
|
|
'costs.whatFor': 'Wofür war es?',
|
|
'costs.namePlaceholder': 'z.B. Abendessen, Souvenirs, Benzin…',
|
|
'costs.note': 'Notiz',
|
|
'costs.notePlaceholder': 'Was darin enthalten war, wer was zurückzahlt…',
|
|
'costs.paymentNotePlaceholder': 'Bar bezahlt, per Überweisung…',
|
|
'costs.addNote': 'Notiz hinzufügen',
|
|
'costs.showNote': 'Notiz anzeigen',
|
|
'costs.hideNote': 'Notiz ausblenden',
|
|
'costs.totalAmount': 'Gesamtbetrag',
|
|
'costs.currency': 'Währung',
|
|
'costs.day': 'Tag',
|
|
'costs.rateLabel': '1 {from} in {to}',
|
|
'costs.category': 'Kategorie',
|
|
'costs.whoPaid': 'Wer hat bezahlt?',
|
|
'costs.multiplePayers': 'Mehrere haben bezahlt',
|
|
'costs.singlePayer': 'Eine Person hat bezahlt',
|
|
'costs.payersUnbalanced': 'Die Beträge der Zahlenden müssen zusammen {amount} ergeben',
|
|
'costs.splitBetween': 'Gleichmäßig teilen zwischen',
|
|
'costs.pickSomeone': 'Wähle mindestens eine Person zum Teilen.',
|
|
'costs.splitSummary': 'Auf {count} Personen aufgeteilt · je {amount}',
|
|
'costs.splitSummary.one': '{count} Person · {amount}',
|
|
'costs.cat.accommodation': 'Unterkunft',
|
|
'costs.cat.food': 'Essen & Trinken',
|
|
'costs.cat.groceries': 'Lebensmittel',
|
|
'costs.cat.transport': 'Transport',
|
|
'costs.cat.flights': 'Flüge',
|
|
'costs.cat.activities': 'Aktivitäten',
|
|
'costs.cat.sightseeing': 'Sightseeing',
|
|
'costs.cat.shopping': 'Shopping',
|
|
'costs.cat.fees': 'Gebühren & Tickets',
|
|
'costs.cat.health': 'Gesundheit',
|
|
'costs.cat.tips': 'Trinkgeld',
|
|
'costs.cat.fuel': 'Kraftstoff',
|
|
'costs.cat.parking': 'Parken',
|
|
'costs.cat.other': 'Sonstiges',
|
|
'costs.daysCount': '{count} Tage',
|
|
'costs.daysCount.one': '{count} Tag',
|
|
'costs.travelers': '{count} Reisende',
|
|
'costs.travelers.one': '{count} Reisender',
|
|
'costs.liveRate': 'Live-Kurs',
|
|
'costs.settleAll': 'Alle ausgleichen',
|
|
'costs.payment': 'Zahlung',
|
|
'costs.editPayment': 'Zahlung bearbeiten',
|
|
'costs.addPayment': 'Zahlung hinzufügen',
|
|
'costs.unfinished': 'Offen',
|
|
'costs.unfinishedHint': 'Nur Gesamtsumme: noch nicht abgerechnet',
|
|
'costs.tapToInclude': 'Zum Einbeziehen tippen',
|
|
'costs.amount': 'Betrag',
|
|
'costs.split': 'Aufteilen',
|
|
'costs.splitChipLabel': '{name}: {amount}',
|
|
'costs.splitEqually': 'Gleichmäßig',
|
|
'costs.splitCustom': 'Individuell',
|
|
'costs.splitTicket': 'Beleg',
|
|
'costs.perPerson': '{amount} pro Person',
|
|
'costs.payersHint': 'Hak an, wer bezahlt hat, und trag ein, wie viel jede Person gezahlt hat.',
|
|
'costs.splitHint.equally': 'Alle Angehakten zahlen den gleichen Anteil.',
|
|
'costs.splitHint.custom': 'Trag für jede Person ihren Anteil ein; zusammen ergeben sie den Betrag.',
|
|
'costs.splitHint.percent': 'Gib den Anteil jeder Person in Prozent ein; zusammen müssen es 100 % sein.',
|
|
'costs.splitUnit': 'Anteile eingeben als',
|
|
'costs.splitPercentOff': '{sum} % von 100 % verteilt',
|
|
'costs.splitHint.ticket': 'Liste auf, was auf dem Beleg steht, und hak ab, wer was hatte.',
|
|
'costs.ticketItemName': 'Artikelname',
|
|
'costs.ticketSplitting': 'Aufteilen auf:',
|
|
'costs.ticketAddItem': 'Artikel hinzufügen',
|
|
'costs.ticketShares': 'Anteil pro Person',
|
|
'costs.excluded': 'Nicht dabei',
|
|
'costs.splitBalanced': 'Aufteilung passt zur Summe',
|
|
'costs.splitSumUnder': 'Summe der Anteile: {sum} von {total} (es fehlen {diff})',
|
|
'costs.splitSumOver': 'Summe der Anteile: {sum} von {total} ({diff} zu viel)',
|
|
'costs.toggleSign': 'Zwischen Ausgabe und Erstattung wechseln',
|
|
'costs.receipts': 'Belege',
|
|
'costs.receipts.one': 'Beleg',
|
|
'costs.receiptsTitle': 'Belege & Rechnungen',
|
|
'costs.attachReceipt': 'Beleg / Rechnung anhängen',
|
|
'costs.attach': 'Anhängen',
|
|
'costs.scan.button': 'Beleg scannen',
|
|
'costs.scan.reading': 'Beleg wird gelesen…',
|
|
'costs.scan.review': 'Ausgabe prüfen',
|
|
'costs.scan.nothingRead': 'Aus diesem Foto ließ sich kein Beleg lesen.',
|
|
'costs.scan.failed': 'Der Beleg konnte nicht eingelesen werden.',
|
|
'costs.scan.title': 'Beleg scannen',
|
|
'costs.scan.accepted':
|
|
'Ein Foto eines Belegs (JPG, PNG oder WEBP, bis 10 MB). Das KI-Modell liest es im Hintergrund, danach prüfst du die Ausgabe, bevor sie gespeichert wird.',
|
|
'costs.scan.dropHere': 'Belegfoto hier ablegen oder klicken, um eins auszuwählen oder aufzunehmen',
|
|
'costs.scan.dropActive': 'Foto ablegen, um es zu scannen',
|
|
'costs.scan.start': 'Scannen',
|
|
'costs.scan.unsupported': 'Nur Fotos lassen sich scannen: JPG, PNG oder WEBP.',
|
|
'costs.noReceipts': 'Keine Belege angehängt',
|
|
'costs.deleteReceipt': 'Beleg entfernen',
|
|
'costs.viewReceipt': 'Beleg ansehen',
|
|
'costs.receiptLeftBehind':
|
|
'Speichern fehlgeschlagen, {count} hochgeladene Belege liegen noch da. Im Dateien-Tab entfernen.',
|
|
'costs.receiptLeftBehind.one':
|
|
'Speichern fehlgeschlagen, {count} hochgeladener Beleg liegt noch da. Im Dateien-Tab entfernen.',
|
|
'costs.receiptsNeedConnection':
|
|
'Belege brauchen zum Hochladen eine Verbindung. Entferne die neuen, um die Ausgabe offline zu speichern, oder speichere, sobald du wieder online bist.',
|
|
'costs.paymentQueued': 'Du bist offline. Die Zahlung ist gespeichert und erscheint, sobald TREK wieder online ist.',
|
|
};
|
|
export default budget;
|