mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
3238fbc517
The PDF export routed the whole trip under an 8 s deadline while the router is asked one leg at a time, a second apart. A cold month-long trip got about seven legs routed per export; the rest printed as straight lines at "0 m" under a total that looked final, and every further export routed a few more days from the device cache. The export now waits for every leg, bounded by the request pacing, the rate-limit retries and a per-leg timeout. The export dialog and the phone sheet count the legs while they route and offer to print without the rest. Any leg left without a road is marked in the document: the day reads "not routed" or "at least ...", the total says it is a floor, and a note names how many legs are missing. The planner overview shares the same wording. The PDF also routes what the planner map routes now: the road trip's vias, the multi-day tour stages and the reader's distance unit. Closes #2876
51 lines
2.9 KiB
TypeScript
51 lines
2.9 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const map: TranslationStrings = {
|
|
'map.connections': 'Spojení',
|
|
'map.showConnections': 'Zobrazit trasy rezervací',
|
|
'map.hideConnections': 'Skrýt trasy rezervací',
|
|
'poi.searchThisArea': 'Hledat v této oblasti',
|
|
'poi.cat.restaurants': 'Restaurace',
|
|
'poi.cat.cafes': 'Kavárny',
|
|
'poi.cat.bars': 'Bary a noční život',
|
|
'poi.cat.hotels': 'Ubytování',
|
|
'poi.cat.sights': 'Památky',
|
|
'poi.cat.museums': 'Muzea a kultura',
|
|
'poi.cat.nature': 'Příroda a parky',
|
|
'poi.cat.activities': 'Aktivity',
|
|
'poi.pluginCategories': 'Kategorie z pluginů',
|
|
'map.showAllConnections': 'Zobrazit všechny trasy rezervací',
|
|
'map.hideAllConnections': 'Skrýt všechny trasy rezervací',
|
|
'map.baseLayer.default': 'Mapa',
|
|
'map.baseLayer.satellite': 'Satelit',
|
|
'map.baseLayer.hiking': 'Turistika',
|
|
'map.baseLayer.hikingDown': 'OpenHikingMap teď neodpovídá. Přepni na jinou mapu, tvoje túra zůstane beze změny.',
|
|
'map.baseLayer.cycle': 'Cyklo',
|
|
'map.baseLayer.cycleDown': 'CyclOSM teď neodpovídá. Přepni na jinou mapu, tvoje túra zůstává beze změny.',
|
|
'map.baseLayer.switchToSatellite': 'Přepnout na satelitní zobrazení',
|
|
'map.baseLayer.switchToDefault': 'Přepnout na mapové zobrazení',
|
|
'map.location.denied':
|
|
'Přístup k poloze je zablokován. Zkontrolujte nastavení zařízení; nainstalovaná aplikace má vlastní oprávnění k poloze, nezávislé na prohlížeči.',
|
|
'map.location.unavailable': 'Vaši polohu se nepodařilo zjistit.',
|
|
'map.location.timeout': 'Zjišťování polohy trvalo příliš dlouho. Zkuste to znovu s volným výhledem na oblohu.',
|
|
'map.overview.show': 'Zobrazit celou cestu',
|
|
'map.lock.lock': 'Uzamknout zobrazení mapy',
|
|
'map.lock.unlock': 'Nechat mapu sledovat výběr',
|
|
'map.overview.hide': 'Skrýt celou cestu',
|
|
'map.overview.total': 'Celková vzdálenost',
|
|
'map.attribution': 'Zdroje mapy',
|
|
'map.overview.distanceAtLeast': 'nejméně {distance}',
|
|
'map.overview.notRouted': 'trasa nevypočtena',
|
|
'map.overview.unrouted': '{count} úseků se nepodařilo spočítat, vzdálenosti jsou neúplné.',
|
|
'map.overview.unrouted.one': '{count} úsek se nepodařilo spočítat, vzdálenosti jsou neúplné.',
|
|
'map.overview.unrouted.few': '{count} úseky se nepodařilo spočítat, vzdálenosti jsou neúplné.',
|
|
'map.overview.dayUnrouted': '{count} úseků tohoto dne se nepodařilo spočítat',
|
|
'map.overview.dayUnrouted.one': '{count} úsek tohoto dne se nepodařilo spočítat',
|
|
'map.overview.dayUnrouted.few': '{count} úseky tohoto dne se nepodařilo spočítat',
|
|
'map.baseLayer.topo': 'Topografická',
|
|
'map.webgl2.fallback':
|
|
'Tento prohlížeč nenabízí WebGL2, které mapy GL potřebují, proto se mapy zobrazují pomocí Leafletu.',
|
|
'map.webgl2.terrain': '3D potřebuje WebGL2, které tento prohlížeč nenabízí. Mapa zůstává ve 2D.',
|
|
};
|
|
export default map;
|