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
@@ -448,17 +448,7 @@ const tours: TranslationStrings = {
'tours.run.timeSum': '{distance} při {pace} min/km dává {time}',
'tours.run.profile.trail': 'Trailový běh',
'tours.run.profileHint.trail': 'Upřednostňuje lesní cesty a přírodní stezky, až po horské stezky (T2).',
'tours.run.ways.grade': 'Obtížnost cesty (sac_scale)',
'tours.run.ways.gradeInfoLabel': 'O obtížnosti cesty',
'tours.run.ways.gradeInfo':
'Turistické stupně, jak je zadali mapovači OpenStreetMap. Cesta bez stupně je neznámá, ne snadná. Neříkají nic o tom, zda se po cestě dá běžet nebo zda se pro tebe hodí.',
'tours.run.ways.gradeTop': 'Nejtěžší hodnocená cesta: {grade}',
'tours.run.ways.sac.t1': 'T1, pěší turistika',
'tours.run.ways.sac.t2': 'T2, horská turistika',
'tours.run.ways.sac.t3': 'T3, náročná horská turistika',
'tours.run.ways.sac.t4': 'T4, vysokohorská turistika',
'tours.run.ways.sac.t5': 'T5, náročná vysokohorská turistika',
'tours.run.ways.sac.t6': 'T6, obtížná vysokohorská turistika',
'tours.bike.profile': 'Profil',
'tours.bike.profile.touring': 'Treking',
'tours.bike.profile.road': 'Silnice',