mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 10:44:23 +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:
@@ -1256,5 +1256,27 @@ const tours: TranslationStrings = {
|
||||
'tours.stats.excludeFailed': 'Retke ei saanud muuta',
|
||||
'tours.stats.unavailable': 'Tehtud retki ei saanud laadida',
|
||||
'tours.stats.openTrip': 'Ava reis',
|
||||
// MDT-01: a multi-day tour, one route split into stages.
|
||||
'tours.stages.mode': 'Päevad',
|
||||
'tours.stages.mode.single': 'Ühepäevane',
|
||||
'tours.stages.mode.multi': 'Mitmepäevane',
|
||||
'tours.stages.emptyHint': 'Marsruudi jagamiseks vali peatuse menüüst „Lõpeta etapp siin“.',
|
||||
'tours.stages.endHere': 'Lõpeta etapp siin',
|
||||
'tours.stages.removeEnd': 'Eemalda etapi lõpp',
|
||||
'tours.stages.stage': 'Etapp {number}',
|
||||
'tours.stages.endOf': 'Etapi {number} lõpp',
|
||||
'tours.stages.title': 'Etapid',
|
||||
'tours.stages.count': '{count} etappi',
|
||||
'tours.stages.count.one': '{count} etapp',
|
||||
'tours.stages.overDay': 'Üle päeva liikumises',
|
||||
'tours.stages.timeInfo':
|
||||
'Liikumisaeg etapi kohta, pausideta. Rattamatkadel ja linnajalutuskäikudel jagatakse teekonnaplaneerija aeg vahemaa järgi.',
|
||||
'tours.stages.lost': '{count} etapi lõppu kadus koos peatustega; need etapid on nüüd ühendatud.',
|
||||
'tours.stages.lost.one': '{count} etapi lõpp kadus koos peatusega; selle kaks etappi on nüüd ühendatud.',
|
||||
'tours.stages.toDayTitle': 'Teha sellest ühepäevane matk?',
|
||||
'tours.stages.toDayBody': '{count} etapi lõppu eemaldatakse. Marsruut jääb samaks ja Võta tagasi taastab need.',
|
||||
'tours.stages.toDayBody.one': '{count} etapi lõpp eemaldatakse. Marsruut jääb samaks ja Võta tagasi taastab selle.',
|
||||
'tours.stages.toDayConfirm': 'Eemalda etapi lõpud',
|
||||
'tours.stages.show': 'Näita, kus see etapp lõpeb',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
Reference in New Issue
Block a user