mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +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
3.0 KiB
TypeScript
51 lines
3.0 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const map: TranslationStrings = {
|
|
'map.connections': 'Spojenia',
|
|
'map.showConnections': 'Zobraziť trasy rezervácií',
|
|
'map.hideConnections': 'Skryť trasy rezervácií',
|
|
'poi.searchThisArea': 'Hľadať v tejto oblasti',
|
|
'poi.cat.restaurants': 'Reštaurácie',
|
|
'poi.cat.cafes': 'Kaviarne',
|
|
'poi.cat.bars': 'Bary a nočný život',
|
|
'poi.cat.hotels': 'Ubytovanie',
|
|
'poi.cat.sights': 'Pamiatky',
|
|
'poi.cat.museums': 'Múzeá a kultúra',
|
|
'poi.cat.nature': 'Príroda a parky',
|
|
'poi.cat.activities': 'Aktivity',
|
|
'poi.pluginCategories': 'Kategórie z pluginov',
|
|
'map.showAllConnections': 'Zobraziť všetky trasy rezervácií',
|
|
'map.hideAllConnections': 'Skryť všetky trasy rezervácií',
|
|
'map.baseLayer.default': 'Mapa',
|
|
'map.baseLayer.satellite': 'Satelit',
|
|
'map.baseLayer.hiking': 'Turistika',
|
|
'map.baseLayer.hikingDown': 'OpenHikingMap teraz neodpovedá. Prepni na inú mapu, tvoja túra zostane bez zmeny.',
|
|
'map.baseLayer.cycle': 'Cyklo',
|
|
'map.baseLayer.cycleDown': 'CyclOSM teraz neodpovedá. Prepni na inú mapu, tvoja túra zostáva bez zmeny.',
|
|
'map.baseLayer.switchToSatellite': 'Prepnúť na satelitné zobrazenie',
|
|
'map.baseLayer.switchToDefault': 'Prepnúť na mapové zobrazenie',
|
|
'map.location.denied':
|
|
'Prístup k polohe je zablokovaný. Skontrolujte nastavenia zariadenia; nainštalovaná aplikácia má vlastné oprávnenie na polohu, nezávislé od prehliadača.',
|
|
'map.location.unavailable': 'Vašu polohu sa nepodarilo zistiť.',
|
|
'map.location.timeout': 'Zisťovanie polohy trvalo príliš dlho. Skúste to znova s voľným výhľadom na oblohu.',
|
|
'map.overview.show': 'Zobraziť celú cestu',
|
|
'map.lock.lock': 'Uzamknúť zobrazenie mapy',
|
|
'map.lock.unlock': 'Nechať mapu sledovať výber',
|
|
'map.overview.hide': 'Skryť celú cestu',
|
|
'map.overview.total': 'Celková vzdialenosť',
|
|
'map.attribution': 'Zdroje mapy',
|
|
'map.overview.distanceAtLeast': 'najmenej {distance}',
|
|
'map.overview.notRouted': 'trasa nevypočítaná',
|
|
'map.overview.unrouted': 'Trasu pre {count} úsekov sa nepodarilo vypočítať, takže vzdialenosti sú neúplné.',
|
|
'map.overview.unrouted.one': 'Trasu pre {count} úsek sa nepodarilo vypočítať, takže vzdialenosti sú neúplné.',
|
|
'map.overview.unrouted.few': 'Trasu pre {count} úseky sa nepodarilo vypočítať, takže vzdialenosti sú neúplné.',
|
|
'map.overview.dayUnrouted': 'Trasu pre {count} úsekov tohto dňa sa nepodarilo vypočítať',
|
|
'map.overview.dayUnrouted.one': 'Trasu pre {count} úsek tohto dňa sa nepodarilo vypočítať',
|
|
'map.overview.dayUnrouted.few': 'Trasu pre {count} úseky tohto dňa sa nepodarilo vypočítať',
|
|
'map.baseLayer.topo': 'Topografická',
|
|
'map.webgl2.fallback':
|
|
'Tento prehliadač neponúka WebGL2, ktoré mapy GL potrebujú, preto sa mapy zobrazujú pomocou Leafletu.',
|
|
'map.webgl2.terrain': '3D potrebuje WebGL2, ktoré tento prehliadač neponúka. Mapa zostáva v 2D.',
|
|
};
|
|
export default map;
|