mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-14 00:01:03 +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': 'Connessioni',
|
||
'map.showConnections': 'Mostra percorsi prenotati',
|
||
'map.hideConnections': 'Nascondi percorsi prenotati',
|
||
'poi.searchThisArea': 'Cerca in questa zona',
|
||
'poi.cat.restaurants': 'Ristoranti',
|
||
'poi.cat.cafes': 'Caffè',
|
||
'poi.cat.bars': 'Bar e vita notturna',
|
||
'poi.cat.hotels': 'Alloggi',
|
||
'poi.cat.sights': 'Attrazioni',
|
||
'poi.cat.museums': 'Musei e cultura',
|
||
'poi.cat.nature': 'Natura e parchi',
|
||
'poi.cat.activities': 'Attività',
|
||
'poi.pluginCategories': 'Categorie dai plugin',
|
||
'map.showAllConnections': 'Mostra tutti i percorsi prenotati',
|
||
'map.hideAllConnections': 'Nascondi tutti i percorsi prenotati',
|
||
'map.baseLayer.default': 'Mappa',
|
||
'map.baseLayer.satellite': 'Satellite', // same-as-en
|
||
'map.baseLayer.hiking': 'Escursionismo',
|
||
'map.baseLayer.hikingDown':
|
||
"OpenHikingMap al momento non risponde. Passa a un'altra mappa; il tuo percorso resta com'è.",
|
||
'map.baseLayer.cycle': 'Bici',
|
||
'map.baseLayer.cycleDown': "CyclOSM al momento non risponde. Passa a un'altra mappa; il tuo giro resta com'è.",
|
||
'map.baseLayer.switchToSatellite': 'Passa alla vista satellitare',
|
||
'map.baseLayer.switchToDefault': 'Passa alla vista mappa',
|
||
'map.location.denied':
|
||
'L’accesso alla posizione è bloccato. Controlla le impostazioni del dispositivo; un’app installata ha un proprio permesso di localizzazione, separato dal browser.',
|
||
'map.location.unavailable': 'Impossibile determinare la tua posizione.',
|
||
'map.location.timeout': 'La localizzazione ha richiesto troppo tempo. Riprova con una visuale più libera del cielo.',
|
||
'map.overview.show': 'Mostra tutto il viaggio',
|
||
'map.lock.lock': 'Blocca la vista della mappa',
|
||
'map.lock.unlock': 'Lascia che la mappa segua la selezione',
|
||
'map.overview.hide': 'Nascondi tutto il viaggio',
|
||
'map.overview.total': 'Distanza totale',
|
||
'map.attribution': 'Crediti della mappa',
|
||
'map.overview.distanceAtLeast': 'almeno {distance}',
|
||
'map.overview.notRouted': 'percorso non calcolato',
|
||
'map.overview.unrouted':
|
||
'Per {count} tratte non è stato possibile calcolare il percorso, quindi le distanze sono incomplete.',
|
||
'map.overview.unrouted.one':
|
||
'Per {count} tratta non è stato possibile calcolare il percorso, quindi le distanze sono incomplete.',
|
||
'map.overview.dayUnrouted': 'Per {count} tratte di questo giorno non è stato possibile calcolare il percorso',
|
||
'map.overview.dayUnrouted.one': 'Per {count} tratta di questo giorno non è stato possibile calcolare il percorso',
|
||
'map.baseLayer.topo': 'Topografica',
|
||
'map.webgl2.fallback':
|
||
'Questo browser non offre WebGL2, necessario alle mappe GL, quindi le mappe vengono mostrate con Leaflet.',
|
||
'map.webgl2.terrain': 'Il 3D richiede WebGL2, che questo browser non offre. La mappa resta in 2D.',
|
||
};
|
||
export default map;
|