mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +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:
@@ -1272,5 +1272,28 @@ const tours: TranslationStrings = {
|
||||
'tours.stats.excludeFailed': 'Não foi possível alterar o passeio',
|
||||
'tours.stats.unavailable': 'Não foi possível carregar os passeios realizados',
|
||||
'tours.stats.openTrip': 'Abrir viagem',
|
||||
// MDT-01: a multi-day tour, one route split into stages.
|
||||
'tours.stages.mode': 'Dias',
|
||||
'tours.stages.mode.single': 'Um dia',
|
||||
'tours.stages.mode.multi': 'Vários dias',
|
||||
'tours.stages.emptyHint': 'No menu de uma parada, escolha “Encerrar etapa aqui” para dividir a rota.',
|
||||
'tours.stages.endHere': 'Encerrar etapa aqui',
|
||||
'tours.stages.removeEnd': 'Remover fim de etapa',
|
||||
'tours.stages.stage': 'Etapa {number}',
|
||||
'tours.stages.endOf': 'Fim da etapa {number}',
|
||||
'tours.stages.title': 'Etapas',
|
||||
'tours.stages.count': '{count} etapas',
|
||||
'tours.stages.count.one': '{count} etapa',
|
||||
'tours.stages.overDay': 'Mais de um dia em movimento',
|
||||
'tours.stages.timeInfo':
|
||||
'Tempo em movimento por etapa, sem pausas. Em passeios de bicicleta e caminhadas urbanas, o tempo do planejador de rotas é dividido pela distância.',
|
||||
'tours.stages.lost': '{count} fins de etapa sumiram com suas paradas; essas etapas agora estão unidas.',
|
||||
'tours.stages.lost.one': '{count} fim de etapa sumiu com sua parada; suas duas etapas agora estão unidas.',
|
||||
'tours.stages.toDayTitle': 'Transformar em passeio de um dia?',
|
||||
'tours.stages.toDayBody':
|
||||
'Os {count} fins de etapa são removidos. A rota fica como está, e Desfazer os traz de volta.',
|
||||
'tours.stages.toDayBody.one': '{count} fim de etapa é removido. A rota fica como está, e Desfazer o traz de volta.',
|
||||
'tours.stages.toDayConfirm': 'Remover fins de etapa',
|
||||
'tours.stages.show': 'Mostrar onde esta etapa termina',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
Reference in New Issue
Block a user