mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 13:10:29 +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
52 lines
2.8 KiB
TypeScript
52 lines
2.8 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const map: TranslationStrings = {
|
|
'map.connections': 'Verbindungen',
|
|
'map.showConnections': 'Buchungsrouten anzeigen',
|
|
'map.hideConnections': 'Buchungsrouten ausblenden',
|
|
'poi.searchThisArea': 'Diesen Bereich durchsuchen',
|
|
'poi.cat.restaurants': 'Restaurants', // same-as-en
|
|
'poi.cat.cafes': 'Cafés', // same-as-en
|
|
'poi.cat.bars': 'Bars & Nachtleben',
|
|
'poi.cat.hotels': 'Unterkünfte',
|
|
'poi.cat.sights': 'Sehenswürdigkeiten',
|
|
'poi.cat.museums': 'Museen & Kultur',
|
|
'poi.cat.nature': 'Natur & Parks',
|
|
'poi.cat.activities': 'Aktivitäten',
|
|
'poi.pluginCategories': 'Kategorien aus Plugins',
|
|
'map.showAllConnections': 'Alle Buchungsrouten anzeigen',
|
|
'map.hideAllConnections': 'Alle Buchungsrouten ausblenden',
|
|
'map.baseLayer.default': 'Karte',
|
|
'map.baseLayer.satellite': 'Satellit',
|
|
'map.baseLayer.hiking': 'Wandern',
|
|
'map.baseLayer.hikingDown':
|
|
'OpenHikingMap antwortet gerade nicht. Wechsle auf eine andere Karte, deine Tour bleibt unverändert.',
|
|
'map.baseLayer.cycle': 'Rad',
|
|
'map.baseLayer.cycleDown':
|
|
'CyclOSM antwortet gerade nicht. Wechsle auf eine andere Karte, deine Tour bleibt unverändert.',
|
|
'map.baseLayer.switchToSatellite': 'Zur Satellitenansicht wechseln',
|
|
'map.baseLayer.switchToDefault': 'Zur Kartenansicht wechseln',
|
|
'map.location.denied':
|
|
'Der Standortzugriff ist blockiert. Prüfe die Geräteeinstellungen; eine installierte App hat eine eigene Standortberechtigung, unabhängig vom Browser.',
|
|
'map.location.unavailable': 'Dein Standort konnte nicht ermittelt werden.',
|
|
'map.location.timeout':
|
|
'Die Standortbestimmung hat zu lange gedauert. Versuche es mit freier Sicht zum Himmel erneut.',
|
|
'map.overview.show': 'Ganze Reise anzeigen',
|
|
'map.lock.lock': 'Kartenansicht fixieren',
|
|
'map.lock.unlock': 'Karte der Auswahl folgen lassen',
|
|
'map.overview.hide': 'Ganze Reise ausblenden',
|
|
'map.overview.total': 'Gesamtstrecke',
|
|
'map.attribution': 'Kartenquellen',
|
|
'map.overview.distanceAtLeast': 'mindestens {distance}',
|
|
'map.overview.notRouted': 'nicht berechnet',
|
|
'map.overview.unrouted': '{count} Etappen konnten nicht berechnet werden, die Entfernungen sind unvollständig.',
|
|
'map.overview.unrouted.one': '{count} Etappe konnte nicht berechnet werden, die Entfernungen sind unvollständig.',
|
|
'map.overview.dayUnrouted': '{count} Etappen dieses Tages konnten nicht berechnet werden',
|
|
'map.overview.dayUnrouted.one': '{count} Etappe dieses Tages konnte nicht berechnet werden',
|
|
'map.baseLayer.topo': 'Topografisch',
|
|
'map.webgl2.fallback':
|
|
'Dieser Browser bietet kein WebGL2, das GL-Karten brauchen. Karten werden deshalb mit Leaflet angezeigt.',
|
|
'map.webgl2.terrain': '3D braucht WebGL2, das dieser Browser nicht bietet. Die Karte bleibt in 2D.',
|
|
};
|
|
export default map;
|