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.
19 lines
744 B
JSON
19 lines
744 B
JSON
{
|
|
"map": "Mapa",
|
|
"marker": "Marcador do mapa",
|
|
"closePopup": "Fechar janela",
|
|
"zoomIn": "Aumentar zoom",
|
|
"zoomOut": "Diminuir zoom",
|
|
"resetBearing": "Arraste para girar o mapa, clique para voltar ao norte",
|
|
"toggleAttribution": "Mostrar/ocultar atribuição",
|
|
"mapFeedback": "Comentários sobre o mapa",
|
|
"enterFullscreen": "Tela cheia",
|
|
"exitFullscreen": "Sair da tela cheia",
|
|
"findMyLocation": "Encontrar minha localização",
|
|
"locationNotAvailable": "Localização indisponível",
|
|
"enableGlobe": "Ativar globo",
|
|
"disableGlobe": "Desativar globo",
|
|
"ctrlScroll": "Use Ctrl + rolagem para ampliar o mapa",
|
|
"cmdScroll": "Use ⌘ + rolagem para ampliar o mapa",
|
|
"twoFingers": "Use dois dedos para mover o mapa"
|
|
}
|