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.
78 lines
3.3 KiB
TypeScript
78 lines
3.3 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const collab: TranslationStrings = {
|
|
'collab.tabs.chat': 'Chat',
|
|
'collab.tabs.notes': 'Notizen',
|
|
'collab.tabs.polls': 'Umfragen',
|
|
'collab.whatsNext.title': 'Nächste',
|
|
'collab.whatsNext.today': 'Heute',
|
|
'collab.whatsNext.tomorrow': 'Morgen',
|
|
'collab.whatsNext.empty': 'Keine anstehenden Aktivitäten',
|
|
'collab.whatsNext.until': 'bis',
|
|
'collab.whatsNext.emptyHint': 'Aktivitäten mit Uhrzeit erscheinen hier',
|
|
'collab.chat.send': 'Senden',
|
|
'collab.chat.placeholder': 'Nachricht eingeben...',
|
|
'collab.chat.empty': 'Starte die Unterhaltung',
|
|
'collab.chat.emptyHint':
|
|
'Nachrichten werden mit allen Reiseteilnehmern geteilt',
|
|
'collab.chat.emptyDesc':
|
|
'Teile Ideen, Pläne und Updates mit deiner Reisegruppe',
|
|
'collab.chat.today': 'Heute',
|
|
'collab.chat.yesterday': 'Gestern',
|
|
'collab.chat.deletedMessage': 'hat eine Nachricht gelöscht',
|
|
'collab.chat.reply': 'Antworten',
|
|
'collab.chat.loadMore': 'Ältere Nachrichten laden',
|
|
'collab.chat.justNow': 'gerade eben',
|
|
'collab.chat.minutesAgo': 'vor {n} Min.',
|
|
'collab.chat.hoursAgo': 'vor {n} Std.',
|
|
'collab.notes.title': 'Notizen',
|
|
'collab.notes.new': 'Neue Notiz',
|
|
'collab.notes.empty': 'Noch keine Notizen',
|
|
'collab.notes.emptyHint': 'Halte Ideen und Pläne fest',
|
|
'collab.notes.all': 'Alle',
|
|
'collab.notes.titlePlaceholder': 'Notiztitel',
|
|
'collab.notes.contentPlaceholder': 'Schreibe etwas...',
|
|
'collab.notes.categoryPlaceholder': 'Kategorie',
|
|
'collab.notes.newCategory': 'Neue Kategorie...',
|
|
'collab.notes.category': 'Kategorie',
|
|
'collab.notes.noCategory': 'Keine Kategorie',
|
|
'collab.notes.color': 'Farbe',
|
|
'collab.notes.save': 'Speichern',
|
|
'collab.notes.cancel': 'Abbrechen',
|
|
'collab.notes.edit': 'Bearbeiten',
|
|
'collab.notes.delete': 'Löschen',
|
|
'collab.notes.confirmDeleteTitle': 'Notiz löschen?',
|
|
'collab.notes.confirmDeleteBody': 'Diese Notiz wird dauerhaft gelöscht.',
|
|
'collab.notes.pin': 'Anheften',
|
|
'collab.notes.unpin': 'Loslösen',
|
|
'collab.notes.daysAgo': 'vor {n} T.',
|
|
'collab.notes.categorySettings': 'Kategorien verwalten',
|
|
'collab.notes.create': 'Erstellen',
|
|
'collab.notes.website': 'Website',
|
|
'collab.notes.websitePlaceholder': 'https://...',
|
|
'collab.notes.attachFiles': 'Dateien anhängen',
|
|
'collab.notes.noCategoriesYet': 'Noch keine Kategorien',
|
|
'collab.notes.emptyDesc': 'Erstelle eine Notiz um loszulegen',
|
|
'collab.polls.title': 'Umfragen',
|
|
'collab.polls.new': 'Neue Umfrage',
|
|
'collab.polls.empty': 'Noch keine Umfragen',
|
|
'collab.polls.emptyHint': 'Frage die Gruppe und stimmt gemeinsam ab',
|
|
'collab.polls.question': 'Frage',
|
|
'collab.polls.questionPlaceholder': 'Was sollen wir machen?',
|
|
'collab.polls.addOption': '+ Option hinzufügen',
|
|
'collab.polls.optionPlaceholder': 'Option {n}',
|
|
'collab.polls.create': 'Umfrage erstellen',
|
|
'collab.polls.close': 'Schließen',
|
|
'collab.polls.closed': 'Geschlossen',
|
|
'collab.polls.votes': '{n} Stimmen',
|
|
'collab.polls.vote': '{n} Stimme',
|
|
'collab.polls.multipleChoice': 'Mehrfachauswahl',
|
|
'collab.polls.multiChoice': 'Mehrfachauswahl',
|
|
'collab.polls.deadline': 'Frist',
|
|
'collab.polls.option': 'Option',
|
|
'collab.polls.options': 'Optionen',
|
|
'collab.polls.delete': 'Löschen',
|
|
'collab.polls.closedSection': 'Geschlossen',
|
|
};
|
|
export default collab;
|