mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
5c312a8497
The packing list bar gets an export menu next to the import button, both now icon only. The menu prints the open view as a TREK styled page (trip, dates, packed count, one card per category, bags), which the browser can also save as a PDF, and downloads it as a Markdown checklist or as a CSV in the exact format the import reads, bags included, so a list works as a personal template without admin rights. The import now also reads Markdown checklists: headings become categories, "- [x]" marks an item packed, a "3x" prefix sets the quantity and a "(200 g)" suffix the weight. The phone action sheet offers the same exports through the shared usePackingExport hook. The help center gets an export guide with new pictures, the import guide and the wiki page describe the Markdown format, in all 27 languages. Addresses discussions #1420 and #875.
96 lines
4.5 KiB
TypeScript
96 lines
4.5 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const packing: TranslationStrings = {
|
||
'packing.actions': 'Tindakan',
|
||
'packing.editDone': 'Selesai',
|
||
'packing.personalEmptyHint': 'Daftar pribadimu kosong — salin item bersama atau tambahkan milikmu sendiri.',
|
||
'packing.assignMembers': 'Tetapkan anggota',
|
||
'packing.categoryOptions': 'Opsi daftar',
|
||
'packing.editItem': 'Edit item',
|
||
'packing.itemName': 'Nama',
|
||
'packing.itemQuantity': 'Jumlah',
|
||
'packing.itemWeight': 'Berat (g)',
|
||
'packing.title': 'Daftar Bawaan',
|
||
'packing.empty': 'Daftar bawaan kosong',
|
||
'packing.import': 'Impor',
|
||
'packing.importTitle': 'Impor Daftar Bawaan',
|
||
'packing.importHint':
|
||
'Satu item per baris. Format: Kategori, Nama, Berat dalam g (opsional), Tas (opsional), checked/unchecked (opsional)',
|
||
'packing.importPlaceholder':
|
||
'Kebersihan, Sikat Gigi\nPakaian, Kaos, 200\nDokumen, Paspor, , Kabin\nElektronik, Charger, 50, Koper, checked',
|
||
'packing.importCsv': 'Muat CSV/TXT/MD',
|
||
'packing.export': 'Ekspor',
|
||
'packing.exportPrint': 'Cetak atau simpan sebagai PDF',
|
||
'packing.exportMarkdown': 'Daftar periksa Markdown (.md)',
|
||
'packing.exportCsv': 'CSV untuk impor (.csv)',
|
||
'packing.printItems': 'Item',
|
||
'packing.printPacked': 'Sudah dikemas',
|
||
'packing.importHintMarkdown':
|
||
'Daftar Markdown juga bisa: judul menentukan kategori, "- [ ]" dan "- [x]" menjadi item, dan "3x" di depan nama menentukan jumlahnya.',
|
||
'packing.importAction': 'Impor {count}',
|
||
'packing.importSuccess': '{count} item berhasil diimpor',
|
||
'packing.importError': 'Impor gagal',
|
||
'packing.importEmpty': 'Tidak ada item untuk diimpor',
|
||
'packing.progress': '{packed} dari {total} sudah dikemas ({percent}%)',
|
||
'packing.clearChecked': 'Hapus {count} yang dicentang',
|
||
'packing.clearCheckedShort': 'Hapus {count}',
|
||
'packing.allPacked': 'Semua sudah dikemas!',
|
||
'packing.addPlaceholder': 'Tambah item baru...',
|
||
'packing.categoryPlaceholder': 'Daftar...',
|
||
'packing.filterAll': 'Semua',
|
||
'packing.filterOpen': 'Belum',
|
||
'packing.filterDone': 'Selesai',
|
||
'packing.emptyTitle': 'Daftar bawaan kosong',
|
||
'packing.emptyFiltered': 'Tidak ada item yang cocok dengan filter ini',
|
||
'packing.menuRename': 'Ganti Nama',
|
||
'packing.menuCheckAll': 'Centang Semua',
|
||
'packing.menuUncheckAll': 'Hapus Centang Semua',
|
||
'packing.menuDeleteCat': 'Hapus daftar',
|
||
'packing.noMembers': 'Tidak ada anggota perjalanan',
|
||
'packing.addItem': 'Tambah item',
|
||
'packing.addItemPlaceholder': 'Nama item...',
|
||
'packing.addCategory': 'Tambah daftar',
|
||
'packing.newCategoryPlaceholder': 'Nama daftar (mis. Pakaian)',
|
||
'packing.applyTemplate': 'Terapkan template',
|
||
'packing.template': 'Template',
|
||
'packing.templateApplied': '{count} item ditambahkan dari template',
|
||
'packing.templateError': 'Gagal menerapkan template',
|
||
'packing.saveAsTemplate': 'Simpan sebagai template',
|
||
'packing.templateName': 'Nama template',
|
||
'packing.templateSaved': 'Daftar bawaan disimpan sebagai template',
|
||
'packing.bags': 'Tas',
|
||
'packing.noBag': 'Belum ditugaskan',
|
||
'packing.totalWeight': 'Total berat',
|
||
'packing.quantity': 'Jml',
|
||
'packing.bagName': 'Nama tas...',
|
||
'packing.addBag': 'Tambah tas',
|
||
'packing.changeCategory': 'Pindahkan ke daftar',
|
||
'packing.confirm.clearChecked': 'Yakin ingin menghapus {count} item yang dicentang?',
|
||
'packing.confirm.deleteCat': 'Yakin ingin menghapus daftar "{name}" dengan {count} item?',
|
||
'packing.defaultCategory': 'Lainnya',
|
||
'packing.toast.saveError': 'Gagal menyimpan',
|
||
'packing.toast.deleteError': 'Gagal menghapus',
|
||
'packing.toast.renameError': 'Gagal mengganti nama',
|
||
'packing.toast.addError': 'Gagal menambahkan',
|
||
'packing.makePrivate': 'Jadikan pribadi',
|
||
'packing.makePublic': 'Bagikan',
|
||
'packing.privateHint': 'Pribadi — hanya terlihat oleh Anda',
|
||
'packing.viewCommon': 'Bersama',
|
||
'packing.viewPersonal': 'Daftar saya',
|
||
'packing.share': 'Berbagi',
|
||
'packing.tierCommonHint': 'Di grup, terlihat oleh semua',
|
||
'packing.tierPersonal': 'Pribadi',
|
||
'packing.tierPersonalHint': 'Privat — hanya Anda yang melihat',
|
||
'packing.tierShared': 'Bagikan dengan…',
|
||
'packing.noOneToShare': 'Belum ada orang lain di perjalanan ini',
|
||
'packing.takenCareOf': 'oleh {name}',
|
||
'packing.sharedWithCount': 'dibagikan dengan {count}',
|
||
'packing.broughtBy': 'dibawa oleh {name}',
|
||
'packing.alsoBring': 'Saya juga bisa membawanya',
|
||
'packing.alsoBringingStop': 'Saya tidak membawanya',
|
||
'packing.cloneToMine': 'Salin ke daftar saya',
|
||
'packing.bagLimit': 'Batas berat',
|
||
'packing.setBagLimit': 'Atur batas',
|
||
};
|
||
export default packing;
|