mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 13:23:04 +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.
213 lines
10 KiB
TypeScript
213 lines
10 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const budget: TranslationStrings = {
|
|
'costs.confirm.deleteTitle': 'Hapus pengeluaran?',
|
|
'costs.confirm.deleteBody': '"{name}" akan dihapus secara permanen.',
|
|
'budget.title': 'Anggaran',
|
|
'budget.exportCsv': 'Ekspor CSV',
|
|
'budget.emptyTitle': 'Belum ada anggaran',
|
|
'budget.emptyText': 'Buat kategori dan entri untuk merencanakan anggaran perjalananmu',
|
|
'budget.emptyPlaceholder': 'Masukkan nama kategori...',
|
|
'budget.createCategory': 'Buat Kategori',
|
|
'budget.category': 'Kategori',
|
|
'budget.categoryName': 'Nama Kategori',
|
|
'budget.addCategory': 'Tambah kategori',
|
|
'budget.table.name': 'Nama',
|
|
'budget.table.total': 'Total', // same-as-en
|
|
'budget.table.persons': 'Orang',
|
|
'budget.table.days': 'Hari',
|
|
'budget.table.perPerson': 'Per Orang',
|
|
'budget.table.perDay': 'Per Hari',
|
|
'budget.table.perPersonDay': 'P. o / Hari',
|
|
'budget.table.note': 'Catatan',
|
|
'budget.table.date': 'Tanggal',
|
|
'budget.newEntry': 'Entri Baru',
|
|
'budget.defaultEntry': 'Entri Baru',
|
|
'budget.defaultCategory': 'Kategori Baru',
|
|
'budget.total': 'Total', // same-as-en
|
|
'budget.totalBudget': 'Total Anggaran',
|
|
'budget.byCategory': 'Per Kategori',
|
|
'budget.editTooltip': 'Klik untuk edit',
|
|
'budget.linkedToReservation': 'Terhubung ke reservasi — edit nama di sana',
|
|
'budget.confirm.deleteCategory': 'Yakin ingin menghapus kategori "{name}" dengan {count} entri?',
|
|
'budget.deleteCategory': 'Hapus Kategori',
|
|
'budget.perPerson': 'Per Orang',
|
|
'budget.paid': 'Sudah dibayar',
|
|
'budget.open': 'Belum dibayar',
|
|
'budget.noMembers': 'Tidak ada anggota yang ditugaskan',
|
|
'budget.settlement': 'Penyelesaian',
|
|
'budget.settlementInfo':
|
|
'Klik foto anggota di item anggaran untuk menandainya hijau — artinya mereka sudah bayar. Penyelesaian lalu menunjukkan siapa berhutang ke siapa dan berapa.',
|
|
'budget.netBalances': 'Saldo Bersih',
|
|
'budget.categoriesLabel': 'kategori',
|
|
'costs.you': 'Kamu',
|
|
'costs.youShort': 'K',
|
|
'costs.youLower': 'kamu',
|
|
'costs.youOwe': 'Kamu berhutang',
|
|
'costs.youOweSub': 'Kamu harus membayar yang lain',
|
|
'costs.youreOwed': 'Kamu dipinjami',
|
|
'costs.youreOwedSub': 'Yang lain harus membayarmu',
|
|
'costs.totalSpend': 'Total pengeluaran perjalanan',
|
|
'costs.totalSpendSub': 'Untuk semua pelancong',
|
|
'costs.to': 'Ke',
|
|
'costs.from': 'Dari',
|
|
'costs.allSettled': 'Semua sudah lunas',
|
|
'costs.nothingOwed': 'Tidak ada yang berhutang padamu',
|
|
'costs.yourShare': 'Bagianmu',
|
|
'costs.youPaid': 'Kamu membayar',
|
|
'costs.outstanding': 'Jumlah tertunda',
|
|
'costs.outstandingSub': 'Pengeluaran belum ada pembayar',
|
|
'costs.outstandingItems': 'pengeluaran perlu pembayar',
|
|
'costs.expenses': 'Pengeluaran',
|
|
'costs.entries': '{count} entri',
|
|
'costs.searchPlaceholder': 'Cari pengeluaran…',
|
|
'costs.filter.all': 'Semua',
|
|
'costs.filter.mine': 'Dibayar olehku',
|
|
'costs.filter.owed': 'Dipinjami padaku',
|
|
'costs.addExpense': 'Tambah pengeluaran',
|
|
'costs.view.label': 'Tampilan',
|
|
'costs.view.list': 'Daftar',
|
|
'costs.view.table': 'Tabel',
|
|
'costs.table.lockedPayer': 'Sudah dibayar seseorang: ubah jumlahnya di pengeluaran agar saldo tetap benar.',
|
|
'costs.table.lockedCurrency': 'Dimasukkan dalam {currency}: ubah jumlahnya di pengeluaran.',
|
|
'costs.table.summary': 'Ringkasan',
|
|
'costs.table.byCategory': 'Kategori',
|
|
'costs.table.byDate': 'Hari',
|
|
'costs.table.byPayer': 'Pembayar',
|
|
'costs.table.byStatus': 'Status', // same-as-en
|
|
'costs.table.noPayer': 'Belum ada pembayar',
|
|
'costs.table.paid': 'Dibayar',
|
|
'costs.table.open': 'Terbuka',
|
|
'costs.editExpense': 'Edit pengeluaran',
|
|
'costs.noMatch': 'Tidak ada pengeluaran yang cocok dengan pencarianmu.',
|
|
'costs.emptyText': 'Belum ada pengeluaran. Tambahkan yang pertama.',
|
|
'costs.spent': '{amount} dibelanjakan',
|
|
'costs.noDate': 'Tanpa tanggal',
|
|
'costs.noOnePaid': 'Belum ada yang membayar',
|
|
'costs.youLent': 'kamu meminjamkan {amount}',
|
|
'costs.youBorrowed': 'kamu meminjam {amount}',
|
|
'costs.settleUp': 'Lunasi',
|
|
'costs.history': 'Riwayat',
|
|
'costs.everyoneSquare': 'Semua sudah impas',
|
|
'costs.nothingOutstanding': 'Tidak ada pembayaran tertunggak saat ini.',
|
|
'costs.pay': 'bayar',
|
|
'costs.pays': 'membayar',
|
|
'costs.settle': 'Lunasi',
|
|
'costs.balances': 'Saldo',
|
|
'costs.finalBudget': 'Anggaran akhir',
|
|
'costs.finalExpenses': 'Pengeluaran yang dibayar',
|
|
'costs.finalReimbursed': 'Penggantian bersih',
|
|
'costs.finalPending': 'Penggantian tertunda',
|
|
'costs.byCategory': 'Per kategori',
|
|
'costs.noCategories': 'Belum ada pengeluaran.',
|
|
'costs.settleHistory': 'Riwayat pelunasan',
|
|
'costs.noSettlements': 'Belum ada pembayaran yang dilunasi.',
|
|
'costs.paymentsSettled': '{count} pembayaran dilunasi',
|
|
'costs.paid': 'dibayar',
|
|
'costs.undo': 'Urungkan',
|
|
'costs.whatFor': 'Untuk apa?',
|
|
'costs.namePlaceholder': 'mis. Makan malam, oleh-oleh, bensin…',
|
|
'costs.note': 'Catatan',
|
|
'costs.notePlaceholder': 'Apa saja yang termasuk, siapa berutang apa…',
|
|
'costs.paymentNotePlaceholder': 'Dibayar tunai, lewat transfer bank…',
|
|
'costs.addNote': 'Tambah catatan',
|
|
'costs.showNote': 'Tampilkan catatan',
|
|
'costs.hideNote': 'Sembunyikan catatan',
|
|
'costs.totalAmount': 'Jumlah total',
|
|
'costs.currency': 'Mata uang',
|
|
'costs.day': 'Hari',
|
|
'costs.rateLabel': '1 {from} dalam {to}',
|
|
'costs.category': 'Kategori',
|
|
'costs.whoPaid': 'Siapa yang membayar?',
|
|
'costs.multiplePayers': 'Beberapa orang membayar',
|
|
'costs.singlePayer': 'Satu orang membayar',
|
|
'costs.payersUnbalanced': 'Jumlah pembayar harus berjumlah {amount}',
|
|
'costs.splitBetween': 'Bagi rata antara',
|
|
'costs.pickSomeone': 'Pilih setidaknya satu orang untuk berbagi.',
|
|
'costs.splitSummary': 'Dibagi untuk {count} orang · {amount} per orang',
|
|
'costs.cat.accommodation': 'Akomodasi',
|
|
'costs.cat.food': 'Makanan & minuman',
|
|
'costs.cat.groceries': 'Belanja kebutuhan',
|
|
'costs.cat.transport': 'Transportasi',
|
|
'costs.cat.flights': 'Penerbangan',
|
|
'costs.cat.activities': 'Aktivitas',
|
|
'costs.cat.sightseeing': 'Wisata',
|
|
'costs.cat.shopping': 'Belanja',
|
|
'costs.cat.fees': 'Biaya & tiket',
|
|
'costs.cat.health': 'Kesehatan',
|
|
'costs.cat.tips': 'Tip',
|
|
'costs.cat.fuel': 'Bahan bakar',
|
|
'costs.cat.parking': 'Parkir',
|
|
'costs.cat.other': 'Lainnya',
|
|
'costs.daysCount': '{count} hari',
|
|
'costs.travelers': '{count} pelancong',
|
|
'costs.liveRate': 'kurs langsung',
|
|
'costs.settleAll': 'Lunasi semua',
|
|
'costs.payment': 'Pembayaran',
|
|
'costs.editPayment': 'Edit pembayaran',
|
|
'costs.addPayment': 'Tambah pembayaran',
|
|
'costs.unfinished': 'Belum selesai',
|
|
'costs.unfinishedHint': 'Hanya total: belum diselesaikan',
|
|
'costs.tapToInclude': 'Ketuk untuk menyertakan',
|
|
'costs.amount': 'Jumlah',
|
|
'costs.split': 'Pembagian',
|
|
'costs.splitChipLabel': '{name}: {amount}',
|
|
'costs.splitEqually': 'Rata',
|
|
'costs.splitCustom': 'Kustom',
|
|
'costs.splitTicket': 'Struk',
|
|
'costs.perPerson': '{amount} per orang',
|
|
'costs.payersHint': 'Centang siapa yang membayar dan ketik berapa yang dibayar masing-masing.',
|
|
'costs.splitHint.equally': 'Semua yang dicentang membayar bagian yang sama.',
|
|
'costs.splitHint.custom': 'Ketik bagian tiap orang; jika dijumlahkan, semuanya harus sama dengan total.',
|
|
'costs.splitHint.percent': 'Ketik bagian tiap orang dalam persen; jumlahnya harus 100 %.',
|
|
'costs.splitUnit': 'Masukkan bagian sebagai',
|
|
'costs.splitPercentOff': '{sum} % dari 100 % terbagi',
|
|
'costs.splitUnitShares': 'Bagian',
|
|
'costs.splitHint.shares':
|
|
'Beri setiap orang sejumlah bagian, misalnya jumlah malam menginap; total dibagi menurut perbandingan itu.',
|
|
'costs.splitSharesOf': 'Bagian untuk {name}',
|
|
'costs.splitSharesNone': 'Beri bagian kepada setidaknya satu orang',
|
|
'costs.mode.label': 'Bagi biaya di antara para pelancong',
|
|
'costs.mode.hintSplit':
|
|
'Siapa yang membayar dan siapa yang ikut menanggung tiap pengeluaran, lalu pelunasan di akhir.',
|
|
'costs.mode.hintTotals': 'Hanya total: tanpa pembayar, bagian, atau pelunasan. Yang sudah dibagi tetap tersimpan.',
|
|
'costs.splitHint.ticket': 'Tuliskan isi kuitansi dan centang siapa yang mengambil tiap item.',
|
|
'costs.filter.allCategories': 'Semua kategori',
|
|
'costs.filter.allDays': 'Semua hari',
|
|
'costs.expensesCount': '{count} pengeluaran',
|
|
'costs.ticketItemName': 'Nama item',
|
|
'costs.ticketSplitting': 'Dibagi dengan:',
|
|
'costs.ticketAddItem': 'Tambah item',
|
|
'costs.ticketShares': 'Bagian tiap orang',
|
|
'costs.excluded': 'Tidak termasuk',
|
|
'costs.splitBalanced': 'Pembagian sudah pas dengan total',
|
|
'costs.splitSumUnder': 'Jumlah bagian: {sum} dari {total} (kurang {diff})',
|
|
'costs.splitSumOver': 'Jumlah bagian: {sum} dari {total} (lebih {diff})',
|
|
'costs.toggleSign': 'Beralih antara pengeluaran dan pengembalian dana',
|
|
'costs.receipts': 'Kuitansi',
|
|
'costs.receiptsTitle': 'Kuitansi & Faktur',
|
|
'costs.attachReceipt': 'Lampirkan kuitansi / faktur',
|
|
'costs.attach': 'Lampirkan',
|
|
'costs.scan.button': 'Pindai kuitansi',
|
|
'costs.scan.reading': 'Membaca kuitansi…',
|
|
'costs.scan.review': 'Tinjau pengeluaran',
|
|
'costs.scan.nothingRead': 'Tidak ada kuitansi yang dapat dibaca dari foto ini.',
|
|
'costs.scan.failed': 'Tidak dapat mulai membaca kuitansi.',
|
|
'costs.scan.title': 'Pindai kuitansi',
|
|
'costs.scan.accepted':
|
|
'Foto satu kuitansi (JPG, PNG, atau WEBP, maks. 10 MB). Model AI membacanya di latar belakang, lalu kamu memeriksa pengeluaran sebelum disimpan.',
|
|
'costs.scan.dropHere': 'Letakkan foto kuitansi di sini, atau klik untuk memilih atau mengambil foto',
|
|
'costs.scan.dropActive': 'Lepaskan foto untuk memindainya',
|
|
'costs.scan.start': 'Pindai',
|
|
'costs.scan.unsupported': 'Hanya foto yang dapat dipindai: JPG, PNG, atau WEBP.',
|
|
'costs.noReceipts': 'Tidak ada kuitansi terlampir',
|
|
'costs.deleteReceipt': 'Hapus kuitansi',
|
|
'costs.viewReceipt': 'Lihat kuitansi',
|
|
'costs.receiptLeftBehind': 'Gagal menyimpan, tetapi {count} kuitansi yang diunggah masih ada. Hapus di tab File.',
|
|
'costs.receiptsNeedConnection':
|
|
'Struk perlu koneksi untuk diunggah. Hapus struk baru untuk menyimpan pengeluaran secara offline, atau simpan saat kamu kembali online.',
|
|
'costs.paymentQueued': 'Kamu sedang offline. Pembayaran sudah disimpan dan akan muncul begitu TREK kembali online.',
|
|
'costs.confirm.deleteBodyReceipts': '"{name}" akan dihapus permanen. File struknya tetap ada di Berkas.',
|
|
};
|
|
export default budget;
|