Commit 9c5415d13d5da37975eeae24d69f3e0710fab33e

Authored by Murilo Caixêta
1 parent 57558207

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

ferramentas/preferencias/dicionario.js
1 //+$trad(1,i3GEOF.preferencias.dicionario)+ 1 //+$trad(1,i3GEOF.preferencias.dicionario)+
2 i3GEOF.preferencias.dicionario = { 2 i3GEOF.preferencias.dicionario = {
3 - 1: [{ 3 + 'limpa': [{
4 pt:"Limpar", 4 pt:"Limpar",
5 en:"", 5 en:"",
6 es:"", 6 es:"",
7 it:"" 7 it:""
8 }], 8 }],
9 - 2: [{ 9 + 'aplica': [{
10 pt:"Aplicar", 10 pt:"Aplicar",
11 en:"", 11 en:"",
12 es:"", 12 es:"",
13 it:"" 13 it:""
14 }], 14 }],
15 - 3: [{ 15 + 'msgAplicaAlteracao': [{
16 pt:"As alterações serão aplicadas ao iniciar um novo mapa", 16 pt:"As alterações serão aplicadas ao iniciar um novo mapa",
17 en:"", 17 en:"",
18 es:"", 18 es:"",
@@ -246,7 +246,7 @@ i3GEOF.preferencias.dicionario = { @@ -246,7 +246,7 @@ i3GEOF.preferencias.dicionario = {
246 es:"", 246 es:"",
247 it:"" 247 it:""
248 }], 248 }],
249 - 42: [{ 249 + 'codigo': [{
250 pt:"Código", 250 pt:"Código",
251 en:"", 251 en:"",
252 es:"", 252 es:"",
@@ -402,73 +402,73 @@ i3GEOF.preferencias.dicionario = { @@ -402,73 +402,73 @@ i3GEOF.preferencias.dicionario = {
402 es:"", 402 es:"",
403 it:"" 403 it:""
404 }], 404 }],
405 - 68: [{  
406 - pt:"Janela transparente aoperder o foco do mouse", 405 + 'janelaTransparenteFocoMouse': [{
  406 + pt:"Janela transparente ao perder o foco do mouse",
407 en:"", 407 en:"",
408 es:"", 408 es:"",
409 it:"" 409 it:""
410 }], 410 }],
411 - 69: [{ 411 + 'opacidadeJanela': [{
412 pt:"Opacidade da janela", 412 pt:"Opacidade da janela",
413 en:"", 413 en:"",
414 es:"", 414 es:"",
415 it:"" 415 it:""
416 }], 416 }],
417 - 70: [{ 417 + 'opacidadeJanelaMouse': [{
418 pt:"Opacidade da janela de aguarde", 418 pt:"Opacidade da janela de aguarde",
419 en:"", 419 en:"",
420 es:"", 420 es:"",
421 it:"" 421 it:""
422 }], 422 }],
423 - 71: [{ 423 + 'mapaReferencia': [{
424 pt:"Mapa de referência", 424 pt:"Mapa de referência",
425 en:"", 425 en:"",
426 es:"", 426 es:"",
427 it:"" 427 it:""
428 }], 428 }],
429 - 72: [{ 429 + 'multiplicadorZoom': [{
430 pt:"Fator multiplicador de zoom", 430 pt:"Fator multiplicador de zoom",
431 en:"", 431 en:"",
432 es:"", 432 es:"",
433 it:"" 433 it:""
434 }], 434 }],
435 - 73: [{ 435 + 'incluiSeletorTipoMapa': [{
436 pt:"Inclui o seletor de tipo de mapa", 436 pt:"Inclui o seletor de tipo de mapa",
437 en:"", 437 en:"",
438 es:"", 438 es:"",
439 it:"" 439 it:""
440 }], 440 }],
441 - 74: [{ 441 + 'tipoMapaInicia': [{
442 pt:"Tipo de mapa ao iniciar", 442 pt:"Tipo de mapa ao iniciar",
443 en:"", 443 en:"",
444 es:"", 444 es:"",
445 it:"" 445 it:""
446 }], 446 }],
447 - 75: [{ 447 + 'permiteFechar': [{
448 pt:"Permite fechar", 448 pt:"Permite fechar",
449 en:"", 449 en:"",
450 es:"", 450 es:"",
451 it:"" 451 it:""
452 }], 452 }],
453 - 76: [{ 453 + 'permiteDeslocar': [{
454 pt:"Permite deslocar", 454 pt:"Permite deslocar",
455 en:"", 455 en:"",
456 es:"", 456 es:"",
457 it:"" 457 it:""
458 }], 458 }],
459 - 77: [{ 459 + 'opacidade': [{
460 pt:"Opacidade", 460 pt:"Opacidade",
461 en:"", 461 en:"",
462 es:"", 462 es:"",
463 it:"" 463 it:""
464 }], 464 }],
465 - 78: [{ 465 + 'distanciaTopo': [{
466 pt:"Distância do topo", 466 pt:"Distância do topo",
467 en:"", 467 en:"",
468 es:"", 468 es:"",
469 it:"" 469 it:""
470 }], 470 }],
471 - 79: [{ 471 + 'distanciaDireita': [{
472 pt:"Distância da direita", 472 pt:"Distância da direita",
473 en:"", 473 en:"",
474 es:"", 474 es:"",
ferramentas/preferencias/index.js
@@ -354,53 +354,53 @@ i3GEOF.preferencias = { @@ -354,53 +354,53 @@ i3GEOF.preferencias = {
354 tipo: "boolean", 354 tipo: "boolean",
355 elemento: "i3GEO.janela.AGUARDEMODAL" 355 elemento: "i3GEO.janela.AGUARDEMODAL"
356 },{ 356 },{
357 - titulo: $trad(68,i3GEOF.preferencias.dicionario), 357 + titulo: $trad('janelaTransparenteFocoMouse',i3GEOF.preferencias.dicionario),
358 tipo: "boolean", 358 tipo: "boolean",
359 elemento: "i3GEO.janela.TRANSICAOSUAVE" 359 elemento: "i3GEO.janela.TRANSICAOSUAVE"
360 },{ 360 },{
361 - titulo: $trad(69,i3GEOF.preferencias.dicionario), 361 + titulo: $trad('opacidadeJanela',i3GEOF.preferencias.dicionario),
362 tipo: "numero", 362 tipo: "numero",
363 elemento: "i3GEO.janela.OPACIDADE" 363 elemento: "i3GEO.janela.OPACIDADE"
364 },{ 364 },{
365 - titulo: $trad(70,i3GEOF.preferencias.dicionario), 365 + titulo: $trad('opacidadeJanelaMouse',i3GEOF.preferencias.dicionario),
366 tipo: "numero", 366 tipo: "numero",
367 elemento: "i3GEO.janela.OPACIDADEAGUARDE" 367 elemento: "i3GEO.janela.OPACIDADEAGUARDE"
368 } 368 }
369 ] 369 ]
370 },{ 370 },{
371 - titulo: $trad(71,i3GEOF.preferencias.dicionario), 371 + titulo: $trad('mapaReferencia',i3GEOF.preferencias.dicionario),
372 props: [ 372 props: [
373 { 373 {
374 - titulo: $trad(72,i3GEOF.preferencias.dicionario), 374 + titulo: $trad('multiplicadorZoom',i3GEOF.preferencias.dicionario),
375 tipo: "numero", 375 tipo: "numero",
376 elemento: "i3GEO.maparef.fatorZoomDinamico" 376 elemento: "i3GEO.maparef.fatorZoomDinamico"
377 },{ 377 },{
378 - titulo: $trad(73,i3GEOF.preferencias.dicionario), 378 + titulo: $trad('incluiSeletorTipoMapa',i3GEOF.preferencias.dicionario),
379 tipo: "boolean", 379 tipo: "boolean",
380 elemento: "i3GEO.maparef.SELETORTIPO" 380 elemento: "i3GEO.maparef.SELETORTIPO"
381 },{ 381 },{
382 - titulo: $trad(74,i3GEOF.preferencias.dicionario), 382 + titulo: $trad('tipoMapaInicia',i3GEOF.preferencias.dicionario),
383 tipo: "select", 383 tipo: "select",
384 elemento: "i3GEO.maparef.VALORSELETORTIPO", 384 elemento: "i3GEO.maparef.VALORSELETORTIPO",
385 opcoes: ["dinamico","fixo","mapa"] 385 opcoes: ["dinamico","fixo","mapa"]
386 },{ 386 },{
387 - titulo: $trad(75,i3GEOF.preferencias.dicionario), 387 + titulo: $trad('permiteFechar',i3GEOF.preferencias.dicionario),
388 tipo: "boolean", 388 tipo: "boolean",
389 elemento: "i3GEO.maparef.PERMITEFECHAR" 389 elemento: "i3GEO.maparef.PERMITEFECHAR"
390 },{ 390 },{
391 - titulo: $trad(76,i3GEOF.preferencias.dicionario), 391 + titulo: $trad('permiteDeslocar',i3GEOF.preferencias.dicionario),
392 tipo: "boolean", 392 tipo: "boolean",
393 elemento: "i3GEO.maparef.PERMITEDESLOCAR" 393 elemento: "i3GEO.maparef.PERMITEDESLOCAR"
394 },{ 394 },{
395 - titulo: $trad(77,i3GEOF.preferencias.dicionario), 395 + titulo: $trad('opacidade',i3GEOF.preferencias.dicionario),
396 tipo: "numero", 396 tipo: "numero",
397 elemento: "i3GEO.maparef.OPACIDADE" 397 elemento: "i3GEO.maparef.OPACIDADE"
398 },{ 398 },{
399 - titulo: $trad(78,i3GEOF.preferencias.dicionario), 399 + titulo: $trad('distanciaTopo',i3GEOF.preferencias.dicionario),
400 tipo: "numero", 400 tipo: "numero",
401 elemento: "i3GEO.maparef.TOP" 401 elemento: "i3GEO.maparef.TOP"
402 },{ 402 },{
403 - titulo: $trad(79,i3GEOF.preferencias.dicionario), 403 + titulo: $trad('distanciaDireita',i3GEOF.preferencias.dicionario),
404 tipo: "numero", 404 tipo: "numero",
405 elemento: "i3GEO.maparef.RIGHT" 405 elemento: "i3GEO.maparef.RIGHT"
406 } 406 }
@@ -598,9 +598,9 @@ i3GEOF.preferencias = { @@ -598,9 +598,9 @@ i3GEOF.preferencias = {
598 ); 598 );
599 divid = janela[2].id; 599 divid = janela[2].id;
600 var rodape = '' + 600 var rodape = '' +
601 - '<input id=i3GEOpreferenciasbotao1 size=20 type=button value="'+$trad(1,i3GEOF.preferencias.dicionario)+'" />&nbsp;&nbsp;&nbsp;' +  
602 - '<input id=i3GEOpreferenciasbotao2 size=20 type=button value="'+$trad(2,i3GEOF.preferencias.dicionario)+'" />&nbsp;&nbsp;&nbsp;' +  
603 - '<input id=i3GEOpreferenciasbotao3 size=20 type=button value="'+$trad(42,i3GEOF.preferencias.dicionario)+'" />' ; 601 + '<input id=i3GEOpreferenciasbotao1 size=20 type=button value="'+$trad('limpa',i3GEOF.preferencias.dicionario)+'" />&nbsp;&nbsp;&nbsp;' +
  602 + '<input id=i3GEOpreferenciasbotao2 size=20 type=button value="'+$trad('aplica',i3GEOF.preferencias.dicionario)+'" />&nbsp;&nbsp;&nbsp;' +
  603 + '<input id=i3GEOpreferenciasbotao3 size=20 type=button value="'+$trad('codigo',i3GEOF.preferencias.dicionario)+'" />' ;
604 604
605 janela[0].setFooter("<div style=background-color:#F2F2F2; >"+rodape+"</div>"); 605 janela[0].setFooter("<div style=background-color:#F2F2F2; >"+rodape+"</div>");
606 606
@@ -621,7 +621,7 @@ i3GEOF.preferencias = { @@ -621,7 +621,7 @@ i3GEOF.preferencias = {
621 limpa: function(){ 621 limpa: function(){
622 i3GEO.util.limpaDadosLocal("preferenciasDoI3Geo"); 622 i3GEO.util.limpaDadosLocal("preferenciasDoI3Geo");
623 $i("i3GEOF.preferencias_corpo").innerHTML = i3GEOF.preferencias.html(); 623 $i("i3GEOF.preferencias_corpo").innerHTML = i3GEOF.preferencias.html();
624 - i3GEO.janela.tempoMsg($trad(3,i3GEOF.preferencias.dicionario)); 624 + i3GEO.janela.tempoMsg($trad('msgAplicaAlteracao',i3GEOF.preferencias.dicionario));
625 }, 625 },
626 salva: function(){ 626 salva: function(){
627 var i = 0, 627 var i = 0,
@@ -665,7 +665,7 @@ i3GEOF.preferencias = { @@ -665,7 +665,7 @@ i3GEOF.preferencias = {
665 } 665 }
666 } 666 }
667 } 667 }
668 - i3GEO.janela.tempoMsg($trad(3,i3GEOF.preferencias.dicionario)); 668 + i3GEO.janela.tempoMsg($trad('msgAplicaAlteracao',i3GEOF.preferencias.dicionario));
669 //i3GEO.util.insereCookie("preferenciasDoI3Geo",pares.join(":"),365); 669 //i3GEO.util.insereCookie("preferenciasDoI3Geo",pares.join(":"),365);
670 i3GEO.util.limpaDadosLocal("preferenciasDoI3Geo"); 670 i3GEO.util.limpaDadosLocal("preferenciasDoI3Geo");
671 i3GEO.util.gravaDadosLocal("preferenciasDoI3Geo",pares.join("::")); 671 i3GEO.util.gravaDadosLocal("preferenciasDoI3Geo",pares.join("::"));