mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +00:00
82165855c7
- A list keeps its own order: drag a place by its grip (desktop and phone) or move it with the arrow keys. Reordering is off while a search or filter hides places and the list says why. New PUT /collections/:id/places/reorder and the MCP tool reorder_collection_places; new places go to the end. Client and server now order ties the same way (sort_order, oldest first, id). - Copying saved places into a trip no longer takes their notes and tags along unasked. The picker offers both; a tag taken along becomes a trip tag (a trip tag of the same name is reused), never someone's personal tag. - The source trip and place a saved place names are only kept when the user can open that trip and the place belongs to it. - A KML or KMZ map can be read into a list: the dialog lists every placemark to keep or leave out and says which entries were skipped and why (POST /collections/map/read writes nothing; the import does). - A saved place without coordinates says so and can be looked up on the map from its edit form, on the phone too, where a missing position could not be added at all. A typed address without a pick says it will not be on the map. - The trip map can show the place names beside the pins (desktop and phone, both renderers). Names that would cover another pin or a control give way, the selected place and the planned stops first.
57 lines
3.1 KiB
TypeScript
57 lines
3.1 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const map: TranslationStrings = {
|
||
'map.connections': 'Connexions',
|
||
'map.showConnections': 'Afficher les itinéraires',
|
||
'map.hideConnections': 'Masquer les itinéraires',
|
||
'poi.searchThisArea': 'Rechercher dans cette zone',
|
||
'poi.cat.restaurants': 'Restaurants', // same-as-en
|
||
'poi.cat.cafes': 'Cafés', // same-as-en
|
||
'poi.cat.bars': 'Bars & vie nocturne',
|
||
'poi.cat.hotels': 'Hébergement',
|
||
'poi.cat.sights': 'Sites touristiques',
|
||
'poi.cat.museums': 'Musées & culture',
|
||
'poi.cat.nature': 'Nature & parcs',
|
||
'poi.cat.activities': 'Activités',
|
||
'poi.cat.bakeries': 'Boulangeries',
|
||
'poi.cat.groceries': 'Épiceries',
|
||
'poi.pluginCategories': 'Catégories des plugins',
|
||
'map.showAllConnections': 'Afficher tous les itinéraires',
|
||
'map.hideAllConnections': 'Masquer tous les itinéraires',
|
||
'map.baseLayer.default': 'Carte',
|
||
'map.baseLayer.satellite': 'Satellite', // same-as-en
|
||
'map.baseLayer.hiking': 'Randonnée',
|
||
'map.baseLayer.hikingDown':
|
||
'OpenHikingMap ne répond pas pour le moment. Passe à une autre carte ; ton itinéraire reste inchangé.',
|
||
'map.baseLayer.cycle': 'Vélo',
|
||
'map.baseLayer.cycleDown':
|
||
'CyclOSM ne répond pas pour le moment. Passe à une autre carte ; ta sortie reste telle quelle.',
|
||
'map.baseLayer.switchToSatellite': 'Passer à la vue satellite',
|
||
'map.baseLayer.switchToDefault': 'Passer à la vue carte',
|
||
'map.location.denied':
|
||
'L’accès à la position est bloqué. Vérifiez les réglages de l’appareil. Une app installée possède sa propre autorisation de localisation, distincte du navigateur.',
|
||
'map.location.unavailable': 'Votre position n’a pas pu être déterminée.',
|
||
'map.location.timeout': 'La localisation a pris trop de temps. Réessayez avec une vue plus dégagée du ciel.',
|
||
'map.placeNames.show': 'Afficher les noms de lieux',
|
||
'map.placeNames.hide': 'Masquer les noms de lieux',
|
||
'map.overview.show': 'Afficher tout le voyage',
|
||
'map.lock.lock': 'Verrouiller la vue de la carte',
|
||
'map.lock.unlock': 'Laisser la carte suivre la sélection',
|
||
'map.overview.hide': 'Masquer tout le voyage',
|
||
'map.overview.total': 'Distance totale',
|
||
'map.attribution': 'Crédits de la carte',
|
||
'map.overview.distanceAtLeast': 'au moins {distance}',
|
||
'map.overview.notRouted': 'itinéraire non calculé',
|
||
'map.overview.unrouted': '{count} étapes n’ont pas pu être calculées, les distances sont donc incomplètes.',
|
||
'map.overview.unrouted.one': '{count} étape n’a pas pu être calculée, les distances sont donc incomplètes.',
|
||
'map.overview.dayUnrouted': '{count} étapes de cette journée n’ont pas pu être calculées',
|
||
'map.overview.dayUnrouted.one': '{count} étape de cette journée n’a pas pu être calculée',
|
||
'map.baseLayer.topo': 'Topographique',
|
||
'map.webgl2.fallback':
|
||
'Ce navigateur ne propose pas WebGL2, nécessaire aux cartes GL : les cartes s’affichent donc avec Leaflet.',
|
||
'map.webgl2.terrain': 'La 3D nécessite WebGL2, que ce navigateur ne propose pas. La carte reste en 2D.',
|
||
'map.offlineBasemap': 'Carte hors ligne',
|
||
'map.offlineShowStored': 'Afficher la carte hors ligne',
|
||
};
|
||
export default map;
|