mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
feat(tours): plan a multi-day tour as one route split into stages
A hut-to-hut hike or a paddle trip over several days is now planned in the Tours planner as one tour: the whole route is planned as before, and stops along it are marked as stage ends (MDT-01). The stages are read off that one route in its order, never kept as copies, so a change inside a stage changes the whole tour and every figure on it. - A Day tour / Multi-day tour switch beside the tour type; a stop's menu ends a stage there or lets it go on. Back to a day tour removes every stage end after a confirmation, as one step undo brings back. - The list of points is headed per stage with its distance and moving time; a stop that ends a stage carries a moon at its number, on the map too. - The overview lists the stages from stop to stop with distance, climb, descent and time (hiking rule per stage, paddle estimate per stage, the router's time shared by distance otherwise), marks where each ends across the elevation profile, and a stage of more than a day on the move warns. - A stage end a change cannot keep (its stop removed, moved to an end or made a shaping point) is dropped and said so, with undo, never moved to another point. - A multi-day tour may take a day a stage, so its time limit grows with its stages; the tour keeps its one type, portages included. - The list and the MCP tools show the stage count and where stages end. Stage ends are a flag on the waypoint (migration 046000); a tour without one is a day tour, as every tour saved before.
This commit is contained in:
@@ -1286,6 +1286,32 @@ const tours: TranslationStrings = {
|
||||
'tours.stats.excludeFailed': 'Die Tour konnte nicht geändert werden',
|
||||
'tours.stats.unavailable': 'Touraktivitäten konnten nicht geladen werden',
|
||||
'tours.stats.openTrip': 'Reise öffnen',
|
||||
// MDT-01: a multi-day tour, one route split into stages.
|
||||
'tours.stages.mode': 'Tage',
|
||||
'tours.stages.mode.single': 'Tagestour',
|
||||
'tours.stages.mode.multi': 'Mehrtagestour',
|
||||
'tours.stages.emptyHint': 'Im Menü eines Stopps „Etappe hier beenden“ wählen, um die Route zu teilen.',
|
||||
'tours.stages.endHere': 'Etappe hier beenden',
|
||||
'tours.stages.removeEnd': 'Etappenende entfernen',
|
||||
'tours.stages.stage': 'Etappe {number}',
|
||||
'tours.stages.endOf': 'Ende von Etappe {number}',
|
||||
'tours.stages.title': 'Etappen',
|
||||
'tours.stages.count': '{count} Etappen',
|
||||
'tours.stages.count.one': '{count} Etappe',
|
||||
'tours.stages.overDay': 'Mehr als ein Tag unterwegs',
|
||||
'tours.stages.timeInfo':
|
||||
'Zeit in Bewegung je Etappe, ohne Pausen. Radtouren und Stadtspaziergänge teilen die Zeit des Routers nach Strecke auf.',
|
||||
'tours.stages.lost':
|
||||
'{count} Etappenenden sind mit ihren Stopps weggefallen; diese Etappen sind jetzt zusammengelegt.',
|
||||
'tours.stages.lost.one':
|
||||
'{count} Etappenende ist mit seinem Stopp weggefallen; seine zwei Etappen sind jetzt zusammengelegt.',
|
||||
'tours.stages.toDayTitle': 'Zur Tagestour machen?',
|
||||
'tours.stages.toDayBody':
|
||||
'Die {count} Etappenenden werden entfernt. Die Route bleibt, wie sie ist, und Rückgängig holt sie zurück.',
|
||||
'tours.stages.toDayBody.one':
|
||||
'{count} Etappenende wird entfernt. Die Route bleibt, wie sie ist, und Rückgängig holt es zurück.',
|
||||
'tours.stages.toDayConfirm': 'Etappenenden entfernen',
|
||||
'tours.stages.show': 'Zeigen, wo diese Etappe endet',
|
||||
};
|
||||
|
||||
export default tours;
|
||||
|
||||
Reference in New Issue
Block a user