Commit 8891186c1007dcedff7891f50c4c7f5f69e85f90
1 parent
8237a328
Exists in
master
and in
7 other branches
Substituição dos IDs para os textos das ferramenta por palavras-chave
Showing
2 changed files
with
9 additions
and
9 deletions
Show diff stats
ferramentas/bufferpt/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.bufferpt.dicionario)+ |
2 | 2 | i3GEOF.bufferpt.dicionario = { |
3 | -1: [{ | |
3 | +'entorno': [{ | |
4 | 4 | pt:"Distância em metros ao redor do ponto", |
5 | 5 | en:"", |
6 | 6 | es:"" |
7 | 7 | }], |
8 | -2: [{ | |
8 | +'criaEntorno': [{ | |
9 | 9 | pt:"Criar", |
10 | 10 | en:"", |
11 | 11 | es:"" |
12 | 12 | }], |
13 | -3: [{ | |
13 | +'erroTempo': [{ | |
14 | 14 | pt:"Erro. A operação demorou muito.", |
15 | 15 | en:"", |
16 | 16 | es:"" |
17 | 17 | }], |
18 | -4: [{ | |
18 | +'erroDistancia': [{ | |
19 | 19 | pt:"Distância inválida", |
20 | 20 | en:"", |
21 | 21 | es:"" |
22 | 22 | }] |
23 | -}; | |
24 | 23 | \ No newline at end of file |
24 | +}; | ... | ... |
ferramentas/bufferpt/index.js
... | ... | @@ -116,9 +116,9 @@ i3GEOF.bufferpt = { |
116 | 116 | */ |
117 | 117 | html:function(){ |
118 | 118 | var ins = '' + |
119 | - '<p class=paragrafo >'+$trad(1,i3GEOF.bufferpt.dicionario)+'</p>' + | |
119 | + '<p class=paragrafo >'+$trad('entorno',i3GEOF.bufferpt.dicionario)+'</p>' + | |
120 | 120 | $inputText("","","i3GEOFbufferptDistancia","",10,0) + |
121 | - '<br><br><p class=paragrafo ><input id=i3GEObufferptbotao1 size=16 type=button value="'+$trad(2,i3GEOF.bufferpt.dicionario)+'"/>'; | |
121 | + '<br><br><p class=paragrafo ><input id=i3GEObufferptbotao1 size=16 type=button value="'+$trad('criaEntorno',i3GEOF.bufferpt.dicionario)+'"/>'; | |
122 | 122 | return ins; |
123 | 123 | }, |
124 | 124 | /* |
... | ... | @@ -190,7 +190,7 @@ i3GEOF.bufferpt = { |
190 | 190 | fim = function(retorno){ |
191 | 191 | i3GEOF.bufferpt.aguarde.visibility = "hidden"; |
192 | 192 | if (retorno.data === undefined ) |
193 | - {i3GEO.janela.tempoMsg($trad(3,i3GEOF.bufferpt.dicionario));} | |
193 | + {i3GEO.janela.tempoMsg($trad('erroTempo',i3GEOF.bufferpt.dicionario));} | |
194 | 194 | else |
195 | 195 | {i3GEO.atualiza();} |
196 | 196 | }; |
... | ... | @@ -200,7 +200,7 @@ i3GEOF.bufferpt = { |
200 | 200 | cp.call(p,"criaBuffer",fim); |
201 | 201 | } |
202 | 202 | else |
203 | - {i3GEO.janela.tempoMsg($trad(4,i3GEOF.bufferpt.dicionario));} | |
203 | + {i3GEO.janela.tempoMsg($trad('erroDistancia',i3GEOF.bufferpt.dicionario));} | |
204 | 204 | } |
205 | 205 | catch(e){$i("i3GEObufferfim").innerHTML = "<p class='paragrafo' >Erro. "+e;i3GEO.janela.fechaAguarde();i3GEOF.bufferpt.aguarde.visibility = "hidden";} |
206 | 206 | } | ... | ... |