Commit 7555c464a06f2cf63fb7c0330af54ea9e40620b2
1 parent
4d83775f
Exists in
master
and in
7 other branches
Separação dos textos para tradução
Showing
32 changed files
with
2464 additions
and
1279 deletions
Show diff stats
admin/admin.db
No preview for this file type
ferramentas/excluirarvore/dicionario.js
1 | //+$trad(1,i3GEOF.excluirarvore.dicionario)+ | 1 | //+$trad(1,i3GEOF.excluirarvore.dicionario)+ |
2 | -i3GEOF.excluuirarvore.dicionario = { | 2 | +i3GEOF.excluirarvore.dicionario = { |
3 | 1: [{ | 3 | 1: [{ |
4 | -pt:"", | 4 | +pt:"Remover do mapa os marcados", |
5 | en:"", | 5 | en:"", |
6 | es:"", | 6 | es:"", |
7 | it:"" | 7 | it:"" |
8 | }], | 8 | }], |
9 | 2: [{ | 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:"", | 10 | +pt:"Escolha uma camada pelo menos", |
59 | en:"", | 11 | en:"", |
60 | es:"", | 12 | es:"", |
61 | it:"" | 13 | it:"" |
ferramentas/excluirarvore/index.js
@@ -123,7 +123,7 @@ i3GEOF.excluirarvore = { | @@ -123,7 +123,7 @@ i3GEOF.excluirarvore = { | ||
123 | n = camadas.length, | 123 | n = camadas.length, |
124 | ins = ""; | 124 | ins = ""; |
125 | 125 | ||
126 | - ins = "<p class=paragrafo ><input id=i3GEOexcluirbotao1 type='buttom' value='Remover do mapa os marcados' /></p>" + | 126 | + ins = "<p class=paragrafo ><input id=i3GEOexcluirbotao1 type='buttom' value='"+$trad(1,i3GEOF.excluirarvore.dicionario)+"' /></p>" + |
127 | "<table id='i3GEOFexcluirarvoreLista' style='width:95%' class='lista8'>"; | 127 | "<table id='i3GEOFexcluirarvoreLista' style='width:95%' class='lista8'>"; |
128 | while(n > 0){ | 128 | while(n > 0){ |
129 | n -= 1; | 129 | n -= 1; |
@@ -170,9 +170,6 @@ i3GEOF.excluirarvore = { | @@ -170,9 +170,6 @@ i3GEOF.excluirarvore = { | ||
170 | YAHOO.util.Event.addListener(janela[0].close, "click", temp); | 170 | YAHOO.util.Event.addListener(janela[0].close, "click", temp); |
171 | if(i3GEO.eventos.ATUALIZAARVORECAMADAS.toString().search("i3GEOF.excluirarvore.inicia(i3GEOF.excluirarvore.iddiv)") < 0) | 171 | if(i3GEO.eventos.ATUALIZAARVORECAMADAS.toString().search("i3GEOF.excluirarvore.inicia(i3GEOF.excluirarvore.iddiv)") < 0) |
172 | {i3GEO.eventos.ATUALIZAARVORECAMADAS.push("i3GEOF.excluirarvore.inicia(i3GEOF.excluirarvore.iddiv)");} | 172 | {i3GEO.eventos.ATUALIZAARVORECAMADAS.push("i3GEOF.excluirarvore.inicia(i3GEOF.excluirarvore.iddiv)");} |
173 | - | ||
174 | - | ||
175 | - | ||
176 | i3GEOF.excluirarvore.inicia(divid); | 173 | i3GEOF.excluirarvore.inicia(divid); |
177 | }, | 174 | }, |
178 | /* | 175 | /* |
@@ -202,7 +199,7 @@ i3GEOF.excluirarvore = { | @@ -202,7 +199,7 @@ i3GEOF.excluirarvore = { | ||
202 | if(lista.length > 0) | 199 | if(lista.length > 0) |
203 | {i3GEO.php.excluitema(temp,lista);} | 200 | {i3GEO.php.excluitema(temp,lista);} |
204 | else{ | 201 | else{ |
205 | - i3GEO.janela.tempoMsg("Escolha uma camada pelo menos"); | 202 | + i3GEO.janela.tempoMsg($trad(2,i3GEOF.excluirarvore.dicionario)); |
206 | i3GEOF.excluirarvore.aguarde.visibility = "hidden"; | 203 | i3GEOF.excluirarvore.aguarde.visibility = "hidden"; |
207 | } | 204 | } |
208 | } | 205 | } |
ferramentas/filtro/dicionario.js
1 | //+$trad(1,i3GEOF.filtro.dicionario)+ | 1 | //+$trad(1,i3GEOF.filtro.dicionario)+ |
2 | i3GEOF.filtro.dicionario = { | 2 | i3GEOF.filtro.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:"Construir", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"Digitar", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"Testar", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Incluir/aplicar", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"Remover", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"Item", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Operador", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Valor", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Conector", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"O resultado da filtragem será mostrado no mapa. Certifique-se que o tema está vísivel. Antes de aplicar, vc pode testar o filtro definido. Na opção IN separe os valores com vírgula.", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Digite o filtro", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"mostra valores", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Escolha o valor", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }], | ||
81 | + 14: [{ | ||
82 | + pt:"igual", | ||
83 | + en:"", | ||
84 | + es:"", | ||
85 | + it:"" | ||
86 | + }], | ||
87 | + 15: [{ | ||
88 | + pt:"menor", | ||
89 | + en:"", | ||
90 | + es:"", | ||
91 | + it:"" | ||
92 | + }], | ||
93 | + 16: [{ | ||
94 | + pt:"maior", | ||
95 | + en:"", | ||
96 | + es:"", | ||
97 | + it:"" | ||
98 | + }], | ||
99 | + 17: [{ | ||
100 | + pt:"e", | ||
101 | + en:"", | ||
102 | + es:"", | ||
103 | + it:"" | ||
104 | + }], | ||
105 | + 18: [{ | ||
106 | + pt:"ou", | ||
107 | + en:"", | ||
108 | + es:"", | ||
109 | + it:"" | ||
110 | + }], | ||
111 | + 19: [{ | ||
112 | + pt:"não", | ||
113 | + en:"", | ||
114 | + es:"", | ||
115 | + it:"" | ||
116 | + }] | ||
63 | }; | 117 | }; |
64 | \ No newline at end of file | 118 | \ No newline at end of file |
ferramentas/filtro/index.js
@@ -148,23 +148,23 @@ i3GEOF.filtro = { | @@ -148,23 +148,23 @@ i3GEOF.filtro = { | ||
148 | var ins = '' + | 148 | var ins = '' + |
149 | '<div id=i3GEOfiltroguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'+ | 149 | '<div id=i3GEOfiltroguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'+ |
150 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'+ | 150 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'+ |
151 | - ' <li><a href="#ancora"><em><div id="i3GEOfiltroguia1" style="text-align:center;left:0px;" >Construir</div></em></a></li>'+ | ||
152 | - ' <li><a href="#ancora"><em><div id="i3GEOfiltroguia2" style="text-align:center;left:0px;" >Digitar</div></em></a></li>'+ | ||
153 | - ' <li><a href="#ancora"><em><div id="i3GEOfiltroguia3" style="text-align:center;left:0px;" >Testar</div></em></a></li>'+ | 151 | + ' <li><a href="#ancora"><em><div id="i3GEOfiltroguia1" style="text-align:center;left:0px;" >'+$trad(1,i3GEOF.filtro.dicionario)+'</div></em></a></li>'+ |
152 | + ' <li><a href="#ancora"><em><div id="i3GEOfiltroguia2" style="text-align:center;left:0px;" >'+$trad(2,i3GEOF.filtro.dicionario)+'</div></em></a></li>'+ | ||
153 | + ' <li><a href="#ancora"><em><div id="i3GEOfiltroguia3" style="text-align:center;left:0px;" >'+$trad(3,i3GEOF.filtro.dicionario)+'</div></em></a></li>'+ | ||
154 | ' </ul>'+ | 154 | ' </ul>'+ |
155 | '</div><br>'+ | 155 | '</div><br>'+ |
156 | '<p class=paragrafo >'+ | 156 | '<p class=paragrafo >'+ |
157 | - ' <input id=i3GEOfiltrobotao1 size=18 type="button" value="Incluir/aplicar" />'+ | ||
158 | - ' <input id=i3GEOfiltrobotao2 size=18 type="button" value="Remover" />'+ | 157 | + ' <input id=i3GEOfiltrobotao1 size=18 type="button" value="'+$trad(4,i3GEOF.filtro.dicionario)+'" />'+ |
158 | + ' <input id=i3GEOfiltrobotao2 size=18 type="button" value="'+$trad(5,i3GEOF.filtro.dicionario)+'" />'+ | ||
159 | '</p>'+ | 159 | '</p>'+ |
160 | '<div class=guiaobj id="i3GEOfiltroguia1obj" style="left:1px;display:none;">'+ | 160 | '<div class=guiaobj id="i3GEOfiltroguia1obj" style="left:1px;display:none;">'+ |
161 | ' <div id=i3GEOfiltropar style="display:block;position:relative;top:5px;left:0px;">'+ | 161 | ' <div id=i3GEOfiltropar style="display:block;position:relative;top:5px;left:0px;">'+ |
162 | ' <table summary="" id="i3GEOfiltroparametros" >'+ | 162 | ' <table summary="" id="i3GEOfiltroparametros" >'+ |
163 | ' <tr><td></td><td></td>'+ | 163 | ' <tr><td></td><td></td>'+ |
164 | - ' <td style=background-color:yellow >Item</td>'+ | ||
165 | - ' <td style=background-color:yellow >Operador</td>'+ | ||
166 | - ' <td style=background-color:yellow >Valor</td>'+ | ||
167 | - ' <td style=background-color:yellow >Conector</td>'+ | 164 | + ' <td style=background-color:yellow >'+$trad(6,i3GEOF.filtro.dicionario)+'</td>'+ |
165 | + ' <td style=background-color:yellow >'+$trad(7,i3GEOF.filtro.dicionario)+'</td>'+ | ||
166 | + ' <td style=background-color:yellow >'+$trad(8,i3GEOF.filtro.dicionario)+'</td>'+ | ||
167 | + ' <td style=background-color:yellow >'+$trad(9,i3GEOF.filtro.dicionario)+'</td>'+ | ||
168 | ' </tr>'+ | 168 | ' </tr>'+ |
169 | ' <tr><td> </td><td></td><td></td><td></td><td></td><td></td></tr>'+ | 169 | ' <tr><td> </td><td></td><td></td><td></td><td></td><td></td></tr>'+ |
170 | ' </table>'+ | 170 | ' </table>'+ |
@@ -173,10 +173,10 @@ i3GEOF.filtro = { | @@ -173,10 +173,10 @@ i3GEOF.filtro = { | ||
173 | ' </div>'+ | 173 | ' </div>'+ |
174 | ' <div id=i3GEOfiltrovalores style="position:relative;top:5px;left:0px">'+ | 174 | ' <div id=i3GEOfiltrovalores style="position:relative;top:5px;left:0px">'+ |
175 | ' </div>'+ | 175 | ' </div>'+ |
176 | - ' <div id=i3GEOfiltromen1 style=top:15px;left:0px; ><p class=paragrafo >O resultado da filtragem será mostrado no mapa. Certifique-se que o tema está vísivel. Antes de aplicar, vc pode testar o filtro definido. Na opção IN separe os valores com vírgula.</div>'+ | 176 | + ' <div id=i3GEOfiltromen1 style=top:15px;left:0px; ><p class=paragrafo >'+$trad(10,i3GEOF.filtro.dicionario)+'</div>'+ |
177 | '</div>'+ | 177 | '</div>'+ |
178 | '<div class=guiaobj id="i3GEOfiltroguia2obj" style="left:1px;display:none;">'+ | 178 | '<div class=guiaobj id="i3GEOfiltroguia2obj" style="left:1px;display:none;">'+ |
179 | - ' <p class=paragrafo >Digite o filtro:<br>'+ | 179 | + ' <p class=paragrafo >'+$trad(11,i3GEOF.filtro.dicionario)+':<br>'+ |
180 | $inputText("","","i3GEOfiltrofiltro","",65,"") + | 180 | $inputText("","","i3GEOfiltrofiltro","",65,"") + |
181 | '</p></div>'+ | 181 | '</p></div>'+ |
182 | '<div class=guiaobj id="i3GEOfiltroguia3obj" style="left:1px;display:none;">'+ | 182 | '<div class=guiaobj id="i3GEOfiltroguia3obj" style="left:1px;display:none;">'+ |
@@ -243,7 +243,7 @@ i3GEOF.filtro = { | @@ -243,7 +243,7 @@ i3GEOF.filtro = { | ||
243 | 243 | ||
244 | interrogacao = document.createElement("img"); | 244 | interrogacao = document.createElement("img"); |
245 | interrogacao.src = i3GEO.configura.locaplic+'/imagens/interrogacao.gif'; | 245 | interrogacao.src = i3GEO.configura.locaplic+'/imagens/interrogacao.gif'; |
246 | - interrogacao.title='mostra valores'; | 246 | + interrogacao.title= $trad(12,i3GEOF.filtro.dicionario); |
247 | interrogacao.style.cursor="pointer"; | 247 | interrogacao.style.cursor="pointer"; |
248 | interrogacao.onclick = function(){ | 248 | interrogacao.onclick = function(){ |
249 | var obj, itemTema; | 249 | var obj, itemTema; |
@@ -254,7 +254,7 @@ i3GEOF.filtro = { | @@ -254,7 +254,7 @@ i3GEOF.filtro = { | ||
254 | i3GEO.temaAtivo, | 254 | i3GEO.temaAtivo, |
255 | itemTema, | 255 | itemTema, |
256 | function(retorno){ | 256 | function(retorno){ |
257 | - $i("i3GEOfiltrovalores").innerHTML = "<br><p class=paragrafo >Escolha o valor:"+this.dados+"</p>"; | 257 | + $i("i3GEOfiltrovalores").innerHTML = "<br><p class=paragrafo >"+$trad(13,i3GEOF.filtro.dicionario)+":"+this.dados+"</p>"; |
258 | if ($i("i3GEOfiltrocbitens")){ | 258 | if ($i("i3GEOfiltrocbitens")){ |
259 | $i("i3GEOfiltrocbitens").onchange = function() | 259 | $i("i3GEOfiltrocbitens").onchange = function() |
260 | {obj.value = this.value;}; | 260 | {obj.value = this.value;}; |
@@ -265,19 +265,19 @@ i3GEOF.filtro = { | @@ -265,19 +265,19 @@ i3GEOF.filtro = { | ||
265 | }; | 265 | }; |
266 | 266 | ||
267 | operador = "<select>"; | 267 | operador = "<select>"; |
268 | - operador += "<option value='='>igual</option>"; | 268 | + operador += "<option value='='>"+$trad(14,i3GEOF.filtro.dicionario)+"</option>"; |
269 | operador += "<option value='!='>dif</option>"; | 269 | operador += "<option value='!='>dif</option>"; |
270 | - operador += "<option value='<'>menor</option>"; | ||
271 | - operador += "<option value='>'>maior</option>"; | 270 | + operador += "<option value='<'>"+$trad(15,i3GEOF.filtro.dicionario)+"</option>"; |
271 | + operador += "<option value='>'>"+$trad(16,i3GEOF.filtro.dicionario)+"</option>"; | ||
272 | operador += "<option value='<='><=</option>"; | 272 | operador += "<option value='<='><=</option>"; |
273 | operador += "<option value='>='>>=</option>"; | 273 | operador += "<option value='>='>>=</option>"; |
274 | operador += "<option value='in'>in</option>"; | 274 | operador += "<option value='in'>in</option>"; |
275 | operador += "<option value='~='>regExp</option></select>"; | 275 | operador += "<option value='~='>regExp</option></select>"; |
276 | 276 | ||
277 | conector = "<select>"; | 277 | conector = "<select>"; |
278 | - conector += "<option value='and'>e</option>"; | ||
279 | - conector += "<option value='or'>ou</option>"; | ||
280 | - conector += "<option value='not'>não</option></select>"; | 278 | + conector += "<option value='and'>"+$trad(17,i3GEOF.filtro.dicionario)+"</option>"; |
279 | + conector += "<option value='or'>"+$trad(18,i3GEOF.filtro.dicionario)+"</option>"; | ||
280 | + conector += "<option value='not'>"+$trad(19,i3GEOF.filtro.dicionario)+"</option></select>"; | ||
281 | 281 | ||
282 | valor = document.createElement("input"); | 282 | valor = document.createElement("input"); |
283 | valor.type = "text"; | 283 | valor.type = "text"; |
@@ -442,5 +442,4 @@ i3GEOF.filtro = { | @@ -442,5 +442,4 @@ i3GEOF.filtro = { | ||
442 | i3GEOF.filtro.aguarde.visibility = "hidden"; | 442 | i3GEOF.filtro.aguarde.visibility = "hidden"; |
443 | } | 443 | } |
444 | } | 444 | } |
445 | -}; | ||
446 | - | 445 | +}; |
447 | \ No newline at end of file | 446 | \ No newline at end of file |
ferramentas/filtroarvore/dicionario.js
1 | //+$trad(1,i3GEOF.filtroarvore.dicionario)+ | 1 | //+$trad(1,i3GEOF.filtroarvore.dicionario)+ |
2 | i3GEOF.filtroarvore.dicionario = { | 2 | i3GEOF.filtroarvore.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 o tipo de filtro ou nenhum para não filtrar", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"remover filtro", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"ligados", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"desligados", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"com seleção", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"permitem download", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"são do tipo WMS", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"são do tipo raster", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"contem apenas texto", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"Operação", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"excluir", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }] | ||
63 | }; | 69 | }; |
64 | \ No newline at end of file | 70 | \ No newline at end of file |
ferramentas/filtroarvore/index.js
@@ -97,22 +97,22 @@ i3GEOF.filtroarvore = { | @@ -97,22 +97,22 @@ i3GEOF.filtroarvore = { | ||
97 | String com o código html | 97 | String com o código html |
98 | */ | 98 | */ |
99 | html:function(){ | 99 | html:function(){ |
100 | - var ins = '<p class=paragrafo >Escolha o tipo de filtro ou "nenhum" para não filtrar<br><br>' + | 100 | + var ins = '<p class=paragrafo >'+$trad(1,i3GEOF.filtroarvore.dicionario)+'<br><br>' + |
101 | '<select onchange="i3GEO.arvoreDeCamadas.ARVORE = null;i3GEO.arvoreDeCamadas.FILTRO = this.value;i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)">' + | 101 | '<select onchange="i3GEO.arvoreDeCamadas.ARVORE = null;i3GEO.arvoreDeCamadas.FILTRO = this.value;i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)">' + |
102 | '<option value="naofaznada">---</option>' + | 102 | '<option value="naofaznada">---</option>' + |
103 | - '<option value="">remover filtro</option>' + | ||
104 | - '<option value="ligados">ligados</option>' + | ||
105 | - '<option value="desligados">desligados</option>' + | ||
106 | - '<option value="selecionados">com seleção</option>' + | ||
107 | - '<option value="download">permitem download</option>' + | ||
108 | - '<option value="wms">são do tipo WMS</option>' + | ||
109 | - '<option value="raster">são do tipo raster</option>' + | ||
110 | - '<option value="toponimia">contem apenas texto</option>' + | 103 | + '<option value="">'+$trad(2,i3GEOF.filtroarvore.dicionario)+'</option>' + |
104 | + '<option value="ligados">'+$trad(3,i3GEOF.filtroarvore.dicionario)+'</option>' + | ||
105 | + '<option value="desligados">'+$trad(4,i3GEOF.filtroarvore.dicionario)+'</option>' + | ||
106 | + '<option value="selecionados">'+$trad(5,i3GEOF.filtroarvore.dicionario)+'</option>' + | ||
107 | + '<option value="download">'+$trad(6,i3GEOF.filtroarvore.dicionario)+'</option>' + | ||
108 | + '<option value="wms">'+$trad(7,i3GEOF.filtroarvore.dicionario)+'</option>' + | ||
109 | + '<option value="raster">'+$trad(8,i3GEOF.filtroarvore.dicionario)+'</option>' + | ||
110 | + '<option value="toponimia">'+$trad(9,i3GEOF.filtroarvore.dicionario)+'</option>' + | ||
111 | '</select><br><br>' + | 111 | '</select><br><br>' + |
112 | - 'Operação<br><br>' + | 112 | + $trad(10,i3GEOF.filtroarvore.dicionario)+'<br><br>' + |
113 | '<select onchange="i3GEOF.filtroarvore.lote(this)" >' + | 113 | '<select onchange="i3GEOF.filtroarvore.lote(this)" >' + |
114 | '<option value="">---</option>' + | 114 | '<option value="">---</option>' + |
115 | - '<option value="excluir">excluir</option>' + | 115 | + '<option value="excluir">'+$trad(11,i3GEOF.filtroarvore.dicionario)+'</option>' + |
116 | '</select>'; | 116 | '</select>'; |
117 | return ins; | 117 | return ins; |
118 | }, | 118 | }, |
@@ -168,4 +168,4 @@ i3GEOF.filtroarvore = { | @@ -168,4 +168,4 @@ i3GEOF.filtroarvore = { | ||
168 | } | 168 | } |
169 | objeto.value = ""; | 169 | objeto.value = ""; |
170 | } | 170 | } |
171 | -}; | 171 | +}; |
172 | \ No newline at end of file | 172 | \ No newline at end of file |
ferramentas/gradecoord/dicionario.js
1 | //+$trad(1,i3GEOF.gradeCoord.dicionario)+ | 1 | //+$trad(1,i3GEOF.gradeCoord.dicionario)+ |
2 | i3GEOF.gradeCoord.dicionario = { | 2 | i3GEOF.gradeCoord.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:"Intervalo em décimos de grau", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"Cor das linhas", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"Largura das linhas", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Tipo de linha", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"sólido", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"tracejado", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Tamanho do texto", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Fonte", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Cor da máscara de um pixel de entorno", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"Cor da sombra", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Deslocamento da sombra", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"Cor dos textos", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Criar grade", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }], | ||
81 | + 14: [{ | ||
82 | + pt:"Entre com a distância entre as linhas", | ||
83 | + en:"", | ||
84 | + es:"", | ||
85 | + it:"" | ||
86 | + }] | ||
63 | }; | 87 | }; |
64 | \ No newline at end of file | 88 | \ No newline at end of file |
ferramentas/gradecoord/index.js
@@ -105,64 +105,64 @@ i3GEOF.gradeCoord = { | @@ -105,64 +105,64 @@ i3GEOF.gradeCoord = { | ||
105 | */ | 105 | */ |
106 | html:function(){ | 106 | html:function(){ |
107 | var ins = '<table summary="" class=lista >' + | 107 | var ins = '<table summary="" class=lista >' + |
108 | - '<tr><td>Intervalo em décimos de grau:</td><td>' + | 108 | + '<tr><td>'+$trad(1,i3GEOF.gradeCoord.dicionario)+':</td><td>' + |
109 | $inputText("","","i3GEOgradeCoordintervalo","",4,"2") + | 109 | $inputText("","","i3GEOgradeCoordintervalo","",4,"2") + |
110 | '</td></tr>' + | 110 | '</td></tr>' + |
111 | '<tr><td> </td><td></td></tr>' + | 111 | '<tr><td> </td><td></td></tr>' + |
112 | - '<tr><td>Cor das linhas:</td><td>' + | 112 | + '<tr><td>'+$trad(2,i3GEOF.gradeCoord.dicionario)+':</td><td>' + |
113 | $inputText("","","i3GEOgradeCoordcorlinha","",11,"200,200,200") + | 113 | $inputText("","","i3GEOgradeCoordcorlinha","",11,"200,200,200") + |
114 | '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.gradeCoord.corj(\'i3GEOgradeCoordcorlinha\')" />' + | 114 | '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.gradeCoord.corj(\'i3GEOgradeCoordcorlinha\')" />' + |
115 | '</td></tr>' + | 115 | '</td></tr>' + |
116 | '<tr><td> </td><td></td></tr>' + | 116 | '<tr><td> </td><td></td></tr>' + |
117 | - '<tr><td>Largura das linhas:</td><td>' + | 117 | + '<tr><td>'+$trad(3,i3GEOF.gradeCoord.dicionario)+':</td><td>' + |
118 | $inputText("","","i3GEOgradeCoordlarguralinha","",11,"1") + | 118 | $inputText("","","i3GEOgradeCoordlarguralinha","",11,"1") + |
119 | '</td></tr>' + | 119 | '</td></tr>' + |
120 | '<tr><td> </td><td></td></tr>' + | 120 | '<tr><td> </td><td></td></tr>' + |
121 | - '<tr><td>Tipo de linha:</td><td>' + | 121 | + '<tr><td>'+$trad(4,i3GEOF.gradeCoord.dicionario)+':</td><td>' + |
122 | ' <select id=i3GEOgradeCoordtipolinha >' + | 122 | ' <select id=i3GEOgradeCoordtipolinha >' + |
123 | - ' <option value="linha" >sólido</option>' + | ||
124 | - ' <option value="ferrovia-line2" >tracejado</option>' + | 123 | + ' <option value="linha" >'+$trad(5,i3GEOF.gradeCoord.dicionario)+'</option>' + |
124 | + ' <option value="ferrovia-line2" >'+$trad(6,i3GEOF.gradeCoord.dicionario)+'</option>' + | ||
125 | ' </select>' + | 125 | ' </select>' + |
126 | '</td></tr>' + | 126 | '</td></tr>' + |
127 | '<tr><td> </td><td></td></tr>' + | 127 | '<tr><td> </td><td></td></tr>' + |
128 | '<tr><td>Inclui textos:</td><td>' + | 128 | '<tr><td>Inclui textos:</td><td>' + |
129 | ' <select id=i3GEOgradeCoordincluitexto >' + | 129 | ' <select id=i3GEOgradeCoordincluitexto >' + |
130 | - ' <option value="sim" >sim</option>' + | ||
131 | - ' <option value="nao" >não</option>' + | 130 | + ' <option value="sim" >'+$trad("x14")+'</option>' + |
131 | + ' <option value="nao" >'+$trad("x15")+'</option>' + | ||
132 | ' </select>' + | 132 | ' </select>' + |
133 | '</td></tr>' + | 133 | '</td></tr>' + |
134 | '<tr><td> </td><td></td></tr>' + | 134 | '<tr><td> </td><td></td></tr>' + |
135 | - '<tr><td>Tamanho do texto:</td><td>' + | 135 | + '<tr><td>'+$trad(7,i3GEOF.gradeCoord.dicionario)+':</td><td>' + |
136 | $inputText("","","i3GEOgradeCoordtamanhotexto","",3,"10") + | 136 | $inputText("","","i3GEOgradeCoordtamanhotexto","",3,"10") + |
137 | '</td></tr>' + | 137 | '</td></tr>' + |
138 | '<tr><td> </td><td></td></tr>' + | 138 | '<tr><td> </td><td></td></tr>' + |
139 | - '<tr><td>Fonte:</td>' + | 139 | + '<tr><td>'+$trad(8,i3GEOF.gradeCoord.dicionario)+':</td>' + |
140 | ' <td id=i3GEOgradeCoordfontef ></td></tr>' + | 140 | ' <td id=i3GEOgradeCoordfontef ></td></tr>' + |
141 | '<tr><td> </td><td></td></tr>' + | 141 | '<tr><td> </td><td></td></tr>' + |
142 | '<tr>' + | 142 | '<tr>' + |
143 | - ' <td>Cor da máscara de um pixel de entorno:</td><td>' + | 143 | + ' <td>'+$trad(9,i3GEOF.gradeCoord.dicionario)+':</td><td>' + |
144 | $inputText("","","i3GEOgradeCoordmascara_i","",11,"-1,-1,-1") + | 144 | $inputText("","","i3GEOgradeCoordmascara_i","",11,"-1,-1,-1") + |
145 | '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.gradeCoord.corj(\'i3GEOgradeCoordmascara_i\')" />' + | 145 | '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.gradeCoord.corj(\'i3GEOgradeCoordmascara_i\')" />' + |
146 | ' </td>' + | 146 | ' </td>' + |
147 | '</td></tr>' + | 147 | '</td></tr>' + |
148 | '<tr><td> </td><td></td></tr>' + | 148 | '<tr><td> </td><td></td></tr>' + |
149 | - '<tr><td>Cor da sombra:</td><td>' + | 149 | + '<tr><td>'+$trad(10,i3GEOF.gradeCoord.dicionario)+':</td><td>' + |
150 | $inputText("","","i3GEOgradeCoordshadowcolor","",11,"-1,-1,-1") + | 150 | $inputText("","","i3GEOgradeCoordshadowcolor","",11,"-1,-1,-1") + |
151 | '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.gradeCoord.corj(\'i3GEOgradeCoordshadowcolor\')" />' + | 151 | '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.gradeCoord.corj(\'i3GEOgradeCoordshadowcolor\')" />' + |
152 | '</td></tr>' + | 152 | '</td></tr>' + |
153 | '<tr><td> </td><td></td></tr>' + | 153 | '<tr><td> </td><td></td></tr>' + |
154 | '<tr>' + | 154 | '<tr>' + |
155 | - ' <td>Deslocamento da sombra:</td><td>' + | 155 | + ' <td>'+$trad(11,i3GEOF.gradeCoord.dicionario)+':</td><td>' + |
156 | ' x '+$inputText("","","i3GEOgradeCoordshadowsizex","",3,"0") + | 156 | ' x '+$inputText("","","i3GEOgradeCoordshadowsizex","",3,"0") + |
157 | ' <br>y '+$inputText("","","i3GEOgradeCoordshadowsizey","",3,"0") + | 157 | ' <br>y '+$inputText("","","i3GEOgradeCoordshadowsizey","",3,"0") + |
158 | '</td></tr>' + | 158 | '</td></tr>' + |
159 | '<tr><td> </td><td></td></tr>' + | 159 | '<tr><td> </td><td></td></tr>' + |
160 | - '<tr><td>Cor dos textos:</td><td>' + | 160 | + '<tr><td>'+$trad(12,i3GEOF.gradeCoord.dicionario)+':</td><td>' + |
161 | $inputText("","","i3GEOgradeCoordcortexto","",11,"0,0,0") + | 161 | $inputText("","","i3GEOgradeCoordcortexto","",11,"0,0,0") + |
162 | '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.gradeCoord.corj(\'i3GEOgradeCoordcortexto\')" />' + | 162 | '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.gradeCoord.corj(\'i3GEOgradeCoordcortexto\')" />' + |
163 | '</td></tr>' + | 163 | '</td></tr>' + |
164 | '</table><br>' + | 164 | '</table><br>' + |
165 | - '<p class=paragrafo ><input id=i3GEOgradeCoordbotao1 size=10 type=button value="Criar grade" />'; | 165 | + '<p class=paragrafo ><input id=i3GEOgradeCoordbotao1 size=10 type=button value="'+$trad(13,i3GEOF.gradeCoord.dicionario)+'" />'; |
166 | return ins; | 166 | return ins; |
167 | }, | 167 | }, |
168 | /* | 168 | /* |
@@ -208,7 +208,7 @@ i3GEOF.gradeCoord = { | @@ -208,7 +208,7 @@ i3GEOF.gradeCoord = { | ||
208 | */ | 208 | */ |
209 | executa: function(){ | 209 | executa: function(){ |
210 | if (($i("i3GEOgradeCoordintervalo").value == 0) || ($i("i3GEOgradeCoordintervalo").value == "")) | 210 | if (($i("i3GEOgradeCoordintervalo").value == 0) || ($i("i3GEOgradeCoordintervalo").value == "")) |
211 | - {i3GEO.janela.tempoMsg("Entre com a distância entre as linhas");} | 211 | + {i3GEO.janela.tempoMsg($trad(14,i3GEOF.gradeCoord.dicionario));} |
212 | else | 212 | else |
213 | { | 213 | { |
214 | if(i3GEOF.gradeCoord.aguarde.visibility === "visible") | 214 | if(i3GEOF.gradeCoord.aguarde.visibility === "visible") |
@@ -238,4 +238,4 @@ i3GEOF.gradeCoord = { | @@ -238,4 +238,4 @@ i3GEOF.gradeCoord = { | ||
238 | cp.call(p,"gradeCoord",temp); | 238 | cp.call(p,"gradeCoord",temp); |
239 | } | 239 | } |
240 | } | 240 | } |
241 | -}; | 241 | +}; |
242 | \ No newline at end of file | 242 | \ No newline at end of file |
ferramentas/gradehex/dicionario.js
1 | //+$trad(1,i3GEOF.gradehex.dicionario)+ | 1 | //+$trad(1,i3GEOF.gradehex.dicionario)+ |
2 | -i3GEOF.gradehex.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 | -}] | 2 | +i3GEOF.gradeDeHex.dicionario = { |
3 | + 1: [{ | ||
4 | + pt:"A grade é formada por hexágonos espaçados conforme os parâmetros de x e y.", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"A grade criada é adicionada como um novo tema no mapa, podendo ser utilizada em operações como o cruzamento entre pontos e polígonos.", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"O ponto inicial da grade deve ser definido pelo usuário e o ponto final (inferior direito) é definido em função da abranência do mapa ou da quantidade de pontos.", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Espaçamento da grade", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"Grau", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"Minuto", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Segundo", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Coordenadas do ponto inicial superior esquerdo (utilize o sinal negativo no grau quando ao sul do equador e a oeste). <b>Você pode clicar no mapa para pegar o ponto.</b>", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Número de hexágonos. Total máximo de 10.000", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"A grade será acrescentada como um novo tema no mapa", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Criar grade", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"Distância entre os pontos não pode ser 0", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Número de pontos não pode ser 0", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }] | ||
63 | }; | 81 | }; |
64 | \ No newline at end of file | 82 | \ No newline at end of file |
ferramentas/gradehex/index.js
@@ -150,33 +150,33 @@ i3GEOF.gradeDeHex = { | @@ -150,33 +150,33 @@ i3GEOF.gradeDeHex = { | ||
150 | }, | 150 | }, |
151 | t0: function() | 151 | t0: function() |
152 | { | 152 | { |
153 | - var ins = "<p class='paragrafo' >A grade é formada por hexágonos espaçados conforme os parâmetros de x e y."; | ||
154 | - ins += "<p class='paragrafo'>A grade criada é adicionada como um novo tema no mapa, podendo ser utilizada em operações como o cruzamento entre pontos e polígonos."; | ||
155 | - ins += "<p class='paragrafo'>O ponto inicial da grade deve ser definido pelo usuário e o ponto final (inferior direito) é definido em função da abranência do mapa ou da quantidade de pontos."; | 153 | + var ins = "<p class='paragrafo' >"+$trad(1,i3GEOF.gradeDeHex.dicionario); |
154 | + ins += "<p class='paragrafo'>"+$trad(2,i3GEOF.gradeDeHex.dicionario); | ||
155 | + ins += "<p class='paragrafo'>"+$trad(3,i3GEOF.gradeDeHex.dicionario); | ||
156 | i3GEO.util.proximoAnterior("","i3GEOF.gradeDeHex.t1()",ins,"i3GEOFgradeDeHext0","i3GEOgradedehexresultado"); | 156 | i3GEO.util.proximoAnterior("","i3GEOF.gradeDeHex.t1()",ins,"i3GEOFgradeDeHext0","i3GEOgradedehexresultado"); |
157 | }, | 157 | }, |
158 | t1: function(){ | 158 | t1: function(){ |
159 | - var ins = "<p class='paragrafo'>Espaçamento da grade"; | ||
160 | - ins += "<p class='paragrafo'>em X: "; | ||
161 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxg' title='grau' type=text size=3 value='1'/>"; | ||
162 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxm' title='minuto' type=text size=5 value='00'/>"; | ||
163 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxs' title='segundo' type=text size=5 value='00.00'/>"; | ||
164 | - ins += "<p class='paragrafo'>em Y: "; | ||
165 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexyg' title='grau' type=text size=3 value='1'/>"; | ||
166 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexym' title='minuto' type=text size=5 value='00'/>"; | ||
167 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexys' title='segundo' type=text size=5 value='00.00'/>"; | 159 | + var ins = "<p class='paragrafo'>"+$trad(4,i3GEOF.gradeDeHex.dicionario); |
160 | + ins += "<p class='paragrafo'>X: "; | ||
161 | + ins += $trad(5,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxg' title='grau' type=text size=3 value='1'/>"; | ||
162 | + ins += $trad(6,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxm' title='minuto' type=text size=5 value='00'/>"; | ||
163 | + ins += $trad(7,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxs' title='segundo' type=text size=5 value='00.00'/>"; | ||
164 | + ins += "<p class='paragrafo'>Y: "; | ||
165 | + ins += $trad(5,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexyg' title='grau' type=text size=3 value='1'/>"; | ||
166 | + ins += $trad(6,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexym' title='minuto' type=text size=5 value='00'/>"; | ||
167 | + ins += $trad(7,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexys' title='segundo' type=text size=5 value='00.00'/>"; | ||
168 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t0()","i3GEOF.gradeDeHex.t2()",ins,"i3GEOF.gradeDeHex.t1","i3GEOgradedehexresultado"); | 168 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t0()","i3GEOF.gradeDeHex.t2()",ins,"i3GEOF.gradeDeHex.t1","i3GEOgradedehexresultado"); |
169 | }, | 169 | }, |
170 | t2: function(){ | 170 | t2: function(){ |
171 | - var ins = "<p class='paragrafo'>Coordenadas do ponto inicial superior esquerdo (utilize o sinal negativo no grau quando ao sul do equador e a oeste). <b>Você pode clicar no mapa para pegar o ponto.</b>"; | ||
172 | - ins += "<p class='paragrafo'>em X: "; | ||
173 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixg' title='grau' type=text size=3 value='-00'/>"; | ||
174 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixm' title='minuto' type=text size=5 value='00'/>"; | ||
175 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixs' title='segundo' type=text size=5 value='00.00'/>"; | ||
176 | - ins += "<p class='paragrafo'>em Y: "; | ||
177 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiyg' title='grau' type=text size=3 value='-00'/>"; | ||
178 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiym' title='minuto' type=text size=5 value='00'/>"; | ||
179 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiys' title='segundo' type=text size=5 value='00.00'/>"; | 171 | + var ins = "<p class='paragrafo'>"+$trad(8,i3GEOF.gradeDeHex.dicionario); |
172 | + ins += "<p class='paragrafo'>X: "; | ||
173 | + ins += $trad(5,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixg' title='grau' type=text size=3 value='-00'/>"; | ||
174 | + ins += $trad(6,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixm' title='minuto' type=text size=5 value='00'/>"; | ||
175 | + ins += $trad(7,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixs' title='segundo' type=text size=5 value='00.00'/>"; | ||
176 | + ins += "<p class='paragrafo'>Y: "; | ||
177 | + ins += $trad(5,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiyg' title='grau' type=text size=3 value='-00'/>"; | ||
178 | + ins += $trad(6,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiym' title='minuto' type=text size=5 value='00'/>"; | ||
179 | + ins += $trad(7,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiys' title='segundo' type=text size=5 value='00.00'/>"; | ||
180 | g_tipoacao = "capturaponto"; | 180 | g_tipoacao = "capturaponto"; |
181 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t1()","i3GEOF.gradeDeHex.t3()",ins,"i3GEOF.gradeDeHex.t2","i3GEOgradedehexresultado"); | 181 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t1()","i3GEOF.gradeDeHex.t3()",ins,"i3GEOF.gradeDeHex.t2","i3GEOgradedehexresultado"); |
182 | i3GEO.eventos.cliquePerm.desativa(); | 182 | i3GEO.eventos.cliquePerm.desativa(); |
@@ -184,16 +184,16 @@ i3GEOF.gradeDeHex = { | @@ -184,16 +184,16 @@ i3GEOF.gradeDeHex = { | ||
184 | {i3GEO.eventos.MOUSECLIQUE.push("i3GEOF.gradeDeHex.capturaPonto()");} | 184 | {i3GEO.eventos.MOUSECLIQUE.push("i3GEOF.gradeDeHex.capturaPonto()");} |
185 | }, | 185 | }, |
186 | t3: function(){ | 186 | t3: function(){ |
187 | - var ins = "<p class='paragrafo'>Número de hexágonos. Total máximo de 10.000"; | ||
188 | - ins += "<p class='paragrafo'>em X: "; | 187 | + var ins = "<p class='paragrafo'>"+$trad(9,i3GEOF.gradeDeHex.dicionario); |
188 | + ins += "<p class='paragrafo'>X: "; | ||
189 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexnptx' title='pontos em x' type=text size=3 value='10'/>"; | 189 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexnptx' title='pontos em x' type=text size=3 value='10'/>"; |
190 | - ins += "<p class='paragrafo'>em Y: "; | 190 | + ins += "<p class='paragrafo'>Y: "; |
191 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexnpty' title='pontos em y' type=text size=3 value='10'/>"; | 191 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexnpty' title='pontos em y' type=text size=3 value='10'/>"; |
192 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t2()","i3GEOF.gradeDeHex.t4()",ins,"i3GEOF.gradeDeHex.t3","i3GEOgradedehexresultado"); | 192 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t2()","i3GEOF.gradeDeHex.t4()",ins,"i3GEOF.gradeDeHex.t3","i3GEOgradedehexresultado"); |
193 | }, | 193 | }, |
194 | t4: function(){ | 194 | t4: function(){ |
195 | - var ins = "<p class='paragrafo'>A grade será acrescentada como um novo tema no mapa"; | ||
196 | - ins += "<p class='paragrafo'><input id=i3GEOgradedehexbotao1 size=18 class=executar type='button' value='Criar grade' />"; | 195 | + var ins = "<p class='paragrafo'>"+$trad(10,i3GEOF.gradeDeHex.dicionario); |
196 | + ins += "<p class='paragrafo'><input id=i3GEOgradedehexbotao1 size=18 class=executar type='button' value='"+$trad(11,i3GEOF.gradeDeHex.dicionario)+"' />"; | ||
197 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t3()","",ins,"i3GEOF.gradeDeHex.t4","i3GEOgradedehexresultado"); | 197 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t3()","",ins,"i3GEOF.gradeDeHex.t4","i3GEOgradedehexresultado"); |
198 | new YAHOO.widget.Button( | 198 | new YAHOO.widget.Button( |
199 | "i3GEOgradedehexbotao1", | 199 | "i3GEOgradedehexbotao1", |
@@ -222,16 +222,16 @@ i3GEOF.gradeDeHex = { | @@ -222,16 +222,16 @@ i3GEOF.gradeDeHex = { | ||
222 | nptx = $i("i3GEOgradedehexnptx").value; | 222 | nptx = $i("i3GEOgradedehexnptx").value; |
223 | npty = $i("i3GEOgradedehexnpty").value; | 223 | npty = $i("i3GEOgradedehexnpty").value; |
224 | if ((dx == 0) || (dy == 0)) | 224 | if ((dx == 0) || (dy == 0)) |
225 | - {i3GEO.janela.tempoMsg("Distância entre os pontos não pode ser 0");return;} | 225 | + {i3GEO.janela.tempoMsg($trad(12,i3GEOF.gradeDeHex.dicionario));return;} |
226 | if ((nptx == 0) || (npty == 0)) | 226 | if ((nptx == 0) || (npty == 0)) |
227 | - {i3GEO.janela.tempoMsg("Número de pontos não pode ser 0");return;} | 227 | + {i3GEO.janela.tempoMsg($trad(13,i3GEOF.gradeDeHex.dicionario));return;} |
228 | if (nptx * npty > 10000) | 228 | if (nptx * npty > 10000) |
229 | - {i3GEO.janela.tempoMsg("Número de pontos não pode ser maior que 10.000");return;} | 229 | + {i3GEO.janela.tempoMsg($trad(13,i3GEOF.gradeDeHex.dicionario));return;} |
230 | fim = function(retorno) | 230 | fim = function(retorno) |
231 | { | 231 | { |
232 | i3GEOF.gradeDeHex.aguarde.visibility = "hidden"; | 232 | i3GEOF.gradeDeHex.aguarde.visibility = "hidden"; |
233 | if (retorno.data == undefined ) | 233 | if (retorno.data == undefined ) |
234 | - {$i("i3GEOgradedehexfim").innerHTML = "<p class='paragrafo'>Erro. A operação demorou muito(?).";} | 234 | + {$i("i3GEOgradedehexfim").innerHTML = "<p class='paragrafo'>Erro. ";} |
235 | else | 235 | else |
236 | {i3GEO.atualiza();} | 236 | {i3GEO.atualiza();} |
237 | }; | 237 | }; |
@@ -260,4 +260,4 @@ i3GEOF.gradeDeHex = { | @@ -260,4 +260,4 @@ i3GEOF.gradeDeHex = { | ||
260 | ); | 260 | ); |
261 | g_tipoacao = temp; | 261 | g_tipoacao = temp; |
262 | } | 262 | } |
263 | -}; | 263 | +}; |
264 | \ No newline at end of file | 264 | \ No newline at end of file |
ferramentas/gradepol/dicionario.js
1 | //+$trad(1,i3GEOF.gradeDePoligonos.dicionario)+ | 1 | //+$trad(1,i3GEOF.gradeDePoligonos.dicionario)+ |
2 | i3GEOF.gradeDePoligonos.dicionario = { | 2 | i3GEOF.gradeDePoligonos.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:"A grade é formada por polígonos espaçados conforme os parâmetros de dx e dy.", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"A grade criada é adicionada como um novo tema no mapa, podendo ser utilizada em operações como o cruzamento entre pontos e polígonos.", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"O ponto inicial da grade deve ser definido pelo usuário e o ponto final (inferior direito) é definido em função da abrangência do mapa ou quantidade de células.", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Distância entre células", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"Grau", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"Minuto", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Segundo", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Coordenadas do ponto inicial superior esquerdo (utilize o sinal negativo no grau quando ao sul do equador e a oeste). <b>Você pode clicar no mapa para pegar o ponto.</b>", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Número de células. Total máximo de 10.000", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"A grade será acrescentada como um novo tema no mapa", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Criar grade", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"Distância entre as celulas não pode ser 0", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Número de pontos não pode ser 0", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }] | ||
63 | }; | 81 | }; |
64 | \ No newline at end of file | 82 | \ No newline at end of file |
ferramentas/gradepol/index.js
@@ -149,33 +149,33 @@ i3GEOF.gradeDePoligonos = { | @@ -149,33 +149,33 @@ i3GEOF.gradeDePoligonos = { | ||
149 | }, | 149 | }, |
150 | t0: function() | 150 | t0: function() |
151 | { | 151 | { |
152 | - var ins = "<p class='paragrafo' >A grade é formada por polígonos espaçados conforme os parâmetros de dx e dy."; | ||
153 | - ins += "<p class='paragrafo'>A grade criada é adicionada como um novo tema no mapa, podendo ser utilizada em operações como o cruzamento entre pontos e polígonos."; | ||
154 | - ins += "<p class='paragrafo'>O ponto inicial da grade deve ser definido pelo usuário e o ponto final (inferior direito) é definido em função da abrangência do mapa ou quantidade de células."; | 152 | + var ins = "<p class='paragrafo' >"+$trad(1,i3GEOF.gradeDePoligonos.dicionario); |
153 | + ins += "<p class='paragrafo'>"+$trad(2,i3GEOF.gradeDePoligonos.dicionario); | ||
154 | + ins += "<p class='paragrafo'>"+$trad(3,i3GEOF.gradeDePoligonos.dicionario); | ||
155 | i3GEO.util.proximoAnterior("","i3GEOF.gradeDePoligonos.t1()",ins,"i3GEOFgradeDePoligonost0","i3GEOgradedepoligonosresultado"); | 155 | i3GEO.util.proximoAnterior("","i3GEOF.gradeDePoligonos.t1()",ins,"i3GEOFgradeDePoligonost0","i3GEOgradedepoligonosresultado"); |
156 | }, | 156 | }, |
157 | t1: function(){ | 157 | t1: function(){ |
158 | - var ins = "<p class='paragrafo'>Distância entre células"; | ||
159 | - ins += "<p class='paragrafo'>em X: "; | ||
160 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosxg' title='grau' type=text size=3 value='1'/>"; | ||
161 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosxm' title='minuto' type=text size=5 value='00'/>"; | ||
162 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosxs' title='segundo' type=text size=5 value='00.00'/>"; | ||
163 | - ins += "<p class='paragrafo'>em Y: "; | ||
164 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosyg' title='grau' type=text size=3 value='1'/>"; | ||
165 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosym' title='minuto' type=text size=5 value='00'/>"; | ||
166 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosys' title='segundo' type=text size=5 value='00.00'/>"; | 158 | + var ins = "<p class='paragrafo'>"+$trad(4,i3GEOF.gradeDePoligonos.dicionario); |
159 | + ins += "<p class='paragrafo'>X: "; | ||
160 | + ins += $trad(5,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosxg' title='grau' type=text size=3 value='1'/>"; | ||
161 | + ins += $trad(6,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosxm' title='minuto' type=text size=5 value='00'/>"; | ||
162 | + ins += $trad(7,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosxs' title='segundo' type=text size=5 value='00.00'/>"; | ||
163 | + ins += "<p class='paragrafo'>Y: "; | ||
164 | + ins += $trad(5,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosyg' title='grau' type=text size=3 value='1'/>"; | ||
165 | + ins += $trad(6,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosym' title='minuto' type=text size=5 value='00'/>"; | ||
166 | + ins += $trad(7,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosys' title='segundo' type=text size=5 value='00.00'/>"; | ||
167 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePoligonos.t0()","i3GEOF.gradeDePoligonos.t2()",ins,"i3GEOF.gradeDePoligonos.t1","i3GEOgradedepoligonosresultado"); | 167 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePoligonos.t0()","i3GEOF.gradeDePoligonos.t2()",ins,"i3GEOF.gradeDePoligonos.t1","i3GEOgradedepoligonosresultado"); |
168 | }, | 168 | }, |
169 | t2: function(){ | 169 | t2: function(){ |
170 | - var ins = "<p class='paragrafo'>Coordenadas do ponto inicial superior esquerdo (utilize o sinal negativo no grau quando ao sul do equador e a oeste). <b>Você pode clicar no mapa para pegar o ponto.</b>"; | ||
171 | - ins += "<p class='paragrafo'>em X: "; | ||
172 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosixg' title='grau' type=text size=3 value='-00'/>"; | ||
173 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosixm' title='minuto' type=text size=5 value='00'/>"; | ||
174 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosixs' title='segundo' type=text size=5 value='00.00'/>"; | ||
175 | - ins += "<p class='paragrafo'>em Y: "; | ||
176 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosiyg' title='grau' type=text size=3 value='-00'/>"; | ||
177 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosiym' title='minuto' type=text size=5 value='00'/>"; | ||
178 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosiys' title='segundo' type=text size=5 value='00.00'/>"; | 170 | + var ins = "<p class='paragrafo'>"+$trad(8,i3GEOF.gradeDePoligonos.dicionario); |
171 | + ins += "<p class='paragrafo'>X: "; | ||
172 | + ins += $trad(5,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosixg' title='grau' type=text size=3 value='-00'/>"; | ||
173 | + ins += $trad(6,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosixm' title='minuto' type=text size=5 value='00'/>"; | ||
174 | + ins += $trad(7,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosixs' title='segundo' type=text size=5 value='00.00'/>"; | ||
175 | + ins += "<p class='paragrafo'>Y: "; | ||
176 | + ins += $trad(5,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosiyg' title='grau' type=text size=3 value='-00'/>"; | ||
177 | + ins += $trad(6,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosiym' title='minuto' type=text size=5 value='00'/>"; | ||
178 | + ins += $trad(7,i3GEOF.gradeDePoligonos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosiys' title='segundo' type=text size=5 value='00.00'/>"; | ||
179 | g_tipoacao = "capturaponto"; | 179 | g_tipoacao = "capturaponto"; |
180 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePoligonos.t1()","i3GEOF.gradeDePoligonos.t3()",ins,"i3GEOF.gradeDePoligonos.t2","i3GEOgradedepoligonosresultado"); | 180 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePoligonos.t1()","i3GEOF.gradeDePoligonos.t3()",ins,"i3GEOF.gradeDePoligonos.t2","i3GEOgradedepoligonosresultado"); |
181 | i3GEO.eventos.cliquePerm.desativa(); | 181 | i3GEO.eventos.cliquePerm.desativa(); |
@@ -184,16 +184,16 @@ i3GEOF.gradeDePoligonos = { | @@ -184,16 +184,16 @@ i3GEOF.gradeDePoligonos = { | ||
184 | } | 184 | } |
185 | }, | 185 | }, |
186 | t3: function(){ | 186 | t3: function(){ |
187 | - var ins = "<p class='paragrafo'>Número de células. Total máximo de 10.000"; | ||
188 | - ins += "<p class='paragrafo'>em X: "; | 187 | + var ins = "<p class='paragrafo'>"+$trad(9,i3GEOF.gradeDePoligonos.dicionario); |
188 | + ins += "<p class='paragrafo'>X: "; | ||
189 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosnptx' title='pontos em x' type=text size=3 value='10'/>"; | 189 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosnptx' title='pontos em x' type=text size=3 value='10'/>"; |
190 | - ins += "<p class='paragrafo'>em Y: "; | 190 | + ins += "<p class='paragrafo'>Y: "; |
191 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosnpty' title='pontos em y' type=text size=3 value='10'/>"; | 191 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepoligonosnpty' title='pontos em y' type=text size=3 value='10'/>"; |
192 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePoligonos.t2()","i3GEOF.gradeDePoligonos.t4()",ins,"i3GEOF.gradeDePoligonos.t3","i3GEOgradedepoligonosresultado"); | 192 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePoligonos.t2()","i3GEOF.gradeDePoligonos.t4()",ins,"i3GEOF.gradeDePoligonos.t3","i3GEOgradedepoligonosresultado"); |
193 | }, | 193 | }, |
194 | t4: function(){ | 194 | t4: function(){ |
195 | - var ins = "<p class='paragrafo'>A grade será acrescentada como um novo tema no mapa"; | ||
196 | - ins += "<p class='paragrafo'><input id=i3GEOgradedepoligonosbotao1 size=18 class=executar type='button' value='Criar grade' />"; | 195 | + var ins = "<p class='paragrafo'>"+$trad(10,i3GEOF.gradeDePoligonos.dicionario); |
196 | + ins += "<p class='paragrafo'><input id=i3GEOgradedepoligonosbotao1 size=18 class=executar type='button' value='"+$trad(11,i3GEOF.gradeDePoligonos.dicionario)+"' />"; | ||
197 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePoligonos.t3()","",ins,"i3GEOF.gradeDePoligonos.t4","i3GEOgradedepoligonosresultado"); | 197 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePoligonos.t3()","",ins,"i3GEOF.gradeDePoligonos.t4","i3GEOgradedepoligonosresultado"); |
198 | new YAHOO.widget.Button( | 198 | new YAHOO.widget.Button( |
199 | "i3GEOgradedepoligonosbotao1", | 199 | "i3GEOgradedepoligonosbotao1", |
@@ -222,16 +222,16 @@ i3GEOF.gradeDePoligonos = { | @@ -222,16 +222,16 @@ i3GEOF.gradeDePoligonos = { | ||
222 | nptx = $i("i3GEOgradedepoligonosnptx").value; | 222 | nptx = $i("i3GEOgradedepoligonosnptx").value; |
223 | npty = $i("i3GEOgradedepoligonosnpty").value; | 223 | npty = $i("i3GEOgradedepoligonosnpty").value; |
224 | if ((dx == 0) || (dy == 0)) | 224 | if ((dx == 0) || (dy == 0)) |
225 | - {i3GEO.janela.tempoMsg("Distância entre as celulas não pode ser 0");return;} | 225 | + {i3GEO.janela.tempoMsg($trad(12,i3GEOF.gradeDePoligonos.dicionario));return;} |
226 | if ((nptx == 0) || (npty == 0)) | 226 | if ((nptx == 0) || (npty == 0)) |
227 | - {i3GEO.janela.tempoMsg("Número de pontos não pode ser 0");return;} | 227 | + {i3GEO.janela.tempoMsg($trad(13,i3GEOF.gradeDePoligonos.dicionario));return;} |
228 | if (nptx * npty > 10000) | 228 | if (nptx * npty > 10000) |
229 | - {i3GEO.janela.tempoMsg("Número de celulas não pode ser maior que 10.000");return;} | 229 | + {i3GEO.janela.tempoMsg($trad(13,i3GEOF.gradeDePoligonos.dicionario));return;} |
230 | fim = function(retorno) | 230 | fim = function(retorno) |
231 | { | 231 | { |
232 | i3GEOF.gradeDePoligonos.aguarde.visibility = "hidden"; | 232 | i3GEOF.gradeDePoligonos.aguarde.visibility = "hidden"; |
233 | if (retorno.data == undefined ) | 233 | if (retorno.data == undefined ) |
234 | - {$i("i3GEOgradedepoligonosfim").innerHTML = "<p class='paragrafo'>Erro. A operação demorou muito(?).";} | 234 | + {$i("i3GEOgradedepoligonosfim").innerHTML = "<p class='paragrafo'>Erro. ";} |
235 | else | 235 | else |
236 | {i3GEO.atualiza("");} | 236 | {i3GEO.atualiza("");} |
237 | }; | 237 | }; |
@@ -260,5 +260,4 @@ i3GEOF.gradeDePoligonos = { | @@ -260,5 +260,4 @@ i3GEOF.gradeDePoligonos = { | ||
260 | ); | 260 | ); |
261 | g_tipoacao = temp; | 261 | g_tipoacao = temp; |
262 | } | 262 | } |
263 | -}; | ||
264 | - | 263 | +}; |
265 | \ No newline at end of file | 264 | \ No newline at end of file |
ferramentas/gradepontos/dicionario.js
1 | //+$trad(1,i3GEOF.gradeDePontos.dicionario)+ | 1 | //+$trad(1,i3GEOF.gradeDePontos.dicionario)+ |
2 | i3GEOF.gradeDePontos.dicionario = { | 2 | i3GEOF.gradeDePontos.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:"A grade é formada por pontos espaçados conforme os parâmetros de x e y.", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"A grade criada é adicionada como um novo tema no mapa, podendo ser utilizada em operações como o cruzamento entre pontos e polígonos.", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"O ponto inicial da grade deve ser definido pelo usuário e o ponto final (inferior direito) é definido em função da abranência do mapa ou da quantidade de pontos.", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Espaçamento da grade", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"Grau", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"Minuto", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Segundo", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Coordenadas do ponto inicial superior esquerdo (utilize o sinal negativo no grau quando ao sul do equador e a oeste). <b>Você pode clicar no mapa para pegar o ponto.</b>", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Número de pontos. Total máximo de 10.000", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"A grade será acrescentada como um novo tema no mapa", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Criar grade", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"Distância entre os pontos não pode ser 0", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Número de pontos não pode ser maior que 10.000", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }], | ||
81 | + 14: [{ | ||
82 | + pt:"", | ||
83 | + en:"", | ||
84 | + es:"", | ||
85 | + it:"" | ||
86 | + }], | ||
87 | + 15: [{ | ||
88 | + pt:"", | ||
89 | + en:"", | ||
90 | + es:"", | ||
91 | + it:"" | ||
92 | + }] | ||
63 | }; | 93 | }; |
64 | \ No newline at end of file | 94 | \ No newline at end of file |
ferramentas/gradepontos/index.js
@@ -149,33 +149,33 @@ i3GEOF.gradeDePontos = { | @@ -149,33 +149,33 @@ i3GEOF.gradeDePontos = { | ||
149 | }, | 149 | }, |
150 | t0: function() | 150 | t0: function() |
151 | { | 151 | { |
152 | - var ins = "<p class='paragrafo' >A grade é formada por pontos espaçados conforme os parâmetros de x e y."; | ||
153 | - ins += "<p class='paragrafo'>A grade criada é adicionada como um novo tema no mapa, podendo ser utilizada em operações como o cruzamento entre pontos e polígonos."; | ||
154 | - ins += "<p class='paragrafo'>O ponto inicial da grade deve ser definido pelo usuário e o ponto final (inferior direito) é definido em função da abranência do mapa ou da quantidade de pontos."; | 152 | + var ins = "<p class='paragrafo' >"+$trad(1,i3GEOF.gradeDePontos.dicionario); |
153 | + ins += "<p class='paragrafo'>"+$trad(2,i3GEOF.gradeDePontos.dicionario); | ||
154 | + ins += "<p class='paragrafo'>"+$trad(3,i3GEOF.gradeDePontos.dicionario); | ||
155 | i3GEO.util.proximoAnterior("","i3GEOF.gradeDePontos.t1()",ins,"i3GEOFgradeDePontost0","i3GEOgradedepontosresultado"); | 155 | i3GEO.util.proximoAnterior("","i3GEOF.gradeDePontos.t1()",ins,"i3GEOFgradeDePontost0","i3GEOgradedepontosresultado"); |
156 | }, | 156 | }, |
157 | t1: function(){ | 157 | t1: function(){ |
158 | - var ins = "<p class='paragrafo'>Espaçamento da grade"; | ||
159 | - ins += "<p class='paragrafo'>em X: "; | ||
160 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosxg' title='grau' type=text size=3 value='1'/>"; | ||
161 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosxm' title='minuto' type=text size=5 value='00'/>"; | ||
162 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosxs' title='segundo' type=text size=5 value='00.00'/>"; | ||
163 | - ins += "<p class='paragrafo'>em Y: "; | ||
164 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosyg' title='grau' type=text size=3 value='1'/>"; | ||
165 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosym' title='minuto' type=text size=5 value='00'/>"; | ||
166 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosys' title='segundo' type=text size=5 value='00.00'/>"; | 158 | + var ins = "<p class='paragrafo'>"+$trad(4,i3GEOF.gradeDePontos.dicionario); |
159 | + ins += "<p class='paragrafo'>X: "; | ||
160 | + ins += $trad(5,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosxg' title='grau' type=text size=3 value='1'/>"; | ||
161 | + ins += $trad(6,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosxm' title='minuto' type=text size=5 value='00'/>"; | ||
162 | + ins += $trad(7,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosxs' title='segundo' type=text size=5 value='00.00'/>"; | ||
163 | + ins += "<p class='paragrafo'>Y: "; | ||
164 | + ins += $trad(5,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosyg' title='grau' type=text size=3 value='1'/>"; | ||
165 | + ins += $trad(6,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosym' title='minuto' type=text size=5 value='00'/>"; | ||
166 | + ins += $trad(7,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosys' title='segundo' type=text size=5 value='00.00'/>"; | ||
167 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePontos.t0()","i3GEOF.gradeDePontos.t2()",ins,"i3GEOF.gradeDePontos.t1","i3GEOgradedepontosresultado"); | 167 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePontos.t0()","i3GEOF.gradeDePontos.t2()",ins,"i3GEOF.gradeDePontos.t1","i3GEOgradedepontosresultado"); |
168 | }, | 168 | }, |
169 | t2: function(){ | 169 | t2: function(){ |
170 | - var ins = "<p class='paragrafo'>Coordenadas do ponto inicial superior esquerdo (utilize o sinal negativo no grau quando ao sul do equador e a oeste). <b>Você pode clicar no mapa para pegar o ponto.</b>"; | ||
171 | - ins += "<p class='paragrafo'>em X: "; | ||
172 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosixg' title='grau' type=text size=3 value='-00'/>"; | ||
173 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosixm' title='minuto' type=text size=5 value='00'/>"; | ||
174 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosixs' title='segundo' type=text size=5 value='00.00'/>"; | ||
175 | - ins += "<p class='paragrafo'>em Y: "; | ||
176 | - ins += "Grau<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosiyg' title='grau' type=text size=3 value='-00'/>"; | ||
177 | - ins += "Minuto<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosiym' title='minuto' type=text size=5 value='00'/>"; | ||
178 | - ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosiys' title='segundo' type=text size=5 value='00.00'/>"; | 170 | + var ins = "<p class='paragrafo'>"+$trad(8,i3GEOF.gradeDePontos.dicionario); |
171 | + ins += "<p class='paragrafo'>X: "; | ||
172 | + ins += $trad(5,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosixg' title='grau' type=text size=3 value='-00'/>"; | ||
173 | + ins += $trad(6,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosixm' title='minuto' type=text size=5 value='00'/>"; | ||
174 | + ins += $trad(7,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosixs' title='segundo' type=text size=5 value='00.00'/>"; | ||
175 | + ins += "<p class='paragrafo'>Y: "; | ||
176 | + ins += $trad(5,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosiyg' title='grau' type=text size=3 value='-00'/>"; | ||
177 | + ins += $trad(6,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosiym' title='minuto' type=text size=5 value='00'/>"; | ||
178 | + ins += $trad(7,i3GEOF.gradeDePontos.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosiys' title='segundo' type=text size=5 value='00.00'/>"; | ||
179 | g_tipoacao = "capturaponto"; | 179 | g_tipoacao = "capturaponto"; |
180 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePontos.t1()","i3GEOF.gradeDePontos.t3()",ins,"i3GEOF.gradeDePontos.t2","i3GEOgradedepontosresultado"); | 180 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePontos.t1()","i3GEOF.gradeDePontos.t3()",ins,"i3GEOF.gradeDePontos.t2","i3GEOgradedepontosresultado"); |
181 | i3GEO.eventos.cliquePerm.desativa(); | 181 | i3GEO.eventos.cliquePerm.desativa(); |
@@ -183,16 +183,16 @@ i3GEOF.gradeDePontos = { | @@ -183,16 +183,16 @@ i3GEOF.gradeDePontos = { | ||
183 | {i3GEO.eventos.MOUSECLIQUE.push("i3GEOF.gradeDePontos.capturaPonto()");} | 183 | {i3GEO.eventos.MOUSECLIQUE.push("i3GEOF.gradeDePontos.capturaPonto()");} |
184 | }, | 184 | }, |
185 | t3: function(){ | 185 | t3: function(){ |
186 | - var ins = "<p class='paragrafo'>Número de pontos. Total máximo de 10.000"; | ||
187 | - ins += "<p class='paragrafo'>em X: "; | 186 | + var ins = "<p class='paragrafo'>"+$trad(9,i3GEOF.gradeDePontos.dicionario); |
187 | + ins += "<p class='paragrafo'>X: "; | ||
188 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosnptx' title='pontos em x' type=text size=3 value='10'/>"; | 188 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosnptx' title='pontos em x' type=text size=3 value='10'/>"; |
189 | - ins += "<p class='paragrafo'>em Y: "; | 189 | + ins += "<p class='paragrafo'>Y: "; |
190 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosnpty' title='pontos em y' type=text size=3 value='10'/>"; | 190 | ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosnpty' title='pontos em y' type=text size=3 value='10'/>"; |
191 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePontos.t2()","i3GEOF.gradeDePontos.t4()",ins,"i3GEOF.gradeDePontos.t3","i3GEOgradedepontosresultado"); | 191 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePontos.t2()","i3GEOF.gradeDePontos.t4()",ins,"i3GEOF.gradeDePontos.t3","i3GEOgradedepontosresultado"); |
192 | }, | 192 | }, |
193 | t4: function(){ | 193 | t4: function(){ |
194 | - var ins = "<p class='paragrafo'>A grade será acrescentada como um novo tema no mapa"; | ||
195 | - ins += "<p class='paragrafo'><input id=i3GEOgradedepontosbotao1 size=18 class=executar type='button' value='Criar grade' />"; | 194 | + var ins = "<p class='paragrafo'>"+$trad(10,i3GEOF.gradeDePontos.dicionario); |
195 | + ins += "<p class='paragrafo'><input id=i3GEOgradedepontosbotao1 size=18 class=executar type='button' value='"+$trad(11,i3GEOF.gradeDePontos.dicionario)+"' />"; | ||
196 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePontos.t3()","",ins,"i3GEOF.gradeDePontos.t4","i3GEOgradedepontosresultado"); | 196 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePontos.t3()","",ins,"i3GEOF.gradeDePontos.t4","i3GEOgradedepontosresultado"); |
197 | new YAHOO.widget.Button( | 197 | new YAHOO.widget.Button( |
198 | "i3GEOgradedepontosbotao1", | 198 | "i3GEOgradedepontosbotao1", |
@@ -221,16 +221,16 @@ i3GEOF.gradeDePontos = { | @@ -221,16 +221,16 @@ i3GEOF.gradeDePontos = { | ||
221 | nptx = $i("i3GEOgradedepontosnptx").value; | 221 | nptx = $i("i3GEOgradedepontosnptx").value; |
222 | npty = $i("i3GEOgradedepontosnpty").value; | 222 | npty = $i("i3GEOgradedepontosnpty").value; |
223 | if ((dx == 0) || (dy == 0)) | 223 | if ((dx == 0) || (dy == 0)) |
224 | - {i3GEO.janela.tempoMsg("Distância entre os pontos não pode ser 0");return;} | 224 | + {i3GEO.janela.tempoMsg($trad(12,i3GEOF.gradeDePontos.dicionario));return;} |
225 | if ((nptx == 0) || (npty == 0)) | 225 | if ((nptx == 0) || (npty == 0)) |
226 | - {i3GEO.janela.tempoMsg("Número de pontos não pode ser 0");return;} | 226 | + {i3GEO.janela.tempoMsg($trad(12,i3GEOF.gradeDePontos.dicionario));return;} |
227 | if (nptx * npty > 10000) | 227 | if (nptx * npty > 10000) |
228 | - {i3GEO.janela.tempoMsg("Número de pontos não pode ser maior que 10.000");return;} | 228 | + {i3GEO.janela.tempoMsg($trad(13,i3GEOF.gradeDePontos.dicionario));return;} |
229 | fim = function(retorno) | 229 | fim = function(retorno) |
230 | { | 230 | { |
231 | i3GEOF.gradeDePontos.aguarde.visibility = "hidden"; | 231 | i3GEOF.gradeDePontos.aguarde.visibility = "hidden"; |
232 | if (retorno.data == undefined ) | 232 | if (retorno.data == undefined ) |
233 | - {$i("i3GEOgradedepontosfim").innerHTML = "<p class='paragrafo'>Erro. A operação demorou muito(?).";} | 233 | + {$i("i3GEOgradedepontosfim").innerHTML = "<p class='paragrafo'>Erro.";} |
234 | else | 234 | else |
235 | {i3GEO.atualiza("");} | 235 | {i3GEO.atualiza("");} |
236 | }; | 236 | }; |
@@ -259,5 +259,4 @@ i3GEOF.gradeDePontos = { | @@ -259,5 +259,4 @@ i3GEOF.gradeDePontos = { | ||
259 | ); | 259 | ); |
260 | g_tipoacao = temp; | 260 | g_tipoacao = temp; |
261 | } | 261 | } |
262 | -}; | ||
263 | - | 262 | +}; |
264 | \ No newline at end of file | 263 | \ No newline at end of file |
ferramentas/graficointerativo1/dicionario.js
1 | //+$trad(1,i3GEOF.graficointerativo1.dicionario)+ | 1 | //+$trad(1,i3GEOF.graficointerativo1.dicionario)+ |
2 | i3GEOF.graficointerativo1.dicionario = { | 2 | i3GEOF.graficointerativo1.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", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"Dados", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"Gráfico", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Escolha o tipo de gráfico", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"pizza 2d", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"área simples", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"distribuição de pontos", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"linhas simples", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Árvore", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"barras verticais", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"barras horizontais", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"Escolha os dados que comporão o gráfico", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Tema", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }], | ||
81 | + 14: [{ | ||
82 | + pt:"Item com as classes ou eixo X", | ||
83 | + en:"", | ||
84 | + es:"", | ||
85 | + it:"" | ||
86 | + }], | ||
87 | + 15: [{ | ||
88 | + pt:"Item com os valores ou eixo Y", | ||
89 | + en:"", | ||
90 | + es:"", | ||
91 | + it:"" | ||
92 | + }], | ||
93 | + 16: [{ | ||
94 | + pt:"Excluir o seguinte valor", | ||
95 | + en:"", | ||
96 | + es:"", | ||
97 | + it:"" | ||
98 | + }], | ||
99 | + 17: [{ | ||
100 | + pt:"gera cores aleatórias", | ||
101 | + en:"", | ||
102 | + es:"", | ||
103 | + it:"" | ||
104 | + }], | ||
105 | + 18: [{ | ||
106 | + pt:"Obter dados", | ||
107 | + en:"", | ||
108 | + es:"", | ||
109 | + it:"" | ||
110 | + }], | ||
111 | + 19: [{ | ||
112 | + pt:"Se vc escolher para X e Y o mesmo item, será considerada a frequência das ocorrências para compor cada parte da pizza. Caso contrário, será feita a soma dos valores existentes em Y para cada ocorrência existente em X.", | ||
113 | + en:"", | ||
114 | + es:"", | ||
115 | + it:"" | ||
116 | + }], | ||
117 | + 20: [{ | ||
118 | + pt:"Inclina os textos do eixo X", | ||
119 | + en:"", | ||
120 | + es:"", | ||
121 | + it:"" | ||
122 | + }], | ||
123 | + 21: [{ | ||
124 | + pt:"Adiciona as linhas em gráficos de barras", | ||
125 | + en:"", | ||
126 | + es:"", | ||
127 | + it:"" | ||
128 | + }], | ||
129 | + 22: [{ | ||
130 | + pt:"Utiliza valores acumulados", | ||
131 | + en:"", | ||
132 | + es:"", | ||
133 | + it:"" | ||
134 | + }], | ||
135 | + 23: [{ | ||
136 | + pt:"Utiliza valores relativos", | ||
137 | + en:"", | ||
138 | + es:"", | ||
139 | + it:"" | ||
140 | + }], | ||
141 | + 24: [{ | ||
142 | + pt:"Ordena o eixo X", | ||
143 | + en:"", | ||
144 | + es:"", | ||
145 | + it:"" | ||
146 | + }], | ||
147 | + 25: [{ | ||
148 | + pt:"Não processa os valores ao obter os dados (mantém os dados como estão na tabela de atributos) - essa opção é útil nos gráficos de distribuição de pontos", | ||
149 | + en:"", | ||
150 | + es:"", | ||
151 | + it:"" | ||
152 | + }], | ||
153 | + 26: [{ | ||
154 | + pt:"Soma", | ||
155 | + en:"", | ||
156 | + es:"", | ||
157 | + it:"" | ||
158 | + }], | ||
159 | + 27: [{ | ||
160 | + pt:"Média", | ||
161 | + en:"", | ||
162 | + es:"", | ||
163 | + it:"" | ||
164 | + }], | ||
165 | + 28: [{ | ||
166 | + pt:"Tipo de agregação dos valores do eixo Y", | ||
167 | + en:"", | ||
168 | + es:"", | ||
169 | + it:"" | ||
170 | + }], | ||
171 | + 29: [{ | ||
172 | + pt:"Fator de cálculo da largura do gráfico. O número de ocorrências será multiplicado por esse fator para calcular o tamanho final do gráfico em pixels", | ||
173 | + en:"", | ||
174 | + es:"", | ||
175 | + it:"" | ||
176 | + }], | ||
177 | + 30: [{ | ||
178 | + pt:"abrir em uma janela separada", | ||
179 | + en:"", | ||
180 | + es:"", | ||
181 | + it:"" | ||
182 | + }], | ||
183 | + 31: [{ | ||
184 | + pt:"Escolha um tipo de grafico", | ||
185 | + en:"", | ||
186 | + es:"", | ||
187 | + it:"" | ||
188 | + }], | ||
189 | + 32: [{ | ||
190 | + pt:"erro ao ler os itens do tema de origem", | ||
191 | + en:"", | ||
192 | + es:"", | ||
193 | + it:"" | ||
194 | + }], | ||
195 | + 33: [{ | ||
196 | + pt:"Digite o título", | ||
197 | + en:"", | ||
198 | + es:"", | ||
199 | + it:"" | ||
200 | + }], | ||
201 | + 34: [{ | ||
202 | + pt:"Escolha um tema", | ||
203 | + en:"", | ||
204 | + es:"", | ||
205 | + it:"" | ||
206 | + }], | ||
207 | + 35: [{ | ||
208 | + pt:"Escolha um item para X", | ||
209 | + en:"", | ||
210 | + es:"", | ||
211 | + it:"" | ||
212 | + }], | ||
213 | + 36: [{ | ||
214 | + pt:"Escolha um item para Y", | ||
215 | + en:"", | ||
216 | + es:"", | ||
217 | + it:"" | ||
218 | + }], | ||
219 | + 37: [{ | ||
220 | + pt:"Os dados utilizados referem-se apenas à região atual mostrada no mapa", | ||
221 | + en:"", | ||
222 | + es:"", | ||
223 | + it:"" | ||
224 | + }], | ||
225 | + 38: [{ | ||
226 | + pt:"Tabela de dados para o gráfico. Os valores podem ser editados", | ||
227 | + en:"", | ||
228 | + es:"", | ||
229 | + it:"" | ||
230 | + }], | ||
231 | + 39: [{ | ||
232 | + pt:"nome", | ||
233 | + en:"", | ||
234 | + es:"", | ||
235 | + it:"" | ||
236 | + }], | ||
237 | + 40: [{ | ||
238 | + pt:"valor", | ||
239 | + en:"", | ||
240 | + es:"", | ||
241 | + it:"" | ||
242 | + }], | ||
243 | + 41: [{ | ||
244 | + pt:"cor", | ||
245 | + en:"", | ||
246 | + es:"", | ||
247 | + it:"" | ||
248 | + }], | ||
249 | + 42: [{ | ||
250 | + pt:"excluir", | ||
251 | + en:"", | ||
252 | + es:"", | ||
253 | + it:"" | ||
254 | + }], | ||
255 | + 43: [{ | ||
256 | + pt:"digite o novo nome", | ||
257 | + en:"", | ||
258 | + es:"", | ||
259 | + it:"" | ||
260 | + }], | ||
261 | + 44: [{ | ||
262 | + pt:"digite o novo valor", | ||
263 | + en:"", | ||
264 | + es:"", | ||
265 | + it:"" | ||
266 | + }], | ||
267 | + 45: [{ | ||
268 | + pt:"casos", | ||
269 | + en:"", | ||
270 | + es:"", | ||
271 | + it:"" | ||
272 | + }], | ||
273 | + 46: [{ | ||
274 | + pt:"n. de casos", | ||
275 | + en:"", | ||
276 | + es:"", | ||
277 | + it:"" | ||
278 | + }], | ||
279 | + 47: [{ | ||
280 | + pt:"", | ||
281 | + en:"", | ||
282 | + es:"", | ||
283 | + it:"" | ||
284 | + }], | ||
285 | + 48: [{ | ||
286 | + pt:"", | ||
287 | + en:"", | ||
288 | + es:"", | ||
289 | + it:"" | ||
290 | + }], | ||
291 | + 49: [{ | ||
292 | + pt:"", | ||
293 | + en:"", | ||
294 | + es:"", | ||
295 | + it:"" | ||
296 | + }], | ||
297 | + 50: [{ | ||
298 | + pt:"", | ||
299 | + en:"", | ||
300 | + es:"", | ||
301 | + it:"" | ||
302 | + }] | ||
63 | }; | 303 | }; |
64 | \ No newline at end of file | 304 | \ No newline at end of file |
ferramentas/graficointerativo1/index.js
@@ -233,63 +233,63 @@ i3GEOF.graficointerativo1 = { | @@ -233,63 +233,63 @@ i3GEOF.graficointerativo1 = { | ||
233 | '<div id=i3GEOgraficointerativo1guiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">' + | 233 | '<div id=i3GEOgraficointerativo1guiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">' + |
234 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">' + | 234 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">' + |
235 | ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia3" style="text-align:center;left:0px;" ><img class="ticPropriedades2" style="height:14px" title="'+$trad("p13")+'" src="'+i3GEO.configura.locaplic+'/imagens/visual/default/branco.gif"></div></em></a></li>' + | 235 | ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia3" style="text-align:center;left:0px;" ><img class="ticPropriedades2" style="height:14px" title="'+$trad("p13")+'" src="'+i3GEO.configura.locaplic+'/imagens/visual/default/branco.gif"></div></em></a></li>' + |
236 | - ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia1" style="text-align:center;left:0px;" >Tipo</div></em></a></li>' + | ||
237 | - ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia2" style="text-align:center;left:0px;" >Dados</div></em></a></li>' + | ||
238 | - ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia4" style="text-align:center;left:0px;" >Gráfico</div></em></a></li>' + | 236 | + ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia1" style="text-align:center;left:0px;" >'+$trad(1,i3GEOF.graficointerativo1.dicionario)+'</div></em></a></li>' + |
237 | + ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia2" style="text-align:center;left:0px;" >'+$trad(2,i3GEOF.graficointerativo1.dicionario)+'</div></em></a></li>' + | ||
238 | + ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia4" style="text-align:center;left:0px;" >'+$trad(3,i3GEOF.graficointerativo1.dicionario)+'</div></em></a></li>' + | ||
239 | ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia5" style="text-align:center;left:0px;" >CSV</div></em></a></li>' + | 239 | ' <li><a href="#ancora"><em><div id="i3GEOgraficointerativo1guia5" style="text-align:center;left:0px;" >CSV</div></em></a></li>' + |
240 | ' </ul>' + | 240 | ' </ul>' + |
241 | '</div><br>' + | 241 | '</div><br>' + |
242 | '<div class=guiaobj id="i3GEOgraficointerativo1guia1obj" style="left:1px;display:none;">' + | 242 | '<div class=guiaobj id="i3GEOgraficointerativo1guia1obj" style="left:1px;display:none;">' + |
243 | - ' <p class=paragrafo >Escolha o tipo de gráfico: </p>' + | 243 | + ' <p class=paragrafo >'+$trad(4,i3GEOF.graficointerativo1.dicionario)+': </p>' + |
244 | ' <table class=lista6 >' + | 244 | ' <table class=lista6 >' + |
245 | - ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-pie-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="pizza_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>pizza 2d</td></tr>' + | 245 | + ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-pie-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="pizza_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>'+$trad(5,i3GEOF.graficointerativo1.dicionario)+'</td></tr>' + |
246 | ' <tr><td> </td></tr>' + | 246 | ' <tr><td> </td></tr>' + |
247 | - ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-area-stacked-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="area_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>área simples</td></tr>' + | 247 | + ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-area-stacked-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="area_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>'+$trad(6,i3GEOF.graficointerativo1.dicionario)+'</td></tr>' + |
248 | ' <tr><td> </td></tr>' + | 248 | ' <tr><td> </td></tr>' + |
249 | - ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-scatter-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="ponto_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>distribuição de pontos</td></tr>' + | 249 | + ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-scatter-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="ponto_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>'+$trad(7,i3GEOF.graficointerativo1.dicionario)+'</td></tr>' + |
250 | ' <tr><td> </td></tr>' + | 250 | ' <tr><td> </td></tr>' + |
251 | - ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-line-stacked-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="linha_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>linhas simples</td></tr>' + | 251 | + ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-line-stacked-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="linha_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>'+$trad(8,i3GEOF.graficointerativo1.dicionario)+'</td></tr>' + |
252 | ' <tr><td> </td></tr>' + | 252 | ' <tr><td> </td></tr>' + |
253 | - ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-bar-icon-t.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="arvore_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>Árvore</td></tr>' + | 253 | + ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-bar-icon-t.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="arvore_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>'+$trad(9,i3GEOF.graficointerativo1.dicionario)+'</td></tr>' + |
254 | ' <tr><td> </td></tr>' + | 254 | ' <tr><td> </td></tr>' + |
255 | - ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-bar-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="bar_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>barras verticais</td></tr>' + | 255 | + ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-bar-icon.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="bar_1" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>'+$trad(10,i3GEOF.graficointerativo1.dicionario)+'</td></tr>' + |
256 | ' <tr><td> </td></tr>' + | 256 | ' <tr><td> </td></tr>' + |
257 | - ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-bar-icon-h.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="bar_2" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>barras horizontais</td></tr>' + | 257 | + ' <tr><td><img style=cursor:text; src="'+locaplic+'/imagens/oxygen/22x22/Actions-office-chart-bar-icon-h.png" /></td><td><input type=radio onclick="i3GEOF.graficointerativo1.ativaTipo(this)" value="bar_2" name="tipoGrafico" style="border:0px solid white;cursor:pointer" > </td><td>'+$trad(11,i3GEOF.graficointerativo1.dicionario)+'</td></tr>' + |
258 | ' </table>' + | 258 | ' </table>' + |
259 | '</div> ' + | 259 | '</div> ' + |
260 | '<div class=guiaobj id="i3GEOgraficointerativo1guia2obj" style="left:1px;display:none;top:-5px">' + | 260 | '<div class=guiaobj id="i3GEOgraficointerativo1guia2obj" style="left:1px;display:none;top:-5px">' + |
261 | - ' <p class=paragrafo >Escolha os dados que comporão o gráfico: </p>' + | ||
262 | - ' <p class=paragrafo >Tema:</p>' + | 261 | + ' <p class=paragrafo >'+$trad(12,i3GEOF.graficointerativo1.dicionario)+': </p>' + |
262 | + ' <p class=paragrafo >'+$trad(13,i3GEOF.graficointerativo1.dicionario)+':</p>' + | ||
263 | ' <div class=paragrafo id=i3GEOgraficointerativo1ComboTemas ></div>' + | 263 | ' <div class=paragrafo id=i3GEOgraficointerativo1ComboTemas ></div>' + |
264 | ' <div class=paragrafo id=i3GEOgraficointerativo1ComboXlinha >' + | 264 | ' <div class=paragrafo id=i3GEOgraficointerativo1ComboXlinha >' + |
265 | - ' <p class=paragrafo >Item com as classes ou eixo X:</p>' + | 265 | + ' <p class=paragrafo >'+$trad(14,i3GEOF.graficointerativo1.dicionario)+':</p>' + |
266 | ' <div class=paragrafo id=i3GEOgraficointerativo1ComboX ></div>' + | 266 | ' <div class=paragrafo id=i3GEOgraficointerativo1ComboX ></div>' + |
267 | ' </div>'+ | 267 | ' </div>'+ |
268 | ' <div id=i3GEOgraficointerativo1ComboYlinha style=display:block >'+ | 268 | ' <div id=i3GEOgraficointerativo1ComboYlinha style=display:block >'+ |
269 | - ' <p class=paragrafo >Item com os valores ou eixo Y: </p>'+ | 269 | + ' <p class=paragrafo >'+$trad(15,i3GEOF.graficointerativo1.dicionario)+': </p>'+ |
270 | ' <div class=paragrafo id=i3GEOgraficointerativo1ComboY ></div>' + | 270 | ' <div class=paragrafo id=i3GEOgraficointerativo1ComboY ></div>' + |
271 | ' </div>' + | 271 | ' </div>' + |
272 | - ' <p class=paragrafo >Excluir o seguinte valor: ' + | 272 | + ' <p class=paragrafo >'+$trad(16,i3GEOF.graficointerativo1.dicionario)+': ' + |
273 | $inputText("","","i3GEOgraficointerativo1excluir","",3,"") + | 273 | $inputText("","","i3GEOgraficointerativo1excluir","",3,"") + |
274 | - ' <p class=paragrafo ><input type=checkbox style="cursor:pointer;top:3px;position:relative;" id=i3GEOgraficointerativo1CoresA /> gera cores aleatórias</p>' + | ||
275 | - ' <p class=paragrafo ><input id=i3GEOgraficointerativo1botao1 type="buttom" value="Obter dados" /></p>'+ | 274 | + ' <p class=paragrafo ><input type=checkbox style="cursor:pointer;top:3px;position:relative;" id=i3GEOgraficointerativo1CoresA /> '+$trad(17,i3GEOF.graficointerativo1.dicionario)+'</p>' + |
275 | + ' <p class=paragrafo ><input id=i3GEOgraficointerativo1botao1 type="buttom" value="'+$trad(18,i3GEOF.graficointerativo1.dicionario)+'" /></p>'+ | ||
276 | ' <div id=i3GEOgraficointerativo1Dados ></div>'+ | 276 | ' <div id=i3GEOgraficointerativo1Dados ></div>'+ |
277 | - ' <div class=paragrafo id=i3GEOgraficointerativo1AjudaPizza >Se vc escolher para X e Y o mesmo item, será considerada a frequência das ocorrências para compor cada parte da pizza. Caso contrário, será feita a soma dos valores existentes em Y para cada ocorrência existente em X.</div>' + | 277 | + ' <div class=paragrafo id=i3GEOgraficointerativo1AjudaPizza >'+$trad(19,i3GEOF.graficointerativo1.dicionario)+'</div>' + |
278 | '</div>' + | 278 | '</div>' + |
279 | '<div class=guiaobj id="i3GEOgraficointerativo1guia3obj" style="left:1px;display:none;top:-5px">' + | 279 | '<div class=guiaobj id="i3GEOgraficointerativo1guia3obj" style="left:1px;display:none;top:-5px">' + |
280 | - ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1xInclinado checked /> Inclina os textos do eixo X</p>' + | ||
281 | - ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1AdLinhas checked /> Adiciona as linhas em gráficos de barras</p>' + | ||
282 | - ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1Acumula /> Utiliza valores acumulados</p>' + | ||
283 | - ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1Relativa /> Utiliza valores relativos (%)</p>' + | ||
284 | - ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1OrdenaX checked /> Ordena o eixo X</p>' + | ||
285 | - ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1DadosPuros /> Não processa os valores ao obter os dados (mantém os dados como estão na tabela de atributos) - essa opção é útil nos gráficos de distribuição de pontos</p>' + | 280 | + ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1xInclinado checked /> '+$trad(20,i3GEOF.graficointerativo1.dicionario)+'</p>' + |
281 | + ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1AdLinhas checked /> '+$trad(21,i3GEOF.graficointerativo1.dicionario)+'</p>' + | ||
282 | + ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1Acumula /> '+$trad(22,i3GEOF.graficointerativo1.dicionario)+'</p>' + | ||
283 | + ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1Relativa /> '+$trad(23,i3GEOF.graficointerativo1.dicionario)+' (%)</p>' + | ||
284 | + ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1OrdenaX checked /> '+$trad(24,i3GEOF.graficointerativo1.dicionario)+'</p>' + | ||
285 | + ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOgraficointerativo1DadosPuros /> '+$trad(25,i3GEOF.graficointerativo1.dicionario)+'</p>' + | ||
286 | ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOFgraficointerativo1ativaNavegacao onclick="i3GEOF.graficointerativo1.ativaNavegacao(this.checked)" /> Atualiza o gráfico ao navegar pelo mapa</p>' + | 286 | ' <p class=paragrafo ><input style=cursor:pointer type=checkbox id=i3GEOFgraficointerativo1ativaNavegacao onclick="i3GEOF.graficointerativo1.ativaNavegacao(this.checked)" /> Atualiza o gráfico ao navegar pelo mapa</p>' + |
287 | - ' <p class=paragrafo ><select onchange="i3GEOF.graficointerativo1.obterDados()" id="i3GEOgraficointerativo1TipoAgregacao" ><option value="soma">Soma</option><option value="media">Média</option></select> Tipo de agregação dos valores do eixo Y</p>' + | ||
288 | - ' <p class=paragrafo ><input style=cursor:pointer;width:50px; value=40 type=text id=i3GEOgraficointerativo1FatorTamanho /> Fator de cálculo da largura do gráfico. O número de ocorrências será multiplicado por esse fator para calcular o tamanho final do gráfico em pixels.</p>' + | 287 | + ' <p class=paragrafo ><select onchange="i3GEOF.graficointerativo1.obterDados()" id="i3GEOgraficointerativo1TipoAgregacao" ><option value="soma">'+$trad(26,i3GEOF.graficointerativo1.dicionario)+'</option><option value="media">'+$trad(27,i3GEOF.graficointerativo1.dicionario)+'</option></select> '+$trad(28,i3GEOF.graficointerativo1.dicionario)+'</p>' + |
288 | + ' <p class=paragrafo ><input style=cursor:pointer;width:50px; value=40 type=text id=i3GEOgraficointerativo1FatorTamanho /> '+$trad(29,i3GEOF.graficointerativo1.dicionario)+'.</p>' + | ||
289 | 289 | ||
290 | '</div>'+ | 290 | '</div>'+ |
291 | '<div class=guiaobj id="i3GEOgraficointerativo1guia4obj" style="left:1px;display:none;top:-10px">' + | 291 | '<div class=guiaobj id="i3GEOgraficointerativo1guia4obj" style="left:1px;display:none;top:-10px">' + |
292 | - ' <a href="#" onclick="i3GEOF.graficointerativo1.novaJanela()" >abrir em uma janela separada</a>' + | 292 | + ' <a href="#" onclick="i3GEOF.graficointerativo1.novaJanela()" >'+$trad(30,i3GEOF.graficointerativo1.dicionario)+'</a>' + |
293 | ' <div id=i3GEOgraficointerativo1guia4objCanvas ></div>' + | 293 | ' <div id=i3GEOgraficointerativo1guia4objCanvas ></div>' + |
294 | '</div>' + | 294 | '</div>' + |
295 | '<div class=guiaobj id="i3GEOgraficointerativo1guia5obj" style="font-size:10px;left:10px;display:none;top:-0px">' + | 295 | '<div class=guiaobj id="i3GEOgraficointerativo1guia5obj" style="font-size:10px;left:10px;display:none;top:-0px">' + |
@@ -456,7 +456,7 @@ i3GEOF.graficointerativo1 = { | @@ -456,7 +456,7 @@ i3GEOF.graficointerativo1 = { | ||
456 | }catch(e){} | 456 | }catch(e){} |
457 | }; | 457 | }; |
458 | if (i3GEOF.graficointerativo1.tipo === ""){ | 458 | if (i3GEOF.graficointerativo1.tipo === ""){ |
459 | - i3GEO.janela.tempoMsg("Escolha um tipo de grafico"); | 459 | + i3GEO.janela.tempoMsg($trad(31,i3GEOF.graficointerativo1.dicionario)); |
460 | i3GEO.guias.mostraGuiaFerramenta("i3GEOgraficointerativo1guia1","i3GEOgraficointerativo1guia"); | 460 | i3GEO.guias.mostraGuiaFerramenta("i3GEOgraficointerativo1guia1","i3GEOgraficointerativo1guia"); |
461 | return; | 461 | return; |
462 | } | 462 | } |
@@ -480,13 +480,13 @@ i3GEOF.graficointerativo1 = { | @@ -480,13 +480,13 @@ i3GEOF.graficointerativo1 = { | ||
480 | tema, | 480 | tema, |
481 | function(retorno){ | 481 | function(retorno){ |
482 | if(retorno.tipo === "erro"){ | 482 | if(retorno.tipo === "erro"){ |
483 | - $i("i3GEOgraficointerativo1ComboX").innerHTML = "<br><br><span style='color:red'>erro ao ler os itens do tema de origem</span><br><br>"; | ||
484 | - $i("i3GEOgraficointerativo1ComboY").innerHTML = "<br><br><span style='color:red'>erro ao ler os itens do tema de origem</span><br><br>"; | 483 | + $i("i3GEOgraficointerativo1ComboX").innerHTML = "<br><br><span style='color:red'>"+$trad(32,i3GEOF.graficointerativo1.dicionario)+"</span><br><br>"; |
484 | + $i("i3GEOgraficointerativo1ComboY").innerHTML = "<br><br><span style='color:red'>"+$trad(32,i3GEOF.graficointerativo1.dicionario)+"</span><br><br>"; | ||
485 | } | 485 | } |
486 | else{ | 486 | else{ |
487 | - $i("i3GEOgraficointerativo1ComboY").innerHTML = retorno.dados + " <input title='Digite o título' class=digitar type=text size=20 id=i3GEOgraficointerativo1ComboYidTitulo value='' />"; | 487 | + $i("i3GEOgraficointerativo1ComboY").innerHTML = retorno.dados + " <input title='"+$trad(33,i3GEOF.graficointerativo1.dicionario)+"' class=digitar type=text size=20 id=i3GEOgraficointerativo1ComboYidTitulo value='' />"; |
488 | $i("i3GEOgraficointerativo1ComboXid").id = "i3GEOgraficointerativo1ComboYid"; | 488 | $i("i3GEOgraficointerativo1ComboXid").id = "i3GEOgraficointerativo1ComboYid"; |
489 | - $i("i3GEOgraficointerativo1ComboX").innerHTML = retorno.dados + " <input title='Digite o título' class=digitar type=text size=20 id=i3GEOgraficointerativo1ComboXidTitulo value='' />"; | 489 | + $i("i3GEOgraficointerativo1ComboX").innerHTML = retorno.dados + " <input title='"+$trad(33,i3GEOF.graficointerativo1.dicionario)+"' class=digitar type=text size=20 id=i3GEOgraficointerativo1ComboXidTitulo value='' />"; |
490 | $i("i3GEOgraficointerativo1ComboXid").style.width = "160px"; | 490 | $i("i3GEOgraficointerativo1ComboXid").style.width = "160px"; |
491 | $i("i3GEOgraficointerativo1ComboYid").style.width = "160px"; | 491 | $i("i3GEOgraficointerativo1ComboYid").style.width = "160px"; |
492 | $i("i3GEOgraficointerativo1ComboXid").onchange = function(){ | 492 | $i("i3GEOgraficointerativo1ComboXid").onchange = function(){ |
@@ -538,18 +538,18 @@ i3GEOF.graficointerativo1 = { | @@ -538,18 +538,18 @@ i3GEOF.graficointerativo1 = { | ||
538 | {ordenax = "nao";} | 538 | {ordenax = "nao";} |
539 | 539 | ||
540 | if(tema === "") | 540 | if(tema === "") |
541 | - {i3GEO.janela.tempoMsg("Escolha um tema");return;} | 541 | + {i3GEO.janela.tempoMsg($trad(34,i3GEOF.graficointerativo1.dicionario));return;} |
542 | if(x === "") | 542 | if(x === "") |
543 | - {i3GEO.janela.tempoMsg("Escolha um item para X");return;} | 543 | + {i3GEO.janela.tempoMsg($trad(35,i3GEOF.graficointerativo1.dicionario));return;} |
544 | if(y === "") | 544 | if(y === "") |
545 | - {i3GEO.janela.tempoMsg("Escolha um item para Y");return;} | 545 | + {i3GEO.janela.tempoMsg($trad(36,i3GEOF.graficointerativo1.dicionario));return;} |
546 | monta = function(retorno){ | 546 | monta = function(retorno){ |
547 | i3GEOF.graficointerativo1.aguarde.visibility = "hidden"; | 547 | i3GEOF.graficointerativo1.aguarde.visibility = "hidden"; |
548 | i3GEOF.graficointerativo1.montaTabelaDados(retorno); | 548 | i3GEOF.graficointerativo1.montaTabelaDados(retorno); |
549 | $i("i3GEOgraficointerativo1guia4").onclick.call(); | 549 | $i("i3GEOgraficointerativo1guia4").onclick.call(); |
550 | //verifica para nao ficar mostrando a janela toda vez que redesenha o mapa | 550 | //verifica para nao ficar mostrando a janela toda vez que redesenha o mapa |
551 | if($i("i3GEOFgraficointerativo1ativaNavegacao").checked == false){ | 551 | if($i("i3GEOFgraficointerativo1ativaNavegacao").checked == false){ |
552 | - i3GEO.janela.tempoMsg("Os dados utilizados referem-se apenas à região atual mostrada no mapa"); | 552 | + i3GEO.janela.tempoMsg($trad(37,i3GEOF.graficointerativo1.dicionario)); |
553 | } | 553 | } |
554 | }; | 554 | }; |
555 | i3GEOF.graficointerativo1.aguarde.visibility = "visible"; | 555 | i3GEOF.graficointerativo1.aguarde.visibility = "visible"; |
@@ -578,10 +578,10 @@ i3GEOF.graficointerativo1 = { | @@ -578,10 +578,10 @@ i3GEOF.graficointerativo1 = { | ||
578 | else | 578 | else |
579 | {dados = retorno;} | 579 | {dados = retorno;} |
580 | n = dados.length; | 580 | n = dados.length; |
581 | - ins.push("<p class=paragrafo >Tabela de dados para o gráfico. Os valores podem ser editados</p><table class=lista4 id=i3GEOgraficointerativo1tabeladados ><tr><td></td>"); | ||
582 | - ins.push("<td style=background-color:yellow > <img style=cursor:pointer onclick='i3GEOF.graficointerativo1.ordenaColuna(this,1)' src='"+i3GEO.configura.locaplic+"/imagens/ordena1.gif' title='ordena' /> nome</td>"); | ||
583 | - ins.push("<td style=background-color:yellow > <img style=cursor:pointer onclick='i3GEOF.graficointerativo1.ordenaColuna(this,2)' src='"+i3GEO.configura.locaplic+"/imagens/ordena1.gif' title='ordena' /> valor</td>"); | ||
584 | - ins.push("<td style=background-color:yellow >cor</td><td></td></tr>"); | 581 | + ins.push("<p class=paragrafo >"+$trad(38,i3GEOF.graficointerativo1.dicionario)+"</p><table class=lista4 id=i3GEOgraficointerativo1tabeladados ><tr><td></td>"); |
582 | + ins.push("<td style=background-color:yellow > <img style=cursor:pointer onclick='i3GEOF.graficointerativo1.ordenaColuna(this,1)' src='"+i3GEO.configura.locaplic+"/imagens/ordena1.gif' title='ordena' /> "+$trad(39,i3GEOF.graficointerativo1.dicionario)+"</td>"); | ||
583 | + ins.push("<td style=background-color:yellow > <img style=cursor:pointer onclick='i3GEOF.graficointerativo1.ordenaColuna(this,2)' src='"+i3GEO.configura.locaplic+"/imagens/ordena1.gif' title='ordena' /> "+$trad(40,i3GEOF.graficointerativo1.dicionario)+"</td>"); | ||
584 | + ins.push("<td style=background-color:yellow >"+$trad(41,i3GEOF.graficointerativo1.dicionario)+"</td><td></td></tr>"); | ||
585 | for (i=1;i<n; i++){ | 585 | for (i=1;i<n; i++){ |
586 | v = dados[i].split(";"); | 586 | v = dados[i].split(";"); |
587 | v[0] = v[0].replace("'",""); | 587 | v[0] = v[0].replace("'",""); |
@@ -589,11 +589,11 @@ i3GEOF.graficointerativo1 = { | @@ -589,11 +589,11 @@ i3GEOF.graficointerativo1 = { | ||
589 | //ins += v[0]+" "+v[1]; | 589 | //ins += v[0]+" "+v[1]; |
590 | id = "i3GEOgraficointerativo1Dados"+i; //layer+indice da classe | 590 | id = "i3GEOgraficointerativo1Dados"+i; //layer+indice da classe |
591 | ins.push("<tr><td>"); | 591 | ins.push("<tr><td>"); |
592 | - ins.push("<img style='cursor:pointer' title='clique para excluir' onclick='i3GEOF.graficointerativo1.excluilinha(this)' src='"+i3GEO.configura.locaplic+"/imagens/x.gif' title='excluir' /></td>"); | 592 | + ins.push("<img style='cursor:pointer' onclick='i3GEOF.graficointerativo1.excluilinha(this)' src='"+i3GEO.configura.locaplic+"/imagens/x.gif' title='"+$trad(42,i3GEOF.graficointerativo1.dicionario)+"' /></td>"); |
593 | ins.push("</td><td>"); | 593 | ins.push("</td><td>"); |
594 | - ins.push($inputText("","",id+"_nome","digite o novo nome",20,v[0],"nome")); | 594 | + ins.push($inputText("","",id+"_nome",$trad(43,i3GEOF.graficointerativo1.dicionario),20,v[0],"nome")); |
595 | ins.push("</td><td>"); | 595 | ins.push("</td><td>"); |
596 | - ins.push($inputText("","",id+"_valor","digite o novo valor",12,v[1],"valor")); | 596 | + ins.push($inputText("","",id+"_valor",$trad(44,i3GEOF.graficointerativo1.dicionario),12,v[1],"valor")); |
597 | ins.push("</td><td>"); | 597 | ins.push("</td><td>"); |
598 | if($i("i3GEOgraficointerativo1CoresA").checked){ | 598 | if($i("i3GEOgraficointerativo1CoresA").checked){ |
599 | cor = i3GEO.util.rgb2hex(i3GEO.util.randomRGB()); | 599 | cor = i3GEO.util.rgb2hex(i3GEO.util.randomRGB()); |
@@ -602,7 +602,7 @@ i3GEOF.graficointerativo1 = { | @@ -602,7 +602,7 @@ i3GEOF.graficointerativo1 = { | ||
602 | if(v[2]){ | 602 | if(v[2]){ |
603 | cor = i3GEO.util.rgb2hex(v[2]); | 603 | cor = i3GEO.util.rgb2hex(v[2]); |
604 | } | 604 | } |
605 | - ins.push($inputText("","",id+"_cor","",12,cor,"cor")); | 605 | + ins.push($inputText("","",id+"_cor","",12,cor,$trad(41,i3GEOF.graficointerativo1.dicionario))); |
606 | ins.push("</td><td>"); | 606 | ins.push("</td><td>"); |
607 | ins.push("<img alt='aquarela.gif' style=cursor:pointer src='"+i3GEO.configura.locaplic+"/imagens/aquarela.gif' onclick='i3GEOF.graficointerativo1.corj(\""+id+"_cor\")' />"); | 607 | ins.push("<img alt='aquarela.gif' style=cursor:pointer src='"+i3GEO.configura.locaplic+"/imagens/aquarela.gif' onclick='i3GEOF.graficointerativo1.corj(\""+id+"_cor\")' />"); |
608 | ins.push("</td></tr>"); | 608 | ins.push("</td></tr>"); |
@@ -729,8 +729,8 @@ i3GEOF.graficointerativo1 = { | @@ -729,8 +729,8 @@ i3GEOF.graficointerativo1 = { | ||
729 | } | 729 | } |
730 | if(legendaX == legendaY){ | 730 | if(legendaX == legendaY){ |
731 | menor = 0; | 731 | menor = 0; |
732 | - legendaX += " (casos)"; | ||
733 | - legendaY += " (n. de casos)"; | 732 | + legendaX += " ("+$trad(45,i3GEOF.graficointerativo1.dicionario)+")"; |
733 | + legendaY += " ("+$trad(46,i3GEOF.graficointerativo1.dicionario)+")"; | ||
734 | } | 734 | } |
735 | if($i("i3GEOgraficointerativo1Relativa").checked){ | 735 | if($i("i3GEOgraficointerativo1Relativa").checked){ |
736 | n = valores.length; | 736 | n = valores.length; |
@@ -775,7 +775,7 @@ i3GEOF.graficointerativo1 = { | @@ -775,7 +775,7 @@ i3GEOF.graficointerativo1 = { | ||
775 | i3GEOF.graficointerativo1.arvores(dados,maior,cores,legendaY,legendaX); | 775 | i3GEOF.graficointerativo1.arvores(dados,maior,cores,legendaY,legendaX); |
776 | break; | 776 | break; |
777 | default: | 777 | default: |
778 | - alert("Escolha um tipo de gráfico"); | 778 | + alert($trad(4,i3GEOF.graficointerativo1.dicionario)); |
779 | } | 779 | } |
780 | }, | 780 | }, |
781 | /* | 781 | /* |
@@ -1080,5 +1080,4 @@ i3GEOF.graficointerativo1 = { | @@ -1080,5 +1080,4 @@ i3GEOF.graficointerativo1 = { | ||
1080 | }).render(); | 1080 | }).render(); |
1081 | i3GEOF.graficointerativo1.aguarde.visibility = "hidden"; | 1081 | i3GEOF.graficointerativo1.aguarde.visibility = "hidden"; |
1082 | } | 1082 | } |
1083 | -}; | ||
1084 | - | 1083 | +}; |
1085 | \ No newline at end of file | 1084 | \ No newline at end of file |
ferramentas/graficotema/dicionario.js
1 | //+$trad(1,i3GEOF.graficoTema.dicionario)+ | 1 | //+$trad(1,i3GEOF.graficoTema.dicionario)+ |
2 | i3GEOF.graficoTema.dicionario = { | 2 | i3GEOF.graficoTema.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:"Escolha os itens to tipo numérico que comporão cada parte do gráfico", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Escolha o tema para ver a lista de itens", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"Criar gráficos", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"Marque os itens para compor as partes do gráfico. Edite os valores de cor (R,G,B) conforme o desejado. Após escolher os itens, clique em criar gráficos para inserir um novo tema com os gráficos.", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Tipo", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Pizza", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Barras", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"Largura (em pixels)", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Altura (em pixels) - relevante apenas para o tipo Barras", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"Deslocamento das fatias (em pixels) - relevante apenas para o tipo Pizza", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Cor do contorno", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }], | ||
81 | + 14: [{ | ||
82 | + pt:"Pelo menos dois itens devem ser escolhidos", | ||
83 | + en:"", | ||
84 | + es:"", | ||
85 | + it:"" | ||
86 | + }] | ||
63 | }; | 87 | }; |
64 | \ No newline at end of file | 88 | \ No newline at end of file |
ferramentas/graficotema/index.js
@@ -122,47 +122,47 @@ i3GEOF.graficoTema = { | @@ -122,47 +122,47 @@ i3GEOF.graficoTema = { | ||
122 | var ins = ''; | 122 | var ins = ''; |
123 | ins += '<div id=i3GEOgraficotemaguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'; | 123 | ins += '<div id=i3GEOgraficotemaguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'; |
124 | ins += ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'; | 124 | ins += ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'; |
125 | - ins += ' <li><a href="#ancora"><em><div id="i3GEOgraficotemaguia1" style="text-align:center;left:0px;" >Fonte dos dados</div></em></a></li>'; | ||
126 | - ins += ' <li><a href="#ancora"><em><div id="i3GEOgraficotemaguia2" style="text-align:center;left:0px;" >Propriedades</div></em></a></li>'; | 125 | + ins += ' <li><a href="#ancora"><em><div id="i3GEOgraficotemaguia1" style="text-align:center;left:0px;" >'+$trad(1,i3GEOF.graficoTema.dicionario)+'</div></em></a></li>'; |
126 | + ins += ' <li><a href="#ancora"><em><div id="i3GEOgraficotemaguia2" style="text-align:center;left:0px;" >'+$trad(2,i3GEOF.graficoTema.dicionario)+'</div></em></a></li>'; | ||
127 | ins += ' </ul>'; | 127 | ins += ' </ul>'; |
128 | ins += '</div><br>'; | 128 | ins += '</div><br>'; |
129 | ins += ' <div class=guiaobj id="i3GEOgraficotemaguia1obj" style="left:1px;90%;display:none;">'; | 129 | ins += ' <div class=guiaobj id="i3GEOgraficotemaguia1obj" style="left:1px;90%;display:none;">'; |
130 | ins += ' <div id=i3GEOgraficotemacombot style="display:none;position:relative;top:5px;left:0px;">'; | 130 | ins += ' <div id=i3GEOgraficotemacombot style="display:none;position:relative;top:5px;left:0px;">'; |
131 | ins += ' </div>'; | 131 | ins += ' </div>'; |
132 | - ins += ' <p class="paragrafo" >Escolha os itens to tipo numérico que comporão cada parte do gráfico<br><br>'; | ||
133 | - ins += ' <div id=i3GEOgraficotemalistai class=digitar style="text-align:left;left:0px;top:0px;330px;height:80px;overflow:auto;display:block;">Escolha o tema para ver a lista de itens</div>'; | 132 | + ins += ' <p class="paragrafo" >'+$trad(3,i3GEOF.graficoTema.dicionario)+'<br><br>'; |
133 | + ins += ' <div id=i3GEOgraficotemalistai class=digitar style="text-align:left;left:0px;top:0px;330px;height:80px;overflow:auto;display:block;">'+$trad(4,i3GEOF.graficoTema.dicionario)+'</div>'; | ||
134 | ins += ' <br><br>'; | 134 | ins += ' <br><br>'; |
135 | - ins += ' <p class="paragrafo" ><input id=i3GEOgraficotemabotao1 size=35 type=button value="Criar gráficos" />'; | ||
136 | - ins += ' <div id=i3GEOgraficotemamen1 style=top:10px;left:1px ><p class="paragrafo">Marque os itens para compor as partes do gráfico. Edite os valores de cor (R,G,B) conforme o desejado. Após escolher os itens, clique em criar gráficos para inserir um novo tema com os gráficos.</div>'; | 135 | + ins += ' <p class="paragrafo" ><input id=i3GEOgraficotemabotao1 size=35 type=button value="'+$trad(5,i3GEOF.graficoTema.dicionario)+'" />'; |
136 | + ins += ' <div id=i3GEOgraficotemamen1 style=top:10px;left:1px ><p class="paragrafo">'+$trad(6,i3GEOF.graficoTema.dicionario)+'</div>'; | ||
137 | ins += ' </div>'; | 137 | ins += ' </div>'; |
138 | ins += ' <div class=guiaobj id="i3GEOgraficotemaguia2obj" style="left:1px;display:none;">'; | 138 | ins += ' <div class=guiaobj id="i3GEOgraficotemaguia2obj" style="left:1px;display:none;">'; |
139 | ins += ' <table summary="" class=lista width="90%">'; | 139 | ins += ' <table summary="" class=lista width="90%">'; |
140 | ins += ' <tr>'; | 140 | ins += ' <tr>'; |
141 | - ins += ' <td>Tipo:</td>'; | 141 | + ins += ' <td>'+$trad(7,i3GEOF.graficoTema.dicionario)+':</td>'; |
142 | ins += ' <td>'; | 142 | ins += ' <td>'; |
143 | ins += ' <select id=i3GEOgraficotematipo >'; | 143 | ins += ' <select id=i3GEOgraficotematipo >'; |
144 | - ins += ' <option value="PIE">Pizza</option>'; | ||
145 | - ins += ' <option value="BAR">Barras</option>'; | 144 | + ins += ' <option value="PIE">'+$trad(8,i3GEOF.graficoTema.dicionario)+'</option>'; |
145 | + ins += ' <option value="BAR">'+$trad(9,i3GEOF.graficoTema.dicionario)+'</option>'; | ||
146 | ins += ' </select>'; | 146 | ins += ' </select>'; |
147 | ins += ' </td>'; | 147 | ins += ' </td>'; |
148 | ins += ' </tr><tr><td> </td><td></td></tr>'; | 148 | ins += ' </tr><tr><td> </td><td></td></tr>'; |
149 | ins += ' <tr>'; | 149 | ins += ' <tr>'; |
150 | - ins += ' <td>Largura (em pixels):</td>'; | 150 | + ins += ' <td>'+$trad(10,i3GEOF.graficoTema.dicionario)+':</td>'; |
151 | ins += ' <td>'; | 151 | ins += ' <td>'; |
152 | ins += $inputText("","","i3GEOgraficotemalargura","",4,"50")+'</td>'; | 152 | ins += $inputText("","","i3GEOgraficotemalargura","",4,"50")+'</td>'; |
153 | ins += ' </tr><tr><td> </td><td></td></tr>'; | 153 | ins += ' </tr><tr><td> </td><td></td></tr>'; |
154 | ins += ' <tr>'; | 154 | ins += ' <tr>'; |
155 | - ins += ' <td>Altura (em pixels) - relevante apenas para o tipo Barras:</td>'; | 155 | + ins += ' <td>'+$trad(11,i3GEOF.graficoTema.dicionario)+':</td>'; |
156 | ins += ' <td>'; | 156 | ins += ' <td>'; |
157 | ins += $inputText("","","i3GEOgraficotemaaltura","",4,"50")+'</td>'; | 157 | ins += $inputText("","","i3GEOgraficotemaaltura","",4,"50")+'</td>'; |
158 | ins += ' </tr><tr><td> </td><td></td></tr>'; | 158 | ins += ' </tr><tr><td> </td><td></td></tr>'; |
159 | ins += ' <tr>'; | 159 | ins += ' <tr>'; |
160 | - ins += ' <td>Deslocamento das fatias (em pixels) - relevante apenas para o tipo Pizza:</td>'; | 160 | + ins += ' <td>'+$trad(12,i3GEOF.graficoTema.dicionario)+':</td>'; |
161 | ins += ' <td>'; | 161 | ins += ' <td>'; |
162 | ins += $inputText("","","i3GEOgraficotemaoffset","",4,"0")+'</td>'; | 162 | ins += $inputText("","","i3GEOgraficotemaoffset","",4,"0")+'</td>'; |
163 | ins += ' </tr><tr><td> </td><td></td></tr>'; | 163 | ins += ' </tr><tr><td> </td><td></td></tr>'; |
164 | ins += ' <tr>'; | 164 | ins += ' <tr>'; |
165 | - ins += ' <td>Cor do contorno:</td>'; | 165 | + ins += ' <td>'+$trad(13,i3GEOF.graficoTema.dicionario)+':</td>'; |
166 | ins += ' <td style=width:40% >'; | 166 | ins += ' <td style=width:40% >'; |
167 | ins += $inputText("","","i3GEOgraficotemaoutlinecolor","",12,"0,0,0")+'</td>'; | 167 | ins += $inputText("","","i3GEOgraficotemaoutlinecolor","",12,"0,0,0")+'</td>'; |
168 | ins += ' </tr><tr><td> </td><td></td></tr>'; | 168 | ins += ' </tr><tr><td> </td><td></td></tr>'; |
@@ -228,7 +228,7 @@ i3GEOF.graficoTema = { | @@ -228,7 +228,7 @@ i3GEOF.graficoTema = { | ||
228 | $i("i3GEOgraficotemalistai").innerHTML = ins.join(""); | 228 | $i("i3GEOgraficotemalistai").innerHTML = ins.join(""); |
229 | } | 229 | } |
230 | catch(e) | 230 | catch(e) |
231 | - {$i("i3GEOgraficotemalistai").innerHTML = "<p style=color:red >Ocorreu um erro<br>"+e;} | 231 | + {$i("i3GEOgraficotemalistai").innerHTML = "<p style=color:red >Erro<br>"+e;} |
232 | }, | 232 | }, |
233 | /* | 233 | /* |
234 | Function: corj | 234 | Function: corj |
@@ -284,7 +284,7 @@ i3GEOF.graficoTema = { | @@ -284,7 +284,7 @@ i3GEOF.graficoTema = { | ||
284 | cp = new cpaint(), | 284 | cp = new cpaint(), |
285 | p; | 285 | p; |
286 | if(nlista < 2){ | 286 | if(nlista < 2){ |
287 | - i3GEO.janela.tempoMsg("Pelo menos dois itens devem ser escolhidos"); | 287 | + i3GEO.janela.tempoMsg($trad(14,i3GEOF.graficoTema.dicionario)); |
288 | return; | 288 | return; |
289 | } | 289 | } |
290 | if (tipo === "PIE"){tamanho = $i("i3GEOgraficotemalargura").value;} | 290 | if (tipo === "PIE"){tamanho = $i("i3GEOgraficotemalargura").value;} |
@@ -302,4 +302,4 @@ i3GEOF.graficoTema = { | @@ -302,4 +302,4 @@ i3GEOF.graficoTema = { | ||
302 | cp.call(p,"graficotema",temp); | 302 | cp.call(p,"graficotema",temp); |
303 | }catch(e){i3GEO.janela.tempoMsg("Erro: "+e);i3GEOF.graficoTema.aguarde.visibility = "hidden";} | 303 | }catch(e){i3GEO.janela.tempoMsg("Erro: "+e);i3GEOF.graficoTema.aguarde.visibility = "hidden";} |
304 | } | 304 | } |
305 | -}; | 305 | +}; |
306 | \ No newline at end of file | 306 | \ No newline at end of file |
ferramentas/identifica/dicionario.js
1 | //+$trad(1,i3GEOF.identifica.dicionario)+ | 1 | //+$trad(1,i3GEOF.identifica.dicionario)+ |
2 | i3GEOF.identifica.dicionario = { | 2 | i3GEOF.identifica.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 tema da lista", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"Esse tema não permite etiquetas", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"Temas visíveis", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Todos", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"Etiquetas", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"Propriedades", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Aguarde", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Resolução de busca - número de pixels, no entorno do ponto clicado no mapa, que serão utilizados na busca de dados", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"As etiquetas são mostradas quando o mouse é estacionado sobre um elemento.", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"Configurar etiquetas", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Valores para o ponto indicado no mapa", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"Criar entorno (buffer)", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Clique no tema para ver os dados", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }], | ||
81 | + 14: [{ | ||
82 | + pt:"Nada encontrado", | ||
83 | + en:"", | ||
84 | + es:"", | ||
85 | + it:"" | ||
86 | + }], | ||
87 | + 15: [{ | ||
88 | + pt:"todas", | ||
89 | + en:"", | ||
90 | + es:"", | ||
91 | + it:"" | ||
92 | + }], | ||
93 | + 16: [{ | ||
94 | + pt:"Mostra a ocorrência", | ||
95 | + en:"", | ||
96 | + es:"", | ||
97 | + it:"" | ||
98 | + }] | ||
63 | }; | 99 | }; |
64 | \ No newline at end of file | 100 | \ No newline at end of file |
ferramentas/identifica/index.js
@@ -167,7 +167,7 @@ i3GEOF.identifica = { | @@ -167,7 +167,7 @@ i3GEOF.identifica = { | ||
167 | i3GEOF.identifica.listaTemas("ligados"); | 167 | i3GEOF.identifica.listaTemas("ligados"); |
168 | i3GEO.guias.mostraGuiaFerramenta("i3GEOidentificaguia1","i3GEOidentificaguia"); | 168 | i3GEO.guias.mostraGuiaFerramenta("i3GEOidentificaguia1","i3GEOidentificaguia"); |
169 | if(i3GEO.temaAtivo === "") | 169 | if(i3GEO.temaAtivo === "") |
170 | - {$i("i3GEOidentificaocorrencia").innerHTML = "Escolha um tema da lista";} | 170 | + {$i("i3GEOidentificaocorrencia").innerHTML = $trad(1,i3GEOF.identifica.dicionario);} |
171 | }; | 171 | }; |
172 | $i("i3GEOidentificaguia2").onclick = function(){i3GEOF.identifica.listaTemas("todos");i3GEO.guias.mostraGuiaFerramenta("i3GEOidentificaguia1","i3GEOidentificaguia");}; | 172 | $i("i3GEOidentificaguia2").onclick = function(){i3GEOF.identifica.listaTemas("todos");i3GEO.guias.mostraGuiaFerramenta("i3GEOidentificaguia1","i3GEOidentificaguia");}; |
173 | $i("i3GEOidentificaguia3").onclick = function(){i3GEO.guias.mostraGuiaFerramenta("i3GEOidentificaguia3","i3GEOidentificaguia");}; | 173 | $i("i3GEOidentificaguia3").onclick = function(){i3GEO.guias.mostraGuiaFerramenta("i3GEOidentificaguia3","i3GEOidentificaguia");}; |
@@ -177,13 +177,13 @@ i3GEOF.identifica = { | @@ -177,13 +177,13 @@ i3GEOF.identifica = { | ||
177 | if(i3GEO.temaAtivo !== ""){ | 177 | if(i3GEO.temaAtivo !== ""){ |
178 | var ltema = i3GEO.arvoreDeCamadas.pegaTema(i3GEO.temaAtivo); | 178 | var ltema = i3GEO.arvoreDeCamadas.pegaTema(i3GEO.temaAtivo); |
179 | if(ltema.identifica == "nao" || ltema.identifica == "NAO") | 179 | if(ltema.identifica == "nao" || ltema.identifica == "NAO") |
180 | - {i3GEO.janela.tempoMsg("Esse tema não permite etiquetas");} | 180 | + {i3GEO.janela.tempoMsg($trad(2,i3GEOF.identifica.dicionario));} |
181 | else | 181 | else |
182 | {i3GEO.tema.dialogo.etiquetas(i3GEO.temaAtivo);} | 182 | {i3GEO.tema.dialogo.etiquetas(i3GEO.temaAtivo);} |
183 | $i("i3GEOidentificaocorrencia").innerHTML = ""; | 183 | $i("i3GEOidentificaocorrencia").innerHTML = ""; |
184 | } | 184 | } |
185 | else | 185 | else |
186 | - {$i("i3GEOidentificaocorrencia").innerHTML = "Escolha um tema da lista";} | 186 | + {$i("i3GEOidentificaocorrencia").innerHTML = $trad(1,i3GEOF.identifica.dicionario);} |
187 | }}}); | 187 | }}}); |
188 | }; | 188 | }; |
189 | $i("i3GEOidentificaguia5").onclick = function(){ | 189 | $i("i3GEOidentificaguia5").onclick = function(){ |
@@ -337,37 +337,37 @@ i3GEOF.identifica = { | @@ -337,37 +337,37 @@ i3GEOF.identifica = { | ||
337 | var ins = ''; | 337 | var ins = ''; |
338 | ins += '<div id=i3GEOidentificaguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'; | 338 | ins += '<div id=i3GEOidentificaguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'; |
339 | ins += ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'; | 339 | ins += ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'; |
340 | - ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia1" style="text-align:center;left:0px;" >Temas visíveis</div></em></a></li>'; | ||
341 | - ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia2" style="text-align:center;left:0px;" >Todos</div></em></a></li>'; | ||
342 | - ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia4" style="text-align:center;left:0px;" >Etiquetas</div></em></a></li>'; | 340 | + ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia1" style="text-align:center;left:0px;" >'+$trad(3,i3GEOF.identifica.dicionario)+'</div></em></a></li>'; |
341 | + ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia2" style="text-align:center;left:0px;" >'+$trad(4,i3GEOF.identifica.dicionario)+'</div></em></a></li>'; | ||
342 | + ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia4" style="text-align:center;left:0px;" >'+$trad(5,i3GEOF.identifica.dicionario)+'</div></em></a></li>'; | ||
343 | ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia5" style="text-align:center;left:0px;" >XY/buffer</div></em></a></li>'; | 343 | ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia5" style="text-align:center;left:0px;" >XY/buffer</div></em></a></li>'; |
344 | - ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia3" style="text-align:center;left:0px;" >Propriedades</div></em></a></li>'; | 344 | + ins += ' <li><a href="#ancora"><em><div id="i3GEOidentificaguia3" style="text-align:center;left:0px;" >'+$trad(6,i3GEOF.identifica.dicionario)+'</div></em></a></li>'; |
345 | ins += ' </ul>'; | 345 | ins += ' </ul>'; |
346 | ins += '</div>'; | 346 | ins += '</div>'; |
347 | //ins += '<div class="geralFerramentas" style="left:0px;top:0px;width:98%;height:86%;">'; | 347 | //ins += '<div class="geralFerramentas" style="left:0px;top:0px;width:98%;height:86%;">'; |
348 | ins += ' <div class=guiaobj id="i3GEOidentificaguia1obj" style="left:1px;90%">'; | 348 | ins += ' <div class=guiaobj id="i3GEOidentificaguia1obj" style="left:1px;90%">'; |
349 | ins += ' <div id="i3GEOidentificatemaativo" class="geralFerramentas" style="overflow: hidden;display:block;position:relative;top:-5px;left:0px;width:150px">'; | 349 | ins += ' <div id="i3GEOidentificatemaativo" class="geralFerramentas" style="overflow: hidden;display:block;position:relative;top:-5px;left:0px;width:150px">'; |
350 | - ins += ' <div style="left:0px;width:150px;text-align:left;" id="i3GEOidentificalistaTemas" >Aguarde...</div>'; | ||
351 | - ins += ' <div style="left:0px;width:150px;text-align:left;" id="i3GEOidentificalistaSistemas" >Aguarde...</div>'; | 350 | + ins += ' <div style="left:0px;width:150px;text-align:left;" id="i3GEOidentificalistaTemas" >'+$trad(7,i3GEOF.identifica.dicionario)+'...</div>'; |
351 | + ins += ' <div style="left:0px;width:150px;text-align:left;" id="i3GEOidentificalistaSistemas" >'+$trad(7,i3GEOF.identifica.dicionario)+'...</div>'; | ||
352 | ins += ' </div>'; | 352 | ins += ' </div>'; |
353 | ins += ' <div id="i3GEOidentificaocorrencia" style="overflow: hidden;font-size: 10px;display:block;position:absolute;top:5px;left:165px;width:60%"></div>'; | 353 | ins += ' <div id="i3GEOidentificaocorrencia" style="overflow: hidden;font-size: 10px;display:block;position:absolute;top:5px;left:165px;width:60%"></div>'; |
354 | ins += ' </div>'; | 354 | ins += ' </div>'; |
355 | ins += ' <div class=guiaobj id="i3GEOidentificaguia2obj" style="left:1px">'; | 355 | ins += ' <div class=guiaobj id="i3GEOidentificaguia2obj" style="left:1px">'; |
356 | ins += ' </div>'; | 356 | ins += ' </div>'; |
357 | ins += ' <div class=guiaobj id="i3GEOidentificaguia3obj" style="left:1px;top:10px;display:none;font-size:12px;overflow:hidden" >'; | 357 | ins += ' <div class=guiaobj id="i3GEOidentificaguia3obj" style="left:1px;top:10px;display:none;font-size:12px;overflow:hidden" >'; |
358 | - ins += ' Resolução de busca - número de pixels, no entorno do ponto clicado no mapa, que serão utilizados na busca de dados:<br><br>'; | 358 | + ins += $trad(8,i3GEOF.identifica.dicionario)+':<br><br>'; |
359 | ins += ' '+$inputText("","10","i3GEOidentificaresolucao","","5","5"); | 359 | ins += ' '+$inputText("","10","i3GEOidentificaresolucao","","5","5"); |
360 | //<input onclick="javascript:this.select();" type=text class=digitar value=5 id="i3GEOidentificaresolucao" size=2 />'; | 360 | //<input onclick="javascript:this.select();" type=text class=digitar value=5 id="i3GEOidentificaresolucao" size=2 />'; |
361 | ins += ' <br><br></div>'; | 361 | ins += ' <br><br></div>'; |
362 | ins += ' <div class=guiaobj id="i3GEOidentificaguia4obj" style="left:1px;top:10px;display:none;font-size:12px;overflow:hidden" >'; | 362 | ins += ' <div class=guiaobj id="i3GEOidentificaguia4obj" style="left:1px;top:10px;display:none;font-size:12px;overflow:hidden" >'; |
363 | - ins += ' As etiquetas são mostradas quando o mouse é estacionado sobre um elemento.'; | ||
364 | - ins += ' <br><br><input id=i3GEOidentificabotao1 size=20 type=button value="Configurar etiquetas" />'; | 363 | + ins += $trad(9,i3GEOF.identifica.dicionario); |
364 | + ins += ' <br><br><input id=i3GEOidentificabotao1 size=20 type=button value="'+$trad(10,i3GEOF.identifica.dicionario)+'" />'; | ||
365 | ins += ' </div>'; | 365 | ins += ' </div>'; |
366 | ins += ' <div class=guiaobj id="i3GEOidentificaguia5obj" style="left:1px;top:10px;display:none;font-size:12px;overflow:hidden" >'; | 366 | ins += ' <div class=guiaobj id="i3GEOidentificaguia5obj" style="left:1px;top:10px;display:none;font-size:12px;overflow:hidden" >'; |
367 | - ins += ' <b>Valores para o ponto indicado no mapa<br></b>'; | 367 | + ins += ' <b>'+$trad(11,i3GEOF.identifica.dicionario)+'<br></b>'; |
368 | ins += ' <div id=i3GEOidentificacoord ></div><br>'; | 368 | ins += ' <div id=i3GEOidentificacoord ></div><br>'; |
369 | ins += ' <div id=i3GEOidentificacoordtexto style=text-align:left ></div>'; | 369 | ins += ' <div id=i3GEOidentificacoordtexto style=text-align:left ></div>'; |
370 | - ins += ' <br><br><input id=i3GEOidentificabotao2 size=20 type=button value="Criar entorno (buffer)" />'; | 370 | + ins += ' <br><br><input id=i3GEOidentificabotao2 size=20 type=button value="'+$trad(12,i3GEOF.identifica.dicionario)+'" />'; |
371 | ins += ' </div>'; | 371 | ins += ' </div>'; |
372 | //ins += '</div> '; | 372 | //ins += '</div> '; |
373 | return ins; | 373 | return ins; |
@@ -424,7 +424,7 @@ i3GEOF.identifica = { | @@ -424,7 +424,7 @@ i3GEOF.identifica = { | ||
424 | // | 424 | // |
425 | //monta a lista de temas | 425 | //monta a lista de temas |
426 | // | 426 | // |
427 | - linhas += "<span style=color:gray; >Clique no tema para ver os dados</span>"; | 427 | + linhas += "<span style=color:gray; >"+$trad(13,i3GEOF.identifica.dicionario)+"</span>"; |
428 | linhas1 = ""; | 428 | linhas1 = ""; |
429 | for (l=0;l<lista.length;l++) | 429 | for (l=0;l<lista.length;l++) |
430 | { | 430 | { |
@@ -643,7 +643,7 @@ i3GEOF.identifica = { | @@ -643,7 +643,7 @@ i3GEOF.identifica = { | ||
643 | {atualN = $i("i3GEOFidentificaNocorrencias").value;} | 643 | {atualN = $i("i3GEOFidentificaNocorrencias").value;} |
644 | $i("i3GEOF.identifica_corpo").scrollTop = 0; | 644 | $i("i3GEOF.identifica_corpo").scrollTop = 0; |
645 | if(retorno == undefined || retorno == "") | 645 | if(retorno == undefined || retorno == "") |
646 | - {$i("i3GEOidentificaocorrencia").innerHTML="Nada encontrado";return;} | 646 | + {$i("i3GEOidentificaocorrencia").innerHTML=$trad(14,i3GEOF.identifica.dicionario);return;} |
647 | i = $i("i3GEOmarcaIdentifica"); | 647 | i = $i("i3GEOmarcaIdentifica"); |
648 | if(i) | 648 | if(i) |
649 | {i.style.display = "block";} | 649 | {i.style.display = "block";} |
@@ -742,7 +742,7 @@ i3GEOF.identifica = { | @@ -742,7 +742,7 @@ i3GEOF.identifica = { | ||
742 | select = "<select id=i3GEOFidentificaNocorrencias onchange='i3GEOF.identifica.mostraDadosTema(i3GEOF.identifica.dadosIdentifica)'>"; | 742 | select = "<select id=i3GEOFidentificaNocorrencias onchange='i3GEOF.identifica.mostraDadosTema(i3GEOF.identifica.dadosIdentifica)'>"; |
743 | if(atual == "todas") | 743 | if(atual == "todas") |
744 | {sel = "SELECTED";} | 744 | {sel = "SELECTED";} |
745 | - select += "<option value='todas' "+sel+" >todas</option>"; | 745 | + select += "<option value='todas' "+sel+" >"+$trad(15,i3GEOF.identifica.dicionario)+"</option>"; |
746 | nocor = nres + 1; | 746 | nocor = nres + 1; |
747 | for(i=1;i<nocor;i++) | 747 | for(i=1;i<nocor;i++) |
748 | { | 748 | { |
@@ -753,7 +753,7 @@ i3GEOF.identifica = { | @@ -753,7 +753,7 @@ i3GEOF.identifica = { | ||
753 | } | 753 | } |
754 | select += "</select>"; | 754 | select += "</select>"; |
755 | ins = "<table><tr>"; | 755 | ins = "<table><tr>"; |
756 | - ins += "<td>Mostra a ocorrência: </td>"; | 756 | + ins += "<td>"+$trad(16,i3GEOF.identifica.dicionario)+": </td>"; |
757 | ins += "<td> "+select+"</td>"; | 757 | ins += "<td> "+select+"</td>"; |
758 | ins += "</tr></table>"; | 758 | ins += "</tr></table>"; |
759 | if(nres == 1) | 759 | if(nres == 1) |
ferramentas/importarwmc/dicionario.js
1 | //+$trad(1,i3GEOF.importarwmc.dicionario)+ | 1 | //+$trad(1,i3GEOF.importarwmc.dicionario)+ |
2 | i3GEOF.importarwmc.dicionario = { | 2 | i3GEOF.importarwmc.dicionario = { |
3 | 1: [{ | 3 | 1: [{ |
4 | -pt:"", | 4 | +pt:"Arquivo", |
5 | en:"", | 5 | en:"", |
6 | es:"", | 6 | es:"", |
7 | it:"" | 7 | it:"" |
8 | }], | 8 | }], |
9 | 2: [{ | 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:"", | 10 | +pt:"Importar", |
59 | en:"", | 11 | en:"", |
60 | es:"", | 12 | es:"", |
61 | it:"" | 13 | it:"" |
ferramentas/importarwmc/index.js
@@ -105,9 +105,9 @@ i3GEOF.importarwmc = { | @@ -105,9 +105,9 @@ i3GEOF.importarwmc = { | ||
105 | */ | 105 | */ |
106 | html:function(){ | 106 | html:function(){ |
107 | var ins = '<form id=i3GEOimportarwmcf target="i3GEOimportarwmciframe" action="'+i3GEO.configura.locaplic+'/ferramentas/importarwmc/upload.php" method="post" ENCTYPE="multipart/form-data">' + | 107 | var ins = '<form id=i3GEOimportarwmcf target="i3GEOimportarwmciframe" action="'+i3GEO.configura.locaplic+'/ferramentas/importarwmc/upload.php" method="post" ENCTYPE="multipart/form-data">' + |
108 | - '<p class="paragrafo" >Arquivo: <br><input type="file" size=18 name="i3GEOimportarwmc" style="top:0px;left:0px;cursor:pointer;"></p>' + | 108 | + '<p class="paragrafo" >'+$trad(1,i3GEOF.importarwmc.dicionario)+': <br><input type="file" size=18 name="i3GEOimportarwmc" style="top:0px;left:0px;cursor:pointer;"></p>' + |
109 | '<p class="paragrafo" >Ou URL: <br><input type="text" size=35 name="i3GEOimportarwmcurl" style="top:0px;left:0px;cursor:text;"></p>' + | 109 | '<p class="paragrafo" >Ou URL: <br><input type="text" size=35 name="i3GEOimportarwmcurl" style="top:0px;left:0px;cursor:text;"></p>' + |
110 | - '<br><p class="paragrafo" ><input id=i3GEOimportarwmcbotao1 type="button" value="Importar" size=12 name="submit">' + | 110 | + '<br><p class="paragrafo" ><input id=i3GEOimportarwmcbotao1 type="button" value="'+$trad(2,i3GEOF.importarwmc.dicionario)+'" size=12 name="submit">' + |
111 | '<input type=hidden name=g_sid value="'+i3GEO.configura.sid+'" >' + | 111 | '<input type=hidden name=g_sid value="'+i3GEO.configura.sid+'" >' + |
112 | '<input type="hidden" name="MAX_FILE_SIZE" value="100000">' + | 112 | '<input type="hidden" name="MAX_FILE_SIZE" value="100000">' + |
113 | '</form>' + | 113 | '</form>' + |
@@ -155,5 +155,4 @@ i3GEOF.importarwmc = { | @@ -155,5 +155,4 @@ i3GEOF.importarwmc = { | ||
155 | i3GEOF.importarwmc.aguarde.visibility="visible"; | 155 | i3GEOF.importarwmc.aguarde.visibility="visible"; |
156 | $i("i3GEOimportarwmcf").submit(); | 156 | $i("i3GEOimportarwmcf").submit(); |
157 | } | 157 | } |
158 | -}; | ||
159 | - | 158 | +}; |
160 | \ No newline at end of file | 159 | \ No newline at end of file |
ferramentas/inseregrafico/dicionario.js
1 | //+$trad(1,i3GEOF.insereGrafico.dicionario)+ | 1 | //+$trad(1,i3GEOF.insereGrafico.dicionario)+ |
2 | i3GEOF.insereGrafico.dicionario = { | 2 | i3GEOF.insereGrafico.dicionario = { |
3 | 1: [{ | 3 | 1: [{ |
4 | -pt:"", | 4 | +pt:"Fonte dos dados", |
5 | en:"", | 5 | en:"", |
6 | es:"", | 6 | es:"", |
7 | it:"" | 7 | it:"" |
8 | }], | 8 | }], |
9 | 2: [{ | 9 | 2: [{ |
10 | -pt:"", | 10 | +pt:"Propriedades", |
11 | en:"", | 11 | en:"", |
12 | es:"", | 12 | es:"", |
13 | it:"" | 13 | it:"" |
14 | }], | 14 | }], |
15 | 3: [{ | 15 | 3: [{ |
16 | -pt:"", | 16 | +pt:"Aguarde", |
17 | en:"", | 17 | en:"", |
18 | es:"", | 18 | es:"", |
19 | it:"" | 19 | it:"" |
20 | }], | 20 | }], |
21 | 4: [{ | 21 | 4: [{ |
22 | -pt:"", | 22 | +pt:"Escolha o tema para ver a lista de itens", |
23 | en:"", | 23 | en:"", |
24 | es:"", | 24 | es:"", |
25 | it:"" | 25 | it:"" |
26 | }], | 26 | }], |
27 | 5: [{ | 27 | 5: [{ |
28 | -pt:"", | 28 | +pt:"Marque os itens para compor as partes do gráfico: Edite os valores de cor (R,G,B) conforme o desejado. Após escolher os itens, clique no elemento do mapa para inserir o gráfico.", |
29 | en:"", | 29 | en:"", |
30 | es:"", | 30 | es:"", |
31 | it:"" | 31 | it:"" |
32 | }], | 32 | }], |
33 | 6: [{ | 33 | 6: [{ |
34 | -pt:"", | 34 | +pt:"Inclinação do círculo", |
35 | en:"", | 35 | en:"", |
36 | es:"", | 36 | es:"", |
37 | it:"" | 37 | it:"" |
38 | }], | 38 | }], |
39 | 7: [{ | 39 | 7: [{ |
40 | -pt:"", | 40 | +pt:"Tamanho da sombra", |
41 | en:"", | 41 | en:"", |
42 | es:"", | 42 | es:"", |
43 | it:"" | 43 | it:"" |
44 | }], | 44 | }], |
45 | 8: [{ | 45 | 8: [{ |
46 | -pt:"", | 46 | +pt:"Nenhum tema definido para pegar os dados", |
47 | en:"", | 47 | en:"", |
48 | es:"", | 48 | es:"", |
49 | it:"" | 49 | it:"" |
50 | }], | 50 | }], |
51 | 9: [{ | 51 | 9: [{ |
52 | -pt:"", | ||
53 | -en:"", | ||
54 | -es:"", | ||
55 | -it:"" | ||
56 | -}], | ||
57 | -10: [{ | ||
58 | -pt:"", | 52 | +pt:"Nenhum item foi escolhido", |
59 | en:"", | 53 | en:"", |
60 | es:"", | 54 | es:"", |
61 | it:"" | 55 | it:"" |
ferramentas/inseregrafico/index.js
@@ -113,18 +113,18 @@ i3GEOF.insereGrafico = { | @@ -113,18 +113,18 @@ i3GEOF.insereGrafico = { | ||
113 | var ins = ''; | 113 | var ins = ''; |
114 | ins += '<div id=i3GEOinseregraficoguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'; | 114 | ins += '<div id=i3GEOinseregraficoguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'; |
115 | ins += ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'; | 115 | ins += ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'; |
116 | - ins += ' <li><a href="#ancora"><em><div id="i3GEOinseregraficoguia1" style="text-align:center;left:0px;" >Fonte dos dados</div></em></a></li>'; | ||
117 | - ins += ' <li><a href="#ancora"><em><div id="i3GEOinseregraficoguia2" style="text-align:center;left:0px;" >Propriedades</div></em></a></li>'; | 116 | + ins += ' <li><a href="#ancora"><em><div id="i3GEOinseregraficoguia1" style="text-align:center;left:0px;" >'+$trad(1,i3GEOF.insereGrafico.dicionario)+'</div></em></a></li>'; |
117 | + ins += ' <li><a href="#ancora"><em><div id="i3GEOinseregraficoguia2" style="text-align:center;left:0px;" >'+$trad(2,i3GEOF.insereGrafico.dicionario)+'</div></em></a></li>'; | ||
118 | ins += ' </ul>'; | 118 | ins += ' </ul>'; |
119 | ins += '</div><br>'; | 119 | ins += '</div><br>'; |
120 | ins += ' <div class=guiaobj id="i3GEOinseregraficoguia1obj" style="left:1px;display:none;">'; | 120 | ins += ' <div class=guiaobj id="i3GEOinseregraficoguia1obj" style="left:1px;display:none;">'; |
121 | ins += ' <p class="paragrafo">Escolha o tema com os dados:'; | 121 | ins += ' <p class="paragrafo">Escolha o tema com os dados:'; |
122 | - ins += ' <div id=i3GEOinseregraficotemasi style="display:block;position:relative;top:10px;left:0px;text-align:left;">Aguarde...'; | 122 | + ins += ' <div id=i3GEOinseregraficotemasi style="display:block;position:relative;top:10px;left:0px;text-align:left;">'+$trad(3,i3GEOF.insereGrafico.dicionario)+'...'; |
123 | ins += ' </div>'; | 123 | ins += ' </div>'; |
124 | - ins += ' <div id=i3GEOinseregraficolistai class=digitar style="left:0px;top:20px;330px;height:80px;overflow:auto;display:block;">Escolha o tema para ver a lista de itens</div>'; | 124 | + ins += ' <div id=i3GEOinseregraficolistai class=digitar style="left:0px;top:20px;330px;height:80px;overflow:auto;display:block;">'+$trad(4,i3GEOF.insereGrafico.dicionario)+'</div>'; |
125 | ins += ' <br><br><br>'; | 125 | ins += ' <br><br><br>'; |
126 | ins += ' <p class="paragrafo"><input id=i3GEOinseregraficobotao1 size=35 type=button value="mostrar legenda no mapa" />'; | 126 | ins += ' <p class="paragrafo"><input id=i3GEOinseregraficobotao1 size=35 type=button value="mostrar legenda no mapa" />'; |
127 | - ins += ' <div id=i3GEOinseregraficomen1 style=top:10px;left:1px ><p class="paragrafo">Marque os itens para compor as partes do gráfico: Edite os valores de cor (R,G,B) conforme o desejado. Após escolher os itens, clique no elemento do mapa para inserir o gráfico.</div>'; | 127 | + ins += ' <div id=i3GEOinseregraficomen1 style=top:10px;left:1px ><p class="paragrafo">'+$trad(5,i3GEOF.insereGrafico.dicionario)+'</div>'; |
128 | ins += ' </div>'; | 128 | ins += ' </div>'; |
129 | ins += ' <div class=guiaobj id="i3GEOinseregraficoguia2obj" style="left:1px;display:none;">'; | 129 | ins += ' <div class=guiaobj id="i3GEOinseregraficoguia2obj" style="left:1px;display:none;">'; |
130 | ins += ' <table summary="" class=lista width="70%">'; | 130 | ins += ' <table summary="" class=lista width="70%">'; |
@@ -134,12 +134,12 @@ i3GEOF.insereGrafico = { | @@ -134,12 +134,12 @@ i3GEOF.insereGrafico = { | ||
134 | ins += $inputText("","","i3GEOinseregraficow","",5,"50")+'</td>'; | 134 | ins += $inputText("","","i3GEOinseregraficow","",5,"50")+'</td>'; |
135 | ins += ' </tr><tr><td></td><td> </td></tr>'; | 135 | ins += ' </tr><tr><td></td><td> </td></tr>'; |
136 | ins += ' <tr>'; | 136 | ins += ' <tr>'; |
137 | - ins += ' <td>Inclinação do círculo:</td>'; | 137 | + ins += ' <td>'+$trad(6,i3GEOF.insereGrafico.dicionario)+':</td>'; |
138 | ins += ' <td>'; | 138 | ins += ' <td>'; |
139 | ins += $inputText("","","i3GEOinseregraficoinclinacao","",4,"1.5")+'</td>'; | 139 | ins += $inputText("","","i3GEOinseregraficoinclinacao","",4,"1.5")+'</td>'; |
140 | ins += ' </tr><tr><td></td><td> </td></tr>'; | 140 | ins += ' </tr><tr><td></td><td> </td></tr>'; |
141 | ins += ' <tr>'; | 141 | ins += ' <tr>'; |
142 | - ins += ' <td>Tamanho da sombra:</td>'; | 142 | + ins += ' <td>'+$trad(7,i3GEOF.insereGrafico.dicionario)+':</td>'; |
143 | ins += ' <td>'; | 143 | ins += ' <td>'; |
144 | ins += $inputText("","","i3GEOinseregraficosombra","",4,"5")+'</td>'; | 144 | ins += $inputText("","","i3GEOinseregraficosombra","",4,"5")+'</td>'; |
145 | ins += ' </tr><tr><td></td><td> </td></tr>'; | 145 | ins += ' </tr><tr><td></td><td> </td></tr>'; |
@@ -234,11 +234,11 @@ i3GEOF.insereGrafico = { | @@ -234,11 +234,11 @@ i3GEOF.insereGrafico = { | ||
234 | shadow_height = $i("i3GEOinseregraficosombra").value, | 234 | shadow_height = $i("i3GEOinseregraficosombra").value, |
235 | itens, | 235 | itens, |
236 | temp; | 236 | temp; |
237 | - if (tema === ""){i3GEO.janela.tempoMsg("Nenhum tema definido para pegar os dados");} | 237 | + if (tema === ""){i3GEO.janela.tempoMsg($trad(8,i3GEOF.insereGrafico.dicionario));} |
238 | else{ | 238 | else{ |
239 | itens = i3GEOF.insereGrafico.pegaItensMarcados(); | 239 | itens = i3GEOF.insereGrafico.pegaItensMarcados(); |
240 | if (itens === "") | 240 | if (itens === "") |
241 | - {i3GEO.janela.tempoMsg("Nenhum item foi escolhido");} | 241 | + {i3GEO.janela.tempoMsg($trad(9,i3GEOF.insereGrafico.dicionario));} |
242 | else{ | 242 | else{ |
243 | temp = function(){ | 243 | temp = function(){ |
244 | i3GEOF.insereGrafico.aguarde.visibility = "hidden"; | 244 | i3GEOF.insereGrafico.aguarde.visibility = "hidden"; |
@@ -267,7 +267,7 @@ i3GEOF.insereGrafico = { | @@ -267,7 +267,7 @@ i3GEOF.insereGrafico = { | ||
267 | $i("i3GEOinseregraficotemasi").innerHTML = retorno.dados; | 267 | $i("i3GEOinseregraficotemasi").innerHTML = retorno.dados; |
268 | if ($i("i3GEOinseregraficotemasLigados")){ | 268 | if ($i("i3GEOinseregraficotemasLigados")){ |
269 | $i("i3GEOinseregraficotemasLigados").onchange = function(){ | 269 | $i("i3GEOinseregraficotemasLigados").onchange = function(){ |
270 | - $i("i3GEOinseregraficolistai").innerHTML = "<p style=color:red >Aguarde...<br>"; | 270 | + $i("i3GEOinseregraficolistai").innerHTML = "<p style=color:red >"+$trad(3,i3GEOF.insereGrafico.dicionario)+"...<br>"; |
271 | i3GEO.php.listaItensTema(i3GEOF.insereGrafico.listaItens,$i("i3GEOinseregraficotemasLigados").value); | 271 | i3GEO.php.listaItensTema(i3GEOF.insereGrafico.listaItens,$i("i3GEOinseregraficotemasLigados").value); |
272 | i3GEO.mapa.ativaTema($i("i3GEOinseregraficotemasLigados").value); | 272 | i3GEO.mapa.ativaTema($i("i3GEOinseregraficotemasLigados").value); |
273 | }; | 273 | }; |
@@ -309,7 +309,7 @@ i3GEOF.insereGrafico = { | @@ -309,7 +309,7 @@ i3GEOF.insereGrafico = { | ||
309 | $i("i3GEOinseregraficolistai").innerHTML = ins.join(""); | 309 | $i("i3GEOinseregraficolistai").innerHTML = ins.join(""); |
310 | } | 310 | } |
311 | catch(e) | 311 | catch(e) |
312 | - {$i("i3GEOinseregraficolistai").innerHTML = "<p style=color:red >Ocorreu um erro "+e+"<br>";} | 312 | + {$i("i3GEOinseregraficolistai").innerHTML = "<p style=color:red >Erro "+e+"<br>";} |
313 | }, | 313 | }, |
314 | /* | 314 | /* |
315 | Function: corj | 315 | Function: corj |
@@ -373,6 +373,6 @@ i3GEOF.insereGrafico = { | @@ -373,6 +373,6 @@ i3GEOF.insereGrafico = { | ||
373 | w = w[2].id; | 373 | w = w[2].id; |
374 | $i(w).innerHTML = par; | 374 | $i(w).innerHTML = par; |
375 | } | 375 | } |
376 | - catch(e){i3GEO.janela.tempoMsg("Ocorreu um erro. legendaGrafico"+e);} | 376 | + catch(e){i3GEO.janela.tempoMsg("Erro. legendaGrafico"+e);} |
377 | } | 377 | } |
378 | -}; | 378 | +}; |
379 | \ No newline at end of file | 379 | \ No newline at end of file |
ferramentas/inseretxt/dicionario.js
1 | //+$trad(1,i3GEOF.inseretxt.dicionario)+ | 1 | //+$trad(1,i3GEOF.inseretxt.dicionario)+ |
2 | i3GEOF.inseretxt.dicionario = { | 2 | i3GEOF.inseretxt.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:"Aguarde", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"Propriedades", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"Digitar", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Capturar", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"Texto que será inserido", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:" Insere com conector", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Digite o texto e clique no mapa no ponto de inclusão. Para definir os parâmetros de fonte, tamanho, etc, utilize a guia de propriedades. Se o texto contiver acentuação, não use a fonte padrão (bitmap). Ativando o conector, vc deverá clicar no ponto inicial e final.", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Escolha o tema:", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Escolha o item", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"Após escolher o tema e o item da tabela de atributos, clique no mapa no lugar desejado para incluir o texto.", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Fonte", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"Tamanho", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Largura do conector", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }], | ||
81 | + 14: [{ | ||
82 | + 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)", | ||
83 | + en:"", | ||
84 | + es:"", | ||
85 | + it:"" | ||
86 | + }], | ||
87 | + 15: [{ | ||
88 | + pt:"Deslocamento do texto em relação ao ponto de inclusão", | ||
89 | + en:"", | ||
90 | + es:"", | ||
91 | + it:"" | ||
92 | + }], | ||
93 | + 16: [{ | ||
94 | + pt:"Cor do texto", | ||
95 | + en:"", | ||
96 | + es:"", | ||
97 | + it:"" | ||
98 | + }], | ||
99 | + 17: [{ | ||
100 | + pt:"Cor do conector", | ||
101 | + en:"", | ||
102 | + es:"", | ||
103 | + it:"" | ||
104 | + }], | ||
105 | + 18: [{ | ||
106 | + pt:"Cor da máscara de um pixel de entorno", | ||
107 | + en:"", | ||
108 | + es:"", | ||
109 | + it:"" | ||
110 | + }], | ||
111 | + 19: [{ | ||
112 | + pt:"Posicionamento", | ||
113 | + en:"", | ||
114 | + es:"", | ||
115 | + it:"" | ||
116 | + }], | ||
117 | + 20: [{ | ||
118 | + pt:"automático", | ||
119 | + en:"", | ||
120 | + es:"", | ||
121 | + it:"" | ||
122 | + }], | ||
123 | + 21: [{ | ||
124 | + pt:"superior esquerdo", | ||
125 | + en:"", | ||
126 | + es:"", | ||
127 | + it:"" | ||
128 | + }], | ||
129 | + 22: [{ | ||
130 | + pt:"superior centro", | ||
131 | + en:"", | ||
132 | + es:"", | ||
133 | + it:"" | ||
134 | + }], | ||
135 | + 23: [{ | ||
136 | + pt:"superior direito", | ||
137 | + en:"", | ||
138 | + es:"", | ||
139 | + it:"" | ||
140 | + }], | ||
141 | + 24: [{ | ||
142 | + pt:"centro esquerdo", | ||
143 | + en:"", | ||
144 | + es:"", | ||
145 | + it:"" | ||
146 | + }], | ||
147 | + 25: [{ | ||
148 | + pt:"centro", | ||
149 | + en:"", | ||
150 | + es:"", | ||
151 | + it:"" | ||
152 | + }], | ||
153 | + 26: [{ | ||
154 | + pt:"centro direito", | ||
155 | + en:"", | ||
156 | + es:"", | ||
157 | + it:"" | ||
158 | + }], | ||
159 | + 27: [{ | ||
160 | + pt:"inferior esquerdo", | ||
161 | + en:"", | ||
162 | + es:"", | ||
163 | + it:"" | ||
164 | + }], | ||
165 | + 28: [{ | ||
166 | + pt:"inferior centro", | ||
167 | + en:"", | ||
168 | + es:"", | ||
169 | + it:"" | ||
170 | + }], | ||
171 | + 29: [{ | ||
172 | + pt:"inferior direito", | ||
173 | + en:"", | ||
174 | + es:"", | ||
175 | + it:"" | ||
176 | + }], | ||
177 | + 30: [{ | ||
178 | + pt:"Cor do fundo", | ||
179 | + en:"", | ||
180 | + es:"", | ||
181 | + it:"" | ||
182 | + }], | ||
183 | + 31: [{ | ||
184 | + pt:"Cor da sombra do fundo", | ||
185 | + en:"", | ||
186 | + es:"", | ||
187 | + it:"" | ||
188 | + }], | ||
189 | + 32: [{ | ||
190 | + pt:"Deslocamento da sombra do fundo", | ||
191 | + en:"", | ||
192 | + es:"", | ||
193 | + it:"" | ||
194 | + }], | ||
195 | + 33: [{ | ||
196 | + pt:"Cor do texto de fundo (duplicado))", | ||
197 | + en:"", | ||
198 | + es:"", | ||
199 | + it:"" | ||
200 | + }], | ||
201 | + 34: [{ | ||
202 | + pt:"Deslocamento do texto de fundo (duplicado)", | ||
203 | + en:"", | ||
204 | + es:"", | ||
205 | + it:"" | ||
206 | + }], | ||
207 | + 35: [{ | ||
208 | + pt:"Força colisões entre textos?", | ||
209 | + en:"", | ||
210 | + es:"", | ||
211 | + it:"" | ||
212 | + }], | ||
213 | + 36: [{ | ||
214 | + pt:"Distância mínima entre textos duplicados (em pixel)", | ||
215 | + en:"", | ||
216 | + es:"", | ||
217 | + it:"" | ||
218 | + }], | ||
219 | + 37: [{ | ||
220 | + pt:"Tamanho mínimo do elemento cartográfico(em pixel)", | ||
221 | + en:"", | ||
222 | + es:"", | ||
223 | + it:"" | ||
224 | + }], | ||
225 | + 38: [{ | ||
226 | + pt:"O texto pode ultrapassar o mapa?", | ||
227 | + en:"", | ||
228 | + es:"", | ||
229 | + it:"" | ||
230 | + }], | ||
231 | + 39: [{ | ||
232 | + pt:"Caractere usado para indicar uma quebra de texto", | ||
233 | + en:"", | ||
234 | + es:"", | ||
235 | + it:"" | ||
236 | + }], | ||
237 | + 40: [{ | ||
238 | + pt:"Ative a guia 1 ou 2 para definir o texto", | ||
239 | + en:"", | ||
240 | + es:"", | ||
241 | + it:"" | ||
242 | + }], | ||
243 | + 41: [{ | ||
244 | + pt:"Nada encontrado.", | ||
245 | + en:"", | ||
246 | + es:"", | ||
247 | + it:"" | ||
248 | + }], | ||
249 | + 42: [{ | ||
250 | + pt:"Clique no fim do conector", | ||
251 | + en:"", | ||
252 | + es:"", | ||
253 | + it:"" | ||
254 | + }], | ||
255 | + 43: [{ | ||
256 | + pt:"", | ||
257 | + en:"", | ||
258 | + es:"", | ||
259 | + it:"" | ||
260 | + }] | ||
63 | }; | 261 | }; |
64 | \ No newline at end of file | 262 | \ No newline at end of file |
ferramentas/inseretxt/index.js
@@ -118,7 +118,7 @@ i3GEOF.inseretxt = { | @@ -118,7 +118,7 @@ i3GEOF.inseretxt = { | ||
118 | $i("i3GEOinseretxtDivComboTemas").style.display = "block"; | 118 | $i("i3GEOinseretxtDivComboTemas").style.display = "block"; |
119 | if ($i("i3GEOinseretxtComboTemas")){ | 119 | if ($i("i3GEOinseretxtComboTemas")){ |
120 | $i("i3GEOinseretxtComboTemas").onchange = function(){ | 120 | $i("i3GEOinseretxtComboTemas").onchange = function(){ |
121 | - $i("i3GEOinseretxtDivComboItens").innerHTML = "<p class=paragrafo style=color:red >Aguarde...</p>"; | 121 | + $i("i3GEOinseretxtDivComboItens").innerHTML = "<p class=paragrafo style=color:red >"+$trad(1,i3GEOF.inseretxt.dicionario)+"...</p>"; |
122 | i3GEO.mapa.ativaTema($i("i3GEOinseretxtComboTemas").value); | 122 | i3GEO.mapa.ativaTema($i("i3GEOinseretxtComboTemas").value); |
123 | //combodeitens | 123 | //combodeitens |
124 | i3GEO.util.comboItens( | 124 | i3GEO.util.comboItens( |
@@ -170,50 +170,50 @@ i3GEOF.inseretxt = { | @@ -170,50 +170,50 @@ i3GEOF.inseretxt = { | ||
170 | var ins = '' + | 170 | var ins = '' + |
171 | '<div id=i3GEOinseretxtguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">' + | 171 | '<div id=i3GEOinseretxtguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">' + |
172 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">' + | 172 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">' + |
173 | - ' <li><a href="#ancora"><em><div id="i3GEOinseretxtguia3" style="text-align:center;left:0px;" ><img class="ticPropriedades2" style="height:14px" title="Propriedades" src="'+i3GEO.configura.locaplic+'/imagens/visual/default/branco.gif"></div></em></a></li>' + | ||
174 | - ' <li><a href="#ancora"><em><div id="i3GEOinseretxtguia1" style="text-align:center;left:0px;" >Digitar</div></em></a></li>' + | ||
175 | - ' <li><a href="#ancora"><em><div id="i3GEOinseretxtguia2" style="text-align:center;left:0px;" >Capturar</div></em></a></li>' + | 173 | + ' <li><a href="#ancora"><em><div id="i3GEOinseretxtguia3" style="text-align:center;left:0px;" ><img class="ticPropriedades2" style="height:14px" title="'+$trad(2,i3GEOF.inseretxt.dicionario)+'" src="'+i3GEO.configura.locaplic+'/imagens/visual/default/branco.gif"></div></em></a></li>' + |
174 | + ' <li><a href="#ancora"><em><div id="i3GEOinseretxtguia1" style="text-align:center;left:0px;" >'+$trad(3,i3GEOF.inseretxt.dicionario)+'</div></em></a></li>' + | ||
175 | + ' <li><a href="#ancora"><em><div id="i3GEOinseretxtguia2" style="text-align:center;left:0px;" >'+$trad(4,i3GEOF.inseretxt.dicionario)+'</div></em></a></li>' + | ||
176 | ' </ul>' + | 176 | ' </ul>' + |
177 | '</div><br>' + | 177 | '</div><br>' + |
178 | ' <div class=guiaobj id="i3GEOinseretxtguia1obj" style="left:1px;display:none;">' + | 178 | ' <div class=guiaobj id="i3GEOinseretxtguia1obj" style="left:1px;display:none;">' + |
179 | - ' <p class="paragrafo" >Texto que será inserido:<br><br>' + | 179 | + ' <p class="paragrafo" >'+$trad(5,i3GEOF.inseretxt.dicionario)+':<br><br>' + |
180 | $inputText("","","i3GEOinseretxttexto","",45,"") + | 180 | $inputText("","","i3GEOinseretxttexto","",45,"") + |
181 | ' <br><br>' + | 181 | ' <br><br>' + |
182 | - ' <input class=inputsb style=cursor:pointer type=checkbox id=i3GEOinseretxttextoconector > Insere com conector' + | 182 | + ' <input class=inputsb style=cursor:pointer type=checkbox id=i3GEOinseretxttextoconector >'+$trad(6,i3GEOF.inseretxt.dicionario) + |
183 | ' <div id=i3GEOinseretxtmen1 style="text-align:left;" >'+ | 183 | ' <div id=i3GEOinseretxtmen1 style="text-align:left;" >'+ |
184 | - ' <p class="paragrafo" >Digite o texto e clique no mapa no ponto de inclusão. Para definir os parâmetros de fonte, tamanho, etc, utilize a guia de propriedades. Se o texto contiver acentuação, não use a fonte padrão (bitmap). Ativando o conector, vc deverá clicar no ponto inicial e final.' + | 184 | + ' <p class="paragrafo" >'+$trad(7,i3GEOF.inseretxt.dicionario) + |
185 | ' </div>' + | 185 | ' </div>' + |
186 | ' </div>' + | 186 | ' </div>' + |
187 | ' <div class=guiaobj id="i3GEOinseretxtguia2obj" style="left:1px;display:none;">' + | 187 | ' <div class=guiaobj id="i3GEOinseretxtguia2obj" style="left:1px;display:none;">' + |
188 | - ' <p class=paragrafo >Escolha o tema:' + | ||
189 | - ' <div id=i3GEOinseretxtDivComboTemas style="text-align:left;">Aguarde...' + | 188 | + ' <p class=paragrafo >' + $trad(8,i3GEOF.inseretxt.dicionario) + |
189 | + ' <div id=i3GEOinseretxtDivComboTemas style="text-align:left;">'+$trad(1,i3GEOF.inseretxt.dicionario)+'...' + | ||
190 | ' </div><br>' + | 190 | ' </div><br>' + |
191 | - ' <p class=paragrafo >Escolha o item:' + | 191 | + ' <p class=paragrafo >'+$trad(9,i3GEOF.inseretxt.dicionario)+':' + |
192 | ' <div id=i3GEOinseretxtDivComboItens style="text-align:left;">'+ | 192 | ' <div id=i3GEOinseretxtDivComboItens style="text-align:left;">'+ |
193 | ' </div>' + | 193 | ' </div>' + |
194 | ' <br><br>' + | 194 | ' <br><br>' + |
195 | ' <div id=i3GEOinseretxtmen2 style="text-align:left;" >' + | 195 | ' <div id=i3GEOinseretxtmen2 style="text-align:left;" >' + |
196 | - ' <p class=paragrafo >Após escolher o tema e o item da tabela de atributos, clique no mapa no lugar desejado para incluir o texto.</p>' + | 196 | + ' <p class=paragrafo >' + $trad(10,i3GEOF.inseretxt.dicionario) + '</p>' + |
197 | ' </div>' + | 197 | ' </div>' + |
198 | ' </div>' + | 198 | ' </div>' + |
199 | ' <div class=guiaobj id="i3GEOinseretxtguia3obj" style="left:1px;display:none;">' + | 199 | ' <div class=guiaobj id="i3GEOinseretxtguia3obj" style="left:1px;display:none;">' + |
200 | ' <table summary="" class=lista width="98%">' + | 200 | ' <table summary="" class=lista width="98%">' + |
201 | - ' <tr><td>Fonte:</td><td><span id="i3GEOinseretxtDivListaFonte">Aguarde...</span></td></tr>' + | 201 | + ' <tr><td>'+$trad(11,i3GEOF.inseretxt.dicionario)+':</td><td><span id="i3GEOinseretxtDivListaFonte">'+$trad(1,i3GEOF.inseretxt.dicionario)+'...</span></td></tr>' + |
202 | ' <tr><td> </td><td></td></tr>' + | 202 | ' <tr><td> </td><td></td></tr>' + |
203 | - ' <tr><td>Tamanho:</td><td>' + | 203 | + ' <tr><td>'+$trad(12,i3GEOF.inseretxt.dicionario)+':</td><td>' + |
204 | $inputText("","","i3GEOinseretxttamanho_i","",2,"8") + | 204 | $inputText("","","i3GEOinseretxttamanho_i","",2,"8") + |
205 | ' </td></tr>' + | 205 | ' </td></tr>' + |
206 | - ' <tr><td>Largura do conector:</td><td>' + | 206 | + ' <tr><td>'+$trad(13,i3GEOF.inseretxt.dicionario)+':</td><td>' + |
207 | $inputText("","","i3GEOinseretxttamanho_c","",2,"2") + | 207 | $inputText("","","i3GEOinseretxttamanho_c","",2,"2") + |
208 | ' </td></tr>' + | 208 | ' </td></tr>' + |
209 | 209 | ||
210 | ' <tr><td> </td><td></td></tr>' + | 210 | ' <tr><td> </td><td></td></tr>' + |
211 | - ' <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>' + | 211 | + ' <tr><td>'+$trad(14,i3GEOF.inseretxt.dicionario)+':</td><td>' + |
212 | $inputText("","","i3GEOinseretxtangulo_i","",4,"0") + | 212 | $inputText("","","i3GEOinseretxtangulo_i","",4,"0") + |
213 | ' </td></tr>' + | 213 | ' </td></tr>' + |
214 | ' <tr><td> </td><td></td></tr>' + | 214 | ' <tr><td> </td><td></td></tr>' + |
215 | ' <tr>' + | 215 | ' <tr>' + |
216 | - ' <td>Deslocamento do texto em relação ao ponto de inclusão:</td>' + | 216 | + ' <td>'+$trad(15,i3GEOF.inseretxt.dicionario)+':</td>' + |
217 | ' <td>x ' + | 217 | ' <td>x ' + |
218 | $inputText("","","i3GEOinseretxtoffsetx_i","",2,"0") + | 218 | $inputText("","","i3GEOinseretxtoffsetx_i","",2,"0") + |
219 | ' y ' + | 219 | ' y ' + |
@@ -221,87 +221,87 @@ i3GEOF.inseretxt = { | @@ -221,87 +221,87 @@ i3GEOF.inseretxt = { | ||
221 | ' </td>' + | 221 | ' </td>' + |
222 | ' </tr>' + | 222 | ' </tr>' + |
223 | ' <tr><td> </td><td></td></tr>' + | 223 | ' <tr><td> </td><td></td></tr>' + |
224 | - ' <tr><td>Cor do texto:</td><td>'+ | 224 | + ' <tr><td>'+$trad(16,i3GEOF.inseretxt.dicionario)+':</td><td>'+ |
225 | $inputText("","","i3GEOinseretxtfrente_i","",11,"0 0 0") + | 225 | $inputText("","","i3GEOinseretxtfrente_i","",11,"0 0 0") + |
226 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtfrente_i\')" /></td></tr>' + | 226 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtfrente_i\')" /></td></tr>' + |
227 | ' <tr><td> </td><td></td></tr>' + | 227 | ' <tr><td> </td><td></td></tr>' + |
228 | - ' <tr><td>Cor do conector:</td><td>'+ | 228 | + ' <tr><td>'+$trad(17,i3GEOF.inseretxt.dicionario)+':</td><td>'+ |
229 | $inputText("","","i3GEOinseretxtfrente_c","",11,"0 0 0") + | 229 | $inputText("","","i3GEOinseretxtfrente_c","",11,"0 0 0") + |
230 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtfrente_c\')" /></td></tr>' + | 230 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtfrente_c\')" /></td></tr>' + |
231 | ' <tr><td> </td><td></td></tr>' + | 231 | ' <tr><td> </td><td></td></tr>' + |
232 | - ' <tr><td>Cor da máscara de um pixel de entorno:</td><td>' + | 232 | + ' <tr><td>'+$trad(18,i3GEOF.inseretxt.dicionario)+':</td><td>' + |
233 | $inputText("","","i3GEOinseretxtmascara_i","",11,"") + | 233 | $inputText("","","i3GEOinseretxtmascara_i","",11,"") + |
234 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtmascara_i\')" /></td></tr>' + | 234 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtmascara_i\')" /></td></tr>' + |
235 | ' <tr><td> </td><td></td></tr>' + | 235 | ' <tr><td> </td><td></td></tr>' + |
236 | ' <tr>' + | 236 | ' <tr>' + |
237 | - ' <td>Posicionamento:</td>' + | 237 | + ' <td>'+$trad(19,i3GEOF.inseretxt.dicionario)+':</td>' + |
238 | ' <td>' + | 238 | ' <td>' + |
239 | ' <select id=i3GEOinseretxtposition_i >' + | 239 | ' <select id=i3GEOinseretxtposition_i >' + |
240 | - ' <option value="MS_AUTO" >automático</option>' + | ||
241 | - ' <option value="MS_UL" >superior esquerdo</option>' + | ||
242 | - ' <option value="MS_UC" >superior centro</option>' + | ||
243 | - ' <option value="MS_UR" selected >superior direito</option>' + | ||
244 | - ' <option value="MS_CL" >centro esquerdo</option>' + | ||
245 | - ' <option value="MS_CC" >centro</option>' + | ||
246 | - ' <option value="MS_CR" >centro direito</option>' + | ||
247 | - ' <option value="MS_LL" >inferior esquerdo</option>' + | ||
248 | - ' <option value="MS_LC" >inferior centro</option>' + | ||
249 | - ' <option value="MS_LR" >inferior direito</option>' + | 240 | + ' <option value="MS_AUTO" >'+$trad(20,i3GEOF.inseretxt.dicionario)+'</option>' + |
241 | + ' <option value="MS_UL" >'+$trad(21,i3GEOF.inseretxt.dicionario)+'</option>' + | ||
242 | + ' <option value="MS_UC" >'+$trad(22,i3GEOF.inseretxt.dicionario)+'</option>' + | ||
243 | + ' <option value="MS_UR" selected >'+$trad(23,i3GEOF.inseretxt.dicionario)+'</option>' + | ||
244 | + ' <option value="MS_CL" >'+$trad(24,i3GEOF.inseretxt.dicionario)+'</option>' + | ||
245 | + ' <option value="MS_CC" >'+$trad(25,i3GEOF.inseretxt.dicionario)+'</option>' + | ||
246 | + ' <option value="MS_CR" >'+$trad(26,i3GEOF.inseretxt.dicionario)+'</option>' + | ||
247 | + ' <option value="MS_LL" >'+$trad(27,i3GEOF.inseretxt.dicionario)+'</option>' + | ||
248 | + ' <option value="MS_LC" >'+$trad(28,i3GEOF.inseretxt.dicionario)+'</option>' + | ||
249 | + ' <option value="MS_LR" >'+$trad(29,i3GEOF.inseretxt.dicionario)+'</option>' + | ||
250 | ' </select>' + | 250 | ' </select>' + |
251 | ' </td>' + | 251 | ' </td>' + |
252 | ' </tr>' + | 252 | ' </tr>' + |
253 | ' <tr><td> </td><td></td></tr>' + | 253 | ' <tr><td> </td><td></td></tr>' + |
254 | - ' <tr><td>Cor do fundo:</td><td>' + | 254 | + ' <tr><td>'+$trad(30,i3GEOF.inseretxt.dicionario)+':</td><td>' + |
255 | $inputText("","","i3GEOinseretxtfundoc_i","",9,"") + | 255 | $inputText("","","i3GEOinseretxtfundoc_i","",9,"") + |
256 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtfundoc_i\')" /></td></tr>' + | 256 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtfundoc_i\')" /></td></tr>' + |
257 | ' <tr><td> </td><td></td></tr>' + | 257 | ' <tr><td> </td><td></td></tr>' + |
258 | - ' <tr><td>Cor da sombra do fundo:</td><td>'+ | 258 | + ' <tr><td>'+$trad(31,i3GEOF.inseretxt.dicionario)+':</td><td>'+ |
259 | $inputText("","","i3GEOinseretxtsombra_i","",9,"") + | 259 | $inputText("","","i3GEOinseretxtsombra_i","",9,"") + |
260 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtsombra_i\')" /></td></tr>' + | 260 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtsombra_i\')" /></td></tr>' + |
261 | ' <tr><td> </td><td></td></tr>' + | 261 | ' <tr><td> </td><td></td></tr>' + |
262 | - ' <tr><td>Deslocamento da sombra do fundo:</td><td>x ' + | 262 | + ' <tr><td>'+$trad(32,i3GEOF.inseretxt.dicionario)+':</td><td>x ' + |
263 | $inputText("","","i3GEOinseretxtsombrax_i","",1,"1") + | 263 | $inputText("","","i3GEOinseretxtsombrax_i","",1,"1") + |
264 | ' y' + | 264 | ' y' + |
265 | $inputText("","","i3GEOinseretxtsombray_i","",1,"1") + | 265 | $inputText("","","i3GEOinseretxtsombray_i","",1,"1") + |
266 | ' </td></tr>' + | 266 | ' </td></tr>' + |
267 | ' <tr><td> </td><td></td></tr>' + | 267 | ' <tr><td> </td><td></td></tr>' + |
268 | - ' <tr><td>Cor do texto de fundo (duplicado)):</td><td>' + | 268 | + ' <tr><td>'+$trad(33,i3GEOF.inseretxt.dicionario)+':</td><td>' + |
269 | $inputText("","","i3GEOinseretxtfrentes_i","",9,"") + | 269 | $inputText("","","i3GEOinseretxtfrentes_i","",9,"") + |
270 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtfrentes_i\')" /></td></tr>' + | 270 | ' <img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.inseretxt.corj(\'i3GEOinseretxtfrentes_i\')" /></td></tr>' + |
271 | ' <tr><td> </td><td></td></tr>' + | 271 | ' <tr><td> </td><td></td></tr>' + |
272 | - ' <tr><td>Deslocamento do texto de fundo (duplicado):</td><td>x '+ | 272 | + ' <tr><td>'+$trad(34,i3GEOF.inseretxt.dicionario)+':</td><td>x '+ |
273 | $inputText("","","i3GEOinseretxtfrentex_i","",1,"1") + | 273 | $inputText("","","i3GEOinseretxtfrentex_i","",1,"1") + |
274 | ' y '+ | 274 | ' y '+ |
275 | $inputText("","","i3GEOinseretxtfrentey_i","",1,"1") + | 275 | $inputText("","","i3GEOinseretxtfrentey_i","",1,"1") + |
276 | ' </td></tr>' + | 276 | ' </td></tr>' + |
277 | ' <tr><td> </td><td></td></tr>' + | 277 | ' <tr><td> </td><td></td></tr>' + |
278 | - ' <tr><td>Força colisões entre textos?:</td>' + | 278 | + ' <tr><td>'+$trad(35,i3GEOF.inseretxt.dicionario)+':</td>' + |
279 | ' <td>' + | 279 | ' <td>' + |
280 | ' <select id=i3GEOinseretxtforce_i >' + | 280 | ' <select id=i3GEOinseretxtforce_i >' + |
281 | - ' <option value="0" >não</option>' + | ||
282 | - ' <option value="1" >sim</option>' + | 281 | + ' <option value="0" >'+$trad('x15')+'</option>' + |
282 | + ' <option value="1" >'+$trad('x14')+'</option>' + | ||
283 | ' </select>' + | 283 | ' </select>' + |
284 | ' </td>' + | 284 | ' </td>' + |
285 | ' </tr>' + | 285 | ' </tr>' + |
286 | ' <tr><td> </td><td></td></tr>' + | 286 | ' <tr><td> </td><td></td></tr>' + |
287 | - ' <tr><td>Distância mínima entre textos duplicados (em pixel):</td><td>' + | 287 | + ' <tr><td>'+$trad(36,i3GEOF.inseretxt.dicionario)+':</td><td>' + |
288 | $inputText("","","i3GEOinseretxtmindistance_i","",4,"auto") + | 288 | $inputText("","","i3GEOinseretxtmindistance_i","",4,"auto") + |
289 | ' </td></tr>' + | 289 | ' </td></tr>' + |
290 | ' <tr><td> </td><td></td></tr>' + | 290 | ' <tr><td> </td><td></td></tr>' + |
291 | - ' <tr><td>Tamanho mínimo do elemento cartográfico(em pixel):</td><td>' + | 291 | + ' <tr><td>'+$trad(37,i3GEOF.inseretxt.dicionario)+':</td><td>' + |
292 | $inputText("","","i3GEOinseretxtminfeaturesize_i","",4,"auto") + | 292 | $inputText("","","i3GEOinseretxtminfeaturesize_i","",4,"auto") + |
293 | ' </td></tr>' + | 293 | ' </td></tr>' + |
294 | ' <tr><td> </td><td></td></tr>' + | 294 | ' <tr><td> </td><td></td></tr>' + |
295 | - ' <tr><td>O texto pode ultrapassar o mapa?:</td>' + | 295 | + ' <tr><td>'+$trad(38,i3GEOF.inseretxt.dicionario)+':</td>' + |
296 | ' <td>' + | 296 | ' <td>' + |
297 | ' <select id=i3GEOinseretxtpartials_i >' + | 297 | ' <select id=i3GEOinseretxtpartials_i >' + |
298 | - ' <option value="1" >sim</option>' + | ||
299 | - ' <option value="0" >não</option>' + | 298 | + ' <option value="1" >'+$trad('x14')+'</option>' + |
299 | + ' <option value="0" >'+$trad('x15')+'</option>' + | ||
300 | ' </select>' + | 300 | ' </select>' + |
301 | ' </td>' + | 301 | ' </td>' + |
302 | ' </tr>' + | 302 | ' </tr>' + |
303 | ' <tr><td> </td><td></td></tr>' + | 303 | ' <tr><td> </td><td></td></tr>' + |
304 | - ' <tr><td>Caractere usado para indicar uma quebra de texto:</td><td>' + | 304 | + ' <tr><td>'+$trad(39,i3GEOF.inseretxt.dicionario)+':</td><td>' + |
305 | $inputText("","","i3GEOinseretxtwrap_i","",5,"") + | 305 | $inputText("","","i3GEOinseretxtwrap_i","",5,"") + |
306 | ' </td></tr>' + | 306 | ' </td></tr>' + |
307 | ' </table>' + | 307 | ' </table>' + |
@@ -402,7 +402,7 @@ i3GEOF.inseretxt = { | @@ -402,7 +402,7 @@ i3GEOF.inseretxt = { | ||
402 | if(i3GEOF.inseretxt.aguarde.visibility === "visible") | 402 | if(i3GEOF.inseretxt.aguarde.visibility === "visible") |
403 | {return;} | 403 | {return;} |
404 | if($i("i3GEOinseretxtguia3obj").style.display === "block"){ | 404 | if($i("i3GEOinseretxtguia3obj").style.display === "block"){ |
405 | - i3GEO.janela.tempoMsg("Ative a guia 1 ou 2 para definir o texto"); | 405 | + i3GEO.janela.tempoMsg($trad(40,i3GEOF.inseretxt.dicionario)); |
406 | return; | 406 | return; |
407 | } | 407 | } |
408 | i3GEOF.inseretxt.aguarde.visibility = "visible"; | 408 | i3GEOF.inseretxt.aguarde.visibility = "visible"; |
@@ -416,7 +416,7 @@ i3GEOF.inseretxt = { | @@ -416,7 +416,7 @@ i3GEOF.inseretxt = { | ||
416 | else{ | 416 | else{ |
417 | temp = function(retorno){ | 417 | temp = function(retorno){ |
418 | if(retorno.data[0] == " "){ | 418 | if(retorno.data[0] == " "){ |
419 | - i3GEO.janela.tempoMsg("Nada encontrado."); | 419 | + i3GEO.janela.tempoMsg($trad(41,i3GEOF.inseretxt.dicionario)); |
420 | i3GEOF.inseretxt.aguarde.visibility = "hidden"; | 420 | i3GEOF.inseretxt.aguarde.visibility = "hidden"; |
421 | return; | 421 | return; |
422 | } | 422 | } |
@@ -446,7 +446,7 @@ i3GEOF.inseretxt = { | @@ -446,7 +446,7 @@ i3GEOF.inseretxt = { | ||
446 | i3GEOF.inseretxt.contaPontos = 1; | 446 | i3GEOF.inseretxt.contaPontos = 1; |
447 | i3GEOF.inseretxt.pontoi = objposicaocursor.ddx+" "+objposicaocursor.ddy; | 447 | i3GEOF.inseretxt.pontoi = objposicaocursor.ddx+" "+objposicaocursor.ddy; |
448 | i3GEOF.inseretxt.aguarde.visibility = "hidden"; | 448 | i3GEOF.inseretxt.aguarde.visibility = "hidden"; |
449 | - i3GEO.janela.tempoMsg("Clique no fim do conector"); | 449 | + i3GEO.janela.tempoMsg($trad(42,i3GEOF.inseretxt.dicionario)); |
450 | return; | 450 | return; |
451 | } | 451 | } |
452 | if(i3GEOF.inseretxt.contaPontos == 1){ | 452 | if(i3GEOF.inseretxt.contaPontos == 1){ |
@@ -534,4 +534,4 @@ i3GEOF.inseretxt = { | @@ -534,4 +534,4 @@ i3GEOF.inseretxt = { | ||
534 | cp.set_response_type("JSON"); | 534 | cp.set_response_type("JSON"); |
535 | cp.call(p,"inserefeature",monta); | 535 | cp.call(p,"inserefeature",monta); |
536 | } | 536 | } |
537 | -}; | 537 | +}; |
538 | \ No newline at end of file | 538 | \ No newline at end of file |
ferramentas/inserexy2/dicionario.js
1 | //+$trad(1,i3GEOF.inserexy.dicionario)+ | 1 | //+$trad(1,i3GEOF.inserexy.dicionario)+ |
2 | i3GEOF.inserexy.dicionario = { | 2 | i3GEOF.inserexy.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:"Tema", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"Digitar", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"Colar", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Converter", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"Coordenadas", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"Projeção das coordenadas inseridas", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Escolha o tema editável para inserir os pontos", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Criar um tema editável", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Gráfico de perfil", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"Se vc quiser, escolha um item existente no tema e o valor que será incluído quando o ponto for adicionado. Vc pode mudar o valor quando desejar", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Após selecionar ou criar um tema, clique no mapa para inserir os pontos ou use as opções das guias acima.", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"Para inserir pontos, é necessário a existência de um tema editável disponível no mapa.", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Utilize o botão <i>criar um novo</i> se não existir nenhum tema desse tipo no mapa.", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }], | ||
81 | + 14: [{ | ||
82 | + pt:"Direção", | ||
83 | + en:"", | ||
84 | + es:"", | ||
85 | + it:"" | ||
86 | + }], | ||
87 | + 15: [{ | ||
88 | + pt:"Distância em Km", | ||
89 | + en:"", | ||
90 | + es:"", | ||
91 | + it:"" | ||
92 | + }], | ||
93 | + 16: [{ | ||
94 | + pt:"Insere", | ||
95 | + en:"", | ||
96 | + es:"", | ||
97 | + it:"" | ||
98 | + }], | ||
99 | + 17: [{ | ||
100 | + pt:"O próximo ponto será incluído em relação ao último ponto existente no tema, considerando-se apenas os pontos visíveis na extensão do mapa atual.", | ||
101 | + en:"", | ||
102 | + es:"", | ||
103 | + it:"" | ||
104 | + }], | ||
105 | + 18: [{ | ||
106 | + pt:"Digite o ângulo em relação ao Norte e a distância em Km.", | ||
107 | + en:"", | ||
108 | + es:"", | ||
109 | + it:"" | ||
110 | + }], | ||
111 | + 19: [{ | ||
112 | + pt:"Tipo de entrada", | ||
113 | + en:"", | ||
114 | + es:"", | ||
115 | + it:"" | ||
116 | + }], | ||
117 | + 20: [{ | ||
118 | + pt:"Máscara", | ||
119 | + en:"", | ||
120 | + es:"", | ||
121 | + it:"" | ||
122 | + }], | ||
123 | + 21: [{ | ||
124 | + pt:"Campo único", | ||
125 | + en:"", | ||
126 | + es:"", | ||
127 | + it:"" | ||
128 | + }], | ||
129 | + 22: [{ | ||
130 | + pt:"Digite as coordenadas do ponto desejado e clique em <i>Insere</i>.", | ||
131 | + en:"", | ||
132 | + es:"", | ||
133 | + it:"" | ||
134 | + }], | ||
135 | + 23: [{ | ||
136 | + pt:"A coordenada X corresponde a longitude (leste-oeste) e a coordenada Y corresponde a latitude (norte-sul).", | ||
137 | + en:"", | ||
138 | + es:"", | ||
139 | + it:"" | ||
140 | + }], | ||
141 | + 24: [{ | ||
142 | + pt:"Os valores devem sempre estar no formato Grau, Minuto e Segundo, sendo que no caso da opção de campo único, os valores devem estar separados por espaços. Caso as coordenadas estejam em décimos de grau, utilize a guia <i>Colar</i>.'", | ||
143 | + en:"", | ||
144 | + es:"", | ||
145 | + it:"" | ||
146 | + }], | ||
147 | + 25: [{ | ||
148 | + pt:"O valor correspondente ao Grau deve receber o sinal de negativo(-) nos casos de longitude oeste e nos casos de latitude Sul.", | ||
149 | + en:"", | ||
150 | + es:"", | ||
151 | + it:"" | ||
152 | + }], | ||
153 | + 26: [{ | ||
154 | + pt:"Cole ou digite a lista de coordenadas", | ||
155 | + en:"", | ||
156 | + es:"", | ||
157 | + it:"" | ||
158 | + }], | ||
159 | + 27: [{ | ||
160 | + pt:"Cole os valores de X e Y, em décimos de grau, com sinal de negativo para oeste e sul, exemplo:", | ||
161 | + en:"", | ||
162 | + es:"", | ||
163 | + it:"" | ||
164 | + }], | ||
165 | + 28: [{ | ||
166 | + pt:"Lista wkt", | ||
167 | + en:"", | ||
168 | + es:"", | ||
169 | + it:"" | ||
170 | + }], | ||
171 | + 29: [{ | ||
172 | + pt:"Cria tema poligonal", | ||
173 | + en:"", | ||
174 | + es:"", | ||
175 | + it:"" | ||
176 | + }], | ||
177 | + 30: [{ | ||
178 | + pt:"Cria tema linear", | ||
179 | + en:"", | ||
180 | + es:"", | ||
181 | + it:"" | ||
182 | + }], | ||
183 | + 31: [{ | ||
184 | + pt:"Título do novo tema", | ||
185 | + en:"", | ||
186 | + es:"", | ||
187 | + it:"" | ||
188 | + }], | ||
189 | + 32: [{ | ||
190 | + pt:"Pontos inseridos ", | ||
191 | + en:"", | ||
192 | + es:"", | ||
193 | + it:"" | ||
194 | + }], | ||
195 | + 33: [{ | ||
196 | + pt:"Nenhum tema definido para editar", | ||
197 | + en:"", | ||
198 | + es:"", | ||
199 | + it:"" | ||
200 | + }], | ||
201 | + 34: [{ | ||
202 | + pt:"Nenhum ponto encontrado", | ||
203 | + en:"", | ||
204 | + es:"", | ||
205 | + it:"" | ||
206 | + }] | ||
63 | }; | 207 | }; |
64 | \ No newline at end of file | 208 | \ No newline at end of file |
ferramentas/inserexy2/index.js
@@ -175,64 +175,64 @@ i3GEOF.inserexy = { | @@ -175,64 +175,64 @@ i3GEOF.inserexy = { | ||
175 | var ins = '' + | 175 | var ins = '' + |
176 | '<div id=i3GEOinserexyguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">' + | 176 | '<div id=i3GEOinserexyguiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">' + |
177 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">' + | 177 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">' + |
178 | - ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia1" style="text-align:center;left:0px;" >Tema</div></em></a></li>' + | 178 | + ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia1" style="text-align:center;left:0px;" >'+$trad(1,i3GEOF.inserexy.dicionario)+'</div></em></a></li>' + |
179 | ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia2" style="text-align:center;left:0px;" >Direc/dist</div></em></a></li>' + | 179 | ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia2" style="text-align:center;left:0px;" >Direc/dist</div></em></a></li>' + |
180 | - ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia3" style="text-align:center;left:0px;" >Digitar</div></em></a></li>' + | ||
181 | - ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia4" style="text-align:center;left:0px;" >Colar</div></em></a></li>' + | ||
182 | - ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia5" style="text-align:center;left:0px;" >Converter</div></em></a></li>' + | ||
183 | - ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia6" style="text-align:center;left:0px;" >Coordenadas</div></em></a></li>' + | 180 | + ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia3" style="text-align:center;left:0px;" >'+$trad(2,i3GEOF.inserexy.dicionario)+'</div></em></a></li>' + |
181 | + ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia4" style="text-align:center;left:0px;" >'+$trad(3,i3GEOF.inserexy.dicionario)+'</div></em></a></li>' + | ||
182 | + ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia5" style="text-align:center;left:0px;" >'+$trad(4,i3GEOF.inserexy.dicionario)+'</div></em></a></li>' + | ||
183 | + ' <li><a href="#ancora"><em><div id="i3GEOinserexyguia6" style="text-align:center;left:0px;" >'+$trad(5,i3GEOF.inserexy.dicionario)+'</div></em></a></li>' + | ||
184 | ' </ul>' + | 184 | ' </ul>' + |
185 | '</div><br>' + | 185 | '</div><br>' + |
186 | '<div id=i3GEOinserexyprojecao style="text-align:left;left:0px;display:none">' + | 186 | '<div id=i3GEOinserexyprojecao style="text-align:left;left:0px;display:none">' + |
187 | - ' <p class=paragrafo >Projeção das coordenadas inseridas:</p>' + | 187 | + ' <p class=paragrafo >'+$trad(6,i3GEOF.inserexy.dicionario)+':</p>' + |
188 | ' <div id="i3GEOinserexylistaepsg" style="text-align:left;border:1px solid gray;width:300px;overflow:auto;height:60px;display:block;left:1px" >' + | 188 | ' <div id="i3GEOinserexylistaepsg" style="text-align:left;border:1px solid gray;width:300px;overflow:auto;height:60px;display:block;left:1px" >' + |
189 | ' </div>' + | 189 | ' </div>' + |
190 | '</div>' + | 190 | '</div>' + |
191 | '<div class=guiaobj id="i3GEOinserexyguia1obj" style="left:1px;display:none;top:10px">' + | 191 | '<div class=guiaobj id="i3GEOinserexyguia1obj" style="left:1px;display:none;top:10px">' + |
192 | - ' <p class=paragrafo >Escolha o tema editável para inserir os pontos:</p>' + | 192 | + ' <p class=paragrafo >'+$trad(7,i3GEOF.inserexy.dicionario)+':</p>' + |
193 | ' <div id=i3GEOinserexyshapefile style="left:0px;text-align:left;">' + | 193 | ' <div id=i3GEOinserexyshapefile style="left:0px;text-align:left;">' + |
194 | ' </div><br>' + | 194 | ' </div><br>' + |
195 | - ' <p class=paragrafo ><input id=i3GEOinserexybotaocriatema type="button" size=18 value="Criar um tema editável" />' + | ||
196 | - ' <input id=i3GEOinserexybotaoperfil type="button" size=18 value="Gráfico de perfil" /></p>' + | 195 | + ' <p class=paragrafo ><input id=i3GEOinserexybotaocriatema type="button" size=18 value="'+$trad(8,i3GEOF.inserexy.dicionario)+'" />' + |
196 | + ' <input id=i3GEOinserexybotaoperfil type="button" size=18 value="'+$trad(9,i3GEOF.inserexy.dicionario)+'" /></p>' + | ||
197 | 197 | ||
198 | ' <div id=i3GEOinserexyopcitens style=display:none;left:0px;text-align:left; >' + | 198 | ' <div id=i3GEOinserexyopcitens style=display:none;left:0px;text-align:left; >' + |
199 | - ' <p class=paragrafo >Se vc quiser, escolha um item existente no tema e o valor que será incluído quando o ponto for adicionado. Vc pode mudar o valor quando desejar:</p>' + | 199 | + ' <p class=paragrafo >'+$trad(10,i3GEOF.inserexy.dicionario)+':</p>' + |
200 | ' <div id=i3GEOinserexyshapefileitem style="left:0px;text-align:left;">' + | 200 | ' <div id=i3GEOinserexyshapefileitem style="left:0px;text-align:left;">' + |
201 | ' </div>' + | 201 | ' </div>' + |
202 | ' <p class=paragrafo >Valor: '+ | 202 | ' <p class=paragrafo >Valor: '+ |
203 | $inputText("","","i3GEOinserexyvalorItem","",20,"") + | 203 | $inputText("","","i3GEOinserexyvalorItem","",20,"") + |
204 | ' <br></div>' + | 204 | ' <br></div>' + |
205 | ' <div id=i3GEOinserexymen1 style="display:block;left:0px;">' + | 205 | ' <div id=i3GEOinserexymen1 style="display:block;left:0px;">' + |
206 | - ' <p class=paragrafo >Após selecionar ou criar um tema, clique no mapa para inserir os pontos ou use as opções das guias acima.</p>' + | ||
207 | - ' <p class=paragrafo >Para inserir pontos, é necessário a existência de um tema editável disponível no mapa.</p>' + | ||
208 | - ' <p class=paragrafo >Utilize o botão "criar um novo" se não existir nenhum tema desse tipo no mapa.</p>' + | 206 | + ' <p class=paragrafo >'+$trad(11,i3GEOF.inserexy.dicionario)+'</p>' + |
207 | + ' <p class=paragrafo >'+$trad(12,i3GEOF.inserexy.dicionario)+'</p>' + | ||
208 | + ' <p class=paragrafo >'+$trad(13,i3GEOF.inserexy.dicionario)+'</p>' + | ||
209 | ' </div>' + | 209 | ' </div>' + |
210 | '</div>' + | 210 | '</div>' + |
211 | 211 | ||
212 | '<div class=guiaobj id="i3GEOinserexyguia2obj" style="left:1px;display:none;">' + | 212 | '<div class=guiaobj id="i3GEOinserexyguia2obj" style="left:1px;display:none;">' + |
213 | - ' <p class=paragrafo >Direção:</p>' + | 213 | + ' <p class=paragrafo >'+$trad(14,i3GEOF.inserexy.dicionario)+':</p>' + |
214 | $inputText("","","i3GEOinserexyxgdd","grau",3,"00") + | 214 | $inputText("","","i3GEOinserexyxgdd","grau",3,"00") + |
215 | $inputText("","","i3GEOinserexyxmdd","minuto",3,"00") + | 215 | $inputText("","","i3GEOinserexyxmdd","minuto",3,"00") + |
216 | $inputText("","","i3GEOinserexyxsdd","segundo",3,"0.0") + | 216 | $inputText("","","i3GEOinserexyxsdd","segundo",3,"0.0") + |
217 | - ' <br><br><p class=paragrafo >Distância em Km:</p>' + | 217 | + ' <br><br><p class=paragrafo >'+$trad(15,i3GEOF.inserexy.dicionario)+':</p>' + |
218 | $inputText("","","i3GEOinserexydistdd","km",5,"0.0") + | 218 | $inputText("","","i3GEOinserexydistdd","km",5,"0.0") + |
219 | ' <div id=opcdd style="top:15px;left:0px">' + | 219 | ' <div id=opcdd style="top:15px;left:0px">' + |
220 | - ' <p class=paragrafo ><input id=i3GEOinserexybotaodd type="button" size=14 value="Insere" /></p>' + | 220 | + ' <p class=paragrafo ><input id=i3GEOinserexybotaodd type="button" size=14 value="'+$trad(16,i3GEOF.inserexy.dicionario)+'" /></p>' + |
221 | ' </div>' + | 221 | ' </div>' + |
222 | ' <div id=i3GEOinserexymendd style="position:relative;left:0px;top:20px">' + | 222 | ' <div id=i3GEOinserexymendd style="position:relative;left:0px;top:20px">' + |
223 | - ' <p class=paragrafo >O próximo ponto será incluído em relação ao último ponto existente no tema, considerando-se apenas os pontos visíveis na extensão do mapa atual.</p>' + | ||
224 | - ' <p class=paragrafo >Digite o ângulo em relação ao Norte e a distância em Km.</p>' + | 223 | + ' <p class=paragrafo >'+$trad(17,i3GEOF.inserexy.dicionario)+'</p>' + |
224 | + ' <p class=paragrafo >'+$trad(18,i3GEOF.inserexy.dicionario)+'</p>' + | ||
225 | ' </div>' + | 225 | ' </div>' + |
226 | '</div> '+ | 226 | '</div> '+ |
227 | '<div class=guiaobj id="i3GEOinserexyguia3obj" style="left:1px;display:none;">' + | 227 | '<div class=guiaobj id="i3GEOinserexyguia3obj" style="left:1px;display:none;">' + |
228 | ' <div id=i3GEOinserexytipodig style="text-align:left;left:0px">' + | 228 | ' <div id=i3GEOinserexytipodig style="text-align:left;left:0px">' + |
229 | - ' <p class=paragrafo >Tipo de entrada:</p>' + | ||
230 | - ' <table summary="Tipo de entrada" class=lista6 >' + | 229 | + ' <p class=paragrafo >'+$trad(19,i3GEOF.inserexy.dicionario)+':</p>' + |
230 | + ' <table class=lista6 >' + | ||
231 | ' <tr>' + | 231 | ' <tr>' + |
232 | ' <td><input style="border:0px solid white;cursor:pointer" title="DMS" onclick="i3GEOF.inserexy.escolhedig(\'i3GEOinserexydigmascara\')" name=i3GEOinserexytipodig type=radio id="i3GEOinserexytipodigmascara" checked /></td>' + | 232 | ' <td><input style="border:0px solid white;cursor:pointer" title="DMS" onclick="i3GEOF.inserexy.escolhedig(\'i3GEOinserexydigmascara\')" name=i3GEOinserexytipodig type=radio id="i3GEOinserexytipodigmascara" checked /></td>' + |
233 | - ' <td>Máscara</td>' + | 233 | + ' <td>'+$trad(20,i3GEOF.inserexy.dicionario)+'</td>' + |
234 | ' <td><input style="border:0px solid white;cursor:pointer" title="DMS" onclick="i3GEOF.inserexy.escolhedig(\'i3GEOinserexydigcampo\')" name=i3GEOinserexytipodig type=radio id="i3GEOinserexytipodigcampo" /></td>' + | 234 | ' <td><input style="border:0px solid white;cursor:pointer" title="DMS" onclick="i3GEOF.inserexy.escolhedig(\'i3GEOinserexydigcampo\')" name=i3GEOinserexytipodig type=radio id="i3GEOinserexytipodigcampo" /></td>' + |
235 | - ' <td>Campo único</td>' + | 235 | + ' <td>'+$trad(21,i3GEOF.inserexy.dicionario)+'</td>' + |
236 | ' </tr>' + | 236 | ' </tr>' + |
237 | ' </table><br>' + | 237 | ' </table><br>' + |
238 | ' </div>' + | 238 | ' </div>' + |
@@ -252,26 +252,26 @@ i3GEOF.inserexy = { | @@ -252,26 +252,26 @@ i3GEOF.inserexy = { | ||
252 | ' </p><p class=paragrafo >Y: '+ | 252 | ' </p><p class=paragrafo >Y: '+ |
253 | $inputText("","","i3GEOinserexylatitude","dms",16,"") + | 253 | $inputText("","","i3GEOinserexylatitude","dms",16,"") + |
254 | ' </p></div>' + | 254 | ' </p></div>' + |
255 | - ' <br><p class=paragrafo ><input id=i3GEOinserexybotao2 type="button" size=14 value="Insere" />' + | 255 | + ' <br><p class=paragrafo ><input id=i3GEOinserexybotao2 type="button" size=14 value="'+$trad(16,i3GEOF.inserexy.dicionario)+'" />' + |
256 | ' <div id=i3GEOinserexymen2 style="left:0px;">' + | 256 | ' <div id=i3GEOinserexymen2 style="left:0px;">' + |
257 | - ' <p class=paragrafo >Digite as coordenadas do ponto desejado e clique em "Insere".' + | ||
258 | - ' <p class=paragrafo >A coordenada X corresponde a longitude (leste-oeste) e a coordenada Y corresponde a latitude (norte-sul).' + | ||
259 | - ' <p class=paragrafo >Os valores devem sempre estar no formato Grau, Minuto e Segundo, sendo que no caso da opção de campo único, os valores devem estar separados por espaços. Caso as coordenadas estejam em décimos de grau, utilize a guia "Colar".' + | ||
260 | - ' <p class=paragrafo >O valor correspondente ao Grau deve receber o sinal de negativo("-") nos casos de longitude oeste (todo o Brasil está nesse caso) e nos casos de latitude Sul.<br><br><br>' + | 257 | + ' <p class=paragrafo >'+$trad(22,i3GEOF.inserexy.dicionario)+ |
258 | + ' <p class=paragrafo >'+$trad(23,i3GEOF.inserexy.dicionario)+ | ||
259 | + ' <p class=paragrafo >'+$trad(24,i3GEOF.inserexy.dicionario)+ | ||
260 | + ' <p class=paragrafo >'+$trad(25,i3GEOF.inserexy.dicionario)+'<br><br><br>' + | ||
261 | ' </div>' + | 261 | ' </div>' + |
262 | '</div>' + | 262 | '</div>' + |
263 | '<div class=guiaobj id="i3GEOinserexyguia4obj" style="left:1px;display:none;">' + | 263 | '<div class=guiaobj id="i3GEOinserexyguia4obj" style="left:1px;display:none;">' + |
264 | - ' <br><p class=paragrafo >Cole ou digite a lista de coordenadas:</p>' + | 264 | + ' <br><p class=paragrafo >'+$trad(26,i3GEOF.inserexy.dicionario)+':</p>' + |
265 | $inputText("","","i3GEOinserexycolar","pares",50,"") + | 265 | $inputText("","","i3GEOinserexycolar","pares",50,"") + |
266 | - ' <br><br><p class=paragrafo ><input id=i3GEOinserexybotao6 type="button" size=14 value="Insere" /></p>' + | 266 | + ' <br><br><p class=paragrafo ><input id=i3GEOinserexybotao6 type="button" size=14 value="'+$trad(16,i3GEOF.inserexy.dicionario)+'" /></p>' + |
267 | ' <div id=i3GEOinserexymen3 style="display:block;left:0px;">' + | 267 | ' <div id=i3GEOinserexymen3 style="display:block;left:0px;">' + |
268 | - ' <p class=paragrafo >Cole os valores de X e Y, em décimos de grau, com sinal de negativo para oeste e sul, exemplo:<br> -54.23 -12.5 -50 -5.33<br>' + | 268 | + ' <p class=paragrafo >'+$trad(27,i3GEOF.inserexy.dicionario)+'<br> -54.23 -12.5 -50 -5.33<br>' + |
269 | ' </div>' + | 269 | ' </div>' + |
270 | '</div>' + | 270 | '</div>' + |
271 | '<div class=guiaobj id="i3GEOinserexyguia5obj" style="left:1px;display:none;">' + | 271 | '<div class=guiaobj id="i3GEOinserexyguia5obj" style="left:1px;display:none;">' + |
272 | - ' <p class=paragrafo ><input id=i3GEOinserexybotao3 type="button" size=25 value="Lista wkt" /></p>' + | ||
273 | - ' <p class=paragrafo ><input id=i3GEOinserexybotao4 type="button" size=25 value="Cria tema poligonal" /></p>' + | ||
274 | - ' <p class=paragrafo ><input id=i3GEOinserexybotao5 type="button" size=25 value="Cria tema linear" /></p>' + | 272 | + ' <p class=paragrafo ><input id=i3GEOinserexybotao3 type="button" size=25 value="'+$trad(28,i3GEOF.inserexy.dicionario)+'" /></p>' + |
273 | + ' <p class=paragrafo ><input id=i3GEOinserexybotao4 type="button" size=25 value="'+$trad(29,i3GEOF.inserexy.dicionario)+'" /></p>' + | ||
274 | + ' <p class=paragrafo ><input id=i3GEOinserexybotao5 type="button" size=25 value="'+$trad(30,i3GEOF.inserexy.dicionario)+'" /></p>' + | ||
275 | ' <div id=i3GEOinserexywktres style="display:block;left:0px">' + | 275 | ' <div id=i3GEOinserexywktres style="display:block;left:0px">' + |
276 | ' </div>'+ | 276 | ' </div>'+ |
277 | '</div>' + | 277 | '</div>' + |
@@ -408,7 +408,7 @@ i3GEOF.inserexy = { | @@ -408,7 +408,7 @@ i3GEOF.inserexy = { | ||
408 | i3GEOF.inserexy.aguarde.visibility = "hidden"; | 408 | i3GEOF.inserexy.aguarde.visibility = "hidden"; |
409 | } | 409 | } |
410 | }; | 410 | }; |
411 | - i3GEO.janela.prompt("Título do novo tema",funcaoOK,"Pontos inseridos "+parseInt((Math.random() * 100),10)); | 411 | + i3GEO.janela.prompt($trad(31,i3GEOF.inserexy.dicionario),funcaoOK,$trad(32,i3GEOF.inserexy.dicionario)+parseInt((Math.random() * 100),10)); |
412 | }, | 412 | }, |
413 | /* | 413 | /* |
414 | Function: listaPontos | 414 | Function: listaPontos |
@@ -429,7 +429,7 @@ i3GEOF.inserexy = { | @@ -429,7 +429,7 @@ i3GEOF.inserexy = { | ||
429 | $i("i3GEOinserexyguia6obj").innerHTML = ins.join(""); | 429 | $i("i3GEOinserexyguia6obj").innerHTML = ins.join(""); |
430 | } | 430 | } |
431 | else | 431 | else |
432 | - {$i("i3GEOinserexyguia6obj").innerHTML = "<p style=color:red >Ocorreu um erro<br>";} | 432 | + {$i("i3GEOinserexyguia6obj").innerHTML = "<p style=color:red >Erro<br>";} |
433 | }; | 433 | }; |
434 | cp = new cpaint(); | 434 | cp = new cpaint(); |
435 | cp.set_response_type("JSON"); | 435 | cp.set_response_type("JSON"); |
@@ -616,7 +616,7 @@ i3GEOF.inserexy = { | @@ -616,7 +616,7 @@ i3GEOF.inserexy = { | ||
616 | valoritem = $i("i3GEOinserexyvalorItem").value; | 616 | valoritem = $i("i3GEOinserexyvalorItem").value; |
617 | } | 617 | } |
618 | if (tema === "") | 618 | if (tema === "") |
619 | - {i3GEO.janela.tempoMsg("Nenhum tema definido para editar");} | 619 | + {i3GEO.janela.tempoMsg($trad(33,i3GEOF.inserexy.dicionario));} |
620 | else{ | 620 | else{ |
621 | temp = function(retorno){ | 621 | temp = function(retorno){ |
622 | if(i3GEO.Interface.ATUAL === "padrao") | 622 | if(i3GEO.Interface.ATUAL === "padrao") |
@@ -703,7 +703,7 @@ i3GEOF.inserexy = { | @@ -703,7 +703,7 @@ i3GEOF.inserexy = { | ||
703 | $i("i3GEOinserexywktres").innerHTML = "<p class=paragrafo >"+ins+"</p>"; | 703 | $i("i3GEOinserexywktres").innerHTML = "<p class=paragrafo >"+ins+"</p>"; |
704 | } | 704 | } |
705 | else | 705 | else |
706 | - {$i("i3GEOinserexywktres").innerHTML = "<p style=color:red >Ocorreu um erro<br>";} | 706 | + {$i("i3GEOinserexywktres").innerHTML = "<p style=color:red >Erro<br>";} |
707 | }; | 707 | }; |
708 | for (i=0;i<n;i++) | 708 | for (i=0;i<n;i++) |
709 | {xy.push(divs[i].innerHTML);} | 709 | {xy.push(divs[i].innerHTML);} |
@@ -733,7 +733,7 @@ i3GEOF.inserexy = { | @@ -733,7 +733,7 @@ i3GEOF.inserexy = { | ||
733 | y.push(xy[1]); | 733 | y.push(xy[1]); |
734 | } | 734 | } |
735 | if(x.length == 0) | 735 | if(x.length == 0) |
736 | - {i3GEO.janela.tempoMsg("Nenhum ponto encontrado");return;} | 736 | + {i3GEO.janela.tempoMsg($trad(34,i3GEOF.inserexy.dicionario));return;} |
737 | pontosdistobj = { | 737 | pontosdistobj = { |
738 | xpt: x, | 738 | xpt: x, |
739 | ypt: y | 739 | ypt: y |
@@ -743,5 +743,4 @@ i3GEOF.inserexy = { | @@ -743,5 +743,4 @@ i3GEOF.inserexy = { | ||
743 | } | 743 | } |
744 | catch(e){i3GEO.janela.tempoMsg("Erro: "+e);} | 744 | catch(e){i3GEO.janela.tempoMsg("Erro: "+e);} |
745 | } | 745 | } |
746 | -}; | ||
747 | - | 746 | +}; |
748 | \ No newline at end of file | 747 | \ No newline at end of file |
ferramentas/legenda/dicionario.js
1 | //+$trad(1,i3GEOF.legenda.dicionario)+ | 1 | //+$trad(1,i3GEOF.legenda.dicionario)+ |
2 | i3GEOF.legenda.dicionario = { | 2 | i3GEOF.legenda.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:"Para acessar o editor, clique em um símbolo na guia <i>Legenda</i>", | ||
5 | + en:"", | ||
6 | + es:"", | ||
7 | + it:"" | ||
8 | + }], | ||
9 | + 2: [{ | ||
10 | + pt:"Propriedades", | ||
11 | + en:"", | ||
12 | + es:"", | ||
13 | + it:"" | ||
14 | + }], | ||
15 | + 3: [{ | ||
16 | + pt:"Legenda", | ||
17 | + en:"", | ||
18 | + es:"", | ||
19 | + it:"" | ||
20 | + }], | ||
21 | + 4: [{ | ||
22 | + pt:"Classes", | ||
23 | + en:"", | ||
24 | + es:"", | ||
25 | + it:"" | ||
26 | + }], | ||
27 | + 5: [{ | ||
28 | + pt:"Editor", | ||
29 | + en:"", | ||
30 | + es:"", | ||
31 | + it:"" | ||
32 | + }], | ||
33 | + 6: [{ | ||
34 | + pt:"Gráficos", | ||
35 | + en:"", | ||
36 | + es:"", | ||
37 | + it:"" | ||
38 | + }], | ||
39 | + 7: [{ | ||
40 | + pt:"Importar/exportar SLD", | ||
41 | + en:"", | ||
42 | + es:"", | ||
43 | + it:"" | ||
44 | + }], | ||
45 | + 8: [{ | ||
46 | + pt:"Mostra as classes desse tema na legenda do mapa", | ||
47 | + en:"", | ||
48 | + es:"", | ||
49 | + it:"" | ||
50 | + }], | ||
51 | + 9: [{ | ||
52 | + pt:"Inclui número de ocorrências", | ||
53 | + en:"", | ||
54 | + es:"", | ||
55 | + it:"" | ||
56 | + }], | ||
57 | + 10: [{ | ||
58 | + pt:"incluir o número de ocorrências no nome de cada classe", | ||
59 | + en:"", | ||
60 | + es:"", | ||
61 | + it:"" | ||
62 | + }], | ||
63 | + 11: [{ | ||
64 | + pt:"Aplica opacidade variável", | ||
65 | + en:"", | ||
66 | + es:"", | ||
67 | + it:"" | ||
68 | + }], | ||
69 | + 12: [{ | ||
70 | + pt:"aplicar opacidade nas classes existente, variando de 10 até 100", | ||
71 | + en:"", | ||
72 | + es:"", | ||
73 | + it:"" | ||
74 | + }], | ||
75 | + 13: [{ | ||
76 | + pt:"Escolher paleta de cores", | ||
77 | + en:"", | ||
78 | + es:"", | ||
79 | + it:"" | ||
80 | + }], | ||
81 | + 14: [{ | ||
82 | + pt:"escolher e aplicar as variações de cores, entre dois extremos, nas classes existentes", | ||
83 | + en:"", | ||
84 | + es:"", | ||
85 | + it:"" | ||
86 | + }], | ||
87 | + 15: [{ | ||
88 | + pt:"Gerar cores", | ||
89 | + en:"", | ||
90 | + es:"", | ||
91 | + it:"" | ||
92 | + }], | ||
93 | + 16: [{ | ||
94 | + pt:"até", | ||
95 | + en:"", | ||
96 | + es:"", | ||
97 | + it:"" | ||
98 | + }], | ||
99 | + 17: [{ | ||
100 | + pt:"de", | ||
101 | + en:"", | ||
102 | + es:"", | ||
103 | + it:"" | ||
104 | + }], | ||
105 | + 18: [{ | ||
106 | + pt:"Aplicar", | ||
107 | + en:"", | ||
108 | + es:"", | ||
109 | + it:"" | ||
110 | + }], | ||
111 | + 19: [{ | ||
112 | + pt:"aplicar variações de cores, entre dois extremos, nas classes existentes", | ||
113 | + en:"", | ||
114 | + es:"", | ||
115 | + it:"" | ||
116 | + }], | ||
117 | + 20: [{ | ||
118 | + pt:"Aplicar alterações", | ||
119 | + en:"", | ||
120 | + es:"", | ||
121 | + it:"" | ||
122 | + }], | ||
123 | + 21: [{ | ||
124 | + pt:"Adicionar classe", | ||
125 | + en:"", | ||
126 | + es:"", | ||
127 | + it:"" | ||
128 | + }], | ||
129 | + 22: [{ | ||
130 | + pt:"adicionar uma nova classe na legenda", | ||
131 | + en:"", | ||
132 | + es:"", | ||
133 | + it:"" | ||
134 | + }], | ||
135 | + 23: [{ | ||
136 | + pt:"Clique no símbolo da classe para alterar", | ||
137 | + en:"", | ||
138 | + es:"", | ||
139 | + it:"" | ||
140 | + }], | ||
141 | + 24: [{ | ||
142 | + pt:"marque para considerar apenas os elementos visíveis na extensão geográfica atual, caso contrário, será considerada a extensão geográfica inicial do mapa", | ||
143 | + en:"", | ||
144 | + es:"", | ||
145 | + it:"" | ||
146 | + }], | ||
147 | + 25: [{ | ||
148 | + pt:"Ao gerar as classes, ignorar os valores (separe com vírgula)", | ||
149 | + en:"", | ||
150 | + es:"", | ||
151 | + it:"" | ||
152 | + }], | ||
153 | + 26: [{ | ||
154 | + pt:"Transforma a representação geométrica dos elementos do tema. Após alterar esse parâmetro, pode ser necessário modificar as características do símbolo.", | ||
155 | + en:"", | ||
156 | + es:"", | ||
157 | + it:"" | ||
158 | + }], | ||
159 | + 27: [{ | ||
160 | + pt:"nenhuma transformação", | ||
161 | + en:"", | ||
162 | + es:"", | ||
163 | + it:"" | ||
164 | + }], | ||
165 | + 28: [{ | ||
166 | + pt:"centróide", | ||
167 | + en:"", | ||
168 | + es:"", | ||
169 | + it:"" | ||
170 | + }], | ||
171 | + 29: [{ | ||
172 | + pt:"vértices", | ||
173 | + en:"", | ||
174 | + es:"", | ||
175 | + it:"" | ||
176 | + }], | ||
177 | + 30: [{ | ||
178 | + pt:"vértice inicial", | ||
179 | + en:"", | ||
180 | + es:"", | ||
181 | + it:"" | ||
182 | + }], | ||
183 | + 31: [{ | ||
184 | + pt:"vértice final", | ||
185 | + en:"", | ||
186 | + es:"", | ||
187 | + it:"" | ||
188 | + }], | ||
189 | + 32: [{ | ||
190 | + pt:"Altera geometria", | ||
191 | + en:"", | ||
192 | + es:"", | ||
193 | + it:"" | ||
194 | + }], | ||
195 | + 33: [{ | ||
196 | + pt:"Altera o tipo de representação do tema. Se for poligonal, passa para linear e vice-versa.", | ||
197 | + en:"", | ||
198 | + es:"", | ||
199 | + it:"" | ||
200 | + }], | ||
201 | + 34: [{ | ||
202 | + pt:"Altera tipo", | ||
203 | + en:"", | ||
204 | + es:"", | ||
205 | + it:"" | ||
206 | + }], | ||
207 | + 35: [{ | ||
208 | + pt:"Todos os elementos serão desenhados com um único símbolo", | ||
209 | + en:"", | ||
210 | + es:"", | ||
211 | + it:"" | ||
212 | + }], | ||
213 | + 36: [{ | ||
214 | + pt:"Símbolo único", | ||
215 | + en:"", | ||
216 | + es:"", | ||
217 | + it:"" | ||
218 | + }], | ||
219 | + 37: [{ | ||
220 | + pt:"Cada ocorrência de um valor para o item selecionado, será desenhado com o mesmo símbolo", | ||
221 | + en:"", | ||
222 | + es:"", | ||
223 | + it:"" | ||
224 | + }], | ||
225 | + 38: [{ | ||
226 | + pt:"Valor único", | ||
227 | + en:"", | ||
228 | + es:"", | ||
229 | + it:"" | ||
230 | + }], | ||
231 | + 39: [{ | ||
232 | + pt:"Cria classes para um item numérico utilizando um número fixo de classes (o item utilizado é o mesmo indicado acima)", | ||
233 | + en:"", | ||
234 | + es:"", | ||
235 | + it:"" | ||
236 | + }], | ||
237 | + 40: [{ | ||
238 | + pt:"Número de classes", | ||
239 | + en:"", | ||
240 | + es:"", | ||
241 | + it:"" | ||
242 | + }], | ||
243 | + 41: [{ | ||
244 | + pt:"Intervalos iguais", | ||
245 | + en:"", | ||
246 | + es:"", | ||
247 | + it:"" | ||
248 | + }], | ||
249 | + 42: [{ | ||
250 | + pt:"Cria classes para um item numérico utilizando os quartis (o item utilizado é o mesmo indicado acima)", | ||
251 | + en:"", | ||
252 | + es:"", | ||
253 | + it:"" | ||
254 | + }], | ||
255 | + 43: [{ | ||
256 | + pt:"Estilo dos nomes das classes", | ||
257 | + en:"", | ||
258 | + es:"", | ||
259 | + it:"" | ||
260 | + }], | ||
261 | + 44: [{ | ||
262 | + pt:"só os valores", | ||
263 | + en:"", | ||
264 | + es:"", | ||
265 | + it:"" | ||
266 | + }], | ||
267 | + 45: [{ | ||
268 | + pt:"quartil e os valores", | ||
269 | + en:"", | ||
270 | + es:"", | ||
271 | + it:"" | ||
272 | + }], | ||
273 | + 46: [{ | ||
274 | + pt:"expressão completa", | ||
275 | + en:"", | ||
276 | + es:"", | ||
277 | + it:"" | ||
278 | + }], | ||
279 | + 47: [{ | ||
280 | + pt:"Etiquetas da classe (labels)", | ||
281 | + en:"", | ||
282 | + es:"", | ||
283 | + it:"" | ||
284 | + }], | ||
285 | + 48: [{ | ||
286 | + pt:"Item com o texto", | ||
287 | + en:"", | ||
288 | + es:"", | ||
289 | + it:"" | ||
290 | + }], | ||
291 | + 49: [{ | ||
292 | + pt:"excluir", | ||
293 | + en:"", | ||
294 | + es:"", | ||
295 | + it:"" | ||
296 | + }], | ||
297 | + 50: [{ | ||
298 | + pt:"adicionar", | ||
299 | + en:"", | ||
300 | + es:"", | ||
301 | + it:"" | ||
302 | + }], | ||
303 | + 51: [{ | ||
304 | + pt:"propriedades", | ||
305 | + en:"", | ||
306 | + es:"", | ||
307 | + it:"" | ||
308 | + }], | ||
309 | + 52: [{ | ||
310 | + pt:"Estilos", | ||
311 | + en:"", | ||
312 | + es:"", | ||
313 | + it:"" | ||
314 | + }], | ||
315 | + 53: [{ | ||
316 | + pt:"Cada símbolo pode ser formado por um ou mais estilos. Utilize -1,-1,-1 para anular uma cor. A cor deve ser definida no formato vermelho,verde,azul. Para criar linhas tracejadas utilize o símbolo 0 ou vazio e digite um padrão de repetição como por exemplo 2 10 2 10 ", | ||
317 | + en:"", | ||
318 | + es:"", | ||
319 | + it:"" | ||
320 | + }], | ||
321 | + 54: [{ | ||
322 | + pt:"Aplicar as alterações", | ||
323 | + en:"", | ||
324 | + es:"", | ||
325 | + it:"" | ||
326 | + }], | ||
327 | + 55: [{ | ||
328 | + pt:"Gera um arquivo XML, no padrão SLD, contendo a legenda atual da camada. Para maiores informações, veja", | ||
329 | + en:"", | ||
330 | + es:"", | ||
331 | + it:"" | ||
332 | + }], | ||
333 | + 56: [{ | ||
334 | + pt:"(O SLD só é gerado ou aplicado corretamente em camadas que utilizam expressões simples e o elemento CLASSITEM)", | ||
335 | + en:"", | ||
336 | + es:"", | ||
337 | + it:"" | ||
338 | + }], | ||
339 | + 57: [{ | ||
340 | + pt:"Exportar SLD", | ||
341 | + en:"", | ||
342 | + es:"", | ||
343 | + it:"" | ||
344 | + }], | ||
345 | + 58: [{ | ||
346 | + pt:"Aplica um arquivo SLD à camada ativa", | ||
347 | + en:"", | ||
348 | + es:"", | ||
349 | + it:"" | ||
350 | + }], | ||
351 | + 59: [{ | ||
352 | + pt:"Aplicar SLD", | ||
353 | + en:"", | ||
354 | + es:"", | ||
355 | + it:"" | ||
356 | + }], | ||
357 | + 60: [{ | ||
358 | + pt:"O tema ja nao existe mais no mapa", | ||
359 | + en:"", | ||
360 | + es:"", | ||
361 | + it:"" | ||
362 | + }], | ||
363 | + 61: [{ | ||
364 | + pt:"clique para alterar", | ||
365 | + en:"", | ||
366 | + es:"", | ||
367 | + it:"" | ||
368 | + }], | ||
369 | + 62: [{ | ||
370 | + pt:"clique para excluir", | ||
371 | + en:"", | ||
372 | + es:"", | ||
373 | + it:"" | ||
374 | + }], | ||
375 | + 63: [{ | ||
376 | + pt:"digite o novo nome", | ||
377 | + en:"", | ||
378 | + es:"", | ||
379 | + it:"" | ||
380 | + }], | ||
381 | + 64: [{ | ||
382 | + pt:"digite a nova expressão", | ||
383 | + en:"", | ||
384 | + es:"", | ||
385 | + it:"" | ||
386 | + }], | ||
387 | + 65: [{ | ||
388 | + pt:"sobe", | ||
389 | + en:"", | ||
390 | + es:"", | ||
391 | + it:"" | ||
392 | + }], | ||
393 | + 66: [{ | ||
394 | + pt:"desce", | ||
395 | + en:"", | ||
396 | + es:"", | ||
397 | + it:"" | ||
398 | + }], | ||
399 | + 67: [{ | ||
400 | + pt:"Para aplicar um ajuste entre 0 e 255 cores, utilize a opção <i>Escala de Cores</i>.", | ||
401 | + en:"", | ||
402 | + es:"", | ||
403 | + it:"" | ||
404 | + }], | ||
405 | + 68: [{ | ||
406 | + pt:"O valor de SCALE= pode ser a palavra AUTO (SCALE=AUTO) ou um valor mínimo e máximo (por exemplo SCALE=20,3000).", | ||
407 | + en:"", | ||
408 | + es:"", | ||
409 | + it:"" | ||
410 | + }], | ||
411 | + 69: [{ | ||
412 | + pt:"Você pode aplicar a escala em bandas individuais, para isso, utilize SCALE_n, por exemplo SCALE_1=AUTO SCALE_2=200,500.", | ||
413 | + en:"", | ||
414 | + es:"", | ||
415 | + it:"" | ||
416 | + }], | ||
417 | + 70: [{ | ||
418 | + pt:"Para escolher quais bandas serão utilizadas e qual sua ordem, utilize a opção BANDAS. Utilize, por exemplo, BANDS=1,2,3 BANDS=1 .", | ||
419 | + en:"", | ||
420 | + es:"", | ||
421 | + it:"" | ||
422 | + }], | ||
423 | + 71: [{ | ||
424 | + pt:"Para alterar o modo de amostragem, utilize RESAMPLE com uma das opções: AVERAGE,NEAREST ou BILINEAR.", | ||
425 | + en:"", | ||
426 | + es:"", | ||
427 | + it:"" | ||
428 | + }], | ||
429 | + 72: [{ | ||
430 | + pt:"Você pode incluir processos na imagem para modificar as características de visualização<br><br>Adicionar processo", | ||
431 | + en:"", | ||
432 | + es:"", | ||
433 | + it:"" | ||
434 | + }], | ||
435 | + 73: [{ | ||
436 | + pt:"selecione o processo", | ||
437 | + en:"", | ||
438 | + es:"", | ||
439 | + it:"" | ||
440 | + }], | ||
441 | + 74: [{ | ||
442 | + pt:"Escala de cores", | ||
443 | + en:"", | ||
444 | + es:"", | ||
445 | + it:"" | ||
446 | + }], | ||
447 | + 75: [{ | ||
448 | + pt:"Reamostragem", | ||
449 | + en:"", | ||
450 | + es:"", | ||
451 | + it:"" | ||
452 | + }], | ||
453 | + 76: [{ | ||
454 | + pt:"Bandas", | ||
455 | + en:"", | ||
456 | + es:"", | ||
457 | + it:"" | ||
458 | + }], | ||
459 | + 77: [{ | ||
460 | + pt:"aplicar processos", | ||
461 | + en:"", | ||
462 | + es:"", | ||
463 | + it:"" | ||
464 | + }], | ||
465 | + 78: [{ | ||
466 | + pt:"Não é possível editar a legenda desse tema", | ||
467 | + en:"", | ||
468 | + es:"", | ||
469 | + it:"" | ||
470 | + }], | ||
471 | + 79: [{ | ||
472 | + pt:"Clique em <i>Aplicar</i> para que as alteraçõpes sejam salvas", | ||
473 | + en:"", | ||
474 | + es:"", | ||
475 | + it:"" | ||
476 | + }], | ||
477 | + 80: [{ | ||
478 | + pt:"A contagem considera apenas os elementos visíveis na abrangência do mapa", | ||
479 | + en:"", | ||
480 | + es:"", | ||
481 | + it:"" | ||
482 | + }], | ||
483 | + 81: [{ | ||
484 | + pt:"Selecione um item!", | ||
485 | + en:"", | ||
486 | + es:"", | ||
487 | + it:"" | ||
488 | + }], | ||
489 | + 82: [{ | ||
490 | + pt:"Estilo em edição", | ||
491 | + en:"", | ||
492 | + es:"", | ||
493 | + it:"" | ||
494 | + }], | ||
495 | + 83: [{ | ||
496 | + pt:"Cor do fundo", | ||
497 | + en:"", | ||
498 | + es:"", | ||
499 | + it:"" | ||
500 | + }], | ||
501 | + 84: [{ | ||
502 | + pt:"Cor da frente", | ||
503 | + en:"", | ||
504 | + es:"", | ||
505 | + it:"" | ||
506 | + }], | ||
507 | + 85: [{ | ||
508 | + pt:"Tamanho/espaçamento", | ||
509 | + en:"", | ||
510 | + es:"", | ||
511 | + it:"" | ||
512 | + }], | ||
513 | + 86: [{ | ||
514 | + pt:"Espessura", | ||
515 | + en:"", | ||
516 | + es:"", | ||
517 | + it:"" | ||
518 | + }], | ||
519 | + 87: [{ | ||
520 | + pt:"Padrão de repetição", | ||
521 | + en:"", | ||
522 | + es:"", | ||
523 | + it:"" | ||
524 | + }], | ||
525 | + 88: [{ | ||
526 | + pt:"Opacidade", | ||
527 | + en:"", | ||
528 | + es:"", | ||
529 | + it:"" | ||
530 | + }], | ||
531 | + 89: [{ | ||
532 | + pt:"Ângulo", | ||
533 | + en:"", | ||
534 | + es:"", | ||
535 | + it:"" | ||
536 | + }], | ||
537 | + 90: [{ | ||
538 | + pt:"Símbolo", | ||
539 | + en:"", | ||
540 | + es:"", | ||
541 | + it:"" | ||
542 | + }], | ||
543 | + 91: [{ | ||
544 | + pt:"Lista de símbolos. Clique para selecionar", | ||
545 | + en:"", | ||
546 | + es:"", | ||
547 | + it:"" | ||
548 | + }], | ||
549 | + 92: [{ | ||
550 | + pt:"Gráfico de pizza", | ||
551 | + en:"", | ||
552 | + es:"", | ||
553 | + it:"" | ||
554 | + }], | ||
555 | + 93: [{ | ||
556 | + pt:"Número de ocorrências em cada classe (n)", | ||
557 | + en:"", | ||
558 | + es:"", | ||
559 | + it:"" | ||
560 | + }], | ||
561 | + 94: [{ | ||
562 | + pt:"O tema deve conter pelo menos 2 classes", | ||
563 | + en:"", | ||
564 | + es:"", | ||
565 | + it:"" | ||
566 | + }] | ||
63 | }; | 567 | }; |
64 | \ No newline at end of file | 568 | \ No newline at end of file |
ferramentas/legenda/index.js
@@ -151,7 +151,7 @@ i3GEOF.legenda = { | @@ -151,7 +151,7 @@ i3GEOF.legenda = { | ||
151 | $i("i3GEOlegendaguia2").onclick = function() | 151 | $i("i3GEOlegendaguia2").onclick = function() |
152 | {i3GEO.guias.mostraGuiaFerramenta("i3GEOlegendaguia2","i3GEOlegendaguia");}; | 152 | {i3GEO.guias.mostraGuiaFerramenta("i3GEOlegendaguia2","i3GEOlegendaguia");}; |
153 | $i("i3GEOlegendaguia3").onclick = function(){ | 153 | $i("i3GEOlegendaguia3").onclick = function(){ |
154 | - i3GEO.janela.tempoMsg("Para acessar o editor, clique em um símbolo na guia 'Legenda'"); | 154 | + i3GEO.janela.tempoMsg($trad(1,i3GEOF.legenda.dicionario)); |
155 | }; | 155 | }; |
156 | $i("i3GEOlegendaguia4").onclick = function(){ | 156 | $i("i3GEOlegendaguia4").onclick = function(){ |
157 | i3GEOF.legenda.mostraGrafico(); | 157 | i3GEOF.legenda.mostraGrafico(); |
@@ -331,102 +331,102 @@ i3GEOF.legenda = { | @@ -331,102 +331,102 @@ i3GEOF.legenda = { | ||
331 | var ins = '' + | 331 | var ins = '' + |
332 | '<div id=guiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'+ | 332 | '<div id=guiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;">'+ |
333 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'+ | 333 | ' <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;">'+ |
334 | - ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia6" style="text-align:center;left:0px;" ><img class="ticPropriedades2" style="height:14px" title="Propriedades" src="'+i3GEO.configura.locaplic+'/imagens/visual/default/branco.gif"></div></em></a></li>'+ | ||
335 | - ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia1" style="text-align:center;left:0px;" >Legenda</div></em></a></li>'+ | ||
336 | - ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia2" style="text-align:center;left:0px;" >Classes</div></em></a></li>'+ | ||
337 | - ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia3" style="text-align:center;left:0px;" >Editor</div></em></a></li>'+ | ||
338 | - ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia4" style="text-align:center;left:0px;" >Gráficos</div></em></a></li>'+ | ||
339 | - ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia5" style="text-align:center;left:0px;" >Importar/exportar SLD</div></em></a></li>'+ | 334 | + ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia6" style="text-align:center;left:0px;" ><img class="ticPropriedades2" style="height:14px" title="'+$trad(2,i3GEOF.legenda.dicionario)+'" src="'+i3GEO.configura.locaplic+'/imagens/visual/default/branco.gif"></div></em></a></li>'+ |
335 | + ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia1" style="text-align:center;left:0px;" >'+$trad(3,i3GEOF.legenda.dicionario)+'</div></em></a></li>'+ | ||
336 | + ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia2" style="text-align:center;left:0px;" >'+$trad(4,i3GEOF.legenda.dicionario)+'</div></em></a></li>'+ | ||
337 | + ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia3" style="text-align:center;left:0px;" >'+$trad(5,i3GEOF.legenda.dicionario)+'</div></em></a></li>'+ | ||
338 | + ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia4" style="text-align:center;left:0px;" >'+$trad(6,i3GEOF.legenda.dicionario)+'</div></em></a></li>'+ | ||
339 | + ' <li><a href="#ancora"><em><div id="i3GEOlegendaguia5" style="text-align:center;left:0px;" >'+$trad(7,i3GEOF.legenda.dicionario)+'</div></em></a></li>'+ | ||
340 | ' </ul>'+ | 340 | ' </ul>'+ |
341 | '</div><br>'+ | 341 | '</div><br>'+ |
342 | '<div id=i3GEOlegendaguia6obj style="width:99%;text-align:left;">'+ | 342 | '<div id=i3GEOlegendaguia6obj style="width:99%;text-align:left;">'+ |
343 | - ' <p class=paragrafo > <input type=checkbox onclick="" checked id=i3GEOFlegendamostra style="cursor:pointer;border:0px solid white;" /> <span style="cursor:pointer;position:relative;top:-2px;">Mostra as classes desse tema na legenda do mapa</span></p>' + | ||
344 | - ' <p class=paragrafo ><input id=i3GEOlegendabotao3 type="button" value="Inclui número de ocorrências" title="incluir o número de ocorrências no nome de cada classe"></p>' + | ||
345 | - ' <p class=paragrafo ><input id=i3GEOlegendabotao15 type="button" value="Aplica opacidade variável" title="aplicar opacidade nas classes existente, variando de 10 até 100"></p>' + | ||
346 | - ' <p class=paragrafo ><input id=i3GEOlegendabotaoRamp type="button" size=15 value="Escolher paleta de cores" title="escolher e aplicar as variações de cores, entre dois extremos, nas classes existentes"></p>' + | ||
347 | - ' <p class=paragrafo >Gerar cores</p>' + | 343 | + ' <p class=paragrafo > <input type=checkbox onclick="" checked id=i3GEOFlegendamostra style="cursor:pointer;border:0px solid white;" /> <span style="cursor:pointer;position:relative;top:-2px;">'+$trad(8,i3GEOF.legenda.dicionario)+'</span></p>' + |
344 | + ' <p class=paragrafo ><input id=i3GEOlegendabotao3 type="button" value="'+$trad(9,i3GEOF.legenda.dicionario)+'" title="'+$trad(10,i3GEOF.legenda.dicionario)+'"></p>' + | ||
345 | + ' <p class=paragrafo ><input id=i3GEOlegendabotao15 type="button" value="'+$trad(11,i3GEOF.legenda.dicionario)+'" title="'+$trad(12,i3GEOF.legenda.dicionario)+'"></p>' + | ||
346 | + ' <p class=paragrafo ><input id=i3GEOlegendabotaoRamp type="button" size=15 value="'+$trad(13,i3GEOF.legenda.dicionario)+'" title="'+$trad(14,i3GEOF.legenda.dicionario)+'"></p>' + | ||
347 | + ' <p class=paragrafo >'+$trad(15,i3GEOF.legenda.dicionario)+'</p>' + | ||
348 | ' <table summary="" class=lista5 >' + | 348 | ' <table summary="" class=lista5 >' + |
349 | ' <tr>' + | 349 | ' <tr>' + |
350 | - ' <td>de:</td>' + | 350 | + ' <td>'+$trad(17,i3GEOF.legenda.dicionario)+':</td>' + |
351 | ' <td>' + | 351 | ' <td>' + |
352 | $inputText("","","i3GEOlegendaacori","",12,"0,0,0") + | 352 | $inputText("","","i3GEOlegendaacori","",12,"0,0,0") + |
353 | ' </td>' + | 353 | ' </td>' + |
354 | ' <td><img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.legenda.corj(\'i3GEOlegendaacori\')" /> ' + | 354 | ' <td><img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.legenda.corj(\'i3GEOlegendaacori\')" /> ' + |
355 | ' </td>' + | 355 | ' </td>' + |
356 | - ' <td>até:</td>' + | 356 | + ' <td>'+$trad(16,i3GEOF.legenda.dicionario)+':</td>' + |
357 | ' <td>'+ | 357 | ' <td>'+ |
358 | $inputText("","","i3GEOlegendaacorf","",12,"255,255,255") + | 358 | $inputText("","","i3GEOlegendaacorf","",12,"255,255,255") + |
359 | ' </td>' + | 359 | ' </td>' + |
360 | ' <td><img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.legenda.corj(\'i3GEOlegendaacorf\')" /> ' + | 360 | ' <td><img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.legenda.corj(\'i3GEOlegendaacorf\')" /> ' + |
361 | ' </td>' + | 361 | ' </td>' + |
362 | - ' <td><input id=i3GEOlegendabotao4 type="button" size=15 value="Aplicar" title="aplicar variações de cores, entre dois extremos, nas classes existentes"></td>' + | 362 | + ' <td><input id=i3GEOlegendabotao4 type="button" size=15 value="'+$trad(18,i3GEOF.legenda.dicionario)+'" title="'+$trad(19,i3GEOF.legenda.dicionario)+'"></td>' + |
363 | ' </tr>' + | 363 | ' </tr>' + |
364 | ' </table>' + | 364 | ' </table>' + |
365 | '</div>' + | 365 | '</div>' + |
366 | '<div id=i3GEOlegendaguia1obj style="width:99%;text-align:left;">'+ | 366 | '<div id=i3GEOlegendaguia1obj style="width:99%;text-align:left;">'+ |
367 | ' <table summary="" class=lista5 ><tr>' + | 367 | ' <table summary="" class=lista5 ><tr>' + |
368 | - ' <td><input id=i3GEOlegendabotao1 size="22" type="button" value="Aplicar alterações" ></td>'+ | ||
369 | - ' <td><input id=i3GEOlegendabotao2 size="22" type="button" value="Adicionar classe" title="adicionar uma nova classe na legenda" ></td>' + | 368 | + ' <td><input id=i3GEOlegendabotao1 size="22" type="button" value="'+$trad(20,i3GEOF.legenda.dicionario)+'" ></td>'+ |
369 | + ' <td><input id=i3GEOlegendabotao2 size="22" type="button" value="'+$trad(21,i3GEOF.legenda.dicionario)+'" title="'+$trad(22,i3GEOF.legenda.dicionario)+'" ></td>' + | ||
370 | ' </tr></table><br>' + | 370 | ' </tr></table><br>' + |
371 | - ' <p class=paragrafo >Clique no símbolo da classe para alterar</p>' + | 371 | + ' <p class=paragrafo >'+$trad(23,i3GEOF.legenda.dicionario)+'</p>' + |
372 | ' <div id="i3GEOlegendaresultado" style="text-align:left;width:100%;display:block;left:0px">' + | 372 | ' <div id="i3GEOlegendaresultado" style="text-align:left;width:100%;display:block;left:0px">' + |
373 | ' </div>'+ | 373 | ' </div>'+ |
374 | '</div>'+ | 374 | '</div>'+ |
375 | '<div id=i3GEOlegendaguia2obj style="width:99%;text-align:left;">'+ | 375 | '<div id=i3GEOlegendaguia2obj style="width:99%;text-align:left;">'+ |
376 | ' <div id=i3GEOFlegendaClassesOpcionais >' + | 376 | ' <div id=i3GEOFlegendaClassesOpcionais >' + |
377 | - ' <p class=paragrafo > <input type=checkbox onclick="" checked id=i3GEOFlegendaaplicaextent style="cursor:pointer;border:0px solid white;" /> <span style="cursor:pointer;position:relative;top:-2px;">marque para considerar apenas os elementos visíveis na extensão geográfica atual, caso contrário, será considerada a extensão geográfica inicial do mapa</span></p>' + | ||
378 | - ' <p class=paragrafo >Ao gerar as classes, ignorar os valores (separe com vírgula):<br>'+ | 377 | + ' <p class=paragrafo > <input type=checkbox onclick="" checked id=i3GEOFlegendaaplicaextent style="cursor:pointer;border:0px solid white;" /> <span style="cursor:pointer;position:relative;top:-2px;">'+$trad(24,i3GEOF.legenda.dicionario)+'</span></p>' + |
378 | + ' <p class=paragrafo >'+$trad(25,i3GEOF.legenda.dicionario)+':<br>'+ | ||
379 | $inputText("","","i3GEOlegendaignorar","",20,"") + | 379 | $inputText("","","i3GEOlegendaignorar","",20,"") + |
380 | - ' <hr><p class=paragrafo >Transforma a representação geométrica dos elementos do tema. Após alterar esse parâmetro, pode ser necessário modificar as características do símbolo.</p>'+ | 380 | + ' <hr><p class=paragrafo >'+$trad(26,i3GEOF.legenda.dicionario)+'</p>'+ |
381 | ' <p class=paragrafo >' + | 381 | ' <p class=paragrafo >' + |
382 | ' <select id=i3GEOlegentaTipoGeo >'+ | 382 | ' <select id=i3GEOlegentaTipoGeo >'+ |
383 | - ' <option value="">nenhuma transformação</option>'+ | ||
384 | - ' <option value="centroid">centróide</option>'+ | 383 | + ' <option value="">'+$trad(27,i3GEOF.legenda.dicionario)+'</option>'+ |
384 | + ' <option value="centroid">'+$trad(28,i3GEOF.legenda.dicionario)+'</option>'+ | ||
385 | ' <option value="bbox">box</option>'+ | 385 | ' <option value="bbox">box</option>'+ |
386 | - ' <option value="vertices">vértices</option>'+ | ||
387 | - ' <option value="start">vértice inicial</option>'+ | ||
388 | - ' <option value="end">vértice final</option>'+ | 386 | + ' <option value="vertices">'+$trad(29,i3GEOF.legenda.dicionario)+'</option>'+ |
387 | + ' <option value="start">'+$trad(30,i3GEOF.legenda.dicionario)+'</option>'+ | ||
388 | + ' <option value="end">'+$trad(31,i3GEOF.legenda.dicionario)+'</option>'+ | ||
389 | ' </select>'+ | 389 | ' </select>'+ |
390 | ' <p class=paragrafo >' + | 390 | ' <p class=paragrafo >' + |
391 | - ' <input id=i3GEOlegendabotao17 size="35" type="button" value="Altera geometria"></p>'+ | ||
392 | - ' <hr><p class=paragrafo >Altera o tipo de representação do tema. Se for poligonal, passa para linear e vice-versa.</p>'+ | ||
393 | - ' <p class=paragrafo ><input id=i3GEOlegendabotao7 size="25" type="button" value="Altera tipo"></p>'+ | 391 | + ' <input id=i3GEOlegendabotao17 size="35" type="button" value="'+$trad(32,i3GEOF.legenda.dicionario)+'"></p>'+ |
392 | + ' <hr><p class=paragrafo >'+$trad(33,i3GEOF.legenda.dicionario)+'</p>'+ | ||
393 | + ' <p class=paragrafo ><input id=i3GEOlegendabotao7 size="25" type="button" value="'+$trad(34,i3GEOF.legenda.dicionario)+'"></p>'+ | ||
394 | ' </div>' + | 394 | ' </div>' + |
395 | - ' <hr><p class=paragrafo >Todos os elementos serão desenhados com um único símbolo</p>'+ | ||
396 | - ' <p class=paragrafo ><input id=i3GEOlegendabotao5 size="25" type="button" value="Símbolo único"></p>'+ | ||
397 | - ' <hr><p class=paragrafo >Cada ocorrência de um valor para o item selecionado, será desenhado com o mesmo símbolo</p>'+ | 395 | + ' <hr><p class=paragrafo >'+$trad(35,i3GEOF.legenda.dicionario)+'</p>'+ |
396 | + ' <p class=paragrafo ><input id=i3GEOlegendabotao5 size="25" type="button" value="'+$trad(36,i3GEOF.legenda.dicionario)+'"></p>'+ | ||
397 | + ' <hr><p class=paragrafo >'+$trad(37,i3GEOF.legenda.dicionario)+'</p>'+ | ||
398 | ' <div id="i3GEOlegendaitens" style="text-align:left;" ></div><br>'+ | 398 | ' <div id="i3GEOlegendaitens" style="text-align:left;" ></div><br>'+ |
399 | - ' <p class=paragrafo ><input id=i3GEOlegendabotao6 size="25" type="button" value="Valor único"></p>'+ | ||
400 | - ' <hr><p class=paragrafo >Cria classes para um item numérico utilizando um número fixo de classes (o item utilizado é o mesmo indicado acima)</p>'+ | ||
401 | - ' <p class=paragrafo >Número de classes:'+ | 399 | + ' <p class=paragrafo ><input id=i3GEOlegendabotao6 size="25" type="button" value="'+$trad(38,i3GEOF.legenda.dicionario)+'"></p>'+ |
400 | + ' <hr><p class=paragrafo >'+$trad(39,i3GEOF.legenda.dicionario)+'</p>'+ | ||
401 | + ' <p class=paragrafo >'+$trad(40,i3GEOF.legenda.dicionario)+':'+ | ||
402 | $inputText("","","i3GEOlegendanclasses","",3,"5") + | 402 | $inputText("","","i3GEOlegendanclasses","",3,"5") + |
403 | - ' <p class=paragrafo ><input id=i3GEOlegendabotao8 size="25" type="button" value="Intervalos iguais">'+ | 403 | + ' <p class=paragrafo ><input id=i3GEOlegendabotao8 size="25" type="button" value="'+$trad(41,i3GEOF.legenda.dicionario)+'">'+ |
404 | ' <input id=i3GEOlegendabotaoQuantil size="25" type="button" value="Quantil">'+ | 404 | ' <input id=i3GEOlegendabotaoQuantil size="25" type="button" value="Quantil">'+ |
405 | - ' <hr><p class=paragrafo >Cria classes para um item numérico utilizando os quartis (o item utilizado é o mesmo indicado acima)</p>'+ | 405 | + ' <hr><p class=paragrafo >'+$trad(42,i3GEOF.legenda.dicionario)+'</p>'+ |
406 | ' <p class=paragrafo ><input id=i3GEOlegendabotao9 size="25" type="button" value="Quartis">'+ | 406 | ' <p class=paragrafo ><input id=i3GEOlegendabotao9 size="25" type="button" value="Quartis">'+ |
407 | - ' <p class=paragrafo >Estilo dos nomes das classes: ' + | 407 | + ' <p class=paragrafo >'+$trad(43,i3GEOF.legenda.dicionario)+': ' + |
408 | ' <select id=estiloClassesQuartis >' + | 408 | ' <select id=estiloClassesQuartis >' + |
409 | - ' <option value=minimo select >só os valores</option>' + | ||
410 | - ' <option value=simples select >quartil e os valores</option>' + | ||
411 | - ' <option value=completo select >expressão completa</option>' + | 409 | + ' <option value=minimo select >'+$trad(44,i3GEOF.legenda.dicionario)+'</option>' + |
410 | + ' <option value=simples select >'+$trad(45,i3GEOF.legenda.dicionario)+'</option>' + | ||
411 | + ' <option value=completo select >'+$trad(46,i3GEOF.legenda.dicionario)+'</option>' + | ||
412 | ' </select></p>' + | 412 | ' </select></p>' + |
413 | '</div>'+ | 413 | '</div>'+ |
414 | '<div id=i3GEOlegendaguia3obj style="width:99%;text-align:left;">'+ | 414 | '<div id=i3GEOlegendaguia3obj style="width:99%;text-align:left;">'+ |
415 | ' <fieldset style="padding:5px;margin:2px;">'+ | 415 | ' <fieldset style="padding:5px;margin:2px;">'+ |
416 | - ' <legend>Etiquetas da classe (labels)</legend>'+ | ||
417 | - ' <p class=paragrafo >Item com o texto: <span id=i3GEOlegendaitensLabel ></span></p>' + | 416 | + ' <legend>'+$trad(47,i3GEOF.legenda.dicionario)+'</legend>'+ |
417 | + ' <p class=paragrafo >'+$trad(48,i3GEOF.legenda.dicionario)+': <span id=i3GEOlegendaitensLabel ></span></p>' + | ||
418 | ' <p class=paragrafo style="font-size:10px;">'+ | 418 | ' <p class=paragrafo style="font-size:10px;">'+ |
419 | - ' <input id=i3GEOlegendabotaoExcluirLabel size=10 type=buttom value="excluir" />' + | ||
420 | - ' <input id=i3GEOlegendabotaoIncluirLabel size=10 type=buttom value="adicionar" />' + | ||
421 | - ' <input id=i3GEOlegendabotaoPropriedadeLabel size=10 type=buttom value="propriedades" />' + | 419 | + ' <input id=i3GEOlegendabotaoExcluirLabel size=10 type=buttom value="'+$trad(49,i3GEOF.legenda.dicionario)+'" />' + |
420 | + ' <input id=i3GEOlegendabotaoIncluirLabel size=10 type=buttom value="'+$trad(50,i3GEOF.legenda.dicionario)+'" />' + | ||
421 | + ' <input id=i3GEOlegendabotaoPropriedadeLabel size=10 type=buttom value="'+$trad(51,i3GEOF.legenda.dicionario)+'" />' + | ||
422 | ' </p>' + | 422 | ' </p>' + |
423 | ' </fieldset><br>'+ | 423 | ' </fieldset><br>'+ |
424 | ' <fieldset style="padding:5px;margin:2px;">'+ | 424 | ' <fieldset style="padding:5px;margin:2px;">'+ |
425 | - ' <legend>Estilos</legend>'+ | ||
426 | - ' <p class=paragrafo style="font-size:10px;">Cada símbolo pode ser formado por um ou mais estilos. Utilize -1,-1,-1 para anular uma cor. A cor deve ser definida no formato vermelho,verde,azul. Para criar linhas tracejadas utilize o símbolo 0 ou vazio e digite um padrão de repetição como por exemplo 2 10 2 10 <br></p>'+ | 425 | + ' <legend>'+$trad(52,i3GEOF.legenda.dicionario)+'</legend>'+ |
426 | + ' <p class=paragrafo style="font-size:10px;">'+$trad(53,i3GEOF.legenda.dicionario)+'<br></p>'+ | ||
427 | ' <div id="i3GEOlegendacomboestilos" style="position:relative;top:0px;left:0px;text-align:left">'+ | 427 | ' <div id="i3GEOlegendacomboestilos" style="position:relative;top:0px;left:0px;text-align:left">'+ |
428 | ' </div>'+ | 428 | ' </div>'+ |
429 | - ' <br><p class=paragrafo style="font-size:10px" ><input id=i3GEOlegendabotao10 size="35" type="button" value="Aplicar as alterações"></p>'+ | 429 | + ' <br><p class=paragrafo style="font-size:10px" ><input id=i3GEOlegendabotao10 size="35" type="button" value="'+$trad(54,i3GEOF.legenda.dicionario)+'"></p>'+ |
430 | ' <div style="position:relative;top:0px;left:0px;text-align:left;" id="i3GEOlegendamostraEstilo">'+ | 430 | ' <div style="position:relative;top:0px;left:0px;text-align:left;" id="i3GEOlegendamostraEstilo">'+ |
431 | ' </div>'+ | 431 | ' </div>'+ |
432 | ' <div style="position:relative;top:0px;left:0px;text-align:left;" id="i3GEOlegendasimbolos">'+ | 432 | ' <div style="position:relative;top:0px;left:0px;text-align:left;" id="i3GEOlegendasimbolos">'+ |
@@ -436,10 +436,10 @@ i3GEOF.legenda = { | @@ -436,10 +436,10 @@ i3GEOF.legenda = { | ||
436 | '<div id=i3GEOlegendaguia4obj style="width:99%;text-align:left;">'+ | 436 | '<div id=i3GEOlegendaguia4obj style="width:99%;text-align:left;">'+ |
437 | '</div>'+ | 437 | '</div>'+ |
438 | '<div id=i3GEOlegendaguia5obj style="width:99%;text-align:left;">'+ | 438 | '<div id=i3GEOlegendaguia5obj style="width:99%;text-align:left;">'+ |
439 | - ' <p class=paragrafo >Gera um arquivo XML, no padrão SLD, contendo a legenda atual da camada. Para maiores informações, veja <a href="http://mapserver.org/ogc/sld.html#sld" target=_blank >Mapserver SLD</a> (O SLD só é gerado ou aplicado corretamente em camadas que utilizam expressões simples e o elemento CLASSITEM)'+ | ||
440 | - ' <p class=paragrafo ><input id=i3GEOlegendabotaoSLDe size="25" type="button" value="Exportar SLD"></p>'+ | ||
441 | - ' <p class=paragrafo >Aplica um arquivo SLD à camada ativa' + | ||
442 | - ' <p class=paragrafo ><input id=i3GEOlegendabotaoSLDi size="25" type="button" value="Aplicar SLD"></p>'+ | 439 | + ' <p class=paragrafo >'+$trad(55,i3GEOF.legenda.dicionario)+' <a href="http://mapserver.org/ogc/sld.html#sld" target=_blank >Mapserver SLD</a> '+$trad(56,i3GEOF.legenda.dicionario)+ |
440 | + ' <p class=paragrafo ><input id=i3GEOlegendabotaoSLDe size="25" type="button" value="'+$trad(57,i3GEOF.legenda.dicionario)+'"></p>'+ | ||
441 | + ' <p class=paragrafo >'+$trad(58,i3GEOF.legenda.dicionario)+ | ||
442 | + ' <p class=paragrafo ><input id=i3GEOlegendabotaoSLDi size="25" type="button" value="'+$trad(59,i3GEOF.legenda.dicionario)+'"></p>'+ | ||
443 | '</div>' + | 443 | '</div>' + |
444 | '<input type=hidden value="" id="listaColourRamp" onchange="javascript:i3GEOF.legenda.aplicaColourRamp()" />'; //utilizado pelo seletor de colourramp | 444 | '<input type=hidden value="" id="listaColourRamp" onchange="javascript:i3GEOF.legenda.aplicaColourRamp()" />'; //utilizado pelo seletor de colourramp |
445 | return ins; | 445 | return ins; |
@@ -494,7 +494,7 @@ i3GEOF.legenda = { | @@ -494,7 +494,7 @@ i3GEOF.legenda = { | ||
494 | */ | 494 | */ |
495 | ativaFoco: function(){ | 495 | ativaFoco: function(){ |
496 | if(i3GEOF.legenda.tema !== "" && i3GEO.arvoreDeCamadas.pegaTema(i3GEOF.legenda.tema) === "") | 496 | if(i3GEOF.legenda.tema !== "" && i3GEO.arvoreDeCamadas.pegaTema(i3GEOF.legenda.tema) === "") |
497 | - {i3GEO.janela.tempoMsg("O tema ja nao existe mais no mapa");} | 497 | + {i3GEO.janela.tempoMsg($trad(60,i3GEOF.legenda.dicionario));} |
498 | var i = $i("i3GEOF.legenda_c").style; | 498 | var i = $i("i3GEOF.legenda_c").style; |
499 | i.zIndex = i3GEO.janela.ULTIMOZINDEX; | 499 | i.zIndex = i3GEO.janela.ULTIMOZINDEX; |
500 | i3GEO.janela.ULTIMOZINDEX++; | 500 | i3GEO.janela.ULTIMOZINDEX++; |
@@ -556,16 +556,16 @@ i3GEOF.legenda = { | @@ -556,16 +556,16 @@ i3GEOF.legenda = { | ||
556 | id = retorno.data[i].tema+"-"+retorno.data[i].idclasse; //layer+indice da classe | 556 | id = retorno.data[i].tema+"-"+retorno.data[i].idclasse; //layer+indice da classe |
557 | re = new RegExp("'", "g"); | 557 | re = new RegExp("'", "g"); |
558 | exp = (retorno.data[i].expressao).replace(re,'"'); | 558 | exp = (retorno.data[i].expressao).replace(re,'"'); |
559 | - ins.push("<tr><td><img style='cursor:pointer' title='clique para excluir' onclick='i3GEOF.legenda.excluilinhaf(this)' src='" + i3GEO.configura.locaplic + "/imagens/x.gif' title='excluir' /></td><td><img width='30px' height='15px' style='cursor:pointer' title='clique para alterar' src='"+retorno.data[i].imagem+"' onclick=i3GEOF.legenda.editaSimbolo('i3GEOlegendaid_"+id+"') /></td>"); | 559 | + ins.push("<tr><td><img style='cursor:pointer' title='"+$trad(62,i3GEOF.legenda.dicionario)+"' onclick='i3GEOF.legenda.excluilinhaf(this)' src='" + i3GEO.configura.locaplic + "/imagens/x.gif' title='excluir' /></td><td><img width='30px' height='15px' style='cursor:pointer' title='"+$trad(61,i3GEOF.legenda.dicionario)+"' src='"+retorno.data[i].imagem+"' onclick=i3GEOF.legenda.editaSimbolo('i3GEOlegendaid_"+id+"') /></td>"); |
560 | ins.push("<td><img onclick=i3GEOF.legenda.modificaCor('"+retorno.data[i].idclasse+"') title='alterar a cor' style='cursor:pointer' src='" + i3GEO.configura.locaplic + "/imagens/aquarela.gif' /></td>"); | 560 | ins.push("<td><img onclick=i3GEOF.legenda.modificaCor('"+retorno.data[i].idclasse+"') title='alterar a cor' style='cursor:pointer' src='" + i3GEO.configura.locaplic + "/imagens/aquarela.gif' /></td>"); |
561 | ins.push("<td>"); | 561 | ins.push("<td>"); |
562 | - ins.push($inputText("","","i3GEOlegendaid_"+id,"digite o novo nome",20,retorno.data[i].nomeclasse,"nome","javascript:i3GEOF.legenda.aviso()")); | 562 | + ins.push($inputText("","","i3GEOlegendaid_"+id,$trad(63,i3GEOF.legenda.dicionario),20,retorno.data[i].nomeclasse,"nome","javascript:i3GEOF.legenda.aviso()")); |
563 | ins.push("</td><td>"); | 563 | ins.push("</td><td>"); |
564 | - ins.push($inputText("","","i3GEOlegendaid_"+id,"digite a nova expressão",30,exp,"expressao","javascript:i3GEOF.legenda.aviso()")); | 564 | + ins.push($inputText("","","i3GEOlegendaid_"+id,$trad(64,i3GEOF.legenda.dicionario),30,exp,"expressao","javascript:i3GEOF.legenda.aviso()")); |
565 | ins.push("</td>"); | 565 | ins.push("</td>"); |
566 | if(n>1){ | 566 | if(n>1){ |
567 | - ins.push("<td><img src='"+i3GEO.configura.locaplic+"/imagens/sobe1.png' style=cursor:pointer title='sobe' onclick=i3GEOF.legenda.sobelinhaf('"+retorno.data[i].idclasse+"') /></td>"); | ||
568 | - ins.push("<td><img src='"+i3GEO.configura.locaplic+"/imagens/desce1.png' style=cursor:pointer title='desce' onclick=i3GEOF.legenda.descelinhaf('"+retorno.data[i].idclasse+"') /></td>"); | 567 | + ins.push("<td><img src='"+i3GEO.configura.locaplic+"/imagens/sobe1.png' style=cursor:pointer title='"+$trad(65,i3GEOF.legenda.dicionario)+"' onclick=i3GEOF.legenda.sobelinhaf('"+retorno.data[i].idclasse+"') /></td>"); |
568 | + ins.push("<td><img src='"+i3GEO.configura.locaplic+"/imagens/desce1.png' style=cursor:pointer title='"+$trad(66,i3GEOF.legenda.dicionario)+"' onclick=i3GEOF.legenda.descelinhaf('"+retorno.data[i].idclasse+"') /></td>"); | ||
569 | } | 569 | } |
570 | ins.push("</tr>"); | 570 | ins.push("</tr>"); |
571 | } | 571 | } |
@@ -573,22 +573,21 @@ i3GEOF.legenda = { | @@ -573,22 +573,21 @@ i3GEOF.legenda = { | ||
573 | $i("i3GEOlegendaresultado").innerHTML = ins.join(""); | 573 | $i("i3GEOlegendaresultado").innerHTML = ins.join(""); |
574 | } | 574 | } |
575 | else{ | 575 | else{ |
576 | - ajuda = "<br><p class=paragrafo >Para aplicar um ajuste entre 0 e 255 cores, utilize a opção 'Escala de Cores'." + | ||
577 | - "<p class=paragrafo >O valor de SCALE= pode ser a palavra AUTO (SCALE=AUTO) ou um valor mínimo e máximo (por exemplo SCALE=20,3000)." + | ||
578 | - "<p class=paragrafo >Você pode aplicar a escala em bandas individuais, para isso, utilize SCALE_n, por exemplo SCALE_1=AUTO SCALE_2=200,500." + | ||
579 | - "<p class=paragrafo >Para escolher quais bandas serão utilizadas e qual sua ordem, utilize a opção BANDAS." + | ||
580 | - "Utilize, por exemplo, BANDS=1,2,3 BANDS=1 ." + | ||
581 | - "<p class=paragrafo >Para alterar o modo de amostragem, utilize RESAMPLE com uma das opções: AVERAGE,NEAREST ou BILINEAR."; | ||
582 | - ins = "<p class=paragrafo >Você pode incluir processos na imagem para modificar as características de visualização<br><br>Adicionar processo:" + | 576 | + ajuda = "<br><p class=paragrafo >"+$trad(67,i3GEOF.legenda.dicionario) + |
577 | + "<p class=paragrafo >"+$trad(68,i3GEOF.legenda.dicionario) + | ||
578 | + "<p class=paragrafo >"+$trad(69,i3GEOF.legenda.dicionario) + | ||
579 | + "<p class=paragrafo >"+$trad(70,i3GEOF.legenda.dicionario) + | ||
580 | + "<p class=paragrafo >"+$trad(71,i3GEOF.legenda.dicionario) ; | ||
581 | + ins = "<p class=paragrafo >"+$trad(72,i3GEOF.legenda.dicionario)+":" + | ||
583 | "<select onchange=i3GEOF.legenda.adicionaProcesso(this) >" + | 582 | "<select onchange=i3GEOF.legenda.adicionaProcesso(this) >" + |
584 | - "<option value='' >selecione o processo</option>" + | ||
585 | - "<option value='SCALE=' >Escala de cores</option>" + | ||
586 | - "<option value='RESAMPLE=' >Reamostragem</option>" + | ||
587 | - "<option value='BANDS=' >Bandas</option>" + | 583 | + "<option value='' >"+$trad(73,i3GEOF.legenda.dicionario)+"</option>" + |
584 | + "<option value='SCALE=' >"+$trad(74,i3GEOF.legenda.dicionario)+"</option>" + | ||
585 | + "<option value='RESAMPLE=' >"+$trad(75,i3GEOF.legenda.dicionario)+"</option>" + | ||
586 | + "<option value='BANDS=' >"+$trad(76,i3GEOF.legenda.dicionario)+"</option>" + | ||
588 | "<option value='COLOR_MATCH_THRESHOLD=' >Threshold</option>" + | 587 | "<option value='COLOR_MATCH_THRESHOLD=' >Threshold</option>" + |
589 | "<option value='NODATA=' >Nodata</option>" + | 588 | "<option value='NODATA=' >Nodata</option>" + |
590 | "</select><br>" + | 589 | "</select><br>" + |
591 | - '<p class=paragrafo ><input id=i3GEOlegendabotao16 class="executar" size="22" type="buttom" value="aplicar processos">'; | 590 | + '<p class=paragrafo ><input id=i3GEOlegendabotao16 class="executar" size="22" type="buttom" value="'+$trad(77,i3GEOF.legenda.dicionario)+'">'; |
592 | if(retorno.data[0].proc == "") | 591 | if(retorno.data[0].proc == "") |
593 | {ins += "<div style=width:80% id=i3GEOlegendaprocessos ></div>";} | 592 | {ins += "<div style=width:80% id=i3GEOlegendaprocessos ></div>";} |
594 | else{ | 593 | else{ |
@@ -606,10 +605,10 @@ i3GEOF.legenda = { | @@ -606,10 +605,10 @@ i3GEOF.legenda = { | ||
606 | } | 605 | } |
607 | } | 606 | } |
608 | else | 607 | else |
609 | - {$i("i3GEOlegendaresultado").innerHTML = "<p style=color:red >Ocorreu um erro<br>";} | 608 | + {$i("i3GEOlegendaresultado").innerHTML = "<p style=color:red >Erro<br>";} |
610 | i3GEOF.legenda.aguarde.visibility = "hidden"; | 609 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
611 | } | 610 | } |
612 | - catch(e){i3GEO.janela.tempoMsg("Não é possível editar a legenda desse tema");i3GEOF.legenda.aguarde.visibility = "hidden";} | 611 | + catch(e){i3GEO.janela.tempoMsg($trad(78,i3GEOF.legenda.dicionario));i3GEOF.legenda.aguarde.visibility = "hidden";} |
613 | }, | 612 | }, |
614 | /* | 613 | /* |
615 | Function: aviso | 614 | Function: aviso |
@@ -620,7 +619,7 @@ i3GEOF.legenda = { | @@ -620,7 +619,7 @@ i3GEOF.legenda = { | ||
620 | */ | 619 | */ |
621 | aviso: function(){ | 620 | aviso: function(){ |
622 | if(i3GEOF.legenda.aviso == true){ | 621 | if(i3GEOF.legenda.aviso == true){ |
623 | - i3GEO.janela.tempoMsg("Clique em 'Aplicar' para que as alteraçõpes sejam salvas"); | 622 | + i3GEO.janela.tempoMsg($trad(79,i3GEOF.legenda.dicionario)); |
624 | i3GEOF.legenda.aviso == false; | 623 | i3GEOF.legenda.aviso == false; |
625 | } | 624 | } |
626 | }, | 625 | }, |
@@ -792,7 +791,7 @@ i3GEOF.legenda = { | @@ -792,7 +791,7 @@ i3GEOF.legenda = { | ||
792 | cp = new cpaint(); | 791 | cp = new cpaint(); |
793 | cp.set_response_type("JSON"); | 792 | cp.set_response_type("JSON"); |
794 | cp.call(p,"contagemclasse",i3GEOF.legenda.montaLegenda); | 793 | cp.call(p,"contagemclasse",i3GEOF.legenda.montaLegenda); |
795 | - i3GEO.janela.tempoMsg("A contagem considera apenas os elementos visíveis na abrangência do mapa"); | 794 | + i3GEO.janela.tempoMsg($trad(80,i3GEOF.legenda.dicionario)); |
796 | }, | 795 | }, |
797 | /* | 796 | /* |
798 | Function: adicionaClasse | 797 | Function: adicionaClasse |
@@ -1039,7 +1038,7 @@ i3GEOF.legenda = { | @@ -1039,7 +1038,7 @@ i3GEOF.legenda = { | ||
1039 | p += "&ext="+i3GEO.parametros.extentTotal; | 1038 | p += "&ext="+i3GEO.parametros.extentTotal; |
1040 | } | 1039 | } |
1041 | if (item == "") | 1040 | if (item == "") |
1042 | - {i3GEO.janela.tempoMsg("Selecione um item!");return;} | 1041 | + {i3GEO.janela.tempoMsg($trad(81,i3GEOF.legenda.dicionario));return;} |
1043 | i3GEOF.legenda.aguarde.visibility = "visible"; | 1042 | i3GEOF.legenda.aguarde.visibility = "visible"; |
1044 | cp.set_response_type("JSON"); | 1043 | cp.set_response_type("JSON"); |
1045 | //window.parent.g_operacao = "outras" | 1044 | //window.parent.g_operacao = "outras" |
@@ -1097,7 +1096,7 @@ i3GEOF.legenda = { | @@ -1097,7 +1096,7 @@ i3GEOF.legenda = { | ||
1097 | i3GEOF.legenda.aguarde.visibility = "hidden"; | 1096 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
1098 | }; | 1097 | }; |
1099 | if (item == "") | 1098 | if (item == "") |
1100 | - {i3GEO.janela.tempoMsg("Selecione um item!");return;} | 1099 | + {i3GEO.janela.tempoMsg($trad(81,i3GEOF.legenda.dicionario));return;} |
1101 | i3GEOF.legenda.aguarde.visibility = "visible"; | 1100 | i3GEOF.legenda.aguarde.visibility = "visible"; |
1102 | cp.set_response_type("JSON"); | 1101 | cp.set_response_type("JSON"); |
1103 | cp.call(p,"alteraclasse",fim); | 1102 | cp.call(p,"alteraclasse",fim); |
@@ -1126,7 +1125,7 @@ i3GEOF.legenda = { | @@ -1126,7 +1125,7 @@ i3GEOF.legenda = { | ||
1126 | i3GEOF.legenda.aguarde.visibility = "hidden"; | 1125 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
1127 | }; | 1126 | }; |
1128 | if (item == "") | 1127 | if (item == "") |
1129 | - {i3GEO.janela.tempoMsg("Selecione um item!");return;} | 1128 | + {i3GEO.janela.tempoMsg($trad(81,i3GEOF.legenda.dicionario));return;} |
1130 | i3GEOF.legenda.aguarde.visibility = "visible"; | 1129 | i3GEOF.legenda.aguarde.visibility = "visible"; |
1131 | cp.set_response_type("JSON"); | 1130 | cp.set_response_type("JSON"); |
1132 | cp.call(p,"alteraclasse",fim); | 1131 | cp.call(p,"alteraclasse",fim); |
@@ -1190,11 +1189,11 @@ i3GEOF.legenda = { | @@ -1190,11 +1189,11 @@ i3GEOF.legenda = { | ||
1190 | combo += sct; | 1189 | combo += sct; |
1191 | } | 1190 | } |
1192 | combo += "</select>"; | 1191 | combo += "</select>"; |
1193 | - botoes = "<input id=i3GEOlegendabotao11 class=executar size=10 type=buttom value='excluir' />"; | ||
1194 | - botoes += " <input id=i3GEOlegendabotao12 class=executar size=14 type=buttom value='adicionar' />"; | ||
1195 | - botoes += " <input id=i3GEOlegendabotao13 class=executar size=8 type=buttom value='sobe' />"; | ||
1196 | - botoes += " <input id=i3GEOlegendabotao14 class=executar size=8 type=buttom value='desce' />"; | ||
1197 | - $i("i3GEOlegendacomboestilos").innerHTML = "<table class='lista5'><tr><td><span class=paragrafo >Estilo em edição:</span></td><td>"+combo+"</td><td>"+botoes+"</td></tr></table> (pós adicionar ou excluir, aplique a alteração)<br><br>"; | 1192 | + botoes = "<input id=i3GEOlegendabotao11 class=executar size=10 type=buttom value='"+$trad(49,i3GEOF.legenda.dicionario)+"' />"; |
1193 | + botoes += " <input id=i3GEOlegendabotao12 class=executar size=14 type=buttom value='"+$trad(50,i3GEOF.legenda.dicionario)+"' />"; | ||
1194 | + botoes += " <input id=i3GEOlegendabotao13 class=executar size=8 type=buttom value='"+$trad(65,i3GEOF.legenda.dicionario)+"' />"; | ||
1195 | + botoes += " <input id=i3GEOlegendabotao14 class=executar size=8 type=buttom value='"+$trad(66,i3GEOF.legenda.dicionario)+"' />"; | ||
1196 | + $i("i3GEOlegendacomboestilos").innerHTML = "<table class='lista5'><tr><td><span class=paragrafo >"+$trad(82,i3GEOF.legenda.dicionario)+":</span></td><td>"+combo+"</td><td>"+botoes+"</td></tr></table> (pós adicionar ou excluir, aplique a alteração)<br><br>"; | ||
1198 | new YAHOO.widget.Button( | 1197 | new YAHOO.widget.Button( |
1199 | "i3GEOlegendabotao11",{onclick:{fn: function(){ | 1198 | "i3GEOlegendabotao11",{onclick:{fn: function(){ |
1200 | try{ | 1199 | try{ |
@@ -1258,7 +1257,7 @@ i3GEOF.legenda = { | @@ -1258,7 +1257,7 @@ i3GEOF.legenda = { | ||
1258 | i3GEOF.legenda.mostraEstilo(0); | 1257 | i3GEOF.legenda.mostraEstilo(0); |
1259 | } | 1258 | } |
1260 | else{ | 1259 | else{ |
1261 | - $i("i3GEOlegendacomboestilos").innerHTML = "<p style=color:red >Ocorreu um erro<br>"; | 1260 | + $i("i3GEOlegendacomboestilos").innerHTML = "<p style=color:red >Erro<br>"; |
1262 | i3GEOF.legenda.aguarde.visibility = "hidden"; | 1261 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
1263 | } | 1262 | } |
1264 | } | 1263 | } |
@@ -1280,28 +1279,28 @@ i3GEOF.legenda = { | @@ -1280,28 +1279,28 @@ i3GEOF.legenda = { | ||
1280 | d = "<table class=lista6 ><tr><td style='text-align:left;'>Cor do contorno:</td><td>" + | 1279 | d = "<table class=lista6 ><tr><td style='text-align:left;'>Cor do contorno:</td><td>" + |
1281 | $inputText("","","i3GEOlegendaoutlinecolor","",12,linha[2]) + | 1280 | $inputText("","","i3GEOlegendaoutlinecolor","",12,linha[2]) + |
1282 | "</td><td><img style=cursor:pointer src='"+i3GEO.configura.locaplic+"/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendaoutlinecolor')\" /></td></tr>"+ | 1281 | "</td><td><img style=cursor:pointer src='"+i3GEO.configura.locaplic+"/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendaoutlinecolor')\" /></td></tr>"+ |
1283 | - "<tr><td style='text-align:left;'>Cor do fundo:</td><td>" + | 1282 | + "<tr><td style='text-align:left;'>"+$trad(83,i3GEOF.legenda.dicionario)+":</td><td>" + |
1284 | $inputText("","","i3GEOlegendabackgroundcolor","",12,linha[3]) + | 1283 | $inputText("","","i3GEOlegendabackgroundcolor","",12,linha[3]) + |
1285 | "</td><td><img style=cursor:pointer src='"+i3GEO.configura.locaplic+"/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendabackgroundcolor')\" /></td></tr>"+ | 1284 | "</td><td><img style=cursor:pointer src='"+i3GEO.configura.locaplic+"/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendabackgroundcolor')\" /></td></tr>"+ |
1286 | - "<tr><td style='text-align:left;'>Cor da frente:</td><td>"+ | 1285 | + "<tr><td style='text-align:left;'>"+$trad(84,i3GEOF.legenda.dicionario)+":</td><td>"+ |
1287 | $inputText("","","i3GEOlegendacolor","",12,linha[4]) + | 1286 | $inputText("","","i3GEOlegendacolor","",12,linha[4]) + |
1288 | "</td><td><img style=cursor:pointer src='"+i3GEO.configura.locaplic+"/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendacolor')\" /></td></tr>"+ | 1287 | "</td><td><img style=cursor:pointer src='"+i3GEO.configura.locaplic+"/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendacolor')\" /></td></tr>"+ |
1289 | - "<tr><td style='text-align:left;'>Tamanho/espaçamento:</td><td>"+ | 1288 | + "<tr><td style='text-align:left;'>"+$trad(85,i3GEOF.legenda.dicionario)+":</td><td>"+ |
1290 | $inputText("","","i3GEOlegendasizes","",12,linha[6]) + | 1289 | $inputText("","","i3GEOlegendasizes","",12,linha[6]) + |
1291 | "</td><td></td></tr>" + | 1290 | "</td><td></td></tr>" + |
1292 | - "<tr><td style='text-align:left;'>Espessura:</td><td>"+ | 1291 | + "<tr><td style='text-align:left;'>"+$trad(86,i3GEOF.legenda.dicionario)+":</td><td>"+ |
1293 | $inputText("","","i3GEOlegendawidth","",12,linha[8]) + | 1292 | $inputText("","","i3GEOlegendawidth","",12,linha[8]) + |
1294 | "</td><td></td></tr>" + | 1293 | "</td><td></td></tr>" + |
1295 | - "<tr><td style='text-align:left;'>Padrão de repetição:</td><td>"+ | 1294 | + "<tr><td style='text-align:left;'>"+$trad(87,i3GEOF.legenda.dicionario)+":</td><td>"+ |
1296 | $inputText("","","i3GEOlegendapattern","",12,linha[9]) + | 1295 | $inputText("","","i3GEOlegendapattern","",12,linha[9]) + |
1297 | "</td><td></td></tr>" + | 1296 | "</td><td></td></tr>" + |
1298 | - "<tr><td style='text-align:left;'>Opacidade:</td><td>"+ | 1297 | + "<tr><td style='text-align:left;'>"+$trad(88,i3GEOF.legenda.dicionario)+":</td><td>"+ |
1299 | $inputText("","","i3GEOlegendaopacidade","",3,linha[7]) + | 1298 | $inputText("","","i3GEOlegendaopacidade","",3,linha[7]) + |
1300 | "</td><td></td></tr>" + | 1299 | "</td><td></td></tr>" + |
1301 | - "<tr><td style='text-align:left;'>Ângulo:</td><td>"+ | 1300 | + "<tr><td style='text-align:left;'>"+$trad(89,i3GEOF.legenda.dicionario)+":</td><td>"+ |
1302 | $inputText("","","i3GEOlegendaangulo","",5,linha[10]) + | 1301 | $inputText("","","i3GEOlegendaangulo","",5,linha[10]) + |
1303 | "</td><td></td></tr>" + | 1302 | "</td><td></td></tr>" + |
1304 | - "<tr><td style='text-align:left;'>Símbolo:</td><td>"+ | 1303 | + "<tr><td style='text-align:left;'>"+$trad(90,i3GEOF.legenda.dicionario)+":</td><td>"+ |
1305 | $inputText("","","i3GEOlegendasymbolname","",12,linha[5]) + | 1304 | $inputText("","","i3GEOlegendasymbolname","",12,linha[5]) + |
1306 | "</td><td></td></tr></table>"; | 1305 | "</td><td></td></tr></table>"; |
1307 | $i("i3GEOlegendacomboestilos").innerHTML += d; | 1306 | $i("i3GEOlegendacomboestilos").innerHTML += d; |
@@ -1323,10 +1322,10 @@ i3GEOF.legenda = { | @@ -1323,10 +1322,10 @@ i3GEOF.legenda = { | ||
1323 | try{ | 1322 | try{ |
1324 | if (retorno.data != undefined){ | 1323 | if (retorno.data != undefined){ |
1325 | retorno = retorno.data; | 1324 | retorno = retorno.data; |
1326 | - $i("i3GEOlegendasimbolos").innerHTML = "<br>Lista de símbolos. Clique para selecionar:<br><br>"+retorno; | 1325 | + $i("i3GEOlegendasimbolos").innerHTML = "<br>"+$trad(91,i3GEOF.legenda.dicionario)+":<br><br>"+retorno; |
1327 | } | 1326 | } |
1328 | else | 1327 | else |
1329 | - {$i("i3GEOlegendasimbolos").innerHTML = "<p style=color:red >Ocorreu um erro<br>";} | 1328 | + {$i("i3GEOlegendasimbolos").innerHTML = "<p style=color:red >Erro<br>";} |
1330 | i3GEOF.legenda.aguarde.visibility = "hidden"; | 1329 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
1331 | } | 1330 | } |
1332 | catch(e){i3GEO.janela.tempoMsg("Erro: "+ e);i3GEOF.legenda.aguarde.visibility = "hidden";} | 1331 | catch(e){i3GEO.janela.tempoMsg("Erro: "+ e);i3GEOF.legenda.aguarde.visibility = "hidden";} |
@@ -1410,15 +1409,14 @@ i3GEOF.legenda = { | @@ -1410,15 +1409,14 @@ i3GEOF.legenda = { | ||
1410 | {return;} | 1409 | {return;} |
1411 | i3GEOF.legenda.aguarde.visibility = "visible"; | 1410 | i3GEOF.legenda.aguarde.visibility = "visible"; |
1412 | var monta = function(retorno){ | 1411 | var monta = function(retorno){ |
1413 | - if (retorno.data[0].proc == "") //o layer nao deve ser raster | ||
1414 | - { | 1412 | + if (retorno.data && retorno.data[0].proc == ""){ |
1415 | var ins = [],i,re,t; | 1413 | var ins = [],i,re,t; |
1416 | - ins.push("<p class='paragrafo' ><input type=button value='Gráfico de pizza' id=i3GEOlegendaGraficoPizza /></p>"); | ||
1417 | - ins.push("<p class='paragrafo' >Número de ocorrências em cada classe (n)</p>"); | 1414 | + ins.push("<p class='paragrafo' ><input type=button value='"+$trad(92,i3GEOF.legenda.dicionario)+"' id=i3GEOlegendaGraficoPizza /></p>"); |
1415 | + ins.push("<p class='paragrafo' >"+$trad(93,i3GEOF.legenda.dicionario)+"</p>"); | ||
1418 | ins.push("<table width=100% >"); | 1416 | ins.push("<table width=100% >"); |
1419 | i3GEOF.legenda.dadosGrafico = ["n;x"]; | 1417 | i3GEOF.legenda.dadosGrafico = ["n;x"]; |
1420 | if(retorno.data.length < 2){ | 1418 | if(retorno.data.length < 2){ |
1421 | - i3GEO.janela.tempoMsg("O tema deve conter pelo menos 2 classes"); | 1419 | + i3GEO.janela.tempoMsg($trad(94,i3GEOF.legenda.dicionario)); |
1422 | i3GEOF.legenda.aguarde.visibility = "hidden"; | 1420 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
1423 | return; | 1421 | return; |
1424 | } | 1422 | } |
@@ -1437,8 +1435,9 @@ i3GEOF.legenda = { | @@ -1437,8 +1435,9 @@ i3GEOF.legenda = { | ||
1437 | $i("i3GEOlegendaguia4obj").innerHTML = ins.join(""); | 1435 | $i("i3GEOlegendaguia4obj").innerHTML = ins.join(""); |
1438 | } | 1436 | } |
1439 | else | 1437 | else |
1440 | - {$i("i3GEOlegendaguia4obj").innerHTML = "<p style=color:red >Ocorreu um erro<br>";} | 1438 | + {$i("i3GEOlegendaguia4obj").innerHTML = "<p style=color:red >Erro<br>";return;} |
1441 | i3GEOF.legenda.aguarde.visibility = "hidden"; | 1439 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
1440 | + | ||
1442 | new YAHOO.widget.Button( | 1441 | new YAHOO.widget.Button( |
1443 | "i3GEOlegendaGraficoPizza", | 1442 | "i3GEOlegendaGraficoPizza", |
1444 | {onclick:{fn: function(){ | 1443 | {onclick:{fn: function(){ |
@@ -1449,8 +1448,8 @@ i3GEOF.legenda = { | @@ -1449,8 +1448,8 @@ i3GEOF.legenda = { | ||
1449 | ); | 1448 | ); |
1450 | $i("i3GEOlegendaGraficoPizza-button").style.width = "200px"; | 1449 | $i("i3GEOlegendaGraficoPizza-button").style.width = "200px"; |
1451 | }, | 1450 | }, |
1452 | - p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=contagemclasse&tema="+i3GEOF.legenda.tema, | ||
1453 | - cp = new cpaint(); | 1451 | + p = i3GEO.configura.locaplic+"/ferramentas/legenda/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=contagemclasse&tema="+i3GEOF.legenda.tema, |
1452 | + cp = new cpaint(); | ||
1454 | //cp.set_debug(2) | 1453 | //cp.set_debug(2) |
1455 | cp.set_response_type("JSON"); | 1454 | cp.set_response_type("JSON"); |
1456 | cp.call(p,"cocontagemclasse",monta); | 1455 | cp.call(p,"cocontagemclasse",monta); |
@@ -1511,4 +1510,4 @@ i3GEOF.legenda = { | @@ -1511,4 +1510,4 @@ i3GEOF.legenda = { | ||
1511 | adicionaProcesso: function(s){ | 1510 | adicionaProcesso: function(s){ |
1512 | $i("i3GEOlegendaprocessos").innerHTML += $inputText("","","","",50,s.value); | 1511 | $i("i3GEOlegendaprocessos").innerHTML += $inputText("","","","",50,s.value); |
1513 | } | 1512 | } |
1514 | -}; | 1513 | +}; |
1515 | \ No newline at end of file | 1514 | \ No newline at end of file |
interface/openlayersdebug.htm
@@ -114,6 +114,7 @@ | @@ -114,6 +114,7 @@ | ||
114 | </div> | 114 | </div> |
115 | <script src="../classesjs/i3geonaocompacto.js"></script> | 115 | <script src="../classesjs/i3geonaocompacto.js"></script> |
116 | <script src="../pacotes/openlayers/OpenLayers211.js.php"></script> | 116 | <script src="../pacotes/openlayers/OpenLayers211.js.php"></script> |
117 | +<!-- <script src="../pacotes/openlayers/OpenLayers2131.js.php"></script> --> | ||
117 | <!-- estilo necessário para a ferramenta de edição --> | 118 | <!-- estilo necessário para a ferramenta de edição --> |
118 | 119 | ||
119 | <script> | 120 | <script> |