mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
df3edac7b9
* fix(places): match imports on the provider id so renamed places are not duplicated Re-importing a Google Maps list duplicated every place the user had renamed. buildDedupSet only ever collected names and, for unnamed places, coordinates, and isPlaceDuplicate returns on the name before it reaches the coordinate fallback, so a renamed place was findable by neither. The ids were stored all along, and even backfilled onto matched places, they were simply never read. Match on google_place_id / google_ftid / osm_id first, keeping name and coordinates in their old roles below it. Widening the coordinate check instead would have merged the restaurant and the bar in the same building. The collection copy carried a hand-mirrored port of the same predicate; it now uses the shared helpers and gets the fix with them. Closes #1550 * feat(calendar): put accommodations into the subscribed feed as all-day stays A hotel keeps its dates on the linked stay, not on the reservation: the booking form writes reservation_time = NULL for type 'hotel', and day_accommodations carries start day, end day and the check-in/out clock. The feed only ever read the reservation, so a stay showed up once on the arrival day at best, and not at all when it came from the booking form. Join the stay in and emit the reservation as an all-day range over every night, which also keeps it correct when days are reordered later — the dates now come from the day rows rather than from the copy stamped at creation time. Check-in and check-out become their own timed events when the stay records a clock, because an all-day event cannot carry the time you actually need reminding of. The check-in window, when set, becomes that event's DTEND. Closes #1586 * fix(oauth): treat a concurrent refresh as a race, not as a stolen token Refresh rotation is a race by construction. Several MCP clients share one refresh token, both post it within the same second, and the loser was read as a replay: chain revoked, MCP sessions torn down, browser window asking to log in again. That is the daily re-authentication people were seeing, not a short lifetime — access tokens last an hour and refresh tokens roll for thirty days. A revoked refresh token now only counts as a replay once it is outside a 30-second grace window, and only when the rotation that revoked it left a successor still alive. Inside the window the caller gets its own pair branched off the same parent, so both clients walk away with a working token. Explicit revocation leaves no live successor and a chain killed by a real replay has none either, so neither can slip through the window. Closes #1007 * feat(collections): mark a place visited from the trip it belongs to A place saved in several lists had to be opened in each of them to say you had been there, which is the wrong way round: you find out you have been somewhere while looking at the trip, not while browsing the library. The save picker now shows each list's own status and cycles it in place, with one action for "visited, wherever this is saved". The planner's selection bar and the mobile bulk toolbar carry the same thing for a whole selection — select all, one tap, done. Matching happens on the server with the signals findMembership already uses plus the source link a place saved from this trip carries, so a copy renamed inside a list is still found. Lists you may only read are skipped rather than refused; a shared list you cannot edit should not stop you marking your own. Closes #1469 * feat(journey): jump to the top or back to the last entry in a long journal Everything that adds to a journal sits at the top — the entry button, the gallery upload — and where you left off sits at the bottom, so adding one photo to a long journey meant scrolling the whole way twice. Two buttons float over the middle of the feed, clear of the Add Entry column on one side and the reorder arrows on the other, each appearing only when there is more than a screenful to travel in that direction. They live in a zero-height sticky box so they take no layout space and never push the timeline around. While in the header, the status pill also picks up the height of the round buttons beside it. Closes #1088 * fix(packing): give the item name the row back on phones An item name had roughly a third of the row to itself: a spelled-out sharing sentence, an empty weight column and two round action buttons took the rest, so anything longer than a word was cut off. Sharing is now the icon it always was next to a label rather than a sentence in the layout, an unset weight prints nothing instead of a dash, and edit/delete sit behind one overflow button that opens the same inline menu the bag picker already uses. The to-do list needed none of this — it wraps its chips onto a second line already. Closes #1525 * docs(wiki): cover the six community changes - Calendar feeds: accommodations as an all-day range plus check-in/check-out - Collections: setting the visited status from a trip, and how places are matched - Journey: the jump buttons on a long journal - Packing: what the phone row keeps and what moved behind the overflow button - Places: re-importing a list no longer duplicates renamed places - MCP setup: the rotation race no longer ends an OAuth session * test(collections): assert the stored status instead of a private method tests/ sits outside the build tsconfig, so reaching into getPlaceById only showed up in the dedicated typecheck step. Reading the row is the better assertion anyway — it pins what was persisted, not what a getter returns.
193 lines
9.3 KiB
TypeScript
193 lines
9.3 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const collection: TranslationStrings = {
|
||
'collections.saveNToList': 'Simpan {count} ke daftar',
|
||
'collections.addedNToList': '{count} disimpan ke {name}',
|
||
'collections.noOwnLists': 'Kamu belum punya daftar',
|
||
'collections.saveToListHint': 'Duplikat dilewati otomatis',
|
||
'collections.role.label': 'Peran',
|
||
'collections.role.viewer': 'Peninjau',
|
||
'collections.role.editor': 'Editor',
|
||
'collections.role.admin': 'Admin',
|
||
'collections.picker.allLists': 'Semua daftar',
|
||
'collections.select': 'Pilih',
|
||
'collections.selectAll': 'Pilih semua',
|
||
'collections.deselectAll': 'Batalkan pilihan',
|
||
'collections.moveToList': 'Pindahkan ke daftar',
|
||
'collections.duplicateToList': 'Duplikat ke daftar',
|
||
'collections.moveToListTitle': 'Pindahkan {count} ke daftar lain',
|
||
'collections.duplicateToListTitle': 'Duplikat {count} ke daftar lain',
|
||
'collections.noOtherLists': 'Belum ada daftar lain',
|
||
'collections.movedCount': '{count} tempat dipindahkan',
|
||
'collections.duplicatedCount': '{count} tempat diduplikat',
|
||
'collections.placeCount': '{count} tempat',
|
||
'collections.category': 'Kategori',
|
||
'collections.noCategory': 'Tanpa kategori',
|
||
'collections.editListTitle': 'Edit daftar',
|
||
'collections.coverImage': 'Gambar sampul',
|
||
'collections.addCover': 'Tambah sampul',
|
||
'collections.changeCover': 'Ubah sampul',
|
||
'collections.description': 'Deskripsi',
|
||
'collections.descriptionPlaceholder': 'Tambahkan deskripsi…',
|
||
'collections.links': 'Tautan',
|
||
'collections.linkLabel': 'Label',
|
||
'collections.addLink': 'Tambah tautan',
|
||
'collections.addDetails': 'Tambah detail',
|
||
'collections.addPlace': 'Tambah tempat',
|
||
'collections.addPlaceSearch': 'Cari tempat…',
|
||
'collections.addPlaceHint': 'Cari untuk menambahkan tempat ke daftar ini',
|
||
'collections.importFromTrip': 'Impor dari perjalanan',
|
||
'collections.importTitle': 'Impor dari perjalanan',
|
||
'collections.importDoneTitle': 'Impor selesai',
|
||
'collections.importPickTripHint': 'Pilih perjalanan dan bawa tempatnya ke {name}.',
|
||
'collections.importNoTrips': 'Belum ada perjalanan',
|
||
'collections.importPlacesCount': '{count} tempat',
|
||
'collections.importSearchPlaces': 'Cari tempat…',
|
||
'collections.importOnlyNew': 'Hanya yang baru',
|
||
'collections.importSelectAll': 'Pilih semua',
|
||
'collections.importClearSelection': 'Hapus pilihan',
|
||
'collections.importAlreadySaved': 'Sudah tersimpan',
|
||
'collections.importUnscheduled': 'Tanpa hari',
|
||
'collections.importOnDay': 'Hari {count}',
|
||
'collections.importSelectedCount': '{count} dipilih',
|
||
'collections.importAction': 'Impor {count}',
|
||
'collections.importEmptyTrip': 'Perjalanan ini belum punya tempat',
|
||
'collections.importNothingNew': 'Semua dari perjalanan ini sudah ada di daftar',
|
||
'collections.importDone': '{count} tempat ditambahkan',
|
||
'collections.importDoneSkipped': '{count} sudah ada di daftar dan dibiarkan apa adanya',
|
||
'collections.importDoneClean': 'Semuanya kini ada di {name}',
|
||
'collections.sort.default': 'Bawaan',
|
||
'collections.sort.nameAsc': 'Nama (A–Z)',
|
||
'collections.coordinates': 'Koordinat',
|
||
'collections.showList': 'Tampilkan daftar',
|
||
'collections.expandMap': 'Perbesar peta',
|
||
'collections.hero.mine': 'Koleksi saya',
|
||
'collections.hero.shared': 'Dibagikan dengan Anda',
|
||
'collections.hero.all': 'Pustaka Anda',
|
||
'collections.title': 'Koleksi',
|
||
'collections.subtitle': 'Tempat yang kamu simpan, tertata dalam daftar',
|
||
|
||
'collections.newList': 'Daftar baru',
|
||
'collections.create': 'Buat',
|
||
'collections.editList': 'Ganti nama',
|
||
'collections.listMenu': 'Opsi daftar',
|
||
'collections.deleteList': 'Hapus daftar',
|
||
'collections.deleteListConfirm':
|
||
'Ini menghapus daftar dan semua tempat tersimpan di dalamnya secara permanen. Tindakan ini tidak dapat dibatalkan.',
|
||
'collections.listName': 'Nama daftar',
|
||
'collections.listNamePlaceholder': 'mis. Tokyo 2025',
|
||
'collections.listColor': 'Warna',
|
||
'collections.allSaved': 'Semua tersimpan',
|
||
'collections.shared': 'Dibagikan',
|
||
|
||
'collections.empty.title': 'Belum ada tempat',
|
||
'collections.empty.text': 'Simpan tempat dari perjalanan mana pun untuk mengisi daftar ini.',
|
||
'collections.empty.noMatchTitle': 'Tidak ada yang cocok',
|
||
'collections.empty.noMatchText': 'Tidak ada tempat tersimpan yang cocok dengan filter atau pencarianmu.',
|
||
'collections.empty.firstTitle': 'Mulai koleksi pertamamu',
|
||
'collections.empty.firstText': 'Buat daftar untuk menyimpan tempat yang ingin kamu ingat di seluruh perjalanan.',
|
||
|
||
'collections.view.grid': 'Kisi',
|
||
'collections.view.list': 'Daftar',
|
||
'collections.view.map': 'Peta',
|
||
|
||
'collections.status.idea': 'Ide',
|
||
'collections.status.want': 'Ingin ke sana',
|
||
'collections.status.visited': 'Dikunjungi',
|
||
'collections.status.filterAll': 'Semua',
|
||
'collections.status.cycleHint': 'ketuk untuk mengubah',
|
||
|
||
'collections.markVisited': 'Tandai dikunjungi',
|
||
'collections.markVisitedAll': 'Dikunjungi di semua',
|
||
'collections.markVisitedSelection': 'Tandai dikunjungi di daftar Anda',
|
||
'collections.markVisitedNone': 'Tidak ada tempat ini yang tersimpan di daftar',
|
||
'collections.markedVisited': 'Ditandai sebagai dikunjungi',
|
||
'collections.markedVisitedTrip': '{count} tempat ditandai sebagai dikunjungi',
|
||
|
||
'collections.copyToTrip': 'Salin ke perjalanan',
|
||
'collections.copyToTripTitle': 'Salin ke perjalanan',
|
||
'collections.copyN': 'Salin {count} ke perjalanan',
|
||
'collections.copyToTripSearch': 'Cari perjalanan',
|
||
'collections.searchLists': 'Cari daftar',
|
||
'collections.copyToTripConfirm': 'Salin',
|
||
'collections.noTrips': 'Belum ada perjalanan',
|
||
'collections.alreadyInTrip': 'Sudah ada di perjalanan ini',
|
||
'collections.copied': 'Disalin ke perjalanan',
|
||
'collections.copiedCount': '{count} tempat disalin',
|
||
'collections.skippedDuplicates': '{count} duplikat dilewati',
|
||
'collections.copyNothing': 'Tidak ada yang bisa disalin',
|
||
'collections.removeFromList': 'Hapus dari daftar',
|
||
'collections.removeFromListConfirm': 'Hapus tempat ini dari daftar?',
|
||
'collections.removeFromCollection': 'Hapus dari Koleksi',
|
||
|
||
'collections.saved': 'Disimpan ke {name}',
|
||
'collections.savedUndo': 'Urungkan',
|
||
'collections.viewInCollection': 'Lihat',
|
||
'collections.duplicateWarning': 'Tempat ini sudah ada di daftar',
|
||
|
||
'collections.search': 'Cari tempat',
|
||
'collections.selectMode': 'Pilih',
|
||
'collections.selectedCount': '{count} dipilih',
|
||
|
||
'collections.pickList': 'Simpan ke daftar',
|
||
'collections.pickListPlaceholder': 'Pilih daftar',
|
||
'collections.addedToList': 'Ditambahkan ke {name}',
|
||
'collections.removedFromList': 'Dihapus dari {name}',
|
||
'collections.inLists': 'Di daftarmu',
|
||
'collections.otherLists': 'Tambahkan ke daftar',
|
||
'collections.noListsYet': 'Buat daftar dulu untuk menyimpan tempat.',
|
||
'collections.removedFromAll': 'Dihapus dari koleksi',
|
||
'collections.picker.title': 'Tempat tersimpan',
|
||
'collections.picker.showMore': 'Tampilkan {count} lagi',
|
||
'collections.picker.search': 'Cari tempat tersimpanmu',
|
||
'collections.picker.empty': 'Tidak ada tempat tersimpan untuk ditambahkan',
|
||
'collections.picker.hint': 'Pilih tempat dari koleksimu',
|
||
'collections.picker.use': 'Gunakan',
|
||
|
||
'collections.share.title': 'Bagikan daftar',
|
||
'collections.share.titleNamed': 'Bagikan “{name}”',
|
||
'collections.share.button': 'Bagikan',
|
||
'collections.share.members': 'Anggota',
|
||
'collections.share.owner': 'Pemilik',
|
||
'collections.share.you': 'Anda',
|
||
'collections.share.pending': 'undangan tertunda',
|
||
'collections.share.accepted': 'diterima',
|
||
'collections.share.invite': 'Undang seseorang',
|
||
'collections.share.inviteUser': 'Pilih pengguna',
|
||
'collections.share.sendInvite': 'Kirim undangan',
|
||
'collections.share.inviteHint': 'Orang yang diundang dapat melihat dan mengedit daftar ini.',
|
||
'collections.share.noUsers': 'Tidak ada pengguna yang tersedia untuk diundang.',
|
||
'collections.share.memberHint': 'Hanya pemilik daftar yang dapat mengundang atau menghapus orang.',
|
||
'collections.share.cancel': 'Batal',
|
||
'collections.share.leave': 'Tinggalkan daftar',
|
||
'collections.share.leaveConfirm': 'Tinggalkan daftar bersama ini? Anda akan kehilangan akses hingga diundang lagi.',
|
||
'collections.share.left': 'Anda meninggalkan daftar',
|
||
'collections.share.remove': 'Hapus',
|
||
|
||
'collections.invites.title': 'Undangan',
|
||
'collections.invites.from': 'dari',
|
||
'collections.invites.accept': 'Terima',
|
||
'collections.invites.decline': 'Tolak',
|
||
'collections.invites.received': 'Kamu punya undangan daftar baru',
|
||
'collections.invite.sent': 'Undangan terkirim',
|
||
'collections.invite.error': 'Tidak dapat mengirim undangan',
|
||
'collections.invite.accepted': 'Undangan diterima',
|
||
'collections.invite.declined': 'Undangan ditolak',
|
||
|
||
'collections.widget.title': 'Koleksi',
|
||
'collections.widget.empty': 'Belum ada tempat tersimpan',
|
||
'collections.widget.savedCount': '{count} tersimpan',
|
||
'collections.labels.title': 'Label',
|
||
'collections.labels.manage': 'Kelola label',
|
||
'collections.labels.add': 'Tambah label',
|
||
'collections.labels.name': 'Nama label',
|
||
'collections.labels.namePlaceholder': 'mis. Berlin',
|
||
'collections.labels.assign': 'Beri label',
|
||
'collections.labels.assignN': 'Beri label ke {count} tempat',
|
||
'collections.labels.assignedCount': '{count} tempat diberi label',
|
||
'collections.labels.empty': 'Belum ada label',
|
||
'collections.labels.emptyHint': 'Buat label dulu untuk mengelompokkan tempat di daftar ini.',
|
||
};
|
||
|
||
export default collection;
|