mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 01:44:13 +00:00
bf1900c3a0
Extract the day route builder out of useRouteCalculation into a pure module and aggregate it over the whole trip: one map with every day's route, each day in its own colour, the mode per stage and the trip's total distance. Straight lines first, roads as they answer; a refused leg keeps its line and adds no distance. Give the floating map controls one shared drop shadow while adding the toggle, so the new pill and the base-layer switcher stand off the tiles the way the locate button always has. Document the control in wiki/Map-Features.md. Addresses #1736
30 lines
2.1 KiB
TypeScript
30 lines
2.1 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const map: TranslationStrings = {
|
|
'map.connections': 'Συνδέσεις',
|
|
'map.showConnections': 'Εμφάνιση διαδρομών κρατήσεων',
|
|
'map.hideConnections': 'Απόκρυψη διαδρομών κρατήσεων',
|
|
'poi.searchThisArea': 'Αναζήτηση σε αυτήν την περιοχή',
|
|
'poi.cat.restaurants': 'Εστιατόρια',
|
|
'poi.cat.cafes': 'Καφέ',
|
|
'poi.cat.bars': 'Μπαρ & νυχτερινή ζωή',
|
|
'poi.cat.hotels': 'Διαμονή',
|
|
'poi.cat.sights': 'Αξιοθέατα',
|
|
'poi.cat.museums': 'Μουσεία & πολιτισμός',
|
|
'poi.cat.nature': 'Φύση & πάρκα',
|
|
'poi.cat.activities': 'Δραστηριότητες',
|
|
'map.showAllConnections': 'Εμφάνιση όλων των διαδρομών κρατήσεων',
|
|
'map.hideAllConnections': 'Απόκρυψη όλων των διαδρομών κρατήσεων',
|
|
'map.baseLayer.default': 'Χάρτης',
|
|
'map.baseLayer.satellite': 'Δορυφόρος',
|
|
'map.baseLayer.switchToSatellite': 'Εναλλαγή σε δορυφορική προβολή',
|
|
'map.baseLayer.switchToDefault': 'Εναλλαγή σε προβολή χάρτη',
|
|
'map.location.denied': 'Η πρόσβαση στην τοποθεσία είναι αποκλεισμένη. Ελέγξτε τις ρυθμίσεις της συσκευής. Μια εγκατεστημένη εφαρμογή έχει δική της άδεια τοποθεσίας, ξεχωριστή από το πρόγραμμα περιήγησης.',
|
|
'map.location.unavailable': 'Δεν ήταν δυνατός ο προσδιορισμός της τοποθεσίας σας.',
|
|
'map.location.timeout': 'Ο εντοπισμός της θέσης σας άργησε πολύ. Δοκιμάστε ξανά με καθαρή θέα στον ουρανό.',
|
|
'map.overview.show': 'Εμφάνιση όλου του ταξιδιού',
|
|
'map.overview.hide': 'Απόκρυψη όλου του ταξιδιού',
|
|
'map.overview.total': 'Συνολική απόσταση',
|
|
};
|
|
export default map;
|