mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +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,5 +1286,27 @@ const tours: TranslationStrings = {
|
||||
'tours.stats.excludeFailed': 'Non è stato possibile modificare l’escursione',
|
||||
'tours.stats.unavailable': 'Non è stato possibile caricare le escursioni svolte',
|
||||
'tours.stats.openTrip': 'Apri viaggio',
|
||||
// MDT-01: a multi-day tour, one route split into stages.
|
||||
'tours.stages.mode': 'Giorni',
|
||||
'tours.stages.mode.single': 'Un giorno',
|
||||
'tours.stages.mode.multi': 'Più giorni',
|
||||
'tours.stages.emptyHint': 'Nel menu di una sosta, scegli «Termina la tappa qui» per dividere il percorso.',
|
||||
'tours.stages.endHere': 'Termina la tappa qui',
|
||||
'tours.stages.removeEnd': 'Togli fine tappa',
|
||||
'tours.stages.stage': 'Tappa {number}',
|
||||
'tours.stages.endOf': 'Fine della tappa {number}',
|
||||
'tours.stages.title': 'Tappe',
|
||||
'tours.stages.count': '{count} tappe',
|
||||
'tours.stages.count.one': '{count} tappa',
|
||||
'tours.stages.overDay': 'Più di un giorno in movimento',
|
||||
'tours.stages.timeInfo':
|
||||
'Tempo in movimento per tappa, pause escluse. Per bici e passeggiate in città il tempo del calcolo percorso è ripartito per distanza.',
|
||||
'tours.stages.lost': '{count} fini tappa sono sparite con le loro soste; quelle tappe ora sono unite.',
|
||||
'tours.stages.lost.one': '{count} fine tappa è sparita con la sua sosta; le sue due tappe ora sono unite.',
|
||||
'tours.stages.toDayTitle': 'Farne un giro di un giorno?',
|
||||
'tours.stages.toDayBody': 'Le {count} fini tappa vengono tolte. Il percorso resta com’è e Annulla le ripristina.',
|
||||
'tours.stages.toDayBody.one': '{count} fine tappa viene tolta. Il percorso resta com’è e Annulla la ripristina.',
|
||||
'tours.stages.toDayConfirm': 'Togli le fini tappa',
|
||||
'tours.stages.show': 'Mostra dove finisce questa tappa',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
Reference in New Issue
Block a user