mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
49b3af8b0d
Optimize day routes around the accommodation
When a day has an accommodation set, the route optimizer now treats it as
the day's home base: it optimizes a loop that leaves the hotel and returns
to it, so the stop nearest the hotel comes first. On a transfer day -
checking out of one hotel and into another - the route runs from the first
hotel to the second instead.
The optimizer also gained a 2-opt pass on top of the nearest-neighbor
ordering, which removes the crossings the greedy pass used to leave behind.
A new display setting ("optimize route from accommodation", on by default)
lets you turn the anchoring off.
Confirm before deleting notes
Deleting a plan note or a collab note now asks for confirmation first. On
phones and tablets the edit and delete icons sit close together and were
easy to mis-tap, which deleted notes with no way back.
53 lines
2.3 KiB
TypeScript
53 lines
2.3 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const dayplan: TranslationStrings = {
|
|
'dayplan.icsTooltip': 'Ekspor kalender (ICS)',
|
|
'dayplan.emptyDay': 'Belum ada tempat yang direncanakan untuk hari ini',
|
|
'dayplan.cannotReorderTransport':
|
|
'Pemesanan dengan waktu tetap tidak bisa diurutkan ulang',
|
|
'dayplan.confirmRemoveTimeTitle': 'Hapus waktu?',
|
|
'dayplan.confirmRemoveTimeBody':
|
|
'Tempat ini memiliki waktu tetap ({time}). Memindahkannya akan menghapus waktu dan mengizinkan pengurutan bebas.',
|
|
'dayplan.confirmRemoveTimeAction': 'Hapus waktu & pindahkan',
|
|
'dayplan.confirmDeleteNoteTitle': 'Hapus catatan?',
|
|
'dayplan.confirmDeleteNoteBody': 'Catatan ini akan dihapus secara permanen.',
|
|
'dayplan.cannotDropOnTimed':
|
|
'Item tidak dapat ditempatkan di antara entri yang terikat waktu',
|
|
'dayplan.cannotBreakChronology':
|
|
'Ini akan merusak urutan kronologis item bertanggal dan pemesanan',
|
|
'dayplan.addNote': 'Tambah Catatan',
|
|
'dayplan.editNote': 'Edit Catatan',
|
|
'dayplan.noteAdd': 'Tambah Catatan',
|
|
'dayplan.noteEdit': 'Edit Catatan',
|
|
'dayplan.noteTitle': 'Catatan',
|
|
'dayplan.noteSubtitle': 'Catatan Harian',
|
|
'dayplan.totalCost': 'Total Biaya',
|
|
'dayplan.days': 'Hari',
|
|
'dayplan.dayN': 'Hari {n}',
|
|
'dayplan.calculating': 'Menghitung...',
|
|
'dayplan.route': 'Rute',
|
|
'dayplan.optimize': 'Optimalkan',
|
|
'dayplan.optimized': 'Rute dioptimalkan',
|
|
'dayplan.routeError': 'Gagal menghitung rute',
|
|
'dayplan.toast.needTwoPlaces':
|
|
'Diperlukan minimal dua tempat untuk optimasi rute',
|
|
'dayplan.toast.routeOptimized': 'Rute dioptimalkan',
|
|
'dayplan.toast.routeOptimizedFromHotel':
|
|
'Rute dioptimalkan dari akomodasimu',
|
|
'dayplan.toast.noGeoPlaces':
|
|
'Tidak ditemukan tempat dengan koordinat untuk kalkulasi rute',
|
|
'dayplan.confirmed': 'Dikonfirmasi',
|
|
'dayplan.pendingRes': 'Menunggu',
|
|
'dayplan.pdf': 'PDF',
|
|
'dayplan.pdfTooltip': 'Ekspor rencana hari sebagai PDF',
|
|
'dayplan.pdfError': 'Gagal mengekspor PDF',
|
|
'dayplan.mobile.addPlace': 'Tambah Tempat',
|
|
'dayplan.mobile.searchPlaces': 'Cari tempat...',
|
|
'dayplan.mobile.allAssigned': 'Semua tempat sudah ditugaskan',
|
|
'dayplan.mobile.noMatch': 'Tidak ditemukan',
|
|
'dayplan.mobile.createNew': 'Buat tempat baru',
|
|
'dayplan.expandAll': 'Expand all days', // en-fallback
|
|
'dayplan.collapseAll': 'Collapse all days', // en-fallback
|
|
};
|
|
export default dayplan;
|