Skip to content

Commit

Permalink
Add localization for UI strings in Spanish (#11696)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin committed May 24, 2022
1 parent 69373f0 commit 3cd7990
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/ui/locales/es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// @flow

const locale = {
"AttributionControl.ToggleAttribution": "Mostrar atribución",
"AttributionControl.MapFeedback": "Comentarios sobre el mapa",
"FullscreenControl.Enter": "Entrar en pantalla completa",
"FullscreenControl.Exit": "Salir de pantalla completa",
"GeolocateControl.FindMyLocation": "Encuentra mi ubicación",
"GeolocateControl.LocationNotAvailable": "Ubicación no disponible",
"LogoControl.Title": "Logotipo de Mapbox",
"Map.Title": "Mapa",
"NavigationControl.ResetBearing": "Restablecer orientación al norte",
"NavigationControl.ZoomIn": "Ampliar",
"NavigationControl.ZoomOut": "Disminuir el zoom",
"ScaleControl.Feet": "ft",
"ScaleControl.Meters": "m",
"ScaleControl.Kilometers": "km",
"ScaleControl.Miles": "mi",
"ScaleControl.NauticalMiles": "nm",
"ScrollZoomBlocker.CtrlMessage": "Usa ctrl + desplazamiento para hacer zoom en el mapa",
"ScrollZoomBlocker.CmdMessage": "Use ⌘ + desplazamiento para hacer zoom en el mapa",

This comment has been minimized.

Copy link
@ThibaudLopez

ThibaudLopez May 24, 2022

Contributor

Maybe change this word from Use to Usa (or vice versa) to be consistent with the other two Message. Both words are valid in Spanish, the first one is more formal than the second.

This comment has been minimized.

Copy link
@stepankuzmin

stepankuzmin May 25, 2022

Author Contributor

Hey @ThibaudLopez 👋

Good catch! Fixed in 15402a3

"TouchPanBlocker.Message": "Usa dos dedos para mover el mapa"
};

export default locale;

0 comments on commit 3cd7990

Please sign in to comment.