fix(tours): show a run's ways in the hike's trail details card

A run described its ways in a card of its own, with the bike's sections,
the bike's paint for the SAC grades (T5 and T6 merged) and its own words,
so the same path read differently on a hike and on a run. The run now
uses the hike's card, matched as a run, and keeps only the unpaved share
and the hardest grade in its head. The run's grade labels and the now
unused SAC paint go.
This commit is contained in:
Maurice
2026-10-20 16:42:47 +02:00
parent ae726ed370
commit a1d683d7bc
36 changed files with 144 additions and 451 deletions
-10
View File
@@ -456,17 +456,7 @@ const tours: TranslationStrings = {
'tours.run.timeSum': '{distance} a {pace} min/km són {time}',
'tours.run.profile.trail': 'Curses de muntanya',
'tours.run.profileHint.trail': 'Prefereix pistes forestals i corriols naturals, fins a camins de muntanya (T2).',
'tours.run.ways.grade': 'Dificultat del camí (sac_scale)',
'tours.run.ways.gradeInfoLabel': 'Sobre la dificultat del camí',
'tours.run.ways.gradeInfo':
'Graus d’excursionisme tal com els han posat els mapejadors d’OpenStreetMap. Un camí sense grau és desconegut, no fàcil. No diuen si un camí es pot córrer ni si et convé.',
'tours.run.ways.gradeTop': 'Camí classificat més difícil: {grade}',
'tours.run.ways.sac.t1': 'T1, senderisme',
'tours.run.ways.sac.t2': 'T2, senderisme de muntanya',
'tours.run.ways.sac.t3': 'T3, senderisme de muntanya exigent',
'tours.run.ways.sac.t4': 'T4, senderisme alpí',
'tours.run.ways.sac.t5': 'T5, senderisme alpí exigent',
'tours.run.ways.sac.t6': 'T6, senderisme alpí difícil',
'tours.bike.profile': 'Perfil',
'tours.bike.profile.touring': 'Cicloturisme',
'tours.bike.profile.road': 'Carretera',