doxa-maps/library/i18n/locales/en/mapui.json
Doxa Maps 7fbad5499c Map controls speak the reader's language on both engines ('Zoom in', 'Toggle attribution', gesture hints)
MapLibre's and Mapbox's own control labels stayed English under ar/es (rega's row 30). Both engines take
a `locale` map of their UI strings at construction; useMapInstance now passes one built from the new
mapui catalogue (17 strings x 11 locales, parity PASS) for the reader's language. The keys are the
engines' own (MapLibre 5.24's list, plus Mapbox's gesture-hint names); an engine ignores the rest.
Built doxa-simple-map carries the translations; check:i18n-treeshake PASS.
2026-09-26 08:39:53 +00:00

19 lines
659 B
JSON

{
"map": "Map",
"marker": "Map marker",
"closePopup": "Close popup",
"zoomIn": "Zoom in",
"zoomOut": "Zoom out",
"resetBearing": "Drag to rotate map, click to reset north",
"toggleAttribution": "Toggle attribution",
"mapFeedback": "Map feedback",
"enterFullscreen": "Enter fullscreen",
"exitFullscreen": "Exit fullscreen",
"findMyLocation": "Find my location",
"locationNotAvailable": "Location not available",
"enableGlobe": "Enable globe",
"disableGlobe": "Disable globe",
"ctrlScroll": "Use Ctrl + scroll to zoom the map",
"cmdScroll": "Use ⌘ + scroll to zoom the map",
"twoFingers": "Use two fingers to move the map"
}