mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 21:31: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.
76 lines
3.2 KiB
TypeScript
76 lines
3.2 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const collab: TranslationStrings = {
|
|
'collab.tabs.chat': 'Chat',
|
|
'collab.tabs.notes': 'Notities',
|
|
'collab.tabs.polls': 'Polls',
|
|
'collab.whatsNext.title': 'Wat komt er',
|
|
'collab.whatsNext.today': 'Vandaag',
|
|
'collab.whatsNext.tomorrow': 'Morgen',
|
|
'collab.whatsNext.empty': 'Geen komende activiteiten',
|
|
'collab.whatsNext.until': 'tot',
|
|
'collab.whatsNext.emptyHint': 'Activiteiten met tijden verschijnen hier',
|
|
'collab.chat.send': 'Verzenden',
|
|
'collab.chat.placeholder': 'Typ een bericht...',
|
|
'collab.chat.empty': 'Start het gesprek',
|
|
'collab.chat.emptyHint': 'Berichten worden gedeeld met alle reisleden',
|
|
'collab.chat.emptyDesc': 'Deel ideeën, plannen en updates met je reisgroep',
|
|
'collab.chat.today': 'Vandaag',
|
|
'collab.chat.yesterday': 'Gisteren',
|
|
'collab.chat.deletedMessage': 'heeft een bericht verwijderd',
|
|
'collab.chat.reply': 'Beantwoorden',
|
|
'collab.chat.loadMore': 'Oudere berichten laden',
|
|
'collab.chat.justNow': 'zojuist',
|
|
'collab.chat.minutesAgo': '{n} min. geleden',
|
|
'collab.chat.hoursAgo': '{n} uur geleden',
|
|
'collab.notes.title': 'Notities',
|
|
'collab.notes.new': 'Nieuwe notitie',
|
|
'collab.notes.empty': 'Nog geen notities',
|
|
'collab.notes.emptyHint': 'Begin met het vastleggen van ideeën en plannen',
|
|
'collab.notes.all': 'Alle',
|
|
'collab.notes.titlePlaceholder': 'Notitietitel',
|
|
'collab.notes.contentPlaceholder': 'Schrijf iets...',
|
|
'collab.notes.categoryPlaceholder': 'Categorie',
|
|
'collab.notes.newCategory': 'Nieuwe categorie...',
|
|
'collab.notes.category': 'Categorie',
|
|
'collab.notes.noCategory': 'Geen categorie',
|
|
'collab.notes.color': 'Kleur',
|
|
'collab.notes.save': 'Opslaan',
|
|
'collab.notes.cancel': 'Annuleren',
|
|
'collab.notes.edit': 'Bewerken',
|
|
'collab.notes.delete': 'Verwijderen',
|
|
'collab.notes.confirmDeleteTitle': 'Notitie verwijderen?',
|
|
'collab.notes.confirmDeleteBody': 'Deze notitie wordt definitief verwijderd.',
|
|
'collab.notes.pin': 'Vastpinnen',
|
|
'collab.notes.unpin': 'Losmaken',
|
|
'collab.notes.daysAgo': '{n}d geleden',
|
|
'collab.notes.categorySettings': 'Categorieën beheren',
|
|
'collab.notes.create': 'Aanmaken',
|
|
'collab.notes.website': 'Website',
|
|
'collab.notes.websitePlaceholder': 'https://...',
|
|
'collab.notes.attachFiles': 'Bestanden bijvoegen',
|
|
'collab.notes.noCategoriesYet': 'Nog geen categorieën',
|
|
'collab.notes.emptyDesc': 'Maak een notitie om te beginnen',
|
|
'collab.polls.title': 'Polls',
|
|
'collab.polls.new': 'Nieuwe poll',
|
|
'collab.polls.empty': 'Nog geen polls',
|
|
'collab.polls.emptyHint': 'Stel de groep een vraag en stem samen',
|
|
'collab.polls.question': 'Vraag',
|
|
'collab.polls.questionPlaceholder': 'Wat zullen we doen?',
|
|
'collab.polls.addOption': '+ Optie toevoegen',
|
|
'collab.polls.optionPlaceholder': 'Optie {n}',
|
|
'collab.polls.create': 'Poll aanmaken',
|
|
'collab.polls.close': 'Sluiten',
|
|
'collab.polls.closed': 'Gesloten',
|
|
'collab.polls.votes': '{n} stemmen',
|
|
'collab.polls.vote': '{n} stem',
|
|
'collab.polls.multipleChoice': 'Meerkeuze',
|
|
'collab.polls.multiChoice': 'Meerkeuze',
|
|
'collab.polls.deadline': 'Deadline',
|
|
'collab.polls.option': 'Optie',
|
|
'collab.polls.options': 'Opties',
|
|
'collab.polls.delete': 'Verwijderen',
|
|
'collab.polls.closedSection': 'Gesloten',
|
|
};
|
|
export default collab;
|