diff --git a/classesjs/classe_analise.js b/classesjs/classe_analise.js index 30fd988..5385b7f 100644 --- a/classesjs/classe_analise.js +++ b/classesjs/classe_analise.js @@ -527,8 +527,8 @@ i3GEO.analise = { var mostra = $i("mostradistancia_calculo"), texto; if (mostra){ - texto = "atual: "+total.toFixed(3)+" km"+ - "
atual: "+(total*1000).toFixed(2)+" m"+ + texto = ""+$trad("x96")+": "+total.toFixed(3)+" km"+ + "
"+$trad("x96")+": "+(total*1000).toFixed(2)+" m"+ "
"+$trad("x25")+": "+i3GEO.calculo.metododistancia; mostra.innerHTML = texto; } @@ -540,8 +540,8 @@ i3GEO.analise = { var mostra = $i("mostradistancia_calculo_movel"), texto; if (mostra){ - texto = "trecho: "+trecho.toFixed(3)+" km"+ - "
total: "+(parcial + trecho).toFixed(3)+" km" + + texto = ""+$trad("x95")+": "+trecho.toFixed(3)+" km"+ + "
"+$trad("x97")+": "+(parcial + trecho).toFixed(3)+" km" + "
"+$trad("x23")+" (DMS): "+direcao.toFixed(4); mostra.innerHTML = texto; } @@ -1019,9 +1019,9 @@ i3GEO.analise = { var mostra = $i("mostraarea_calculo"), texto; if (mostra){ - texto = "Área: "+(area/1000000).toFixed(3)+" km2"+ - "
Área: "+(area/10000).toFixed(2)+" ha"+ - "
perímetro: "+(per).toFixed(2)+" km"+ + texto = ""+$trad("d21at")+": "+(area/1000000).toFixed(3)+" km2"+ + "
"+$trad("d21at")+": "+(area/10000).toFixed(2)+" ha"+ + "
"+$trad("x98")+": "+(per).toFixed(2)+" km"+ "
"+$trad("x25")+": "+i3GEO.calculo.metododistancia; mostra.innerHTML = texto; } @@ -1033,10 +1033,10 @@ i3GEO.analise = { var mostra = $i("mostraarea_calculo_parcial"), texto; if (mostra){ - texto = "Área: "+(area/1000000).toFixed(3)+" km2"+ - "
Área: "+(area/10000).toFixed(2)+" ha"+ - "
trecho: "+trecho.toFixed(3)+" km"+ - "
perímetro: "+(per).toFixed(3)+" km" + + texto = ""+$trad("d21at")+": "+(area/1000000).toFixed(3)+" km2"+ + "
"+$trad("d21at")+": "+(area/10000).toFixed(2)+" ha"+ + "
"+$trad("x95")+": "+trecho.toFixed(3)+" km"+ + "
"+$trad("x98")+": "+(per).toFixed(3)+" km" + "
"+$trad("x23")+" (DMS): "+direcao.toFixed(4); mostra.innerHTML = texto; } diff --git a/classesjs/dicionario.js b/classesjs/dicionario.js index 02b5d4f..f966bd8 100644 --- a/classesjs/dicionario.js +++ b/classesjs/dicionario.js @@ -2200,6 +2200,34 @@ pt:"Remove as figuras", en:"", es:"", it:"" +}], +"x95":[ +{ +pt:"trecho", +en:"", +es:"", +it:"" +}], +"x96":[ +{ +pt:"atual", +en:"", +es:"", +it:"" +}], +"x97":[ +{ +pt:"total", +en:"", +es:"", +it:"" +}], +"x98":[ +{ +pt:"perímetro", +en:"", +es:"", +it:"" }] }; //YAHOO.log("carregou dicionario", "Classes i3geo"); -- libgit2 0.21.2