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
49 lines
2.7 KiB
TypeScript
49 lines
2.7 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const map: TranslationStrings = {
|
|
'map.connections': 'Conexiones',
|
|
'map.showConnections': 'Mostrar rutas de reservas',
|
|
'map.hideConnections': 'Ocultar rutas de reservas',
|
|
'poi.searchThisArea': 'Buscar en esta zona',
|
|
'poi.cat.restaurants': 'Restaurantes',
|
|
'poi.cat.cafes': 'Cafés', // same-as-en
|
|
'poi.cat.bars': 'Bares y ocio nocturno',
|
|
'poi.cat.hotels': 'Alojamiento',
|
|
'poi.cat.sights': 'Lugares de interés',
|
|
'poi.cat.museums': 'Museos y cultura',
|
|
'poi.cat.nature': 'Naturaleza y parques',
|
|
'poi.cat.activities': 'Actividades',
|
|
'poi.pluginCategories': 'Categorías de plugins',
|
|
'map.showAllConnections': 'Mostrar todas las rutas de reservas',
|
|
'map.hideAllConnections': 'Ocultar todas las rutas de reservas',
|
|
'map.baseLayer.default': 'Mapa',
|
|
'map.baseLayer.satellite': 'Satélite',
|
|
'map.baseLayer.hiking': 'Senderismo',
|
|
'map.baseLayer.hikingDown': 'OpenHikingMap no responde ahora mismo. Cambia a otro mapa; tu ruta se queda como está.',
|
|
'map.baseLayer.cycle': 'Bici',
|
|
'map.baseLayer.cycleDown': 'CyclOSM no responde ahora mismo. Cambia a otro mapa; tu ruta sigue igual.',
|
|
'map.baseLayer.switchToSatellite': 'Cambiar a vista de satélite',
|
|
'map.baseLayer.switchToDefault': 'Cambiar a vista de mapa',
|
|
'map.location.denied':
|
|
'El acceso a la ubicación está bloqueado. Revisa los ajustes del dispositivo; una app instalada tiene su propio permiso de ubicación, independiente del navegador.',
|
|
'map.location.unavailable': 'No se pudo determinar tu ubicación.',
|
|
'map.location.timeout': 'La localización tardó demasiado. Inténtalo de nuevo con una vista más despejada del cielo.',
|
|
'map.overview.show': 'Mostrar todo el viaje',
|
|
'map.lock.lock': 'Bloquear la vista del mapa',
|
|
'map.lock.unlock': 'Dejar que el mapa siga la selección',
|
|
'map.overview.hide': 'Ocultar todo el viaje',
|
|
'map.overview.total': 'Distancia total',
|
|
'map.attribution': 'Créditos del mapa',
|
|
'map.overview.distanceAtLeast': 'al menos {distance}',
|
|
'map.overview.notRouted': 'ruta no calculada',
|
|
'map.overview.unrouted': 'No se pudieron calcular {count} tramos, así que las distancias están incompletas.',
|
|
'map.overview.unrouted.one': 'No se pudo calcular {count} tramo, así que las distancias están incompletas.',
|
|
'map.overview.dayUnrouted': 'No se pudieron calcular {count} tramos de este día',
|
|
'map.overview.dayUnrouted.one': 'No se pudo calcular {count} tramo de este día',
|
|
'map.baseLayer.topo': 'Topográfico',
|
|
'map.webgl2.fallback':
|
|
'Este navegador no ofrece WebGL2, que necesitan los mapas GL, así que los mapas se muestran con Leaflet.',
|
|
'map.webgl2.terrain': 'El 3D necesita WebGL2, que este navegador no ofrece. El mapa se queda en 2D.',
|
|
};
|
|
export default map;
|