mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 10:44:23 +00:00
feat(tours): the trip's tour totals by type above the tour list (STA-01)
The Tours tab's list of the trip's tours gains the filter the plan's tour list has, and above the list a card with what the tours shown add up to: how many, how many are on a day and how many not, then per type distance, ascent and descent, and the three kinds of time apart, the router's for tours planned in TREK, the one an import brought, and the planned one with breaks. Nothing is added up across types. The filter narrows the list and the totals alike. Each tour counts once however many days it is on; the list is one row a tour. A value no tour has is left out rather than shown as zero, and a sum some tours lack is shown as at least that much, its info dot saying for how many of how many it is known. Paddling sums no heights: on the water a climb says nothing, and a planned paddle tour's heights would be the banks'. The card folds to its counts, remembered in this browser. The empty state for a filter that leaves nothing is shared by both lists now.
This commit is contained in:
@@ -266,6 +266,16 @@ const tours: TranslationStrings = {
|
||||
'tours.filter.type': 'Druh',
|
||||
'tours.filter.empty': 'Těmto filtrům neodpovídá žádná túra.',
|
||||
'tours.filter.reset': 'Zrušit filtry',
|
||||
'tours.scope.title': 'Rozsah cesty',
|
||||
'tours.scope.info':
|
||||
'Co dávají dohromady túry zobrazené níže, podle typu; filtr omezuje obojí. Túra na více dnech se počítá jednou. Tři druhy času zůstávají oddělené: co spočítalo trasování, co přinesl import a co je naplánováno s přestávkami. Napříč typy se nic nesčítá.',
|
||||
'tours.scope.partial': 'Neúplný součet',
|
||||
'tours.scope.partialBody':
|
||||
'Známo pro {known} z {of} túr; ostatní hodnotu nemají a chybí, součet je tedy nejméně tolik.',
|
||||
'tours.scope.routed': 'Vypočtený čas',
|
||||
'tours.scope.imported': 'Čas z importů',
|
||||
'tours.scope.planned': 'Plán s přestávkami',
|
||||
'tours.scope.noMeasures': 'Zatím není známa vzdálenost, výšky ani časy.',
|
||||
'tours.copy.action': 'Uložit jako novou túru',
|
||||
'tours.copy.hint': 'Zkopíruje tuto túru jako novou, samostatnou túru bez jejích dnů. Originál zůstane, jak je.',
|
||||
'tours.copy.name': '{name} (kopie)',
|
||||
|
||||
Reference in New Issue
Block a user