Skip to content

Commit

Permalink
Add translations for Spanish, French and Portuguese (Brazil).
Browse files Browse the repository at this point in the history
Spanish and French are quick and dirty translations and need review by native speakers.
  • Loading branch information
tmcgee committed Aug 7, 2016
1 parent 17350d7 commit 1da70c7
Show file tree
Hide file tree
Showing 50 changed files with 818 additions and 3 deletions.
1 change: 0 additions & 1 deletion viewer/js/config/basemaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ define([
return {
map: true, // needs a reference to the map
mode: 'agol', // mut be either 'agol' or 'custom'
title: i18n.basemaps.title, // title for widget

/* optional starting basemap
/ otherwise uses the basemap from the map
Expand Down
63 changes: 63 additions & 0 deletions viewer/js/config/nls/es/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// http://dojotoolkit.org/reference-guide/1.10/dojo/i18n.html
define({
basemaps: {
davidRumseyMap1812: 'David Rumsey 1812',
darkGrayVector: 'Gris oscuro',
earthAtNight: 'Tierra en la noche',
grayVector: 'Gris',
hybrid: 'Híbrido',
landsatShaded: 'Landsat sombreada',
nationalGeographic: 'Nat Geo',
oceans: 'Oceános',
osm: 'Open Street Map',
satellite: 'Satélite',
streets: 'Calle',
streetsNavigationVector: 'Calle (Navegación)',
streetsNightVector: 'Calle (Noche)',
streetsReliefVector: 'Calle (Relieve)',
terrain: 'Terreno',
title: 'Mapas base',
topo: 'Topográfico'
},
bookmarks: {
nullIsland: 'Isla nula',
usa: 'EE.UU.'
},
find: {
louisvillePubSafety: 'Encontrar un local de Seguridad Pública por su nombre',
sf311Incidents: 'Encuentra incidente por código/descripción'
},
identify: {
louisvillePubSafety: {
policeStation: 'Comisaría de Policía',
trafficCamera: 'Cámara de Tráfico'
}
},
viewer: {
operationalLayers: {
damageAssessment: 'Valoración de daño',
louisvillePubSafety: 'Seguridad Pública de Louisville',
restaurants: 'Restaurantes',
sf311Incidents: '311 Incidentes de San Francisco'
},
titles: {
header: 'Configurable Map Viewer',
pageTitle: 'Configurable Map Viewer — Un visor de mapas configurables', // One configurable map viewer
subHeader: 'personalizarlo a su gusto' // customize it at your will (the literal translation doesn’t sound good)
},
widgets: {
bookmarks: 'Marcadores',
directions: 'Direcciones',
draw: 'Dibujar',
editor: 'Editor',
find: 'Encontrar',
help: 'Ayuda',
identify: 'Identificar',
measure: 'Medición',
layerControl: 'Capas',
legend: 'Leyenda',
print: 'Imprimir',
streetview: 'Google Street View'
}
}
});
62 changes: 62 additions & 0 deletions viewer/js/config/nls/fr/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
// http://dojotoolkit.org/reference-guide/1.10/dojo/i18n.html
define({
basemaps: {
davidRumseyMap1812: 'David Rumsey 1812',
darkGrayVector: 'Gris Foncé',
earthAtNight: 'Terre la nuit',
grayVector: 'Gris',
hybrid: 'Hybride',
landsatShaded: 'Landsat Ombragée',
nationalGeographic: 'National Geographic',
oceans: 'Oceans',
osm: 'Open Street Map',
satellite: 'Photos aériennes',
streets: 'Rues',
streetsNavigationVector: 'Rues (Navigation)',
streetsNightVector: 'Rues (Nuit)',
streetsReliefVector: 'Rues (Relief)',
terrain: 'Sol',
topo: 'Topographique'
},
bookmarks: {
nullIsland: 'Île Null',
usa: 'USA'
},
find: {
louisvillePubSafety: 'Trouvez une Sécurité Publique locale par nom',
sf311Incidents: 'Trouver incident en code/description'
},
identify: {
louisvillePubSafety: {
policeStation: 'Poste de police',
trafficCamera: 'Caméra de circulation'
}
},
viewer: {
operationalLayers: {
damageAssessment: 'Évaluation des Dommages',
louisvillePubSafety: 'Louisville Sécurité Publique',
restaurants: 'Restaurants',
sf311Incidents: '311 Incidents de San Francisco'
},
titles: {
header: 'Configurable Map Viewer',
pageTitle: 'Configurable Map Viewer - Un visualiseur de cartes configurables',
subHeader: 'personalizarlo su gusto'
},
widgets: {
bookmarks: 'Géosignets',
directions: 'Directions',
draw: 'Annotations',
editor: 'Éditeur',
find: 'Rechercher',
help: 'Aide',
identify: 'Identifier',
measure: 'Mesures',
layerControl: 'Couches d\'information',
legend: 'Légende',
print: 'Impression',
streetview: 'Google Street View'
}
}
});
4 changes: 3 additions & 1 deletion viewer/js/config/nls/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ define({
streetsNightVector: 'Streets (Night)',
streetsReliefVector: 'Streets (Relief)',
terrain: 'Terrain',
title: 'Basemaps',
topo: 'Topographic'
},
bookmarks: {
Expand Down Expand Up @@ -62,5 +61,8 @@ define({
}
}
},
'es': true,
'fr': true,
'pt-br': true,
'pt-pt': true
});
62 changes: 62 additions & 0 deletions viewer/js/config/nls/pt-br/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
// http://dojotoolkit.org/reference-guide/1.10/dojo/i18n.html
define({
basemaps: {
davidRumseyMap1812: 'David Rumsey 1812',
darkGrayVector: 'Cinzento escuro',
earthAtNight: 'Terra à noite',
grayVector: 'Cinzento',
hybrid: 'Híbrido',
landsatShaded: 'Landsat sombreado',
nationalGeographic: 'National Geographic',
oceans: 'Oceanos',
osm: 'Open Street Map',
satellite: 'Satélite',
streets: 'Ruas',
streetsNavigationVector: 'Ruas (Navegação)',
streetsNightVector: 'Ruas (Nocturno)',
streetsReliefVector: 'Ruas (Relevo)',
terrain: 'Terreno',
topo: 'Topográfico'
},
bookmarks: {
nullIsland: 'Ilha Nula',
usa: 'EUA'
},
find: {
louisvillePubSafety: 'Encontrar um local de Segurança Pública pelo nome',
sf311Incidents: 'Encontrar incidente por código/descrição'
},
identify: {
louisvillePubSafety: {
policeStation: 'Esquadra da Polícia',
trafficCamera: 'Câmara de trânsito'
}
},
viewer: {
operationalLayers: {
damageAssessment: 'Avaliação de dano',
louisvillePubSafety: 'Segurança Pública de Louisville',
restaurants: 'Restaurantes',
sf311Incidents: 'Incidentes do 311 de São Francisco'
},
titles: {
header: 'Configurable Map Viewer',
pageTitle: 'Configurable Map Viewer — Um visualizador de mapas configurável', // One configurable map viewer
subHeader: 'personaliza-o ao teu gosto' // customize it at your will (the literal translation doesn’t sound good)
},
widgets: {
bookmarks: 'Marcadores',
directions: 'Direcções',
draw: 'Desenhar',
editor: 'Editor',
find: 'Procurar',
help: 'Ajuda',
identify: 'Identificar',
measure: 'Medir',
layerControl: 'Camadas',
legend: 'Legendas',
print: 'Imprimir',
streetview: 'Google Street View'
}
}
});
1 change: 0 additions & 1 deletion viewer/js/config/nls/pt-pt/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ define({
streetsNightVector: 'Ruas (Nocturno)',
streetsReliefVector: 'Ruas (Relevo)',
terrain: 'Terreno',
title: 'Mapas base',
topo: 'Topográfico'
},
bookmarks: {
Expand Down
3 changes: 3 additions & 0 deletions viewer/js/gis/dijit/Basemaps/nls/es/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define ({
title: 'Mapas base'
});
3 changes: 3 additions & 0 deletions viewer/js/gis/dijit/Basemaps/nls/fr/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define ({
title: 'Fond de carte'
});
3 changes: 3 additions & 0 deletions viewer/js/gis/dijit/Basemaps/nls/pt-br/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define ({
title: 'Mapas base'
});
3 changes: 3 additions & 0 deletions viewer/js/gis/dijit/Basemaps/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ define ({
root: {
title: 'Basemaps'
},
'es': true,
'fr': true,
'pt-br': true,
'pt-pt': true
});
23 changes: 23 additions & 0 deletions viewer/js/gis/dijit/Directions/nls/es/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
define ({
labels: {
startAtMyLocation: 'comenzará a mi ubicación',
endAtMyLocation: 'terminar en mi ubicación',
clearStops: 'paradas claras',
addStop: 'Añadir parada',
directionsToHere: 'Direcciones a aquí',
directionsFromHere: 'Direcciones de aquí',
useMyLocationAsStart: 'Usar mi ubicación como punto de inicio',
useMyLocationAsEnd: 'Usar mi ubicación como punto final',
directions: 'Direcciones'
},
errors: {
geoLocation: {
title: 'Error',
message: 'No geolocalización apoyado por su hojeanr.'
},
location: {
title: 'Error',
message: 'Hubo un problema con su ubicación: '
}
}
});
23 changes: 23 additions & 0 deletions viewer/js/gis/dijit/Directions/nls/fr/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
define ({
labels: {
startAtMyLocation: 'commencer à mon endroit',
endAtMyLocation: 'fin à mon endroit',
clearStops: 'arrêts clairs',
addStop: 'Ajouter arrêt',
directionsToHere: 'Directions vers ici',
directionsFromHere: 'Directions d\'ici',
useMyLocationAsStart: 'Utiliser ma position comme point de départ',
useMyLocationAsEnd: 'Utiliser ma position comme point final',
directions: 'Directions'
},
errors: {
geoLocation: {
title: 'Erreur',
message: 'Géolocalisation non supporté par votre navigateur.'
},
location: {
title: 'Erreur',
message: 'Il y avait un problème pour obtenir votre position: '
}
}
});
23 changes: 23 additions & 0 deletions viewer/js/gis/dijit/Directions/nls/pt-br/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
define({
labels: {
startAtMyLocation: 'Inicie na minha Localização',
endAtMyLocation: 'Termine na minha Localização',
clearStops: 'Limpar paradas',
addStop: 'Adicionar parada',
directionsToHere: 'Direções para aqui',
directionsFromHere: 'Direções daqui',
useMyLocationAsStart: 'Use minha Localização como ponto de início',
useMyLocationAsEnd: 'Use minha Localização como ponto final',
directions: 'Direções'
},
errors: {
geoLocation: {
title: 'Erro',
message: 'GeoLocalização não suportada no seu navegador.'
},
location: {
title: 'Erro',
message: 'Houve um problema ao buscar sua Localização: '
}
}
});
3 changes: 3 additions & 0 deletions viewer/js/gis/dijit/Directions/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ define ({
}
}
},
'es': true,
'fr': true,
'pt-br': true,
'pt-pt': true
});
14 changes: 14 additions & 0 deletions viewer/js/gis/dijit/Draw/nls/es/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
define ({
labels: {
point: 'Punto',
circle: 'Circulo',
polyline: 'Polilínea',
freehandPolyline: 'Polilínea a mano alzada',
polygon: 'Polígono',
freehandPolygon: 'Polígono a mano alzada',
stopDrawing: 'Comienzo dibujo',
clearDrawing: 'Despejar dibujo',
currentDrawMode: 'El modo de dibujo:',
currentDrawModeNone: 'Nada'
}
});
14 changes: 14 additions & 0 deletions viewer/js/gis/dijit/Draw/nls/fr/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
define ({
labels: {
point: 'Point',
circle: 'Cercle',
polyline: 'Polyline',
freehandPolyline: 'À main levée polyline',
polygon: 'Polygone',
freehandPolygon: 'À main levée polygone',
stopDrawing: 'Arrêtez le dessin',
clearDrawing: 'Effacer dessin',
currentDrawMode: 'Mode de dessin:',
currentDrawModeNone: 'Aucun'
}
});
14 changes: 14 additions & 0 deletions viewer/js/gis/dijit/Draw/nls/pt-br/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
define({
labels: {
point: 'Ponto',
circle: 'Círculo',
polyline: 'Polilinha',
freehandPolyline: 'Polilinha a Mão Livre',
polygon: 'Polígono',
freehandPolygon: 'Polígono a Mão Livre',
stopDrawing: 'Parar de Desenhar',
clearDrawing: 'Limpar Desenhos',
currentDrawMode: 'Modo de desenho atual:',
currentDrawModeNone: 'Nenhum'
}
});
3 changes: 3 additions & 0 deletions viewer/js/gis/dijit/Draw/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ define ({
currentDrawModeNone: 'None'
}
},
'es': true,
'fr': true,
'pt-br': true,
'pt-pt': true
});
6 changes: 6 additions & 0 deletions viewer/js/gis/dijit/Editor/nls/es/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
define ({
labels: {
startEditing: 'Comenzar a editar',
stopEditing: 'Detener la edición'
}
});
Loading

0 comments on commit 1da70c7

Please sign in to comment.