Commit 1f727bfdb8ef6d0570f1e46787e0de6d8d77e4d0
1 parent
330d438e
Exists in
master
and in
7 other branches
Separação dos textos para tradução
Showing
22 changed files
with
713 additions
and
717 deletions
Show diff stats
admin/admin.db
No preview for this file type
ferramentas/telaremota/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.telaremota.dicionario)+ |
2 | 2 | i3GEOF.telaremota.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
3 | + 1: [{ | |
4 | + pt:"Utilize o link abaixo para abrir o mapa em outro navegador ou computador.", | |
5 | + en:"", | |
6 | + es:"", | |
7 | + it:"" | |
8 | + }], | |
9 | + 2: [{ | |
10 | + pt:"Não feche essa janela ou a janela remota não receberá o valor da extensão geográfica do mapa original.", | |
11 | + en:"", | |
12 | + es:"", | |
13 | + it:"" | |
14 | + }], | |
15 | + 3: [{ | |
16 | + pt:"", | |
17 | + en:"", | |
18 | + es:"", | |
19 | + it:"" | |
20 | + }] | |
63 | 21 | }; |
64 | 22 | \ No newline at end of file | ... | ... |
ferramentas/telaremota/index.js
... | ... | @@ -82,8 +82,8 @@ i3GEOF.telaremota = { |
82 | 82 | */ |
83 | 83 | html:function(divid,tema){ |
84 | 84 | var cp,p,ins; |
85 | - ins = '<p class="paragrafo" >Utilize o link abaixo para abrir o mapa em outro navegador ou computador.</p>'; | |
86 | - ins += '<p class="paragrafo" >Não feche essa janela ou a janela remota não receberá o valor da extensão geográfica do mapa original.</p>'; | |
85 | + ins = '<p class="paragrafo" >'+$trad(1,i3GEOF.telaremota.dicionario)+'</p>'; | |
86 | + ins += '<p class="paragrafo" >'+$trad(2,i3GEOF.telaremota.dicionario)+'</p>'; | |
87 | 87 | ins += '<p class="paragrafo" ><div id=i3GEOtelaremotaResultado style=text-align:left ></div>'; |
88 | 88 | $i(divid).innerHTML += ins; |
89 | 89 | mostraLink = function(retorno){ | ... | ... |
ferramentas/tipoimagem/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.tipoimagem.dicionario)+ |
2 | 2 | i3GEOF.tipoimagem.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
3 | + 1: [{ | |
4 | + pt:"Escolha um ou mais filtros de cores. Vc pode editar manualmente a lista de filtros.", | |
5 | + en:"", | |
6 | + es:"", | |
7 | + it:"" | |
8 | + }], | |
9 | + 2: [{ | |
10 | + pt:"Aplicar", | |
11 | + en:"", | |
12 | + es:"", | |
13 | + it:"" | |
14 | + }], | |
15 | + 3: [{ | |
16 | + pt:"nenhum", | |
17 | + en:"", | |
18 | + es:"", | |
19 | + it:"" | |
20 | + }], | |
21 | + 4: [{ | |
22 | + pt:"tons de cinza", | |
23 | + en:"", | |
24 | + es:"", | |
25 | + it:"" | |
26 | + }], | |
27 | + 5: [{ | |
28 | + pt:"sépia clara (funciona apenas com o tipo de imagem png1)", | |
29 | + en:"", | |
30 | + es:"", | |
31 | + it:"" | |
32 | + }], | |
33 | + 6: [{ | |
34 | + pt:"sépia normal (funciona apenas com o tipo de imagem png1)", | |
35 | + en:"", | |
36 | + es:"", | |
37 | + it:"" | |
38 | + }], | |
39 | + 7: [{ | |
40 | + pt:"negativo", | |
41 | + en:"", | |
42 | + es:"", | |
43 | + it:"" | |
44 | + }], | |
45 | + 8: [{ | |
46 | + pt:"detecta bordas", | |
47 | + en:"", | |
48 | + es:"", | |
49 | + it:"" | |
50 | + }], | |
51 | + 9: [{ | |
52 | + pt:"", | |
53 | + en:"", | |
54 | + es:"", | |
55 | + it:"" | |
56 | + }], | |
57 | + 10: [{ | |
58 | + pt:"", | |
59 | + en:"", | |
60 | + es:"", | |
61 | + it:"" | |
62 | + }] | |
63 | 63 | }; |
64 | 64 | \ No newline at end of file | ... | ... |
ferramentas/tipoimagem/index.js
... | ... | @@ -118,38 +118,38 @@ i3GEOF.tipoimagem = { |
118 | 118 | String com o código html |
119 | 119 | */ |
120 | 120 | html:function(){ |
121 | - var ins = '<p class=paragrafo >Escolha um ou mais filtros de cores. Vc pode editar manualmente a lista de filtros.</p>' + | |
121 | + var ins = '<p class=paragrafo >'+$trad(1,i3GEOF.tipoimagem.dicionario)+'</p>' + | |
122 | 122 | '<input type=text size=29 value="" id="i3GEOFtipoImagemListaDeFiltros" style="position:relative;top:-2px" /> ' + |
123 | - '<input id=i3GEOFtipoImagemListaDeFiltrosOk type=button value="Aplicar" size=20 /><br><br>' + | |
123 | + '<input id=i3GEOFtipoImagemListaDeFiltrosOk type=button value="'+$trad(2,i3GEOF.tipoimagem.dicionario)+'" size=20 /><br><br>' + | |
124 | 124 | '<table class=lista6 width="200px">' + |
125 | 125 | ' <tr>' + |
126 | 126 | ' <td><input onclick="javascript:$i(\'i3GEOFtipoImagemListaDeFiltros\').value = \'\'" style="cursor:pointer;border:0px solid white;" type=radio name=i3GEOtipoimagemtipo value=nenhum ></td>' + |
127 | - ' <td>nenhum</td>' + | |
127 | + ' <td>'+$trad(3,i3GEOF.tipoimagem.dicionario)+'</td>' + | |
128 | 128 | ' <td><img onclick="javascript:$i(\'i3GEOFtipoImagemListaDeFiltros\').value = \'\'" src="'+i3GEO.configura.locaplic+'/imagens/filtro_nenhum.png" /></td>' + |
129 | 129 | ' </tr>' + |
130 | 130 | ' <tr>' + |
131 | 131 | ' <td><input onclick="i3GEOF.tipoimagem.adicionar(\'cinza\')" style="cursor:pointer;border:0px solid white;" type=radio name=i3GEOtipoimagemtipo value=cinza ></td>' + |
132 | - ' <td>tons de cinza</td>' + | |
132 | + ' <td>'+$trad(4,i3GEOF.tipoimagem.dicionario)+'</td>' + | |
133 | 133 | ' <td><img onclick="i3GEOF.tipoimagem.adicionar(\'cinza\')" src="'+i3GEO.configura.locaplic+'/imagens/filtro_cinza.png" /></td>' + |
134 | 134 | ' </tr>' + |
135 | 135 | ' <tr>' + |
136 | 136 | ' <td><input onclick="i3GEOF.tipoimagem.adicionar(\'sepiaclara\')" style="cursor:pointer;border:0px solid white;" type=radio name=i3GEOtipoimagemtipo value=sepiaclara ></td>' + |
137 | - ' <td>sépia clara (funciona apenas com o tipo de imagem png1) </td>' + | |
137 | + ' <td>'+$trad(5,i3GEOF.tipoimagem.dicionario)+'</td>' + | |
138 | 138 | ' <td><img onclick="i3GEOF.tipoimagem.adicionar(\'sepiaclara\')" src="'+i3GEO.configura.locaplic+'/imagens/filtro_sepiaclara.png" /></td>' + |
139 | 139 | ' </tr>' + |
140 | 140 | ' <tr>' + |
141 | 141 | ' <td><input onclick="i3GEOF.tipoimagem.adicionar(\'sepianormal\')" style="cursor:pointer;border:0px solid white;" type=radio name=i3GEOtipoimagemtipo value=sepianormal ></td>' + |
142 | - ' <td>sépia normal (funciona apenas com o tipo de imagem png1)</td>' + | |
142 | + ' <td>'+$trad(6,i3GEOF.tipoimagem.dicionario)+'</td>' + | |
143 | 143 | ' <td><img onclick="i3GEOF.tipoimagem.adicionar(\'sepianormal\')" src="'+i3GEO.configura.locaplic+'/imagens/filtro_sepianormal.png" /></td>' + |
144 | 144 | ' </tr>' + |
145 | 145 | ' <tr>' + |
146 | 146 | ' <td><input onclick="i3GEOF.tipoimagem.adicionar(\'negativo\')" style="cursor:pointer;border:0px solid white;" type=radio name=i3GEOtipoimagemtipo value=negativo ></td>' + |
147 | - ' <td>negativo</td>' + | |
147 | + ' <td>'+$trad(7,i3GEOF.tipoimagem.dicionario)+'</td>' + | |
148 | 148 | ' <td><img onclick="i3GEOF.tipoimagem.adicionar(\'negativo\')" src="'+i3GEO.configura.locaplic+'/imagens/filtro_negativo.png" /></td>' + |
149 | 149 | ' </tr>' + |
150 | 150 | ' <tr>' + |
151 | 151 | ' <td><input onclick="i3GEOF.tipoimagem.adicionar(\'detectaBordas\')" style="cursor:pointer;border:0px solid white;" type=radio name=i3GEOtipoimagemtipo value=detectaBordas ></td>' + |
152 | - ' <td>detecta bordas</td>' + | |
152 | + ' <td>'+$trad(8,i3GEOF.tipoimagem.dicionario)+'</td>' + | |
153 | 153 | ' <td><img onclick="i3GEOF.tipoimagem.adicionar(\'detectaBordas\')" src="'+i3GEO.configura.locaplic+'/imagens/filtro_detectabordas.png" /></td>' + |
154 | 154 | ' </tr>' + |
155 | 155 | ' <tr>' + |
... | ... | @@ -229,4 +229,4 @@ i3GEOF.tipoimagem = { |
229 | 229 | adicionar: function(filtro){ |
230 | 230 | $i("i3GEOFtipoImagemListaDeFiltros").value = $i("i3GEOFtipoImagemListaDeFiltros").value+" "+filtro; |
231 | 231 | } |
232 | -}; | |
232 | +}; | |
233 | 233 | \ No newline at end of file | ... | ... |
ferramentas/tme/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.tme.dicionario)+ |
2 | 2 | i3GEOF.tme.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
3 | + 1: [{ | |
4 | + pt:"Gerar KML", | |
5 | + en:"", | |
6 | + es:"", | |
7 | + it:"" | |
8 | + }], | |
9 | + 2: [{ | |
10 | + pt:"Título que será mostrado no mapa", | |
11 | + en:"", | |
12 | + es:"", | |
13 | + it:"" | |
14 | + }], | |
15 | + 3: [{ | |
16 | + pt:"Descrição do mapa", | |
17 | + en:"", | |
18 | + es:"", | |
19 | + it:"" | |
20 | + }], | |
21 | + 4: [{ | |
22 | + pt:"Altura máxima das barras (em metros)", | |
23 | + en:"", | |
24 | + es:"", | |
25 | + it:"" | |
26 | + }], | |
27 | + 5: [{ | |
28 | + pt:"Largura máxima das barras (em metros)", | |
29 | + en:"", | |
30 | + es:"", | |
31 | + it:"" | |
32 | + }], | |
33 | + 6: [{ | |
34 | + pt:"Coluna que contém os nomes das regiões (exemplo: nomes dos Estados ou nomes dos municípios):", | |
35 | + en:"", | |
36 | + es:"", | |
37 | + it:"" | |
38 | + }], | |
39 | + 7: [{ | |
40 | + pt:"Escolha uma ou mais colunas com os dados estatísticos que serão representados:", | |
41 | + en:"", | |
42 | + es:"", | |
43 | + it:"" | |
44 | + }], | |
45 | + 8: [{ | |
46 | + pt:"selecione um item com as regiões", | |
47 | + en:"", | |
48 | + es:"", | |
49 | + it:"" | |
50 | + }], | |
51 | + 9: [{ | |
52 | + pt:"Clique no arquivo para fazer o download:", | |
53 | + en:"", | |
54 | + es:"", | |
55 | + it:"" | |
56 | + }], | |
57 | + 10: [{ | |
58 | + pt:"Ou clique para abrir no i3Geo:", | |
59 | + en:"", | |
60 | + es:"", | |
61 | + it:"" | |
62 | + }], | |
63 | + 11: [{ | |
64 | + pt:"", | |
65 | + en:"", | |
66 | + es:"", | |
67 | + it:"" | |
68 | + }], | |
69 | + 12: [{ | |
70 | + pt:"", | |
71 | + en:"", | |
72 | + es:"", | |
73 | + it:"" | |
74 | + }] | |
63 | 75 | }; |
64 | 76 | \ No newline at end of file | ... | ... |
ferramentas/tme/index.js
... | ... | @@ -141,20 +141,19 @@ i3GEOF.tme = { |
141 | 141 | html:function(){ |
142 | 142 | var ins = '' + |
143 | 143 | '<div style="text-align:left;background:yellow;" id=i3GEOTMEresultado ></div>' + |
144 | - '<input id=i3GEOtmebotao1 size=35 type=button value="Gerar KML" /><br><br>' + | |
145 | - '<p class="paragrafo" >' + | |
146 | - 'Título que será mostrado no mapa'; | |
144 | + '<input id=i3GEOtmebotao1 size=35 type=button value="'+$trad(1,i3GEOF.tme.dicionario)+'" /><br><br>' + | |
145 | + '<p class="paragrafo" >'+$trad(2,i3GEOF.tme.dicionario); | |
147 | 146 | ins += $inputText("","","i3GEOTMEtitulo","",48,"") + |
148 | - '<br><br>Descrição do mapa'; | |
147 | + '<br><br>'+$trad(3,i3GEOF.tme.dicionario); | |
149 | 148 | ins += $inputText("","","i3GEOTMEdesc","",48,"") + |
150 | - '<br><br>Altura máxima das barras (em metros)'; | |
149 | + '<br><br>'+$trad(4,i3GEOF.tme.dicionario); | |
151 | 150 | ins += $inputText("","","i3GEOTMEbarSize","",20,"50000") + |
152 | - '<br><br>Largura máxima das barras (em metros)'; | |
151 | + '<br><br>'+$trad(5,i3GEOF.tme.dicionario); | |
153 | 152 | ins += $inputText("","","i3GEOTMEmaxHeight","",20,"100") + |
154 | - '<br><br>Coluna que contém os nomes das regiões (exemplo: nomes dos Estados ou nomes dos municípios):' + | |
153 | + '<br><br>'+$trad(6,i3GEOF.tme.dicionario) + | |
155 | 154 | '<div id="i3GEOTMEregioeslista" style="text-align:left;" ></div>' + |
156 | 155 | '<p class="paragrafo" >' + |
157 | - '<br>Escolha uma ou mais colunas com os dados estatísticos que serão representados:' + | |
156 | + '<br>'+$trad(7,i3GEOF.tme.dicionario) + | |
158 | 157 | '<div id=i3GEOtmelistai class=digitar style="text-align:left;left:0px;top:0px;330px;height:80px;overflow:auto;display:block;"></div>' + |
159 | 158 | '<br>' + |
160 | 159 | '<div id=i3GEOtmemen1 style=top:15px;left:0px; ><p class=paragrafo >Será criado um arquivo KML que pode ser aberto com o Google Earth. A coluna com os nomes das regiões define o nome que será mostrado para cada elemento mapeado. Quando os nomes das colunas com os valores corresponderem a um determinado ano, será mostrado um botão do tipo slide no Google Earth, mas isso só ocorre se o nome da coluna for o mesmo nome do ano, exemplo, para o ano de 1980 o nome da coluna deverá ser 1980</div>'; |
... | ... | @@ -238,7 +237,7 @@ i3GEOF.tme = { |
238 | 237 | } |
239 | 238 | } |
240 | 239 | catch(e) |
241 | - {$i("i3GEOtmelistai").innerHTML = "<p style=color:red >Ocorreu um erro<br>"+e;} | |
240 | + {$i("i3GEOtmelistai").innerHTML = "<p style=color:red >Erro<br>"+e;} | |
242 | 241 | }, |
243 | 242 | /* |
244 | 243 | Function: pegaItensMarcados |
... | ... | @@ -281,12 +280,12 @@ i3GEOF.tme = { |
281 | 280 | if(lista.length === 0) |
282 | 281 | {i3GEO.janela.tempoMsg("selecione um item");return;} |
283 | 282 | if(colunanomeregiao === 0) |
284 | - {i3GEO.janela.tempoMsg("selecione um item com as regiões");return;} | |
283 | + {i3GEO.janela.tempoMsg($trad(8,i3GEOF.tme.dicionario));return;} | |
285 | 284 | i3GEOF.tme.aguarde.visibility = "visible"; |
286 | 285 | temp = function(retorno){ |
287 | 286 | i3GEOF.tme.aguarde.visibility = "hidden"; |
288 | - var ins = "<p class=paragrafo >Clique no arquivo para fazer o download:<br><a href='"+retorno.data.url+"' target=new >"+retorno.data.url+"</a><br>"; | |
289 | - ins += "<br>Ou clique para abrir no i3Geo:<br><a href='"+i3GEO.configura.locaplic+"/ms_criamapa.php?interface=googleearth.phtml&kmlurl="+retorno.data.url+"' target='new' >interface Google Earth</a><br>"; | |
287 | + var ins = "<p class=paragrafo >" + $trad(9,i3GEOF.tme.dicionario) +"<br><a href='"+retorno.data.url+"' target=new >"+retorno.data.url+"</a><br>"; | |
288 | + ins += "<br>" + $trad(10,i3GEOF.tme.dicionario) +"<br><a href='"+i3GEO.configura.locaplic+"/ms_criamapa.php?interface=googleearth.phtml&kmlurl="+retorno.data.url+"' target='new' >interface Google Earth</a><br>"; | |
290 | 289 | $i("i3GEOTMEresultado").innerHTML = ins; |
291 | 290 | }; |
292 | 291 | p = i3GEO.configura.locaplic+"/pacotes/tme/TME_i3geo.php?maxHeight="+$i("i3GEOTMEmaxHeight").value+"&barSize="+$i("i3GEOTMEbarSize").value+"&sid="+i3GEO.configura.sid+"&nomelayer="+i3GEO.temaAtivo+"&colunasvalor="+lista.toString(",")+"&colunanomeregiao="+colunanomeregiao+"&titulo="+$i("i3GEOTMEtitulo").value+"&descricao="+$i("i3GEOTMEdesc").value; |
... | ... | @@ -294,4 +293,4 @@ i3GEOF.tme = { |
294 | 293 | cp.call(p,"tme",temp); |
295 | 294 | }catch(e){i3GEO.janela.tempoMsg("Erro: "+e);i3GEOF.tme.aguarde.visibility = "hidden";} |
296 | 295 | } |
297 | -}; | |
296 | +}; | |
298 | 297 | \ No newline at end of file | ... | ... |
ferramentas/toponimia/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.toponimia.dicionario)+ |
2 | 2 | i3GEOF.toponimia.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
3 | + 1: [{ | |
4 | + pt:"Fonte dos dados", | |
5 | + en:"", | |
6 | + es:"", | |
7 | + it:"" | |
8 | + }], | |
9 | + 2: [{ | |
10 | + pt:"Propriedades", | |
11 | + en:"", | |
12 | + es:"", | |
13 | + it:"" | |
14 | + }], | |
15 | + 3: [{ | |
16 | + pt:"Testar", | |
17 | + en:"", | |
18 | + es:"", | |
19 | + it:"" | |
20 | + }], | |
21 | + 4: [{ | |
22 | + pt:"Escolha o item que contém os textos que serão mostrados no mapa", | |
23 | + en:"", | |
24 | + es:"", | |
25 | + it:"" | |
26 | + }], | |
27 | + 5: [{ | |
28 | + pt:"Adiciona a toponímia no tema atual (deixe desmarcado para criar como uma nova camada)", | |
29 | + en:"", | |
30 | + es:"", | |
31 | + it:"" | |
32 | + }], | |
33 | + 6: [{ | |
34 | + pt:"Criar toponímia", | |
35 | + en:"", | |
36 | + es:"", | |
37 | + it:"" | |
38 | + }], | |
39 | + 7: [{ | |
40 | + pt:"Aguarde", | |
41 | + en:"", | |
42 | + es:"", | |
43 | + it:"" | |
44 | + }], | |
45 | + 8: [{ | |
46 | + pt:"Fonte", | |
47 | + en:"", | |
48 | + es:"", | |
49 | + it:"" | |
50 | + }], | |
51 | + 9: [{ | |
52 | + pt:"Tamanho", | |
53 | + en:"", | |
54 | + es:"", | |
55 | + it:"" | |
56 | + }], | |
57 | + 10: [{ | |
58 | + pt:"Ângulo (no caso de linhas pode ser utilizado AUTO ou FOLLOW (segue a linha), nesses casos, a fonte não pode ser do tipo bitmap)", | |
59 | + en:"", | |
60 | + es:"", | |
61 | + it:"" | |
62 | + }], | |
63 | + 11: [{ | |
64 | + pt:"Deslocamento do texto em relação ao ponto de inclusão", | |
65 | + en:"", | |
66 | + es:"", | |
67 | + it:"" | |
68 | + }], | |
69 | + 12: [{ | |
70 | + pt:"Cor do texto", | |
71 | + en:"", | |
72 | + es:"", | |
73 | + it:"" | |
74 | + }], | |
75 | + 13: [{ | |
76 | + pt:"Cor da máscara de um pixel de entorno", | |
77 | + en:"", | |
78 | + es:"", | |
79 | + it:"" | |
80 | + }], | |
81 | + 14: [{ | |
82 | + pt:"Posicionamento", | |
83 | + en:"", | |
84 | + es:"", | |
85 | + it:"" | |
86 | + }], | |
87 | + 15: [{ | |
88 | + pt:"Cor do fundo", | |
89 | + en:"", | |
90 | + es:"", | |
91 | + it:"" | |
92 | + }], | |
93 | + 16: [{ | |
94 | + pt:"Cor da sombra do fundo", | |
95 | + en:"", | |
96 | + es:"", | |
97 | + it:"" | |
98 | + }], | |
99 | + 17: [{ | |
100 | + pt:"Deslocamento da sombra do fundo", | |
101 | + en:"", | |
102 | + es:"", | |
103 | + it:"" | |
104 | + }], | |
105 | + 18: [{ | |
106 | + pt:"Cor da sombra", | |
107 | + en:"", | |
108 | + es:"", | |
109 | + it:"" | |
110 | + }], | |
111 | + 19: [{ | |
112 | + pt:"Deslocamento da sombra", | |
113 | + en:"", | |
114 | + es:"", | |
115 | + it:"" | |
116 | + }], | |
117 | + 20: [{ | |
118 | + pt:"Força colisões entre textos?", | |
119 | + en:"", | |
120 | + es:"", | |
121 | + it:"" | |
122 | + }], | |
123 | + 21: [{ | |
124 | + pt:"Distância mínima entre textos duplicados (em pixel)", | |
125 | + en:"", | |
126 | + es:"", | |
127 | + it:"" | |
128 | + }], | |
129 | + 22: [{ | |
130 | + pt:"Tamanho mínimo do elemento cartográfico(em pixel)", | |
131 | + en:"", | |
132 | + es:"", | |
133 | + it:"" | |
134 | + }], | |
135 | + 23: [{ | |
136 | + pt:"O texto pode ultrapassar o mapa?", | |
137 | + en:"", | |
138 | + es:"", | |
139 | + it:"" | |
140 | + }], | |
141 | + 24: [{ | |
142 | + pt:"Caractere usado para indicar uma quebra de texto", | |
143 | + en:"", | |
144 | + es:"", | |
145 | + it:"" | |
146 | + }], | |
147 | + 25: [{ | |
148 | + pt:"", | |
149 | + en:"", | |
150 | + es:"", | |
151 | + it:"" | |
152 | + }], | |
153 | + 26: [{ | |
154 | + pt:"", | |
155 | + en:"", | |
156 | + es:"", | |
157 | + it:"" | |
158 | + }], | |
159 | + 27: [{ | |
160 | + pt:"", | |
161 | + en:"", | |
162 | + es:"", | |
163 | + it:"" | |
164 | + }], | |
165 | + 28: [{ | |
166 | + pt:"", | |
167 | + en:"", | |
168 | + es:"", | |
169 | + it:"" | |
170 | + }] | |
63 | 171 | }; |
64 | 172 | \ No newline at end of file | ... | ... |
ferramentas/toponimia/index.js
... | ... | @@ -146,33 +146,33 @@ i3GEOF.toponimia = { |
146 | 146 | var ins = '' + |
147 | 147 | '<div id=i3GEOtoponimiaguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">' + |
148 | 148 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">' + |
149 | - ' <li><a href="#ancora"><em><div id="i3GEOtoponimiaguia1" style="text-align:center;left:0px;" >Fonte dos dados</div></em></a></li>' + | |
150 | - ' <li><a href="#ancora"><em><div id="i3GEOtoponimiaguia2" style="text-align:center;left:0px;" >Propriedades</div></em></a></li>' + | |
151 | - ' <li><a href="#ancora"><em><div id="i3GEOtoponimiaguia3" style="text-align:center;left:0px;" >Testar</div></em></a></li>' + | |
149 | + ' <li><a href="#ancora"><em><div id="i3GEOtoponimiaguia1" style="text-align:center;left:0px;" >'+$trad(1,i3GEOF.toponimia.dicionario)+'</div></em></a></li>' + | |
150 | + ' <li><a href="#ancora"><em><div id="i3GEOtoponimiaguia2" style="text-align:center;left:0px;" >'+$trad(2,i3GEOF.toponimia.dicionario)+'</div></em></a></li>' + | |
151 | + ' <li><a href="#ancora"><em><div id="i3GEOtoponimiaguia3" style="text-align:center;left:0px;" >'+$trad(3,i3GEOF.toponimia.dicionario)+'</div></em></a></li>' + | |
152 | 152 | ' </ul>' + |
153 | 153 | '</div><br>' + |
154 | 154 | ' <div class=guiaobj id="i3GEOtoponimiaguia1obj" style="left:1px;90%;display:none;">' + |
155 | - ' <p class="paragrafo" >Escolha o item que contém os textos que serão mostrados no mapa<br>' + | |
155 | + ' <p class="paragrafo" >'+$trad(4,i3GEOF.toponimia.dicionario)+'<br>' + | |
156 | 156 | ' <div id=i3GEOtoponimiaDivListaItens ></div>' + |
157 | 157 | ' <br>' + |
158 | - ' <p class="paragrafo" ><input style="cursor:pointer" type="checkbox" id="i3GEOtoponimianovotema" /> Adiciona a toponímia no tema atual (deixe desmarcado para criar como uma nova camada)' + | |
158 | + ' <p class="paragrafo" ><input style="cursor:pointer" type="checkbox" id="i3GEOtoponimianovotema" /> '+$trad(5,i3GEOF.toponimia.dicionario) + | |
159 | 159 | ' <br>' + |
160 | - ' <p class="paragrafo" ><input id=i3GEOtoponimiabotao1 size=35 type=button value="Criar toponímia" />' + | |
160 | + ' <p class="paragrafo" ><input id=i3GEOtoponimiabotao1 size=35 type=button value="'+$trad(6,i3GEOF.toponimia.dicionario)+'" />' + | |
161 | 161 | ' </div>' + |
162 | 162 | ' <div class=guiaobj id="i3GEOtoponimiaguia2obj" style="left:1px;display:none;">' + |
163 | 163 | ' <table summary="" class=lista width="98%">' + |
164 | - ' <tr><td>Fonte:</td><td><span id="i3GEOtoponimiaDivListaFonte">Aguarde...</span></td></tr>' + | |
164 | + ' <tr><td>'+$trad(8,i3GEOF.toponimia.dicionario)+':</td><td><span id="i3GEOtoponimiaDivListaFonte">'+$trad(7,i3GEOF.toponimia.dicionario)+'...</span></td></tr>' + | |
165 | 165 | ' <tr><td> </td><td></td></tr>' + |
166 | - ' <tr><td>Tamanho:</td><td>' + | |
166 | + ' <tr><td>'+$trad(9,i3GEOF.toponimia.dicionario)+':</td><td>' + | |
167 | 167 | $inputText("","","i3GEOtoponimiatamanho_i","",2,"8") + |
168 | 168 | ' </td></tr>' + |
169 | 169 | ' <tr><td> </td><td></td></tr>' + |
170 | - ' <tr><td>Ângulo (no caso de linhas pode ser utilizado AUTO ou FOLLOW (segue a linha), nesses casos, a fonte não pode ser do tipo bitmap):</td><td>' + | |
170 | + ' <tr><td>'+$trad(10,i3GEOF.toponimia.dicionario)+':</td><td>' + | |
171 | 171 | $inputText("","","i3GEOtoponimiaangulo_i","",4,"0") + |
172 | 172 | ' </td></tr>' + |
173 | 173 | ' <tr><td> </td><td></td></tr>' + |
174 | 174 | ' <tr>' + |
175 | - ' <td>Deslocamento do texto em relação ao ponto de inclusão:</td>' + | |
175 | + ' <td>'+$trad(11,i3GEOF.toponimia.dicionario)+':</td>' + | |
176 | 176 | ' <td>x ' + |
177 | 177 | $inputText("","","i3GEOtoponimiaoffsetx_i","",2,"0") + |
178 | 178 | ' y ' + |
... | ... | @@ -180,83 +180,83 @@ i3GEOF.toponimia = { |
180 | 180 | ' </td>' + |
181 | 181 | ' </tr>' + |
182 | 182 | ' <tr><td> </td><td></td></tr>' + |
183 | - ' <tr><td>Cor do texto:</td><td>'+ | |
183 | + ' <tr><td>'+$trad(12,i3GEOF.toponimia.dicionario)+':</td><td>'+ | |
184 | 184 | $inputText("","","i3GEOtoponimiafrente_i","",11,"0 0 0") + |
185 | 185 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.toponimia.corj(\'i3GEOtoponimiafrente_i\')" /></td></tr>' + |
186 | 186 | ' <tr><td> </td><td></td></tr>' + |
187 | - ' <tr><td>Cor da máscara de um pixel de entorno:</td><td>' + | |
187 | + ' <tr><td>'+$trad(13,i3GEOF.toponimia.dicionario)+':</td><td>' + | |
188 | 188 | $inputText("","","i3GEOtoponimiamascara_i","",11,"") + |
189 | 189 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.toponimia.corj(\'i3GEOtoponimiamascara_i\')" /></td></tr>' + |
190 | 190 | ' <tr><td> </td><td></td></tr>' + |
191 | 191 | ' <tr>' + |
192 | - ' <td>Posicionamento:</td>' + | |
192 | + ' <td>'+$trad(14,i3GEOF.toponimia.dicionario)+':</td>' + | |
193 | 193 | ' <td>' + |
194 | 194 | ' <select id=i3GEOtoponimiaposition_i >' + |
195 | - ' <option value="MS_AUTO" >automático</option>' + | |
196 | - ' <option value="MS_UL" >superior esquerdo</option>' + | |
197 | - ' <option value="MS_UC" >superior centro</option>' + | |
198 | - ' <option value="MS_UR" >superior direito</option>' + | |
199 | - ' <option value="MS_CL" >centro esquerdo</option>' + | |
200 | - ' <option value="MS_CC" >centro</option>' + | |
201 | - ' <option value="MS_CR" >centro direito</option>' + | |
202 | - ' <option value="MS_LL" >inferior esquerdo</option>' + | |
203 | - ' <option value="MS_LC" >inferior centro</option>' + | |
204 | - ' <option value="MS_LR" >inferior direito</option>' + | |
195 | + ' <option value="MS_AUTO" >auto</option>' + | |
196 | + ' <option value="MS_UL" >UL</option>' + | |
197 | + ' <option value="MS_UC" >UC</option>' + | |
198 | + ' <option value="MS_UR" >UR</option>' + | |
199 | + ' <option value="MS_CL" >CL</option>' + | |
200 | + ' <option value="MS_CC" >CC</option>' + | |
201 | + ' <option value="MS_CR" >CR</option>' + | |
202 | + ' <option value="MS_LL" >LL</option>' + | |
203 | + ' <option value="MS_LC" >LC</option>' + | |
204 | + ' <option value="MS_LR" >LR</option>' + | |
205 | 205 | ' </select>' + |
206 | 206 | ' </td>' + |
207 | 207 | ' </tr>' + |
208 | 208 | ' <tr><td> </td><td></td></tr>' + |
209 | - ' <tr><td>Cor do fundo:</td><td>' + | |
209 | + ' <tr><td>'+$trad(15,i3GEOF.toponimia.dicionario)+':</td><td>' + | |
210 | 210 | $inputText("","","i3GEOtoponimiafundoc_i","",9,"") + |
211 | 211 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.toponimia.corj(\'i3GEOtoponimiafundoc_i\')" /></td></tr>' + |
212 | 212 | ' <tr><td> </td><td></td></tr>' + |
213 | - ' <tr><td>Cor da sombra do fundo:</td><td>'+ | |
213 | + ' <tr><td>'+$trad(16,i3GEOF.toponimia.dicionario)+':</td><td>'+ | |
214 | 214 | $inputText("","","i3GEOtoponimiasombra_i","",9,"") + |
215 | 215 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.toponimia.corj(\'i3GEOtoponimiasombra_i\')" /></td></tr>' + |
216 | 216 | ' <tr><td> </td><td></td></tr>' + |
217 | - ' <tr><td>Deslocamento da sombra do fundo:</td><td>x ' + | |
217 | + ' <tr><td>'+$trad(17,i3GEOF.toponimia.dicionario)+':</td><td>x ' + | |
218 | 218 | $inputText("","","i3GEOtoponimiasombrax_i","",1,"1") + |
219 | 219 | ' y' + |
220 | 220 | $inputText("","","i3GEOtoponimiasombray_i","",1,"1") + |
221 | 221 | ' </td></tr>' + |
222 | 222 | ' <tr><td> </td><td></td></tr>' + |
223 | - ' <tr><td>Cor da sombra:</td><td>' + | |
223 | + ' <tr><td>'+$trad(18,i3GEOF.toponimia.dicionario)+':</td><td>' + | |
224 | 224 | $inputText("","","i3GEOtoponimiafrentes_i","",9,"") + |
225 | 225 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.toponimia.corj(\'i3GEOtoponimiafrentes_i\')" /></td></tr>' + |
226 | 226 | ' <tr><td> </td><td></td></tr>' + |
227 | - ' <tr><td>Deslocamento da sombra:</td><td>x '+ | |
227 | + ' <tr><td>'+$trad(19,i3GEOF.toponimia.dicionario)+':</td><td>x '+ | |
228 | 228 | $inputText("","","i3GEOtoponimiafrentex_i","",1,"1") + |
229 | 229 | ' y '+ |
230 | 230 | $inputText("","","i3GEOtoponimiafrentey_i","",1,"1") + |
231 | 231 | ' </td></tr>' + |
232 | 232 | ' <tr><td> </td><td></td></tr>' + |
233 | - ' <tr><td>Força colisões entre textos?:</td>' + | |
233 | + ' <tr><td>'+$trad(20,i3GEOF.toponimia.dicionario)+':</td>' + | |
234 | 234 | ' <td>' + |
235 | 235 | ' <select id=i3GEOtoponimiaforce_i >' + |
236 | - ' <option value="0" >não</option>' + | |
237 | - ' <option value="1" >sim</option>' + | |
236 | + ' <option value="0" >'+$trad("x15")+'</option>' + | |
237 | + ' <option value="1" >'+$trad("x14")+'</option>' + | |
238 | 238 | ' </select>' + |
239 | 239 | ' </td>' + |
240 | 240 | ' </tr>' + |
241 | 241 | ' <tr><td> </td><td></td></tr>' + |
242 | - ' <tr><td>Distância mínima entre textos duplicados (em pixel):</td><td>' + | |
242 | + ' <tr><td>'+$trad(21,i3GEOF.toponimia.dicionario)+':</td><td>' + | |
243 | 243 | $inputText("","","i3GEOtoponimiamindistance_i","",4,"auto") + |
244 | 244 | ' </td></tr>' + |
245 | 245 | ' <tr><td> </td><td></td></tr>' + |
246 | - ' <tr><td>Tamanho mínimo do elemento cartográfico(em pixel):</td><td>' + | |
246 | + ' <tr><td>'+$trad(22,i3GEOF.toponimia.dicionario)+':</td><td>' + | |
247 | 247 | $inputText("","","i3GEOtoponimiaminfeaturesize_i","",4,"auto") + |
248 | 248 | ' </td></tr>' + |
249 | 249 | ' <tr><td> </td><td></td></tr>' + |
250 | - ' <tr><td>O texto pode ultrapassar o mapa?:</td>' + | |
250 | + ' <tr><td>'+$trad(23,i3GEOF.toponimia.dicionario)+':</td>' + | |
251 | 251 | ' <td>' + |
252 | 252 | ' <select id=i3GEOtoponimiapartials_i >' + |
253 | - ' <option value="0" >não</option>' + | |
254 | - ' <option value="1" >sim</option>' + | |
253 | + ' <option value="0" >'+$trad("x15")+'</option>' + | |
254 | + ' <option value="1" >'+$trad("x14")+'</option>' + | |
255 | 255 | ' </select>' + |
256 | 256 | ' </td>' + |
257 | 257 | ' </tr>' + |
258 | 258 | ' <tr><td> </td><td></td></tr>' + |
259 | - ' <tr><td>Caractere usado para indicar uma quebra de texto:</td><td>' + | |
259 | + ' <tr><td>'+$trad(24,i3GEOF.toponimia.dicionario)+':</td><td>' + | |
260 | 260 | $inputText("","","i3GEOtoponimiawrap_i","",5,"") + |
261 | 261 | ' </td></tr>' + |
262 | 262 | ' </table>' + |
... | ... | @@ -415,4 +415,4 @@ i3GEOF.toponimia = { |
415 | 415 | cp.set_response_type("JSON"); |
416 | 416 | cp.call(p,"criaToponimia",monta); |
417 | 417 | } |
418 | -}; | |
418 | +}; | |
419 | 419 | \ No newline at end of file | ... | ... |
ferramentas/upload/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.upload.dicionario)+ |
2 | 2 | i3GEOF.upload.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
3 | + 1: [{ | |
4 | + pt:"pasta no servidor onde os dados<br>serão armazenados (opcional)", | |
5 | + en:"", | |
6 | + es:"", | |
7 | + it:"" | |
8 | + }], | |
9 | + 2: [{ | |
10 | + pt:"Tipo de geometria", | |
11 | + en:"", | |
12 | + es:"", | |
13 | + it:"" | |
14 | + }], | |
15 | + 3: [{ | |
16 | + pt:"não conhecido", | |
17 | + en:"", | |
18 | + es:"", | |
19 | + it:"" | |
20 | + }], | |
21 | + 4: [{ | |
22 | + pt:"pontual", | |
23 | + en:"", | |
24 | + es:"", | |
25 | + it:"" | |
26 | + }], | |
27 | + 5: [{ | |
28 | + pt:"poligonal", | |
29 | + en:"", | |
30 | + es:"", | |
31 | + it:"" | |
32 | + }], | |
33 | + 6: [{ | |
34 | + pt:"linear", | |
35 | + en:"", | |
36 | + es:"", | |
37 | + it:"" | |
38 | + }], | |
39 | + 7: [{ | |
40 | + pt:"Projeção", | |
41 | + en:"", | |
42 | + es:"", | |
43 | + it:"" | |
44 | + }], | |
45 | + 8: [{ | |
46 | + pt:"Enviar", | |
47 | + en:"", | |
48 | + es:"", | |
49 | + it:"" | |
50 | + }], | |
51 | + 9: [{ | |
52 | + pt:"Não utilize _ no nome do arquivo. Apenas letras e números são aceitos!!!", | |
53 | + en:"", | |
54 | + es:"", | |
55 | + it:"" | |
56 | + }], | |
57 | + 10: [{ | |
58 | + pt:"", | |
59 | + en:"", | |
60 | + es:"", | |
61 | + it:"" | |
62 | + }] | |
63 | 63 | }; |
64 | 64 | \ No newline at end of file | ... | ... |
ferramentas/upload/index.js
... | ... | @@ -109,22 +109,22 @@ i3GEOF.upload = { |
109 | 109 | '<p class="paragrafo" >shx: <br><input type="file" size=22 name="i3GEOuploadshx" style="top:0px;left:0px;cursor:pointer;"></p>' + |
110 | 110 | '<p class="paragrafo" >dbf: <br><input type="file" size=22 name="i3GEOuploaddbf" style="top:0px;left:0px;cursor:pointer;"></p>'; |
111 | 111 | if(i3GEO.parametros.editor === "sim") |
112 | - {ins += '<p class="paragrafo" >pasta no servidor onde os dados<br>serão armazenados (opcional):<br><input class=digitar type="text" size=45 name="dirDestino" style="top:0px;left:0px;cursor:pointer;"></p>';} | |
113 | - ins += '<p class="paragrafo" >Tipo de geometria: ' + | |
112 | + {ins += '<p class="paragrafo" >'+$trad(1,i3GEOF.upload.dicionario)+':<br><input class=digitar type="text" size=45 name="dirDestino" style="top:0px;left:0px;cursor:pointer;"></p>';} | |
113 | + ins += '<p class="paragrafo" >'+$trad(2,i3GEOF.upload.dicionario)+': ' + | |
114 | 114 | ' <select id=tipo name=tipo >' + |
115 | - ' <option value="">não conhecido</option>' + | |
116 | - ' <option value="1">pontual</option>' + | |
117 | - ' <option value="5">poligonal</option>' + | |
118 | - ' <option value="3">linear</option>' + | |
115 | + ' <option value="">'+$trad(3,i3GEOF.upload.dicionario)+'</option>' + | |
116 | + ' <option value="1">'+$trad(4,i3GEOF.upload.dicionario)+'</option>' + | |
117 | + ' <option value="5">'+$trad(5,i3GEOF.upload.dicionario)+'</option>' + | |
118 | + ' <option value="3">'+$trad(6,i3GEOF.upload.dicionario)+'</option>' + | |
119 | 119 | ' </select>' + |
120 | 120 | '</p>' + |
121 | - '<p class=paragrafo >Projeção:</p>' + | |
121 | + '<p class=paragrafo >'+$trad(7,i3GEOF.upload.dicionario)+':</p>' + | |
122 | 122 | '<div id=i3GEOuploadListaepsg width="98%" style="text-align:left;border:1px solid gray;left:0px;overflow:auto;height:60px"></div>' + |
123 | - '<br><p class="paragrafo" ><input id=i3GEOuploadbotao1 type="button" value="Enviar" size=12 name="submit">' + | |
123 | + '<br><p class="paragrafo" ><input id=i3GEOuploadbotao1 type="button" value="'+$trad(8,i3GEOF.upload.dicionario)+'" size=12 name="submit">' + | |
124 | 124 | '<input type=hidden name=g_sid value="'+i3GEO.configura.sid+'" >' + |
125 | 125 | '<input type="hidden" name="MAX_FILE_SIZE" value="1000000">' + |
126 | 126 | '</form>' + |
127 | - "<p class='paragrafo' style=color:red >Não utilize '_' no nome do arquivo. Apenas letras e números são aceitos!!!</p>" + | |
127 | + "<p class='paragrafo' style=color:red >"+$trad(9,i3GEOF.upload.dicionario)+"</p>" + | |
128 | 128 | '<iframe name=i3GEOuploadiframe style="text-align:left;border:1px solid gray;" width="98%" height="60px"></iframe>'; |
129 | 129 | return ins; |
130 | 130 | }, | ... | ... |
ferramentas/uploaddbf/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.uploaddbf.dicionario)+ |
2 | 2 | i3GEOF.uploaddbf.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
3 | + 1: [{ | |
4 | + pt:"Tipo de arquivo", | |
5 | + en:"", | |
6 | + es:"", | |
7 | + it:"" | |
8 | + }], | |
9 | + 2: [{ | |
10 | + pt:"nome da coluna x (long)", | |
11 | + en:"", | |
12 | + es:"", | |
13 | + it:"" | |
14 | + }], | |
15 | + 3: [{ | |
16 | + pt:"nome da coluna y (lat)", | |
17 | + en:"", | |
18 | + es:"", | |
19 | + it:"" | |
20 | + }], | |
21 | + 4: [{ | |
22 | + pt:"arquivo", | |
23 | + en:"", | |
24 | + es:"", | |
25 | + it:"" | |
26 | + }], | |
27 | + 5: [{ | |
28 | + pt:"Projeção", | |
29 | + en:"", | |
30 | + es:"", | |
31 | + it:"" | |
32 | + }], | |
33 | + 6: [{ | |
34 | + pt:"Criar camada", | |
35 | + en:"", | |
36 | + es:"", | |
37 | + it:"" | |
38 | + }], | |
39 | + 7: [{ | |
40 | + pt:"", | |
41 | + en:"", | |
42 | + es:"", | |
43 | + it:"" | |
44 | + }], | |
45 | + 8: [{ | |
46 | + pt:"", | |
47 | + en:"", | |
48 | + es:"", | |
49 | + it:"" | |
50 | + }], | |
51 | + 9: [{ | |
52 | + pt:"", | |
53 | + en:"", | |
54 | + es:"", | |
55 | + it:"" | |
56 | + }], | |
57 | + 10: [{ | |
58 | + pt:"", | |
59 | + en:"", | |
60 | + es:"", | |
61 | + it:"" | |
62 | + }] | |
63 | 63 | }; |
64 | 64 | \ No newline at end of file | ... | ... |
ferramentas/uploaddbf/index.js
... | ... | @@ -105,20 +105,20 @@ i3GEOF.uploaddbf = { |
105 | 105 | */ |
106 | 106 | html:function(){ |
107 | 107 | var ins = '<form id=i3GEOuploaddbff target="i3GEOuploaddbfiframe" action="'+i3GEO.configura.locaplic+'/ferramentas/uploaddbf/upload.php" method="post" ENCTYPE="multipart/form-data">' + |
108 | - '<p class="paragrafo" >Tipo de arquivo: <br> '+ | |
108 | + '<p class="paragrafo" >'+$trad(1,i3GEOF.uploaddbf.dicionario)+': <br> '+ | |
109 | 109 | '<select name="i3GEOuploaddbftipoarquivo"> '+ |
110 | 110 | ' <option value="dbf" select >dbf</option> '+ |
111 | - ' <option value="csvpv" >csv separador ";"</option> '+ | |
112 | - ' <option value="csvv" >csv separador ","</option> '+ | |
111 | + ' <option value="csvpv" >csv ";"</option> '+ | |
112 | + ' <option value="csvv" >csv ","</option> '+ | |
113 | 113 | '</select></p> '+ |
114 | 114 | |
115 | - '<p class="paragrafo" >nome da coluna x: <br><input class=digitar type="text" size=32 name="i3GEOuploaddbfnomex" style="top:0px;left:0px"></p>' + | |
116 | - '<p class="paragrafo" >nome da coluna y: <br><input class=digitar type="text" size=32 name="i3GEOuploaddbfnomey" style="top:0px;left:0px"></p>' + | |
115 | + '<p class="paragrafo" >'+$trad(2,i3GEOF.uploaddbf.dicionario)+': <br><input class=digitar type="text" size=32 name="i3GEOuploaddbfnomex" style="top:0px;left:0px"></p>' + | |
116 | + '<p class="paragrafo" >'+$trad(3,i3GEOF.uploaddbf.dicionario)+': <br><input class=digitar type="text" size=32 name="i3GEOuploaddbfnomey" style="top:0px;left:0px"></p>' + | |
117 | 117 | |
118 | - '<p class="paragrafo" >arquivo: <br><input type="file" size=18 name="i3GEOuploaddbffile" style="top:0px;left:0px;cursor:pointer;"></p>' + | |
119 | - '<p class=paragrafo >Projeção:</p>' + | |
118 | + '<p class="paragrafo" >'+$trad(4,i3GEOF.uploaddbf.dicionario)+': <br><input type="file" size=18 name="i3GEOuploaddbffile" style="top:0px;left:0px;cursor:pointer;"></p>' + | |
119 | + '<p class=paragrafo >'+$trad(5,i3GEOF.uploaddbf.dicionario)+':</p>' + | |
120 | 120 | '<div id=i3GEOuploaddbfListaepsg width="98%" style="text-align:left;border:1px solid gray;left:0px;overflow:auto;height:60px"></div>' + |
121 | - '<br><p class="paragrafo" ><input id=i3GEOuploaddbfbotao1 type="button" value="Criar camada" size=12 name="submit">' + | |
121 | + '<br><p class="paragrafo" ><input id=i3GEOuploaddbfbotao1 type="button" value="'+$trad(6,i3GEOF.uploaddbf.dicionario)+'" size=12 name="submit">' + | |
122 | 122 | '<input type=hidden name=g_sid value="'+i3GEO.configura.sid+'" >' + |
123 | 123 | '<input type="hidden" name="MAX_FILE_SIZE" value="100000">' + |
124 | 124 | '</form>' + |
... | ... | @@ -166,4 +166,4 @@ i3GEOF.uploaddbf = { |
166 | 166 | i3GEOF.uploaddbf.aguarde.visibility="visible"; |
167 | 167 | $i("i3GEOuploaddbff").submit(); |
168 | 168 | } |
169 | 169 | -}; |
170 | +}; | |
170 | 171 | \ No newline at end of file | ... | ... |
ferramentas/uploadgpx/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.uploadgpx.dicionario)+ |
2 | 2 | i3GEOF.uploadgpx.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
3 | + 1: [{ | |
4 | + pt:"Arquivo gpx:", | |
5 | + en:"", | |
6 | + es:"", | |
7 | + it:"" | |
8 | + }], | |
9 | + 2: [{ | |
10 | + pt:"Projeção", | |
11 | + en:"", | |
12 | + es:"", | |
13 | + it:"" | |
14 | + }], | |
15 | + 3: [{ | |
16 | + pt:"Criar camada", | |
17 | + en:"", | |
18 | + es:"", | |
19 | + it:"" | |
20 | + }] | |
63 | 21 | }; |
64 | 22 | \ No newline at end of file | ... | ... |
ferramentas/uploadgpx/index.js
... | ... | @@ -111,10 +111,11 @@ i3GEOF.uploadgpx = { |
111 | 111 | */ |
112 | 112 | html:function(){ |
113 | 113 | var ins = '<form id=i3GEOuploadgpxf target="i3GEOuploadgpxiframe" action="'+i3GEO.configura.locaplic+'/ferramentas/uploadgpx/upload.php" method="post" ENCTYPE="multipart/form-data">' + |
114 | - '<p class="paragrafo" >Arquivo gpx: <br><input type="file" size=18 name="i3GEOuploadgpx" style="top:0px;left:0px;cursor:pointer;"></p>' + | |
115 | - '<p class=paragrafo >Projeção:</p>' + | |
114 | + '<p class="paragrafo" >' + $trad(1,i3GEOF.uploadgpx.dicionario) + | |
115 | + '<br><br><input type="file" size=18 name="i3GEOuploadgpx" style="top:0px;left:0px;cursor:pointer;"></p>' + | |
116 | + '<p class=paragrafo >' + $trad(2,i3GEOF.uploadgpx.dicionario) + ':</p>' + | |
116 | 117 | '<div id=i3GEOuploadgpxListaepsg width="98%" style="text-align:left;border:1px solid gray;left:0px;overflow:auto;height:60px"></div>' + |
117 | - '<br><p class="paragrafo" ><input id=i3GEOuploadgpxbotao1 type="button" value="Criar camada" size=12 name="submit">' + | |
118 | + '<br><p class="paragrafo" ><input id=i3GEOuploadgpxbotao1 type="button" value="'+$trad(3,i3GEOF.uploadgpx.dicionario)+'" size=12 name="submit">' + | |
118 | 119 | '<input type=hidden name=g_sid value="'+i3GEO.configura.sid+'" >' + |
119 | 120 | '<input type="hidden" name="MAX_FILE_SIZE" value="100000">' + |
120 | 121 | '</form>' + |
... | ... | @@ -162,5 +163,4 @@ i3GEOF.uploadgpx = { |
162 | 163 | i3GEOF.uploadgpx.aguarde.visibility="visible"; |
163 | 164 | $i("i3GEOuploadgpxf").submit(); |
164 | 165 | } |
165 | -}; | |
166 | - | |
166 | +}; | |
167 | 167 | \ No newline at end of file | ... | ... |
ferramentas/uploadkml/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.uploadkml.dicionario)+ |
2 | 2 | i3GEOF.uploadkml.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
3 | + 1: [{ | |
4 | + pt:"Não use arquivos ou nome de layer com espaços em branco ou acentuação", | |
5 | + en:"", | |
6 | + es:"", | |
7 | + it:"" | |
8 | + }], | |
9 | + 2: [{ | |
10 | + pt:"Arquivo kml:", | |
11 | + en:"", | |
12 | + es:"", | |
13 | + it:"" | |
14 | + }], | |
15 | + 3: [{ | |
16 | + pt:"Nome do layer KML:", | |
17 | + en:"", | |
18 | + es:"", | |
19 | + it:"" | |
20 | + }], | |
21 | + 4: [{ | |
22 | + pt:"Projeção:", | |
23 | + en:"", | |
24 | + es:"", | |
25 | + it:"" | |
26 | + }], | |
27 | + 5: [{ | |
28 | + pt:"Criar camada", | |
29 | + en:"", | |
30 | + es:"", | |
31 | + it:"" | |
32 | + }], | |
33 | + 6: [{ | |
34 | + pt:"O nome do layer corresponde ao elemento folder->name existente no arquivo KML. Para descobrir esse valor, abra o arquivo KML em um editor de textos comum.", | |
35 | + en:"", | |
36 | + es:"", | |
37 | + it:"" | |
38 | + }] | |
63 | 39 | }; |
64 | 40 | \ No newline at end of file | ... | ... |
ferramentas/uploadkml/index.js
... | ... | @@ -111,13 +111,15 @@ i3GEOF.uploadkml = { |
111 | 111 | */ |
112 | 112 | html:function(){ |
113 | 113 | var ins = '<form id=i3GEOuploadkmlf target="i3GEOuploadkmliframe" action="'+i3GEO.configura.locaplic+'/ferramentas/uploadkml/upload.php" method="post" ENCTYPE="multipart/form-data">' + |
114 | - '<p class="paragrafo" style=color:red >Não use arquivos ou nome de layer com espaços em branco ou acentuação</p>' + | |
115 | - '<p class="paragrafo" >Arquivo kml: <br><input type="file" size=22 name="i3GEOuploadkml" style="top:0px;left:0px;cursor:pointer;"></p>' + | |
116 | - '<p class=paragrafo >Nome do layer KML: <br><input type=text size=42 name=layerkml value=""/></p>' + | |
117 | - '<p class=paragrafo >Projeção:</p>' + | |
114 | + '<p class="paragrafo" style=color:red >' + $trad(1,i3GEOF.uploadkml.dicionario) + '</p>' + | |
115 | + '<p class="paragrafo" > ' + $trad(2,i3GEOF.uploadkml.dicionario) + | |
116 | + '<br><input type="file" size=22 name="i3GEOuploadkml" style="top:0px;left:0px;cursor:pointer;"></p>' + | |
117 | + '<p class=paragrafo >' + $trad(3,i3GEOF.uploadkml.dicionario) + | |
118 | + '<br><input type=text size=42 name=layerkml value=""/></p>' + | |
119 | + '<p class=paragrafo >' + $trad(4,i3GEOF.uploadkml.dicionario) + '</p>' + | |
118 | 120 | '<div id=i3GEOuploadkmlListaepsg width="98%" style="text-align:left;border:1px solid gray;left:0px;overflow:auto;height:60px"></div>' + |
119 | - '<br><p class="paragrafo" ><input id=i3GEOuploadkmlbotao1 type="button" value="Criar camada" size=12 name="submit">' + | |
120 | - '<br><p class="paragrafo" >O nome do "layer" corresponde ao elemento folder->name existente no arquivo KML. Para descobrir esse valor, abra o arquivo KML em um editor de textos comum.</p>'+ | |
121 | + '<br><p class="paragrafo" ><input id=i3GEOuploadkmlbotao1 type="button" value="'+$trad(5,i3GEOF.uploadkml.dicionario)+'" size=12 name="submit">' + | |
122 | + '<br><p class="paragrafo" >' + $trad(6,i3GEOF.uploadkml.dicionario)+'</p>'+ | |
121 | 123 | '<input type=hidden name=g_sid value="'+i3GEO.configura.sid+'" >' + |
122 | 124 | '<input type="hidden" name="MAX_FILE_SIZE" value="100000">' + |
123 | 125 | '</form>' + |
... | ... | @@ -165,5 +167,4 @@ i3GEOF.uploadkml = { |
165 | 167 | i3GEOF.uploadkml.aguarde.visibility="visible"; |
166 | 168 | $i("i3GEOuploadkmlf").submit(); |
167 | 169 | } |
168 | -}; | |
169 | - | |
170 | +}; | |
170 | 171 | \ No newline at end of file | ... | ... |
ferramentas/wiki/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.wiki.dicionario)+ |
2 | 2 | i3GEOF.wiki.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
3 | + 1: [{ | |
4 | + pt:"Navegue no mapa para atualizar a lista de resultados", | |
5 | + en:"", | |
6 | + es:"", | |
7 | + it:"" | |
8 | + }] | |
63 | 9 | }; |
64 | 10 | \ No newline at end of file | ... | ... |
ferramentas/wiki/index.js
... | ... | @@ -193,10 +193,10 @@ i3GEOF.wiki = { |
193 | 193 | mostrar = function(retorno){ |
194 | 194 | i3GEOF.wiki.aguarde.visibility = "hidden"; |
195 | 195 | if (retorno.data === 'undefined' ){ |
196 | - $i("i3GEOwikiLista").innerHTML = "Erro. A operação demorou muito."; | |
196 | + $i("i3GEOwikiLista").innerHTML = "Erro."; | |
197 | 197 | return; |
198 | 198 | } |
199 | - $i("i3GEOwikiLista").innerHTML = retorno.data+"Navegue no mapa para atualizar a lista de resultados"; | |
199 | + $i("i3GEOwikiLista").innerHTML = retorno.data+$trad(1,i3GEOF.wiki.dicionario); | |
200 | 200 | }; |
201 | 201 | cp = new cpaint(); |
202 | 202 | cp.set_response_type("JSON"); |
... | ... | @@ -208,4 +208,4 @@ i3GEOF.wiki = { |
208 | 208 | cp.call(p,"listaartigos",mostrar); |
209 | 209 | |
210 | 210 | } |
211 | 211 | -}; |
212 | +}; | |
212 | 213 | \ No newline at end of file | ... | ... |
ferramentas/wmstime/dicionario.js
1 | 1 | //+$trad(1,i3GEOF.wmstime.dicionario)+ |
2 | +i3GEOF.wmstime = {}; | |
2 | 3 | i3GEOF.wmstime.dicionario = { |
3 | -1: [{ | |
4 | -pt:"", | |
5 | -en:"", | |
6 | -es:"", | |
7 | -it:"" | |
8 | -}], | |
9 | -2: [{ | |
10 | -pt:"", | |
11 | -en:"", | |
12 | -es:"", | |
13 | -it:"" | |
14 | -}], | |
15 | -3: [{ | |
16 | -pt:"", | |
17 | -en:"", | |
18 | -es:"", | |
19 | -it:"" | |
20 | -}], | |
21 | -4: [{ | |
22 | -pt:"", | |
23 | -en:"", | |
24 | -es:"", | |
25 | -it:"" | |
26 | -}], | |
27 | -5: [{ | |
28 | -pt:"", | |
29 | -en:"", | |
30 | -es:"", | |
31 | -it:"" | |
32 | -}], | |
33 | -6: [{ | |
34 | -pt:"", | |
35 | -en:"", | |
36 | -es:"", | |
37 | -it:"" | |
38 | -}], | |
39 | -7: [{ | |
40 | -pt:"", | |
41 | -en:"", | |
42 | -es:"", | |
43 | -it:"" | |
44 | -}], | |
45 | -8: [{ | |
46 | -pt:"", | |
47 | -en:"", | |
48 | -es:"", | |
49 | -it:"" | |
50 | -}], | |
51 | -9: [{ | |
52 | -pt:"", | |
53 | -en:"", | |
54 | -es:"", | |
55 | -it:"" | |
56 | -}], | |
57 | -10: [{ | |
58 | -pt:"", | |
59 | -en:"", | |
60 | -es:"", | |
61 | -it:"" | |
62 | -}] | |
4 | + 1: [{ | |
5 | + pt:"Escolha o serviço de fornecimento de dados (WMS-T)", | |
6 | + en:"", | |
7 | + es:"", | |
8 | + it:"" | |
9 | + }], | |
10 | + 2: [{ | |
11 | + pt:"Ano inicial:", | |
12 | + en:"", | |
13 | + es:"", | |
14 | + it:"" | |
15 | + }], | |
16 | + 3: [{ | |
17 | + pt:"Ano final:", | |
18 | + en:"", | |
19 | + es:"", | |
20 | + it:"" | |
21 | + }], | |
22 | + 4: [{ | |
23 | + pt:"Mês inicial:", | |
24 | + en:"", | |
25 | + es:"", | |
26 | + it:"" | |
27 | + }], | |
28 | + 5: [{ | |
29 | + pt:"Mês final:", | |
30 | + en:"", | |
31 | + es:"", | |
32 | + it:"" | |
33 | + }], | |
34 | + 6: [{ | |
35 | + pt:"Dia inicial:", | |
36 | + en:"", | |
37 | + es:"", | |
38 | + it:"" | |
39 | + }], | |
40 | + 7: [{ | |
41 | + pt:"Dia final:", | |
42 | + en:"", | |
43 | + es:"", | |
44 | + it:"" | |
45 | + }], | |
46 | + 8: [{ | |
47 | + pt:"Obter uma imagem por:", | |
48 | + en:"", | |
49 | + es:"", | |
50 | + it:"" | |
51 | + }], | |
52 | + 9: [{ | |
53 | + pt:"Continuar", | |
54 | + en:"", | |
55 | + es:"", | |
56 | + it:"" | |
57 | + }], | |
58 | + 10: [{ | |
59 | + pt:"Ano", | |
60 | + en:"", | |
61 | + es:"", | |
62 | + it:"" | |
63 | + }], | |
64 | + 11: [{ | |
65 | + pt:"Mês", | |
66 | + en:"", | |
67 | + es:"", | |
68 | + it:"" | |
69 | + }], | |
70 | + 12: [{ | |
71 | + pt:"Dia", | |
72 | + en:"", | |
73 | + es:"", | |
74 | + it:"" | |
75 | + }], | |
76 | + 13: [{ | |
77 | + pt:"clique para adicionar ao mapa", | |
78 | + en:"", | |
79 | + es:"", | |
80 | + it:"" | |
81 | + }], | |
82 | + 14: [{ | |
83 | + pt:"excluído", | |
84 | + en:"", | |
85 | + es:"", | |
86 | + it:"" | |
87 | + }], | |
88 | + 15: [{ | |
89 | + pt:"Imagem excluída", | |
90 | + en:"", | |
91 | + es:"", | |
92 | + it:"" | |
93 | + }], | |
94 | + 16: [{ | |
95 | + pt:"clique para adicionar ao mapa", | |
96 | + en:"", | |
97 | + es:"", | |
98 | + it:"" | |
99 | + }] | |
63 | 100 | }; |
64 | 101 | \ No newline at end of file | ... | ... |
ferramentas/wmstime/index.htm
... | ... | @@ -27,7 +27,8 @@ textarea |
27 | 27 | <input style='position:relative;top:-2px;' onclick="javascript:$i('quadroAnima').style.display='none';$i('parametros').style.display='block';" size=18 type='button' value='Voltar' /> |
28 | 28 | </div> |
29 | 29 | </div> |
30 | -<script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> | |
30 | +<script src="../../classesjs/i3geo_tudo_compacto5.js.php" type="text/javascript"></script> | |
31 | +<script type="text/javascript" src="dicionario.js"></script> | |
31 | 32 | <script type="text/javascript" src="index.js"></script> |
32 | 33 | </body> |
33 | 34 | </html> | ... | ... |
ferramentas/wmstime/index.js
... | ... | @@ -54,7 +54,7 @@ wms_configura = { |
54 | 54 | tipo: 2 |
55 | 55 | } |
56 | 56 | }; |
57 | -ins = "<p>Escolha o serviço de fornecimento de dados (WMS-T)</p>"; | |
57 | +ins = "<p>"+$trad(1,i3GEOF.wmstime.dicionario)+"</p>"; | |
58 | 58 | ins += "<select style='width:95%;border:1px solid gray;' onchange='escolheuServico(this.value)'>"; |
59 | 59 | ins += "<option value='' >---</option>"; |
60 | 60 | for(key in wms_configura){ |
... | ... | @@ -64,22 +64,22 @@ ins += "</select>"; |
64 | 64 | ins += "<p><input onclick='javascript:this.select();' type=text id=iServico style=width:95% />"; |
65 | 65 | ins += "<p><TEXTAREA id='WMS_descricao' rows='3' style='width:95%' ></TEXTAREA></p>"; |
66 | 66 | ins += "<table style='text-align:left'>"; |
67 | -ins += "<tr><td style='text-align:left'>Ano inicial: </td><td><input onclick='javascript:this.select();' type=text value='0' id=WMS_anoinicio size=4 />"; | |
68 | -ins += "<td style='text-align:left'>Ano final: </td><td><input onclick='javascript:this.select();' type=text value='0' id=WMS_anofim size=4 /></tr>"; | |
67 | +ins += "<tr><td style='text-align:left'>"+$trad(2,i3GEOF.wmstime.dicionario)+" </td><td><input onclick='javascript:this.select();' type=text value='0' id=WMS_anoinicio size=4 />"; | |
68 | +ins += "<td style='text-align:left'>"+$trad(3,i3GEOF.wmstime.dicionario)+" </td><td><input onclick='javascript:this.select();' type=text value='0' id=WMS_anofim size=4 /></tr>"; | |
69 | 69 | |
70 | -ins += "<tr><td style='text-align:left'>Mês inicial: </td><td><input onclick='javascript:this.select();' type=text value='nulo' id=WMS_mesinicio size=4 />"; | |
71 | -ins += "<td style='text-align:left'>Mês final: </td><td><input onclick='javascript:this.select();' type=text value='nulo' id=WMS_mesfim size=4 /></tr>"; | |
70 | +ins += "<tr><td style='text-align:left'>"+$trad(4,i3GEOF.wmstime.dicionario)+" </td><td><input onclick='javascript:this.select();' type=text value='nulo' id=WMS_mesinicio size=4 />"; | |
71 | +ins += "<td style='text-align:left'>"+$trad(5,i3GEOF.wmstime.dicionario)+" </td><td><input onclick='javascript:this.select();' type=text value='nulo' id=WMS_mesfim size=4 /></tr>"; | |
72 | 72 | |
73 | -ins += "<tr><td style='text-align:left'>Dia inicial: </td><td><input onclick='javascript:this.select();' type=text value='nulo' id=WMS_diainicio size=4 />"; | |
74 | -ins += "<td style='text-align:left'>Dia final: </td><td><input onclick='javascript:this.select();' type=text value='nulo' id=WMS_diafim size=4 /></tr>"; | |
73 | +ins += "<tr><td style='text-align:left'>"+$trad(6,i3GEOF.wmstime.dicionario)+" </td><td><input onclick='javascript:this.select();' type=text value='nulo' id=WMS_diainicio size=4 />"; | |
74 | +ins += "<td style='text-align:left'>"+$trad(7,i3GEOF.wmstime.dicionario)+" </td><td><input onclick='javascript:this.select();' type=text value='nulo' id=WMS_diafim size=4 /></tr>"; | |
75 | 75 | |
76 | 76 | ins += "</table>"; |
77 | 77 | //ins += "<div style='position:absolute;left:120px;top:180px'>" |
78 | -ins += "<p>Obter uma imagem por: "; | |
78 | +ins += "<p>" + $trad(8,i3GEOF.wmstime.dicionario); | |
79 | 79 | ins += "<div id='divumaImagemPor' style=width:200px; ></div>"; |
80 | 80 | |
81 | 81 | |
82 | -ins += "<div onclick='iniciaImagens()' style='text-align:left;left:0px;top:20px;'><input id='botao1' size=18 type='button' value='Continuar' /></div>"; | |
82 | +ins += "<div onclick='iniciaImagens()' style='text-align:left;left:0px;top:20px;'><input id='botao1' size=18 type='button' value='"+$trad(9,i3GEOF.wmstime.dicionario)+"' /></div>"; | |
83 | 83 | ins += "</div>"; |
84 | 84 | $i("parametros").innerHTML = ins; |
85 | 85 | idServicoEscolhido = ""; |
... | ... | @@ -114,16 +114,16 @@ function escolheuServico(idWMS){ |
114 | 114 | |
115 | 115 | var ins = "<select id='umaImagemPor' style='border:1px solid gray;width:150px'>"; |
116 | 116 | if(tipoServico == 1){ |
117 | - ins += "<option value='ano' selected >Ano</option></select>"; | |
117 | + ins += "<option value='ano' selected >"+$trad(10,i3GEOF.wmstime.dicionario)+"</option></select>"; | |
118 | 118 | } |
119 | 119 | if(tipoServico == 2){ |
120 | - ins += "<option value='ano' >Ano</option>"; | |
121 | - ins += "<option value='mes' selected >Mês</option></select>"; | |
120 | + ins += "<option value='ano' >"+$trad(10,i3GEOF.wmstime.dicionario)+"</option>"; | |
121 | + ins += "<option value='mes' selected >"+$trad(11,i3GEOF.wmstime.dicionario)+"</option></select>"; | |
122 | 122 | } |
123 | 123 | if(tipoServico == 3){ |
124 | - ins += "<option value='ano' >Ano</option>"; | |
125 | - ins += "<option value='mes' >Mês</option>"; | |
126 | - ins += "<option value='dia' selected >Dia</option></select>"; | |
124 | + ins += "<option value='ano' >"+$trad(10,i3GEOF.wmstime.dicionario)+"</option>"; | |
125 | + ins += "<option value='mes' >"+$trad(11,i3GEOF.wmstime.dicionario)+"</option>"; | |
126 | + ins += "<option value='dia' selected >"+$trad(12,i3GEOF.wmstime.dicionario)+"</option></select>"; | |
127 | 127 | } |
128 | 128 | $i("divumaImagemPor").innerHTML = ins; |
129 | 129 | } |
... | ... | @@ -245,7 +245,7 @@ function criaImg(tempo,id){ |
245 | 245 | novoel.style.height = dh+"px"; |
246 | 246 | novoel.style.cursor = "pointer"; |
247 | 247 | novoel.src = $i("iServico").value+"&width="+dw+"&height="+dh+"&bbox="+bbox+"&time="+tempo; //"../../imagens/atlas1.jpg"; |
248 | - novoel.title = 'clique para adicionar ao mapa'; | |
248 | + novoel.title = $trad(13,i3GEOF.wmstime.dicionario); | |
249 | 249 | novoel.onclick = function(){ |
250 | 250 | adicionaMapa(idServicoEscolhido); |
251 | 251 | }; |
... | ... | @@ -290,13 +290,13 @@ function pararImagem(id){ |
290 | 290 | $i(id).src = ""; |
291 | 291 | //onde.removeChild(document.getElementById(id)) |
292 | 292 | idsValidos.push(id); |
293 | - $i("status"+id).innerHTML = "excluído"; | |
293 | + $i("status"+id).innerHTML = $trad(14,i3GEOF.wmstime.dicionario); | |
294 | 294 | parouQuantas++; |
295 | 295 | if(parouQuantas == ids.length) |
296 | 296 | {pararStatus();} |
297 | 297 | } |
298 | 298 | else |
299 | - {i3GEO.janela.tempoMsg("Imagem excluída");} | |
299 | + {i3GEO.janela.tempoMsg($trad(15,i3GEOF.wmstime.dicionario));} | |
300 | 300 | } |
301 | 301 | /* |
302 | 302 | Function: pararStatus |
... | ... | @@ -330,7 +330,7 @@ function criaMarcadorTempo(){ |
330 | 330 | var ins = ""; |
331 | 331 | var ini = parseInt((distanciaMarcas*i - (distanciaMarcas/2))); |
332 | 332 | for(var i=1;i<=nmarcas;i++){ |
333 | - ins += "<img title='clique para adicionar ao mapa' onclick='adicionaMapa(\""+i+"\")' onmouseover='mostraI(\""+i+"\")' onmouseout='escondeI(\""+i+"\")' style='position:absolute;top:"+(dh + 10)+"px;left:"+parseInt((distanciaMarcas*i - (distanciaMarcas/2)))+"px;' src='../../imagens/dot1.gif' id='marcaTempo"+i+"' />"; | |
333 | + ins += "<img title='"+$trad(16,i3GEOF.wmstime.dicionario)+"' onclick='adicionaMapa(\""+i+"\")' onmouseover='mostraI(\""+i+"\")' onmouseout='escondeI(\""+i+"\")' style='position:absolute;top:"+(dh + 10)+"px;left:"+parseInt((distanciaMarcas*i - (distanciaMarcas/2)))+"px;' src='../../imagens/dot1.gif' id='marcaTempo"+i+"' />"; | |
334 | 334 | } |
335 | 335 | ins += "<img style='position:absolute;top:"+(dh - 5)+"px;left:"+parseInt((distanciaMarcas - (distanciaMarcas/2)))+"px;' src='../../imagens/dot1red.gif' id='marcaDeTempo' />"; |
336 | 336 | ins += "<img style='position:absolute;top:"+(dh + 10)+"px;left:"+parseInt((distanciaMarcas - (distanciaMarcas/2)))+"px;' src='../../imagens/dot1cinza.gif' id='marcaGranulo' />"; |
... | ... | @@ -452,7 +452,7 @@ function esconderMarcasTempo(){ |
452 | 452 | if($i("marcaTempo"+i)){ |
453 | 453 | $i("marcaTempo"+i).style.display = "none"; |
454 | 454 | } |
455 | - } | |
455 | + } | |
456 | 456 | } |
457 | 457 | function pararFilme(){ |
458 | 458 | emPausa = false; | ... | ... |