Commit b9b9a67df05c4ec5c7cd77b5c2a52c8667a420bd
1 parent
2eecd415
Exists in
master
and in
1 other branch
Atualizado idioma padrão
git-svn-id: http://svn.softwarepublico.gov.br/svn/cacic/cacic/trunk/gerente@465 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing
5 changed files
with
45 additions
and
14 deletions
Show diff stats
admin/gerencia_licencas/arquivo/aquisicoes.php
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | 9 | ||
10 | <table width="90%" border="0" align="center"> | 10 | <table width="90%" border="0" align="center"> |
11 | <tr> | 11 | <tr> |
12 | - <td class="cabecalho">Cadastro de Aquisições</td> | 12 | + <td class="cabecalho"><?=$oTranslator->_('Cadastro de Aquisicoes');?></td> |
13 | </tr> | 13 | </tr> |
14 | <tr> | 14 | <tr> |
15 | <td class="descricao">Colocar algo aqui</td> | 15 | <td class="descricao">Colocar algo aqui</td> |
@@ -39,8 +39,9 @@ function valida_form_cadastro_aquisicao() { | @@ -39,8 +39,9 @@ function valida_form_cadastro_aquisicao() { | ||
39 | <tr> | 39 | <tr> |
40 | <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1"> | 40 | <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1"> |
41 | <tr> | 41 | <tr> |
42 | - <td class="label" colspan="2">Informe | ||
43 | - o período em que foi realizada a aquisição:</td> | 42 | + <td class="label" colspan="2"> |
43 | + <?=$oTranslator->_('Informe o periodo em que foi realizada a aquisicao:');?> | ||
44 | + </td> | ||
44 | </tr> | 45 | </tr> |
45 | <tr> | 46 | <tr> |
46 | <td height="1" bgcolor="#333333" colspan="2"></td> | 47 | <td height="1" bgcolor="#333333" colspan="2"></td> |
@@ -59,7 +60,7 @@ function valida_form_cadastro_aquisicao() { | @@ -59,7 +60,7 @@ function valida_form_cadastro_aquisicao() { | ||
59 | calendar1 = new dynCalendar('calendar1', 'calendar1Callback'); | 60 | calendar1 = new dynCalendar('calendar1', 'calendar1Callback'); |
60 | //--> | 61 | //--> |
61 | </script> | 62 | </script> |
62 | - </td><td align="left" class="descricao">(formato: aaaa/mm)</td> | 63 | + </td><td align="left" class="descricao">(<?=$oTranslator->_('formato:');?> aaaa/mm)</td> |
63 | </tr> | 64 | </tr> |
64 | </table> | 65 | </table> |
65 | </td> | 66 | </td> |
@@ -67,7 +68,7 @@ function valida_form_cadastro_aquisicao() { | @@ -67,7 +68,7 @@ function valida_form_cadastro_aquisicao() { | ||
67 | <tr> | 68 | <tr> |
68 | <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1"> | 69 | <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1"> |
69 | <tr> | 70 | <tr> |
70 | - <td class="label" colspan="2">Informe o número do processo:</td> | 71 | + <td class="label" colspan="2"><?=$oTranslator->_('Informe o numero do processo:');?></td> |
71 | </tr> | 72 | </tr> |
72 | <tr> | 73 | <tr> |
73 | <td height="1" bgcolor="#333333" colspan="2"></td> | 74 | <td height="1" bgcolor="#333333" colspan="2"></td> |
@@ -75,7 +76,7 @@ function valida_form_cadastro_aquisicao() { | @@ -75,7 +76,7 @@ function valida_form_cadastro_aquisicao() { | ||
75 | <tr> | 76 | <tr> |
76 | <td width="33%" height="1" nowrap> <br> | 77 | <td width="33%" height="1" nowrap> <br> |
77 | <input name="numero_processo" type="text" size="11" maxlength="11" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > | 78 | <input name="numero_processo" type="text" size="11" maxlength="11" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > |
78 | - </td><td align="left" class="descricao">(formato: aaaa/nnnnnn)</td> | 79 | + </td><td align="left" class="descricao">(<?=$oTranslator->_('formato:');?> aaaa/nnnnnn)</td> |
79 | </tr> | 80 | </tr> |
80 | </table> | 81 | </table> |
81 | </td> | 82 | </td> |
@@ -90,7 +91,7 @@ function valida_form_cadastro_aquisicao() { | @@ -90,7 +91,7 @@ function valida_form_cadastro_aquisicao() { | ||
90 | </tr> | 91 | </tr> |
91 | <tr> | 92 | <tr> |
92 | <td> <div align="center"> | 93 | <td> <div align="center"> |
93 | - <input name="submit" type="submit" value=" Incluir Aquisição " onClick=""> | 94 | + <input name="submit" type="submit" value="<?=$oTranslator->_('Incluir Aquisicao');?>" onClick=""> |
94 | </div></td> | 95 | </div></td> |
95 | </tr> | 96 | </tr> |
96 | <tr> | 97 | <tr> |
admin/gerencia_licencas/arquivo/cadastros/frmSoftwares.php
@@ -14,7 +14,7 @@ require_once('../../../../include/library.php'); | @@ -14,7 +14,7 @@ require_once('../../../../include/library.php'); | ||
14 | <html> | 14 | <html> |
15 | <head> | 15 | <head> |
16 | <link rel="stylesheet" type="text/css" href="../../../../include/cacic.css"> | 16 | <link rel="stylesheet" type="text/css" href="../../../../include/cacic.css"> |
17 | -<title>Cadastro de Softwares</title> | 17 | +<title><?=$oTranslator->_('Cadastro de Softwares');?></title> |
18 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 18 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
19 | <script language="JavaScript"> | 19 | <script language="JavaScript"> |
20 | function validaForm() { | 20 | function validaForm() { |
admin/gerencia_licencas/arquivo/cadastros/frmSoftwaresEstacao.php
@@ -77,7 +77,7 @@ if (texto.substring(0,1) != saida) | @@ -77,7 +77,7 @@ if (texto.substring(0,1) != saida) | ||
77 | <select name="software" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);"> | 77 | <select name="software" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);"> |
78 | <? | 78 | <? |
79 | $query = "SELECT id_software, nm_software FROM softwares ORDER BY nm_software"; | 79 | $query = "SELECT id_software, nm_software FROM softwares ORDER BY nm_software"; |
80 | - $result = mysql_query($query) or die('Ocorreu um erro no select ou sua sessão expirou!'); | 80 | + $result = mysql_query($query) or die('Ocorreu um erro no select ou sua sessao expirou!'); |
81 | echo '<option value=-1></option>'; | 81 | echo '<option value=-1></option>'; |
82 | while ($softwares=mysql_fetch_array($result)) { | 82 | while ($softwares=mysql_fetch_array($result)) { |
83 | echo '<option value=' . $softwares['id_software'] . '>' . $softwares['nm_software'] . '</option>'; | 83 | echo '<option value=' . $softwares['id_software'] . '>' . $softwares['nm_software'] . '</option>'; |
@@ -108,7 +108,7 @@ if (texto.substring(0,1) != saida) | @@ -108,7 +108,7 @@ if (texto.substring(0,1) != saida) | ||
108 | <select name="aquisicao" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);"> | 108 | <select name="aquisicao" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);"> |
109 | <? | 109 | <? |
110 | $query = "SELECT id_aquisicao, nm_proprietario FROM aquisicoes ORDER BY nm_proprietario"; | 110 | $query = "SELECT id_aquisicao, nm_proprietario FROM aquisicoes ORDER BY nm_proprietario"; |
111 | - $result = mysql_query($query) or die($oTranslator->_('Ocorreu um erro no select ou sua sessão expirou!')); | 111 | + $result = mysql_query($query) or die($oTranslator->_('Ocorreu um erro no select ou sua sessao expirou!')); |
112 | echo '<option value=-1></option>'; | 112 | echo '<option value=-1></option>'; |
113 | while ($aquisicoes=mysql_fetch_array($result)) { | 113 | while ($aquisicoes=mysql_fetch_array($result)) { |
114 | echo '<option value=' . $aquisicoes['id_aquisicao'] . '>' . $aquisicoes['nm_proprietario'] . '</option>'; | 114 | echo '<option value=' . $aquisicoes['id_aquisicao'] . '>' . $aquisicoes['nm_proprietario'] . '</option>'; |
admin/gerencia_licencas/arquivo/rel_cadastro_aquisicao.php
@@ -17,11 +17,12 @@ if($_POST['submit']) { | @@ -17,11 +17,12 @@ if($_POST['submit']) { | ||
17 | $v_data_ini = $v_elementos[2] .'/'. $v_elementos[1] .'/'. $v_elementos[0]; | 17 | $v_data_ini = $v_elementos[2] .'/'. $v_elementos[1] .'/'. $v_elementos[0]; |
18 | $_SESSION["data_ini"] = $v_data_ini; | 18 | $_SESSION["data_ini"] = $v_data_ini; |
19 | } | 19 | } |
20 | +require_once('../../../include/library.php'); | ||
20 | ?> | 21 | ?> |
21 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 22 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
22 | <html> | 23 | <html> |
23 | <head> | 24 | <head> |
24 | -<title>Cadastro de Aquisição</title> | 25 | +<title><?=$oTranslator->_('Cadastro de Aquisicao');?></title> |
25 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 26 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
26 | <script language="JavaScript" type="text/JavaScript"> | 27 | <script language="JavaScript" type="text/JavaScript"> |
27 | <!-- | 28 | <!-- |
@@ -41,14 +42,15 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 | @@ -41,14 +42,15 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 | ||
41 | </tr> | 42 | </tr> |
42 | <tr bgcolor="#E1E1E1"> | 43 | <tr bgcolor="#E1E1E1"> |
43 | <td nowrap bgcolor="#FFFFFF"><div align="center"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>CACIC | 44 | <td nowrap bgcolor="#FFFFFF"><div align="center"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>CACIC |
44 | - - Cadastro de Aquisição</strong></font></div></td> | 45 | + - <?=$oTranslator->_('Cadastro de Aquisicao');?></strong></font></div></td> |
45 | </tr> | 46 | </tr> |
46 | <tr> | 47 | <tr> |
47 | <td height="1" bgcolor="#333333"></td> | 48 | <td height="1" bgcolor="#333333"></td> |
48 | </tr> | 49 | </tr> |
49 | <tr> | 50 | <tr> |
50 | - <td><p><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Gerado | ||
51 | - em <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | 51 | + <td><p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> |
52 | + <?=$oTranslator->_('Gerado em');?> <? echo date("d/m/Y à\s H:i"); ?></font></p> | ||
53 | + </td> | ||
52 | </tr> | 54 | </tr> |
53 | </table> | 55 | </table> |
54 | <br> | 56 | <br> |
language/pt_BR/language.pt_BR.inc.php
@@ -468,3 +468,31 @@ pt_BR kciq_msg license pt_read | @@ -468,3 +468,31 @@ pt_BR kciq_msg license pt_read | ||
468 | pt_BR kciq_msg last agents access geral info Últimos acessos dos agentes | 468 | pt_BR kciq_msg last agents access geral info Últimos acessos dos agentes |
469 | pt_BR kciq_msg last agents access on local geral info Últimos acessos dos agentes deste local | 469 | pt_BR kciq_msg last agents access on local geral info Últimos acessos dos agentes deste local |
470 | pt_BR kciq_msg last agents access per local geral info Últimos acessos dos agentes por local nesta data | 470 | pt_BR kciq_msg last agents access per local geral info Últimos acessos dos agentes por local nesta data |
471 | +pt_BR cadastro de aquisicao info info Cadastro de Aquisicao | ||
472 | +pt_BR nao foi possivel gravar o registro! info info Nao foi possivel gravar o registro! | ||
473 | +pt_BR registro gravado! info info Registro gravado! | ||
474 | +pt_BR voltar info info Voltar | ||
475 | +pt_BR cadastro de softwares info info Cadastro de Softwares | ||
476 | +pt_BR descricao: info info Descricao: | ||
477 | +pt_BR quantidade de licencas: info info Quantidade de Licencas: | ||
478 | +pt_BR numero da midia: info info Numero da Midia: | ||
479 | +pt_BR localizacao da midia: info info Localizacao da Midia: | ||
480 | +pt_BR observacao: info info Observacao: | ||
481 | +pt_BR cancelar info info Cancelar | ||
482 | +pt_BR gravar info info Gravar | ||
483 | +pt_BR cadastro de softwares po estacao info info Cadastro de Softwares po Estacao | ||
484 | +pt_BR modulo para cadastramento manual de softwares por estacao info info Modulo para cadastramento manual de softwares por estacao | ||
485 | +pt_BR patrimonio: info info Patrimonio: | ||
486 | +pt_BR computador: info info Computador: | ||
487 | +pt_BR data de autorizacao: info info Data de Autorizacao: | ||
488 | +pt_BR numero do processo: info info Numero do Processo: | ||
489 | +pt_BR data de expiracao: info info Data de Expiracao: | ||
490 | +pt_BR aquisicao: info info Aquisicao: | ||
491 | +pt_BR ocorreu um erro no select ou sua sessao expirou! info info Ocorreu um erro no select ou sua sessao expirou! | ||
492 | +pt_BR data de desinstalacao: info info Data de Desinstalacao: | ||
493 | +pt_BR patrimonio de destino: info info Patrimonio de Destino: | ||
494 | +pt_BR cadastro de aquisicoes info info Cadastro de Aquisicoes | ||
495 | +pt_BR informe o periodo em que foi realizada a aquisicao: info info Informe o periodo em que foi realizada a aquisicao: | ||
496 | +pt_BR formato: info info formato: | ||
497 | +pt_BR informe o numero do processo: info info Informe o numero do processo: | ||
498 | +pt_BR incluir aquisicao info info Incluir Aquisicao |