Skip to content

Commit

Permalink
add widgets translation
Browse files Browse the repository at this point in the history
  • Loading branch information
iled committed Jul 14, 2016
1 parent e5e951d commit 89b3801
Show file tree
Hide file tree
Showing 20 changed files with 189 additions and 10 deletions.
3 changes: 3 additions & 0 deletions viewer/js/gis/dijit/Basemaps/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define ({
title: 'Mapas base'
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/Basemaps/nls/resource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
define ({
root: {
title: 'Basemaps'
}
},
'pt-pt': true
});
23 changes: 23 additions & 0 deletions viewer/js/gis/dijit/Directions/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
define ({
labels: {
startAtMyLocation: 'iniciar na minha localização',
endAtMyLocation: 'terminar na minha localização',
clearStops: 'limpar paragens',
addStop: 'Adicionar paragem',
directionsToHere: 'Direcções para aqui',
directionsFromHere: 'Direcções a partir daqui',
useMyLocationAsStart: 'Usar a minha localização como ponto inicial',
useMyLocationAsEnd: 'Usar a minha localização como ponto final',
directions: 'Direcções'
},
errors: {
geoLocation: {
title: 'Erro',
message: 'GeoLocalização não suportada no seu navegador.'
},
location: {
title: 'Erro',
message: 'Ocorreu um problema ao obter a sua localização: '
}
}
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/Directions/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ define ({
message: 'There was a problem getting your location: '
}
}
}
},
'pt-pt': true
});
14 changes: 14 additions & 0 deletions viewer/js/gis/dijit/Draw/nls/pt-pt/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 à mão livre',
polygon: 'Polígono',
freehandPolygon: 'Polígono à mão livre',
stopDrawing: 'Parar de desenhar',
clearDrawing: 'Limpar desenhos',
currentDrawMode: 'Modo de desenho actual:',
currentDrawModeNone: 'Nenhum'
}
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/Draw/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ define ({
currentDrawMode: 'Current draw mode:',
currentDrawModeNone: 'None'
}
}
},
'pt-pt': true
});
6 changes: 6 additions & 0 deletions viewer/js/gis/dijit/Editor/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
define ({
labels: {
startEditing: 'Iniciar edição',
stopEditing: 'Parar edição'
}
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/Editor/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ define ({
startEditing: 'Start editing',
stopEditing: 'Stop editing'
}
}
},
'pt-pt': true
});
26 changes: 26 additions & 0 deletions viewer/js/gis/dijit/Find/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// http://dojotoolkit.org/reference-guide/1.10/dojo/i18n.html
define({
selectQuery: 'Seleccionar consulta',
searchText: {
label: 'Procurar por',
placeholder: 'Introduza o texto que pretende procurar.'
},
exactMatches: 'Apenas correspondências exactas',
searchButton: {
label: 'Procurar',
busyLabel: 'a procurar'
},
clearButton: {
label: 'Limpar'
},
searching: 'A procurar...',
resultsLabel: {
multipleResultsSuffix: 's',
labelPrefix: 'Resultado',
labelSuffix: 'encontrado'
},
noResultsLabel: 'Nenhum resultado encontrado.',
optionsLabel: 'Opções',
zoomOnSelect: 'Aproximar ao seleccionar',
zoomOnDeselect: 'Aproximar ao desseleccionar'
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/Find/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ define({
optionsLabel: 'Options',
zoomOnSelect: 'Zoom on select',
zoomOnDeselect: 'Zoom on deselect'
}
},
'pt-pt': true
});

14 changes: 14 additions & 0 deletions viewer/js/gis/dijit/Geocoder/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
define ({
title: 'Alternar barra de pesquisa',
labels: {
address: 'Endereço',
neighborhood: 'Bairro',
city: 'Cidade',
subregion: 'Subregião',
region: 'Região',
postalCode: 'Código postal',
countryCode: 'Código do país',
locatorName: 'Nome do localizador',
getAddressHere: 'Obter o endereço daqui'
}
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/Geocoder/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ define ({
locatorName: 'Locator name',
getAddressHere: 'Get address here'
}
}
},
'pt-pt': true
});
12 changes: 12 additions & 0 deletions viewer/js/gis/dijit/Identify/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
define ({
labels: {
selectLayer: 'Escolher "Todas as camadas visíveis" ou uma única camada para identificar:',
allVisibleLayers: '*** Todas as camadas visíveis ***'
},
rightClickMenuItem: {
label: 'Identificar aqui'
},
mapInfoWindow: {
identifyingTitle: 'A identificar...'
}
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/Identify/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ define ({
mapInfoWindow: {
identifyingTitle: 'Identifying...'
}
}
},
'pt-pt': true
});
21 changes: 21 additions & 0 deletions viewer/js/gis/dijit/LayerControl/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// internationalization for LayerControl
//
// http://dojotoolkit.org/reference-guide/1.10/dojo/i18n.html
//
// if you would like to add a locale please create an issue at
// https://github.com/cmv/cmv-app/issues and someone will assist
// if need be or checkout the link above and submit a PR
define({
noLegend: 'Sem legenda',
moveUp: 'Mover para cima',
moveDown: 'Mover para baixo',
zoomTo: 'Aproximar à Camada',
transparency: 'Transparência',
metadata: 'Metadados',
layerSwipe: 'Deslizar camada',
layerSwipeVertical: 'Vertical',
layerSwipeHorizontal: 'Horizontal',
layerSwipeScope: 'Janela',
dynamicSublayersOn: 'Activar todas as subcamadas',
dynamicSublayersOff: 'Desligar todas as subcamadas'
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/LayerControl/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ define({
layerSwipeScope: 'Scope',
dynamicSublayersOn: 'Turn On All Sublayers',
dynamicSublayersOff: 'Turn Off All Sublayers'
}
},
'pt-pt': true
});
40 changes: 40 additions & 0 deletions viewer/js/gis/dijit/Print/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// http://dojotoolkit.org/reference-guide/1.10/dojo/i18n.html
define({
title: 'Título',
format: 'Formato',
layout: 'Modelo',
settings: 'Configurações',
mapScaleExtent: 'Escala/Extensão do mapa',
preserve: 'Preservar',
mapScale: 'Escala do mapa',
mapExtent: 'Extensão do mapa',
fullLayoutOptions: 'Todas as opções do modelo',
scaleBarUnits: 'Unidades da escala gráfica',
miles: 'Milhas',
kilometers: 'Quilómetros',
meters: 'Metros',
feet: 'Pés',
includeLegend: 'Incluir legenda',
printQualityOptions: 'Opções da qualidade de impressão',
dpiInput: {
label: 'DPI',
invalidMessage: 'Por favor introduza um valor numérico.',
rangeMessage: 'Por favor introduza um valor entre 100 e 300.'
},
mapOnlyOptions: 'Opções do mapa',
width: 'Largura',
height: 'Altura',
printButton: {
busyLabel: 'a imprimir',
label: 'Imprimir'
},
clearHistoryButton: {
label: 'Limpar o histórico de impressão'
},
printResults: {
progressBar: {
label: 'A criar a impressão'
},
errorMessage: 'Erro, tente novamente'
}
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/Print/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ define({
},
errorMessage: 'Error, try again'
}
}
},
'pt-pt': true
});

10 changes: 10 additions & 0 deletions viewer/js/gis/dijit/StreetView/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// http://dojotoolkit.org/reference-guide/1.10/dojo/i18n.html
define({
messages: {
instructions: 'Clique no botão do StreetView e depois clique na localização desejada no mapa.',
notAvailable: 'Infelizmente, o Google Street View não está disponível nesta localização.'
},
rightClickMenuItem: {
label: 'Street View aqui'
}
});
3 changes: 2 additions & 1 deletion viewer/js/gis/dijit/StreetView/nls/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ define({
rightClickMenuItem: {
label: 'Google StreetView here'
}
}
},
'pt-pt': true
});

0 comments on commit 89b3801

Please sign in to comment.