Commit 4406d765e99404f3024b14c555e342e53863bb7e

Authored by Murilo Caixêta
1 parent 075dc7db

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

ferramentas/opcoes_autoredesenha/dicionario.js
1 //+$trad(1,i3GEOF.opcoesTempo.dicionario)+ 1 //+$trad(1,i3GEOF.opcoesTempo.dicionario)+
2 i3GEOF.opcoesTempo.dicionario = { 2 i3GEOF.opcoesTempo.dicionario = {
3 -1: [{  
4 -pt:"Tempo em segundos após o qual o mapa será redesenhado automaticamente",  
5 -en:"",  
6 -es:""  
7 -}],  
8 -2: [{  
9 -pt:"Aplicar",  
10 -en:"",  
11 -es:""  
12 -}],  
13 -3: [{  
14 -pt:"Parar",  
15 -en:"",  
16 -es:""  
17 -}] 3 + 'ajuda' : [ {
  4 + pt : "Tempo em segundos após o qual o mapa será redesenhado automaticamente",
  5 + en : "",
  6 + es : ""
  7 + } ],
  8 + 'aplica' : [ {
  9 + pt : "Aplicar",
  10 + en : "",
  11 + es : ""
  12 + } ],
  13 + 'para' : [ {
  14 + pt : "Parar",
  15 + en : "",
  16 + es : ""
  17 + } ]
18 }; 18 };
19 \ No newline at end of file 19 \ No newline at end of file
ferramentas/opcoes_autoredesenha/index.js
@@ -110,12 +110,12 @@ i3GEOF.opcoesTempo = { @@ -110,12 +110,12 @@ i3GEOF.opcoesTempo = {
110 html:function(){ 110 html:function(){
111 var ins = '<div style=padding-left:5px; >' + 111 var ins = '<div style=padding-left:5px; >' +
112 '<p class=paragrafo >' + 112 '<p class=paragrafo >' +
113 - $trad(1,i3GEOF.opcoesTempo.dicionario)+':</p>' + 113 + $trad('ajuda',i3GEOF.opcoesTempo.dicionario)+':</p>' +
114 '<div class=styled-select >' + 114 '<div class=styled-select >' +
115 '<input type=text value="5" id="i3GEOopcoesTempoT" />' + 115 '<input type=text value="5" id="i3GEOopcoesTempoT" />' +
116 '</div>' + 116 '</div>' +
117 - '<br><p class=paragrafo ><input id=i3GEOopcoesTempobotao1 size=16 type=button value="'+$trad(2,i3GEOF.opcoesTempo.dicionario)+'"/>' +  
118 - '&nbsp;<input id=i3GEOopcoesTempobotao2 size=16 type=button value="'+$trad(3,i3GEOF.opcoesTempo.dicionario)+'"/></div>'; 117 + '<br><p class=paragrafo ><input id=i3GEOopcoesTempobotao1 size=16 type=button value="'+$trad('aplica',i3GEOF.opcoesTempo.dicionario)+'"/>' +
  118 + '&nbsp;<input id=i3GEOopcoesTempobotao2 size=16 type=button value="'+$trad('para',i3GEOF.opcoesTempo.dicionario)+'"/></div>';
119 return ins; 119 return ins;
120 }, 120 },
121 /* 121 /*
ferramentas/opcoes_escala/dicionario.js
1 //+$trad(1,i3GEOF.opcoesEscala.dicionario)+ 1 //+$trad(1,i3GEOF.opcoesEscala.dicionario)+
2 i3GEOF.opcoesEscala.dicionario = { 2 i3GEOF.opcoesEscala.dicionario = {
3 - 1: [{ 3 + 'msg': [{
4 pt:"Essa operacao afeta apenas a barra de escala utilizada na ferramenta de impressao do mapa", 4 pt:"Essa operacao afeta apenas a barra de escala utilizada na ferramenta de impressao do mapa",
5 en:"", 5 en:"",
6 es:"", 6 es:"",
7 it:"" 7 it:""
8 }], 8 }],
9 - 2: [{ 9 + 'altura': [{
10 pt:"Altura", 10 pt:"Altura",
11 en:"", 11 en:"",
12 es:"", 12 es:"",
13 it:"" 13 it:""
14 }], 14 }],
15 - 3: [{ 15 + 'unidade': [{
16 pt:"Unidade", 16 pt:"Unidade",
17 en:"", 17 en:"",
18 es:"", 18 es:"",
19 it:"" 19 it:""
20 }], 20 }],
21 - 4: [{ 21 + 'estilo': [{
22 pt:"Estilo", 22 pt:"Estilo",
23 en:"", 23 en:"",
24 es:"", 24 es:"",
25 it:"" 25 it:""
26 }], 26 }],
27 - 5: [{ 27 + 'bloco': [{
28 pt:"Bloco", 28 pt:"Bloco",
29 en:"", 29 en:"",
30 es:"", 30 es:"",
31 it:"" 31 it:""
32 }], 32 }],
33 - 6: [{ 33 + 'linear': [{
34 pt:"Linear", 34 pt:"Linear",
35 en:"", 35 en:"",
36 es:"", 36 es:"",
37 it:"" 37 it:""
38 }], 38 }],
39 - 7: [{ 39 + 'semBarra': [{
40 pt:"Sem barra", 40 pt:"Sem barra",
41 en:"", 41 en:"",
42 es:"", 42 es:"",
43 it:"" 43 it:""
44 }], 44 }],
45 - 8: [{ 45 + 'intervalos': [{
46 pt:"Intervalos", 46 pt:"Intervalos",
47 en:"", 47 en:"",
48 es:"", 48 es:"",
49 it:"" 49 it:""
50 }], 50 }],
51 - 9: [{ 51 + 'cor': [{
52 pt:"Cor", 52 pt:"Cor",
53 en:"", 53 en:"",
54 es:"", 54 es:"",
55 it:"" 55 it:""
56 }], 56 }],
57 - 10: [{ 57 + 'fundo': [{
58 pt:"Fundo", 58 pt:"Fundo",
59 en:"", 59 en:"",
60 es:"", 60 es:"",
61 it:"" 61 it:""
62 }], 62 }],
63 - 11: [{ 63 + 'contorno': [{
64 pt:"Contorno", 64 pt:"Contorno",
65 en:"", 65 en:"",
66 es:"", 66 es:"",
67 it:"" 67 it:""
68 }], 68 }],
69 - 12: [{ 69 + 'aplica': [{
70 pt:"Aplicar", 70 pt:"Aplicar",
71 en:"", 71 en:"",
72 es:"", 72 es:"",
73 it:"" 73 it:""
74 }], 74 }],
75 - 13: [{ 75 + 'testa': [{
76 pt:"Testar", 76 pt:"Testar",
77 en:"", 77 en:"",
78 es:"", 78 es:"",
79 it:"" 79 it:""
80 }], 80 }],
81 - 14: [{ 81 + 'incluiNoMapa': [{
82 pt:"Inclui no corpo do mapa?", 82 pt:"Inclui no corpo do mapa?",
83 en:"", 83 en:"",
84 es:"", 84 es:"",
ferramentas/opcoes_escala/index.js
@@ -99,7 +99,7 @@ i3GEOF.opcoesEscala = { @@ -99,7 +99,7 @@ i3GEOF.opcoesEscala = {
99 } 99 }
100 catch(erro){i3GEO.janela.tempoMsg(erro);} 100 catch(erro){i3GEO.janela.tempoMsg(erro);}
101 if(i3GEO.Interface.ATUAL !== "padrao") 101 if(i3GEO.Interface.ATUAL !== "padrao")
102 - {i3GEO.janela.tempoMsg($trad(1,i3GEOF.opcoesEscala.dicionario));} 102 + {i3GEO.janela.tempoMsg($trad('msg',i3GEOF.opcoesEscala.dicionario));}
103 }, 103 },
104 /* 104 /*
105 Function: html 105 Function: html
@@ -112,7 +112,7 @@ i3GEOF.opcoesEscala = { @@ -112,7 +112,7 @@ i3GEOF.opcoesEscala = {
112 */ 112 */
113 html:function(){ 113 html:function(){
114 var ins = '<table summary="" class=lista >' + 114 var ins = '<table summary="" class=lista >' +
115 - '<tr><td>'+$trad(14,i3GEOF.opcoesEscala.dicionario)+':</td><td>' + 115 + '<tr><td>'+$trad('incluiNoMapa',i3GEOF.opcoesEscala.dicionario)+':</td><td>' +
116 ' <select id=i3GEOopcoesEscalastatus >' + 116 ' <select id=i3GEOopcoesEscalastatus >' +
117 ' <option value=3 >'+$trad("x14")+'</option>' + 117 ' <option value=3 >'+$trad("x14")+'</option>' +
118 ' <option value=1 >'+$trad("x15")+'</option>' + 118 ' <option value=1 >'+$trad("x15")+'</option>' +
@@ -124,46 +124,46 @@ i3GEOF.opcoesEscala = { @@ -124,46 +124,46 @@ i3GEOF.opcoesEscala = {
124 $inputText("","","i3GEOopcoesEscalaw","",4,"") + 124 $inputText("","","i3GEOopcoesEscalaw","",4,"") +
125 '</td></tr>' + 125 '</td></tr>' +
126 '<tr><td>&nbsp;</td><td></td></tr>' + 126 '<tr><td>&nbsp;</td><td></td></tr>' +
127 - '<tr><td>'+$trad(2,i3GEOF.opcoesEscala.dicionario)+':</td><td>' + 127 + '<tr><td>'+$trad('altura',i3GEOF.opcoesEscala.dicionario)+':</td><td>' +
128 $inputText("","","i3GEOopcoesEscalah","",4,"") + 128 $inputText("","","i3GEOopcoesEscalah","",4,"") +
129 '</td></tr>' + 129 '</td></tr>' +
130 '<tr><td>&nbsp;</td><td></td></tr>' + 130 '<tr><td>&nbsp;</td><td></td></tr>' +
131 - '<tr><td>'+$trad(3,i3GEOF.opcoesEscala.dicionario)+':</td><td>' + 131 + '<tr><td>'+$trad('unidade',i3GEOF.opcoesEscala.dicionario)+':</td><td>' +
132 ' <select id=i3GEOopcoesEscalaunidade >' + 132 ' <select id=i3GEOopcoesEscalaunidade >' +
133 ' <option value=3 selected >Metros</option>' + 133 ' <option value=3 selected >Metros</option>' +
134 ' <option value=4 >Km</option>' + 134 ' <option value=4 >Km</option>' +
135 ' </select>' + 135 ' </select>' +
136 '<td></tr>' + 136 '<td></tr>' +
137 '<tr><td>&nbsp;</td><td></td></tr>' + 137 '<tr><td>&nbsp;</td><td></td></tr>' +
138 - '<tr><td>'+$trad(4,i3GEOF.opcoesEscala.dicionario)+':</td><td>' + 138 + '<tr><td>'+$trad('estilo',i3GEOF.opcoesEscala.dicionario)+':</td><td>' +
139 ' <select id=i3GEOopcoesEscalaestilo >' + 139 ' <select id=i3GEOopcoesEscalaestilo >' +
140 - ' <option value=0 selected >'+$trad(5,i3GEOF.opcoesEscala.dicionario)+'</option>' +  
141 - ' <option value=1 >'+$trad(6,i3GEOF.opcoesEscala.dicionario)+'</option>' +  
142 - ' <option value=2 >'+$trad(7,i3GEOF.opcoesEscala.dicionario)+'</option>' + 140 + ' <option value=0 selected >'+$trad('bloco',i3GEOF.opcoesEscala.dicionario)+'</option>' +
  141 + ' <option value=1 >'+$trad('linear',i3GEOF.opcoesEscala.dicionario)+'</option>' +
  142 + ' <option value=2 >'+$trad('semBarra',i3GEOF.opcoesEscala.dicionario)+'</option>' +
143 ' </select>' + 143 ' </select>' +
144 '</td></tr>' + 144 '</td></tr>' +
145 '<tr><td>&nbsp;</td><td></td></tr>' + 145 '<tr><td>&nbsp;</td><td></td></tr>' +
146 - '<tr><td>'+$trad(8,i3GEOF.opcoesEscala.dicionario)+':</td><td>' + 146 + '<tr><td>'+$trad('intervalos',i3GEOF.opcoesEscala.dicionario)+':</td><td>' +
147 $inputText("","","i3GEOopcoesEscalaintervalos","",4,"") + 147 $inputText("","","i3GEOopcoesEscalaintervalos","",4,"") +
148 '</td></tr>' + 148 '</td></tr>' +
149 '<tr><td>&nbsp;</td><td></td></tr>' + 149 '<tr><td>&nbsp;</td><td></td></tr>' +
150 - '<tr><td>'+$trad(9,i3GEOF.opcoesEscala.dicionario)+':</td><td>' + 150 + '<tr><td>'+$trad('cor',i3GEOF.opcoesEscala.dicionario)+':</td><td>' +
151 $inputText("","","i3GEOopcoesEscalacor","",12,"") + 151 $inputText("","","i3GEOopcoesEscalacor","",12,"") +
152 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesEscala.corj(\'i3GEOopcoesEscalacor\')" />' + 152 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesEscala.corj(\'i3GEOopcoesEscalacor\')" />' +
153 '</td></tr>' + 153 '</td></tr>' +
154 '<tr><td>&nbsp;</td><td></td></tr>' + 154 '<tr><td>&nbsp;</td><td></td></tr>' +
155 - '<tr><td>'+$trad(10,i3GEOF.opcoesEscala.dicionario)+':</td><td>' + 155 + '<tr><td>'+$trad('fundo',i3GEOF.opcoesEscala.dicionario)+':</td><td>' +
156 $inputText("","","i3GEOopcoesEscalabcor","",12,"") + 156 $inputText("","","i3GEOopcoesEscalabcor","",12,"") +
157 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesEscala.corj(\'i3GEOopcoesEscalabcor\')" />' + 157 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesEscala.corj(\'i3GEOopcoesEscalabcor\')" />' +
158 '</td></tr>' + 158 '</td></tr>' +
159 '<tr><td>&nbsp;</td><td></td></tr>' + 159 '<tr><td>&nbsp;</td><td></td></tr>' +
160 - '<tr><td>'+$trad(11,i3GEOF.opcoesEscala.dicionario)+':</td><td>' + 160 + '<tr><td>'+$trad('contorno',i3GEOF.opcoesEscala.dicionario)+':</td><td>' +
161 $inputText("","","i3GEOopcoesEscalaocor","",12,"") + 161 $inputText("","","i3GEOopcoesEscalaocor","",12,"") +
162 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesEscala.corj(\'i3GEOopcoesEscalaocor\')" />' + 162 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesEscala.corj(\'i3GEOopcoesEscalaocor\')" />' +
163 '</td></tr></table><br>'+ 163 '</td></tr></table><br>'+
164 '<p class=paragrafo >' + 164 '<p class=paragrafo >' +
165 - '<input id=i3GEOopcoesEscalabotao1 size=20 type=button value="'+$trad(12,i3GEOF.opcoesEscala.dicionario)+'" />' +  
166 - '<input id=i3GEOopcoesEscalabotao2 size=20 type=button value="'+$trad(13,i3GEOF.opcoesEscala.dicionario)+'" />' + 165 + '<input id=i3GEOopcoesEscalabotao1 size=20 type=button value="'+$trad('aplica',i3GEOF.opcoesEscala.dicionario)+'" />' +
  166 + '<input id=i3GEOopcoesEscalabotao2 size=20 type=button value="'+$trad('testa',i3GEOF.opcoesEscala.dicionario)+'" />' +
167 '</p><br><img src="" id=i3GEOopcoesEscalateste />'; 167 '</p><br><img src="" id=i3GEOopcoesEscalateste />';
168 return ins; 168 return ins;
169 }, 169 },
@@ -209,7 +209,7 @@ i3GEOF.opcoesEscala = { @@ -209,7 +209,7 @@ i3GEOF.opcoesEscala = {
209 /* 209 /*
210 Function: executa 210 Function: executa
211 211
212 - Aplica os parâmetros definidos 212 + Aplica os par�metros definidos
213 213
214 Veja: 214 Veja:
215 215
@@ -233,7 +233,7 @@ i3GEOF.opcoesEscala = { @@ -233,7 +233,7 @@ i3GEOF.opcoesEscala = {
233 /* 233 /*
234 Function: parametrosAtuais 234 Function: parametrosAtuais
235 235
236 - Pega os parâmetros atuais da barra de escala 236 + Pega os par�metros atuais da barra de escala
237 237
238 Veja: 238 Veja:
239 239