mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +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:
@@ -1258,5 +1258,30 @@ const tours: TranslationStrings = {
|
||||
'tours.stats.excludeFailed': 'Výlet se nepodařilo změnit',
|
||||
'tours.stats.unavailable': 'Absolvované výlety se nepodařilo načíst',
|
||||
'tours.stats.openTrip': 'Otevřít cestu',
|
||||
// MDT-01: a multi-day tour, one route split into stages.
|
||||
'tours.stages.mode': 'Dny',
|
||||
'tours.stages.mode.single': 'Jednodenní',
|
||||
'tours.stages.mode.multi': 'Vícedenní',
|
||||
'tours.stages.emptyHint': 'V nabídce zastávky zvolte „Ukončit etapu zde“ a rozdělte trasu.',
|
||||
'tours.stages.endHere': 'Ukončit etapu zde',
|
||||
'tours.stages.removeEnd': 'Odebrat konec etapy',
|
||||
'tours.stages.stage': 'Etapa {number}',
|
||||
'tours.stages.endOf': 'Konec etapy {number}',
|
||||
'tours.stages.title': 'Etapy',
|
||||
'tours.stages.count': '{count} etap',
|
||||
'tours.stages.count.one': '{count} etapa',
|
||||
'tours.stages.count.few': '{count} etapy',
|
||||
'tours.stages.overDay': 'Víc než den v pohybu',
|
||||
'tours.stages.timeInfo':
|
||||
'Čas v pohybu na etapu, bez přestávek. U cyklotras a městských procházek se čas plánovače tras dělí podle vzdálenosti.',
|
||||
'tours.stages.lost': '{count} konců etap zmizelo se svými zastávkami; tyto etapy jsou teď spojené.',
|
||||
'tours.stages.lost.one': '{count} konec etapy zmizel se svou zastávkou; jeho dvě etapy jsou teď spojené.',
|
||||
'tours.stages.lost.few': '{count} konce etap zmizely se svými zastávkami; tyto etapy jsou teď spojené.',
|
||||
'tours.stages.toDayTitle': 'Udělat z ní jednodenní túru?',
|
||||
'tours.stages.toDayBody': 'Odebere se {count} konců etap. Trasa zůstane, jak je, a Zpět je vrátí.',
|
||||
'tours.stages.toDayBody.one': 'Odebere se {count} konec etapy. Trasa zůstane, jak je, a Zpět ho vrátí.',
|
||||
'tours.stages.toDayBody.few': 'Odeberou se {count} konce etap. Trasa zůstane, jak je, a Zpět je vrátí.',
|
||||
'tours.stages.toDayConfirm': 'Odebrat konce etap',
|
||||
'tours.stages.show': 'Ukázat, kde etapa končí',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
Reference in New Issue
Block a user