Commit 4f7c3aa39a1edd48282c419889f1adccf130c57e

Authored by Murilo Caixêta
1 parent 2fed60dd

Substituição dos IDs para os textos das ferramenta por palavras-chave

ferramentas/opcoes_legenda/dicionario.js
1 //+$trad(1,i3GEOF.opcoesLegenda.dicionario)+ 1 //+$trad(1,i3GEOF.opcoesLegenda.dicionario)+
2 i3GEOF.opcoesLegenda.dicionario = { 2 i3GEOF.opcoesLegenda.dicionario = {
3 -1: [{  
4 -pt:"Essa operacao afeta apenas a legenda utilizada na ferramenta de impressao do mapa",  
5 -en:"",  
6 -es:""  
7 -}],  
8 -2: [{  
9 -pt:"Inclui no corpo do mapa?",  
10 -en:"",  
11 -es:""  
12 -}],  
13 -3: [{  
14 -pt:"Cor do fundo",  
15 -en:"",  
16 -es:""  
17 -}],  
18 -4: [{  
19 -pt:"Contorno dos símbolos",  
20 -en:"",  
21 -es:""  
22 -}],  
23 -5: [{  
24 -pt:"Posição",  
25 -en:"",  
26 -es:""  
27 -}],  
28 -6: [{  
29 -pt:"sup. esquerdo",  
30 -en:"",  
31 -es:""  
32 -}],  
33 -7: [{  
34 -pt:"sup. centro",  
35 -en:"",  
36 -es:""  
37 -}],  
38 -8: [{  
39 -pt:"sup. direito",  
40 -en:"",  
41 -es:""  
42 -}],  
43 -9: [{  
44 -pt:"inf. esquerdo",  
45 -en:"",  
46 -es:""  
47 -}],  
48 -10: [{  
49 -pt:"inf. centro",  
50 -en:"",  
51 -es:""  
52 -}],  
53 -11: [{  
54 -pt:"inf. direito",  
55 -en:"",  
56 -es:""  
57 -}],  
58 -12: [{  
59 -pt:"Espaçamento em Y",  
60 -en:"",  
61 -es:""  
62 -}],  
63 -13: [{  
64 -pt:"Espaçamento em X",  
65 -en:"",  
66 -es:""  
67 -}],  
68 -14: [{  
69 -pt:"Tamanho do símb. Y",  
70 -en:"",  
71 -es:""  
72 -}],  
73 -15: [{  
74 -pt:"Tamanho do símb. X",  
75 -en:"",  
76 -es:""  
77 -}],  
78 -16: [{  
79 -pt:"Tamanho do texto",  
80 -en:"",  
81 -es:""  
82 -}],  
83 -17: [{  
84 -pt:"Fonte: (teste a fonte mais adequada para apresentação correta da acentuação)",  
85 -en:"",  
86 -es:""  
87 -}],  
88 -18: [{  
89 -pt:"Aplicar",  
90 -en:"",  
91 -es:""  
92 -}],  
93 -19: [{  
94 -pt:"Testar",  
95 -en:"",  
96 -es:""  
97 -}] 3 + 'msg' : [ {
  4 + pt : "Essa operacao afeta apenas a legenda utilizada na ferramenta de impressao do mapa",
  5 + en : "",
  6 + es : ""
  7 + } ],
  8 + 'incluiNoMapa' : [ {
  9 + pt : "Inclui no corpo do mapa?",
  10 + en : "",
  11 + es : ""
  12 + } ],
  13 + 'corFundo' : [ {
  14 + pt : "Cor do fundo",
  15 + en : "",
  16 + es : ""
  17 + } ],
  18 + 'contornoSimbolos' : [ {
  19 + pt : "Contorno dos símbolos",
  20 + en : "",
  21 + es : ""
  22 + } ],
  23 + 'posicao' : [ {
  24 + pt : "Posição",
  25 + en : "",
  26 + es : ""
  27 + } ],
  28 + 'supEsquerdo' : [ {
  29 + pt : "sup. esquerdo",
  30 + en : "",
  31 + es : ""
  32 + } ],
  33 + 'supCentro' : [ {
  34 + pt : "sup. centro",
  35 + en : "",
  36 + es : ""
  37 + } ],
  38 + 'supDireito' : [ {
  39 + pt : "sup. direito",
  40 + en : "",
  41 + es : ""
  42 + } ],
  43 + 'infEsquerdo' : [ {
  44 + pt : "inf. esquerdo",
  45 + en : "",
  46 + es : ""
  47 + } ],
  48 + 'infCentro' : [ {
  49 + pt : "inf. centro",
  50 + en : "",
  51 + es : ""
  52 + } ],
  53 + 'infDireito' : [ {
  54 + pt : "inf. direito",
  55 + en : "",
  56 + es : ""
  57 + } ],
  58 + 'espacamentoY' : [ {
  59 + pt : "Espaçamento em Y",
  60 + en : "",
  61 + es : ""
  62 + } ],
  63 + 'espacamentoX' : [ {
  64 + pt : "Espaçamento em X",
  65 + en : "",
  66 + es : ""
  67 + } ],
  68 + 'tamanhoSimboloX' : [ {
  69 + pt : "Tamanho do símb. Y",
  70 + en : "",
  71 + es : ""
  72 + } ],
  73 + 'tamanhoSimboloX' : [ {
  74 + pt : "Tamanho do símb. X",
  75 + en : "",
  76 + es : ""
  77 + } ],
  78 + 'tamanhoTexto' : [ {
  79 + pt : "Tamanho do texto",
  80 + en : "",
  81 + es : ""
  82 + } ],
  83 + 'fonte' : [ {
  84 + pt : "Fonte: (teste a fonte mais adequada para apresentação correta da acentuação)",
  85 + en : "",
  86 + es : ""
  87 + } ],
  88 + 'aplica' : [ {
  89 + pt : "Aplicar",
  90 + en : "",
  91 + es : ""
  92 + } ],
  93 + 'testa' : [ {
  94 + pt : "Testar",
  95 + en : "",
  96 + es : ""
  97 + } ]
98 }; 98 };
99 \ No newline at end of file 99 \ No newline at end of file
ferramentas/opcoes_legenda/index.js
@@ -100,7 +100,7 @@ i3GEOF.opcoesLegenda = { @@ -100,7 +100,7 @@ i3GEOF.opcoesLegenda = {
100 } 100 }
101 catch(erro){if(typeof(console) !== 'undefined'){console.error(erro);}} 101 catch(erro){if(typeof(console) !== 'undefined'){console.error(erro);}}
102 if(i3GEO.Interface.ATUAL !== "padrao") 102 if(i3GEO.Interface.ATUAL !== "padrao")
103 - {i3GEO.janela.tempoMsg($trad(1,i3GEOF.opcoesLegenda.dicionario));} 103 + {i3GEO.janela.tempoMsg($trad('msg',i3GEOF.opcoesLegenda.dicionario));}
104 }, 104 },
105 /* 105 /*
106 Function: html 106 Function: html
@@ -113,7 +113,7 @@ i3GEOF.opcoesLegenda = { @@ -113,7 +113,7 @@ i3GEOF.opcoesLegenda = {
113 */ 113 */
114 html:function(){ 114 html:function(){
115 var ins = '<table summary="" class=lista >' + 115 var ins = '<table summary="" class=lista >' +
116 - '<tr><td>'+$trad(2,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' + 116 + '<tr><td>'+$trad('incluiNoMapa',i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
117 ' <select id=i3GEOopcoesLegendastatus >' + 117 ' <select id=i3GEOopcoesLegendastatus >' +
118 ' <option value=3 >'+$trad("x14")+'</option>' + 118 ' <option value=3 >'+$trad("x14")+'</option>' +
119 ' <option value=1 >'+$trad("x15")+'</option>' + 119 ' <option value=1 >'+$trad("x15")+'</option>' +
@@ -121,53 +121,53 @@ i3GEOF.opcoesLegenda = { @@ -121,53 +121,53 @@ i3GEOF.opcoesLegenda = {
121 ' </select>' + 121 ' </select>' +
122 '<td></tr>' + 122 '<td></tr>' +
123 '<tr><td>&nbsp;</td><td></td></tr>' + 123 '<tr><td>&nbsp;</td><td></td></tr>' +
124 - '<tr><td>'+$trad(3,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' + 124 + '<tr><td>'+$trad('corFundo',i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
125 $inputText("","","i3GEOopcoesLegendaimagecolor","",12,"") + 125 $inputText("","","i3GEOopcoesLegendaimagecolor","",12,"") +
126 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesLegenda.corj(\'i3GEOopcoesLegendaimagecolor\')" />' + 126 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesLegenda.corj(\'i3GEOopcoesLegendaimagecolor\')" />' +
127 '</td></tr>' + 127 '</td></tr>' +
128 '<tr><td>&nbsp;</td><td></td></tr>' + 128 '<tr><td>&nbsp;</td><td></td></tr>' +
129 - '<tr><td>'+$trad(4,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' + 129 + '<tr><td>'+$trad('contornoSimbolos',i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
130 $inputText("","","i3GEOopcoesLegendaoutlinecolor","",12,"") + 130 $inputText("","","i3GEOopcoesLegendaoutlinecolor","",12,"") +
131 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesLegenda.corj(\'i3GEOopcoesLegendaoutlinecolor\')" />' + 131 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesLegenda.corj(\'i3GEOopcoesLegendaoutlinecolor\')" />' +
132 '</td></tr>' + 132 '</td></tr>' +
133 '<tr><td>&nbsp;</td><td></td></tr>' + 133 '<tr><td>&nbsp;</td><td></td></tr>' +
134 - '<tr><td>'+$trad(5,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' + 134 + '<tr><td>'+$trad('posicao',i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
135 ' <select id=i3GEOopcoesLegendaposition >' + 135 ' <select id=i3GEOopcoesLegendaposition >' +
136 - ' <option value=101 >'+$trad(6,i3GEOF.opcoesLegenda.dicionario)+'</option>' +  
137 - ' <option value=107 >'+$trad(7,i3GEOF.opcoesLegenda.dicionario)+'</option>' +  
138 - ' <option value=103 selected >'+$trad(8,i3GEOF.opcoesLegenda.dicionario)+'</option>' +  
139 - ' <option value=104 >'+$trad(9,i3GEOF.opcoesLegenda.dicionario)+'</option>' +  
140 - ' <option value=108 >'+$trad(10,i3GEOF.opcoesLegenda.dicionario)+'</option>' +  
141 - ' <option value=102 >'+$trad(11,i3GEOF.opcoesLegenda.dicionario)+'</option>' + 136 + ' <option value=101 >'+$trad('supEsquerdo',i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  137 + ' <option value=107 >'+$trad('supCentro',i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  138 + ' <option value=103 selected >'+$trad('supDireito',i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  139 + ' <option value=104 >'+$trad('infEsquerdo',i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  140 + ' <option value=108 >'+$trad('infCentro',i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  141 + ' <option value=102 >'+$trad('infDireito',i3GEOF.opcoesLegenda.dicionario)+'</option>' +
142 ' </select>' + 142 ' </select>' +
143 '<td></tr>' + 143 '<td></tr>' +
144 '<tr><td>&nbsp;</td><td></td></tr>' + 144 '<tr><td>&nbsp;</td><td></td></tr>' +
145 - '<tr><td>'+$trad(12,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' + 145 + '<tr><td>'+$trad('espacamentoY',i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
146 $inputText("","","i3GEOopcoesLegendakeyspacingy","",4,"") + 146 $inputText("","","i3GEOopcoesLegendakeyspacingy","",4,"") +
147 '<td></tr>' + 147 '<td></tr>' +
148 '<tr><td>&nbsp;</td><td></td></tr>' + 148 '<tr><td>&nbsp;</td><td></td></tr>' +
149 - '<tr><td>'+$trad(13,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' + 149 + '<tr><td>'+$trad('espacamentoX',i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
150 $inputText("","","i3GEOopcoesLegendakeyspacingx","",4,"") + 150 $inputText("","","i3GEOopcoesLegendakeyspacingx","",4,"") +
151 '</td></tr>' + 151 '</td></tr>' +
152 '<tr><td>&nbsp;</td><td></td></tr>' + 152 '<tr><td>&nbsp;</td><td></td></tr>' +
153 - '<tr><td>'+$trad(14,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' + 153 + '<tr><td>'+$trad('tamanhoSimboloY',i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
154 $inputText("","","i3GEOopcoesLegendakeysizey","",4,"") + 154 $inputText("","","i3GEOopcoesLegendakeysizey","",4,"") +
155 '<td></tr>' + 155 '<td></tr>' +
156 '<tr><td>&nbsp;</td><td></td></tr>' + 156 '<tr><td>&nbsp;</td><td></td></tr>' +
157 - '<tr><td>'+$trad(15,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' + 157 + '<tr><td>'+$trad('tamanhoSimboloX',i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
158 $inputText("","","i3GEOopcoesLegendakeysizex","",4,"") + 158 $inputText("","","i3GEOopcoesLegendakeysizex","",4,"") +
159 '<td></tr>' + 159 '<td></tr>' +
160 '<tr><td>&nbsp;</td><td></td></tr>' + 160 '<tr><td>&nbsp;</td><td></td></tr>' +
161 - '<tr><td>'+$trad(16,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' + 161 + '<tr><td>'+$trad('tamanhoTexto',i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
162 $inputText("","","i3GEOopcoesLegendalabelsize","",4,"") + 162 $inputText("","","i3GEOopcoesLegendalabelsize","",4,"") +
163 '<td></tr>' + 163 '<td></tr>' +
164 '<tr><td>&nbsp;</td><td></td></tr>' + 164 '<tr><td>&nbsp;</td><td></td></tr>' +
165 - '<tr><td>'+$trad(17,i3GEOF.opcoesLegenda.dicionario)+'</td>' + 165 + '<tr><td>'+$trad('fonte',i3GEOF.opcoesLegenda.dicionario)+'</td>' +
166 ' <td id=i3GEOopcoesLegendafontef >aguarde...</td>' + 166 ' <td id=i3GEOopcoesLegendafontef >aguarde...</td>' +
167 '</tr></table><br>'+ 167 '</tr></table><br>'+
168 '<p class=paragrafo >' + 168 '<p class=paragrafo >' +
169 - '<input id=i3GEOopcoesLegendabotao1 size=20 type=button value="'+$trad(18,i3GEOF.opcoesLegenda.dicionario)+'" />' +  
170 - '<input id=i3GEOopcoesLegendabotao2 size=20 type=button value="'+$trad(19,i3GEOF.opcoesLegenda.dicionario)+'" />' + 169 + '<input id=i3GEOopcoesLegendabotao1 size=20 type=button value="'+$trad('aplica',i3GEOF.opcoesLegenda.dicionario)+'" />' +
  170 + '<input id=i3GEOopcoesLegendabotao2 size=20 type=button value="'+$trad('testa',i3GEOF.opcoesLegenda.dicionario)+'" />' +
171 '</p><br><img alt="teste" src="" id=i3GEOopcoesLegendatesteLegenda style="display:none"/>'; 171 '</p><br><img alt="teste" src="" id=i3GEOopcoesLegendatesteLegenda style="display:none"/>';
172 return ins; 172 return ins;
173 }, 173 },
@@ -237,7 +237,7 @@ i3GEOF.opcoesLegenda = { @@ -237,7 +237,7 @@ i3GEOF.opcoesLegenda = {
237 /* 237 /*
238 Function: parametrosAtuais 238 Function: parametrosAtuais
239 239
240 - Pega os parâmetros atuais da legenda 240 + Pega os par�metros atuais da legenda
241 241
242 Veja: 242 Veja:
243 243
ferramentas/opcoes_querymap/dicionario.js
1 //+$trad(1,i3GEOF.opcoesQuery.dicionario)+ 1 //+$trad(1,i3GEOF.opcoesQuery.dicionario)+
2 i3GEOF.opcoesQuery.dicionario = { 2 i3GEOF.opcoesQuery.dicionario = {
3 - 1: [{  
4 - pt:"Aplica",  
5 - en:"",  
6 - es:"",  
7 - it:""  
8 - }] 3 + 1 : [ {
  4 + pt : "Aplica",
  5 + en : "",
  6 + es : "",
  7 + it : ""
  8 + } ]
9 }; 9 };
10 \ No newline at end of file 10 \ No newline at end of file
ferramentas/opcoes_querymap/index.js
@@ -116,7 +116,7 @@ i3GEOF.opcoesQuery = { @@ -116,7 +116,7 @@ i3GEOF.opcoesQuery = {
116 var ins = $inputText("","","i3GEOopcoesQuerycor","",12,"") + 116 var ins = $inputText("","","i3GEOopcoesQuerycor","",12,"") +
117 '<img alt="aquarela.gif" style=cursor:pointer '+ 117 '<img alt="aquarela.gif" style=cursor:pointer '+
118 'src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesQuery.corj(\'i3GEOopcoesQuerycor\')" /> ' + 118 'src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesQuery.corj(\'i3GEOopcoesQuerycor\')" /> ' +
119 - '<br><br><p class=paragrafo ><input size=20 id=i3GEOopcoesQuerybotao1 type=button value="'+$trad(1,i3GEOF.opcoesQuery.dicionario)+'" />'; 119 + '<br><br><p class=paragrafo ><input size=20 id=i3GEOopcoesQuerybotao1 type=button value="'+$trad('aplica',i3GEOF.opcoesQuery.dicionario)+'" />';
120 return ins; 120 return ins;
121 }, 121 },
122 /* 122 /*
@@ -161,7 +161,7 @@ i3GEOF.opcoesQuery = { @@ -161,7 +161,7 @@ i3GEOF.opcoesQuery = {
161 /* 161 /*
162 Function: executa 162 Function: executa
163 163
164 - Aplica os parâmetros definidos 164 + Aplica os par�metros definidos
165 165
166 Veja: 166 Veja:
167 167
ferramentas/opcoes_tamanho/dicionario.js
1 //+$trad(1,i3GEOF.opcoesTamanho.dicionario)+ 1 //+$trad(1,i3GEOF.opcoesTamanho.dicionario)+
2 i3GEOF.opcoesTamanho.dicionario = { 2 i3GEOF.opcoesTamanho.dicionario = {
3 - 1: [{  
4 - pt:"Largura",  
5 - en:"",  
6 - es:"",  
7 - it:""  
8 - }],  
9 - 2: [{  
10 - pt:"Altura",  
11 - en:"",  
12 - es:"",  
13 - it:""  
14 - }],  
15 - 3: [{  
16 - pt:"Valores em pixels",  
17 - en:"",  
18 - es:"",  
19 - it:""  
20 - }],  
21 - 4: [{  
22 - pt:"Testa",  
23 - en:"",  
24 - es:"",  
25 - it:""  
26 - }],  
27 - 5: [{  
28 - pt:"Aplicar",  
29 - en:"",  
30 - es:"",  
31 - it:""  
32 - }],  
33 - 6: [{  
34 - pt:"Essa operacao afeta apenas a legenda utilizada na ferramenta de impressao do mapa",  
35 - en:"",  
36 - es:""  
37 - }] 3 + 'largura' : [ {
  4 + pt : "Largura",
  5 + en : "",
  6 + es : "",
  7 + it : ""
  8 + } ],
  9 + 'altura' : [ {
  10 + pt : "Altura",
  11 + en : "",
  12 + es : "",
  13 + it : ""
  14 + } ],
  15 + 'valor' : [ {
  16 + pt : "Valores em pixels",
  17 + en : "",
  18 + es : "",
  19 + it : ""
  20 + } ],
  21 + 'testa' : [ {
  22 + pt : "Testa",
  23 + en : "",
  24 + es : "",
  25 + it : ""
  26 + } ],
  27 + 'aplica' : [ {
  28 + pt : "Aplicar",
  29 + en : "",
  30 + es : "",
  31 + it : ""
  32 + } ],
  33 + 'msg' : [ {
  34 + pt : "Essa operacao afeta apenas a legenda utilizada na ferramenta de impressao do mapa",
  35 + en : "",
  36 + es : ""
  37 + } ]
38 }; 38 };
39 \ No newline at end of file 39 \ No newline at end of file
ferramentas/opcoes_tamanho/index.js
@@ -102,7 +102,7 @@ i3GEOF.opcoesTamanho = { @@ -102,7 +102,7 @@ i3GEOF.opcoesTamanho = {
102 box.style.height = i3GEO.parametros.h + "px"; 102 box.style.height = i3GEO.parametros.h + "px";
103 box.style.display = "block"; 103 box.style.display = "block";
104 box.style.zIndex = 2; 104 box.style.zIndex = 2;
105 - i3GEO.janela.tempoMsg($trad(6,i3GEOF.opcoesLegenda.dicionario)); 105 + i3GEO.janela.tempoMsg($trad('msg',i3GEOF.opcoesTamanho.dicionario));
106 } 106 }
107 catch(erro){i3GEO.janela.tempoMsg(erro);} 107 catch(erro){i3GEO.janela.tempoMsg(erro);}
108 }, 108 },
@@ -118,16 +118,16 @@ i3GEOF.opcoesTamanho = { @@ -118,16 +118,16 @@ i3GEOF.opcoesTamanho = {
118 html:function(){ 118 html:function(){
119 var ins = '<table summary="" class=lista width="100%">' + 119 var ins = '<table summary="" class=lista width="100%">' +
120 '<table summary="" class=lista > '+ 120 '<table summary="" class=lista > '+
121 - ' <tr><td>'+$trad(1,i3GEOF.opcoesTamanho.dicionario)+':</td><td>' + 121 + ' <tr><td>'+$trad('largura',i3GEOF.opcoesTamanho.dicionario)+':</td><td>' +
122 $inputText("","","i3GEOopcoesTamanhol","",4,i3GEO.parametros.w) + 122 $inputText("","","i3GEOopcoesTamanhol","",4,i3GEO.parametros.w) +
123 ' </td></tr><tr><td>&nbsp;</td><td></td></tr>'+ 123 ' </td></tr><tr><td>&nbsp;</td><td></td></tr>'+
124 - ' <tr><td>'+$trad(2,i3GEOF.opcoesTamanho.dicionario)+':</td><td>' + 124 + ' <tr><td>'+$trad('altura',i3GEOF.opcoesTamanho.dicionario)+':</td><td>' +
125 $inputText("","","i3GEOopcoesTamanhoa","",4,i3GEO.parametros.h) + 125 $inputText("","","i3GEOopcoesTamanhoa","",4,i3GEO.parametros.h) +
126 ' </td></tr><tr><td>&nbsp;</td><td></td></tr>'+ 126 ' </td></tr><tr><td>&nbsp;</td><td></td></tr>'+
127 '</table>' + 127 '</table>' +
128 - '<p class=paragrafo >'+$trad(3,i3GEOF.opcoesTamanho.dicionario)+'</p>' +  
129 - '<p class=paragrafo ><input id=i3GEOopcoesTamanhobotao2 size=16 type=button value="'+$trad(4,i3GEOF.opcoesTamanho.dicionario)+'"/>' +  
130 - '<input id=i3GEOopcoesTamanhobotao1 size=16 type=button value="'+$trad(5,i3GEOF.opcoesTamanho.dicionario)+'"/>'; 128 + '<p class=paragrafo >'+$trad('valor',i3GEOF.opcoesTamanho.dicionario)+'</p>' +
  129 + '<p class=paragrafo ><input id=i3GEOopcoesTamanhobotao2 size=16 type=button value="'+$trad('testa',i3GEOF.opcoesTamanho.dicionario)+'"/>' +
  130 + '<input id=i3GEOopcoesTamanhobotao1 size=16 type=button value="'+$trad('aplica',i3GEOF.opcoesTamanho.dicionario)+'"/>';
131 return ins; 131 return ins;
132 }, 132 },
133 /* 133 /*
ferramentas/perfil/dicionario.js
1 //+$trad(1,i3GEOF.perfil.dicionario)+ 1 //+$trad(1,i3GEOF.perfil.dicionario)+
2 i3GEOF.perfil.dicionario = { 2 i3GEOF.perfil.dicionario = {
3 -1: [{  
4 -pt:"Escolha qual ser&aacute; a fonte dos dados de Z:",  
5 -en:"",  
6 -es:""  
7 -}],  
8 -2: [{  
9 -pt:"ou um tema do mapa:",  
10 -en:"",  
11 -es:""  
12 -}],  
13 -3: [{  
14 -pt:"N&uacute;mero de pontos que ser&atilde;o obtidos ao longo da linha",  
15 -en:"",  
16 -es:""  
17 -}],  
18 -4: [{  
19 -pt:"Criar gr&aacute;fico",  
20 -en:"",  
21 -es:""  
22 -}],  
23 -5: [{  
24 -pt:"Erro ao acessar o servi&ccedil;o de fornecimento dos dados",  
25 -en:"",  
26 -es:""  
27 -}],  
28 -6: [{  
29 -pt:"Selecione um tema",  
30 -en:"",  
31 -es:""  
32 -}],  
33 -7: [{  
34 -pt:"Selecione um item",  
35 -en:"",  
36 -es:""  
37 -}],  
38 -8: [{  
39 -pt:"Item com os valores:",  
40 -en:"",  
41 -es:""  
42 -}],  
43 -9: [{  
44 -pt:"",  
45 -en:"",  
46 -es:""  
47 -}],  
48 -10: [{  
49 -pt:"",  
50 -en:"",  
51 -es:""  
52 -}] 3 + 'fonteDadosZ' : [ {
  4 + pt : "Escolha qual ser&aacute; a fonte dos dados de Z:",
  5 + en : "",
  6 + es : ""
  7 + } ],
  8 + 'ouTemaMapa' : [ {
  9 + pt : "ou um tema do mapa:",
  10 + en : "",
  11 + es : ""
  12 + } ],
  13 + 'numeroPontosLinha' : [ {
  14 + pt : "N&uacute;mero de pontos que ser&atilde;o obtidos ao longo da linha",
  15 + en : "",
  16 + es : ""
  17 + } ],
  18 + 'criaGrafico' : [ {
  19 + pt : "Criar gr&aacute;fico",
  20 + en : "",
  21 + es : ""
  22 + } ],
  23 + 'erroServico' : [ {
  24 + pt : "Erro ao acessar o servi&ccedil;o de fornecimento dos dados",
  25 + en : "",
  26 + es : ""
  27 + } ],
  28 + 'selecionaTema' : [ {
  29 + pt : "Selecione um tema",
  30 + en : "",
  31 + es : ""
  32 + } ],
  33 + 'selecionaItem' : [ {
  34 + pt : "Selecione um item",
  35 + en : "",
  36 + es : ""
  37 + } ],
  38 + 'itemValores' : [ {
  39 + pt : "Item com os valores:",
  40 + en : "",
  41 + es : ""
  42 + } ],
  43 + 9 : [ {
  44 + pt : "",
  45 + en : "",
  46 + es : ""
  47 + } ],
  48 + 10 : [ {
  49 + pt : "",
  50 + en : "",
  51 + es : ""
  52 + } ]
53 }; 53 };
54 \ No newline at end of file 54 \ No newline at end of file
ferramentas/perfil/index.js
@@ -117,13 +117,13 @@ i3GEOF.perfil = { @@ -117,13 +117,13 @@ i3GEOF.perfil = {
117 String com o c&oacute;digo html 117 String com o c&oacute;digo html
118 */ 118 */
119 html:function(){ 119 html:function(){
120 - var ins = "<p class='paragrafo' >"+$trad(1,i3GEOF.perfil.dicionario); 120 + var ins = "<p class='paragrafo' >"+$trad('fonteDadosZ',i3GEOF.perfil.dicionario);
121 ins += "<p class='paragrafo' ><input onclick='if(this.checked == true){$i(\"i3GEOFperfilTemasSel\").value = \"\";$i(\"i3GEOFperfilDivComboItens\").innerHTML = \"\";}' style=cursor:pointer checked type=radio name=i3GEOFperfilFonte id=i3GEOFperfilFonteGoogle /> Google"; 121 ins += "<p class='paragrafo' ><input onclick='if(this.checked == true){$i(\"i3GEOFperfilTemasSel\").value = \"\";$i(\"i3GEOFperfilDivComboItens\").innerHTML = \"\";}' style=cursor:pointer checked type=radio name=i3GEOFperfilFonte id=i3GEOFperfilFonteGoogle /> Google";
122 - ins += "<br><p class='paragrafo' >"+$trad(2,i3GEOF.perfil.dicionario)+"</p> <div class=styled-select id=i3GEOFperfilTemas ></div>"; 122 + ins += "<br><p class='paragrafo' >"+$trad('ouTemaMapa',i3GEOF.perfil.dicionario)+"</p> <div class=styled-select id=i3GEOFperfilTemas ></div>";
123 ins += "<br><div id=i3GEOFperfilDivComboItens ></div><br>"; 123 ins += "<br><div id=i3GEOFperfilDivComboItens ></div><br>";
124 - ins += "<br><p class='paragrafo' >" + $trad(3,i3GEOF.perfil.dicionario) + "</p>"; 124 + ins += "<br><p class='paragrafo' >" + $trad('numeroPontosLinha',i3GEOF.perfil.dicionario) + "</p>";
125 ins += "<div class=styled-select ><input type=text id=i3GEOFperfilAmostragem value=20 /></div>"; 125 ins += "<div class=styled-select ><input type=text id=i3GEOFperfilAmostragem value=20 /></div>";
126 - ins += "<br><p class='paragrafo' ><input id=i3GEOperfilbotao1 type='buttom' value='"+$trad(4,i3GEOF.perfil.dicionario)+"' />"; 126 + ins += "<br><p class='paragrafo' ><input id=i3GEOperfilbotao1 type='buttom' value='"+$trad('criaGrafico',i3GEOF.perfil.dicionario)+"' />";
127 ins += "<br><br><div style=text-align:left id=i3GEOperfilfim ></div>"; 127 ins += "<br><br><div style=text-align:left id=i3GEOperfilfim ></div>";
128 return ins; 128 return ins;
129 }, 129 },
@@ -188,7 +188,7 @@ i3GEOF.perfil = { @@ -188,7 +188,7 @@ i3GEOF.perfil = {
188 {$i("i3GEOperfilfim").innerHTML = "Erro.";return;} 188 {$i("i3GEOperfilfim").innerHTML = "Erro.";return;}
189 else{ 189 else{
190 if(retorno.data.status != "OK") 190 if(retorno.data.status != "OK")
191 - {$i("i3GEOperfilfim").innerHTML = $trad(5,i3GEOF.perfil.dicionario);return;} 191 + {$i("i3GEOperfilfim").innerHTML = $trad('erroServico',i3GEOF.perfil.dicionario);return;}
192 i3GEOF.perfil.converteDados(retorno.data.results); 192 i3GEOF.perfil.converteDados(retorno.data.results);
193 if(!$i("i3GEOF.graficointerativo1_script")){ 193 if(!$i("i3GEOF.graficointerativo1_script")){
194 var js = i3GEO.configura.locaplic+"/ferramentas/graficointerativo1/index.js"; 194 var js = i3GEO.configura.locaplic+"/ferramentas/graficointerativo1/index.js";
@@ -212,9 +212,9 @@ i3GEOF.perfil = { @@ -212,9 +212,9 @@ i3GEOF.perfil = {
212 else{ 212 else{
213 var pontos = i3GEOF.perfil.listaPontos(false); 213 var pontos = i3GEOF.perfil.listaPontos(false);
214 if($i("i3GEOFperfilTemasSel").value === "") 214 if($i("i3GEOFperfilTemasSel").value === "")
215 - {i3GEO.janela.tempoMsg($trad(6,i3GEOF.perfil.dicionario));return;} 215 + {i3GEO.janela.tempoMsg($trad('selecionaTema',i3GEOF.perfil.dicionario));return;}
216 if($i("i3GEOFperfilComboItens").value === "") 216 if($i("i3GEOFperfilComboItens").value === "")
217 - {i3GEO.janela.tempoMsg($trad(7,i3GEOF.perfil.dicionario));return;} 217 + {i3GEO.janela.tempoMsg($trad('selecionaItem',i3GEOF.perfil.dicionario));return;}
218 i3GEOF.perfil.aguarde.visibility = "visible"; 218 i3GEOF.perfil.aguarde.visibility = "visible";
219 i3GEO.php.dadosPerfilRelevo(fim,$i("i3GEOFperfilTemasSel").value,pontos,$i("i3GEOFperfilAmostragem").value,$i("i3GEOFperfilComboItens").value); 219 i3GEO.php.dadosPerfilRelevo(fim,$i("i3GEOFperfilTemasSel").value,pontos,$i("i3GEOFperfilAmostragem").value,$i("i3GEOFperfilComboItens").value);
220 } 220 }
@@ -306,7 +306,7 @@ i3GEOF.perfil = { @@ -306,7 +306,7 @@ i3GEOF.perfil = {
306 "i3GEOFperfilComboItens", 306 "i3GEOFperfilComboItens",
307 i3GEO.temaAtivo, 307 i3GEO.temaAtivo,
308 function(retorno){ 308 function(retorno){
309 - $i("i3GEOFperfilDivComboItens").innerHTML = "<p class=paragrafo >"+$trad(8,i3GEOF.perfil.dicionario)+"</p><div class=styled-select >"+retorno.dados+"</div>"; 309 + $i("i3GEOFperfilDivComboItens").innerHTML = "<p class=paragrafo >"+$trad('itemValores',i3GEOF.perfil.dicionario)+"</p><div class=styled-select >"+retorno.dados+"</div>";
310 } 310 }
311 ); 311 );
312 } 312 }