Commit fc2d4b381bb60e9d2d14c5a7ac931ed41c2d2888
1 parent
25978b34
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@468 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing
5 changed files
with
41 additions
and
41 deletions
Show diff stats
admin/gerencia_licencas/arquivo/aquisicoes.php
admin/gerencia_licencas/arquivo/rel_cadastro_aquisicao.php
... | ... | @@ -96,10 +96,11 @@ echo '<br><br>'; |
96 | 96 | |
97 | 97 | ?></p> |
98 | 98 | <p></p> |
99 | -<p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Relatório | |
100 | - gerado pelo <strong>CACIC</strong> - Configurador Automático e Coletor | |
101 | - de Informações Computacionais</font><br> | |
102 | - <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Software desenvolvido | |
103 | - pela Dataprev - Unidade Regional Espírito Santo</font></p> | |
99 | +<p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | |
100 | + <?=$oTranslator->_('Relatorio gerado pelo');?> | |
101 | + <strong>CACIC</strong> - Configurador Automático e Coletor de Informações Computacionais</font><br> | |
102 | + <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | |
103 | + <?=$oTranslator->_('desenvolvido por');?> Dataprev - Unidade Regional Espírito Santo | |
104 | + </font></p> | |
104 | 105 | </body> |
105 | 106 | </html> | ... | ... |
admin/gerencia_licencas/arquivo/softwares_aquisicao.php
... | ... | @@ -17,7 +17,7 @@ else { // Inserir regras para outras verificações (ex: permissões do usuário)! |
17 | 17 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
18 | 18 | <html> |
19 | 19 | <head> |
20 | -<title>Softwares por Aquisição</title> | |
20 | +<title><?=$oTranslator->_('Softwares por Aquisicao');?></title> | |
21 | 21 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
22 | 22 | <script language="JavaScript" type="text/JavaScript"> |
23 | 23 | <!-- |
... | ... | @@ -36,15 +36,14 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 |
36 | 36 | <td bgcolor="#FFFFFF"> </td> |
37 | 37 | </tr> |
38 | 38 | <tr bgcolor="#E1E1E1"> |
39 | - <td nowrap bgcolor="#FFFFFF"><div align="center"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>CACIC | |
40 | - - Softwares por Aquisição</strong></font></div></td> | |
39 | + <td nowrap bgcolor="#FFFFFF"><div align="center"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"> | |
40 | + <strong><?=$oTranslator->_('Softwares por Aquisicao');?></strong></font></div></td> | |
41 | 41 | </tr> |
42 | 42 | <tr> |
43 | 43 | <td height="1" bgcolor="#333333"></td> |
44 | 44 | </tr> |
45 | 45 | <tr> |
46 | - <td><p><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Gerado | |
47 | - em <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | |
46 | + <td><p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Gerado em');?> <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | |
48 | 47 | </tr> |
49 | 48 | </table> |
50 | 49 | <br> |
... | ... | @@ -60,20 +59,20 @@ conecta_bd_cacic(); |
60 | 59 | WHERE (ai.id_software = s.id_software) AND (ai.id_tipo_licenca = tl.id_tipo_licenca) AND |
61 | 60 | (ai.id_aquisicao = '" . $v_aquisicao . "') ORDER BY nm_software"; |
62 | 61 | |
63 | - $result = mysql_query($query) or die ('Erro no select ou sua sessão expirou!'); | |
62 | + $result = mysql_query($query) or die ($oTranslator->_('Erro no select ou sua sessão expirou!')); | |
64 | 63 | |
65 | 64 | $cor = 0; |
66 | 65 | $num_registro = 1; |
67 | 66 | |
68 | -echo '<table align="center" width="80%"><tr><td align="center" nowrap><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Processo: ' . $v_processo . '</strong></font></td></tr></table>'; | |
67 | +echo '<table align="center" width="80%"><tr><td align="center" nowrap><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>'.$oTranslator->_('Processo:').' ' . $v_processo . '</strong></font></td></tr></table>'; | |
69 | 68 | |
70 | 69 | $fields=mysql_num_fields($result); |
71 | 70 | echo '<table align="center" width="80%" cellpadding="2" cellspacing="0" border="1" bordercolor="#999999" bordercolordark="#E1E1E1"> |
72 | 71 | <tr bgcolor="#E1E1E1" > |
73 | 72 | <td nowrap align="left"><font size="1" face="Verdana, Arial"> </font></td>'; |
74 | -echo '<td nowrap align="center"><b><font size="1" face="Verdana, Arial">Software</font><b></td>'; | |
75 | -echo '<td nowrap align="center"><b><font size="1" face="Verdana, Arial">Licenças</font><b></td>'; | |
76 | -echo '<td nowrap align="center"><b><font size="1" face="Verdana, Arial">Tipo Licença</font><b></td>'; | |
73 | +echo '<td nowrap align="center"><b><font size="1" face="Verdana, Arial">'.$oTranslator->_('Software').'</font><b></td>'; | |
74 | +echo '<td nowrap align="center"><b><font size="1" face="Verdana, Arial">'.$oTranslator->_('Licencas').'</font><b></td>'; | |
75 | +echo '<td nowrap align="center"><b><font size="1" face="Verdana, Arial">'.$oTranslator->_('Tipo Licenca').'</font><b></td>'; | |
77 | 76 | |
78 | 77 | echo '</tr>'; |
79 | 78 | |
... | ... | @@ -95,10 +94,10 @@ echo '<br><br>'; |
95 | 94 | |
96 | 95 | ?></p> |
97 | 96 | <p></p> |
98 | -<p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Relatório | |
99 | - gerado pelo <strong>CACIC</strong> - Configurador Automático e Coletor | |
100 | - de Informações Computacionais</font><br> | |
101 | - <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Software desenvolvido | |
102 | - pela Dataprev - Unidade Regional Espírito Santo</font></p> | |
97 | +<p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | |
98 | + <?=$oTranslator->_('Relatorio gerado pelo');?> | |
99 | + <strong>CACIC</strong> - Configurador Automático e Coletor de Informações Computacionais</font><br> | |
100 | + <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | |
101 | + <?=$oTranslator->_('desenvolvido por');?> Dataprev - Unidade Regional Espírito Santo</font></p> | |
103 | 102 | </body> |
104 | 103 | </html> | ... | ... |
admin/gerencia_licencas/consulta/autorizados_por_estacao.php
... | ... | @@ -35,12 +35,12 @@ if ($_POST['consultar']) { |
35 | 35 | |
36 | 36 | if (($_SESSION['ftr_autorizado_estacao'] == 'nome') or ($_SESSION['ftr_autorizado_estacao'] == '')) { |
37 | 37 | $valor_padrao_autorizado_estacao = '<option value="nome">Nome do Computador</option> |
38 | - <option value="patrimonio">Número do Patrimônio</option>'; | |
38 | + <option value="patrimonio">'.$oTranslator->_('Numero do Patrimonio').'</option>'; | |
39 | 39 | } |
40 | 40 | |
41 | 41 | if ($_SESSION['ftr_autorizado_estacao'] == 'patrimonio') { |
42 | 42 | $valor_padrao_autorizado_estacao = '<option value="patrimonio">Número do Patrimônio</option> |
43 | - <option value="nome">Nome do Computador</option>'; | |
43 | + <option value="nome">'.$oTranslator->_('Nome do Computador').'</option>'; | |
44 | 44 | } |
45 | 45 | |
46 | 46 | ?> |
... | ... | @@ -48,7 +48,7 @@ if ($_SESSION['ftr_autorizado_estacao'] == 'patrimonio') { |
48 | 48 | <form action="<? echo $PHP_SELF; ?>" method="post" name="form1"> |
49 | 49 | <table width="90%" border="0" align="center"> |
50 | 50 | <tr> |
51 | -<td class="cabecalho">Licenças autorizadas por estação</td> | |
51 | +<td class="cabecalho"><?=$oTranslator->_('Licencas autorizadas por estacao');?></td> | |
52 | 52 | </tr> |
53 | 53 | <tr> |
54 | 54 | <td> </td> |
... | ... | @@ -56,7 +56,7 @@ if ($_SESSION['ftr_autorizado_estacao'] == 'patrimonio') { |
56 | 56 | </table> |
57 | 57 | <tr><td height="1" colspan="2" bgcolor="#333333"></td></tr> |
58 | 58 | <tr><td height="30" colspan="2"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="1"> |
59 | -<tr><td colspan="2" class="label">Selecione os filtros da consulta:</td></tr> | |
59 | +<tr><td colspan="2" class="label"><?=$oTranslator->_('Selecione os filtros da consulta:');?></td></tr> | |
60 | 60 | <table width="90%" border="0" align="center" cellpadding="0" cellspacing="1"> |
61 | 61 | <tr> |
62 | 62 | <td height="1" bgcolor="#333333"></td> |
... | ... | @@ -72,7 +72,7 @@ if ($_SESSION['ftr_autorizado_estacao'] == 'patrimonio') { |
72 | 72 | <td> |
73 | 73 | <input name="string_autorizado_estacao" type="text" id="string_autorizado_estacao2" value="<? echo $_REQUEST['string_autorizado_estacao'];?>" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > |
74 | 74 | </td> |
75 | - <td><input name="consultar" type="submit" id="consultar2" value="Consultar"></td> | |
75 | + <td><input name="consultar" type="submit" id="consultar2" value="<?=$oTranslator->_('Consultar');?>"></td> | |
76 | 76 | </tr> |
77 | 77 | </table></td> |
78 | 78 | </tr> |
... | ... | @@ -119,15 +119,15 @@ if ($_POST['consultar']) { |
119 | 119 | } |
120 | 120 | |
121 | 121 | $result = mysql_query($query) or die('Erro no select ou sua sessão expirou!'); |
122 | - $resultDesinstaladoTransferido = mysql_query($queryDesinstaladoTransferido) or die('Erro no select ou sua sessão expirou!'); | |
122 | + $resultDesinstaladoTransferido = mysql_query($queryDesinstaladoTransferido) or die($oTranslator->_('Erro no select ou sua sessão expirou!')); | |
123 | 123 | |
124 | 124 | if (strlen($_SESSION['str_autorizado_estacao']) < 3) { |
125 | - echo $mensagem = mensagem('Digite pelo menos 03 caracteres...'); | |
125 | + echo $mensagem = mensagem($oTranslator->_('Digite pelo menos 03 caracteres...')); | |
126 | 126 | } |
127 | 127 | else |
128 | 128 | { |
129 | 129 | if(($nu_reg= mysql_num_rows($result))<0){ |
130 | - echo $mensagem = mensagem('Nenhum registro encontrado!'); | |
130 | + echo $mensagem = mensagem($oTranslator->_('Nenhum registro encontrado!')); | |
131 | 131 | } |
132 | 132 | else |
133 | 133 | { |
... | ... | @@ -144,19 +144,19 @@ if ($_POST['consultar']) { |
144 | 144 | <td align="center" nowrap> </td> |
145 | 145 | <td align="center" nowrap><div align="left"><strong></strong></div></td> |
146 | 146 | <td align="center" nowrap > </td> |
147 | - <td align="left" nowrap bgcolor="#E1E1E1"><div align="left"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Software</font></strong></div></td> | |
147 | + <td align="left" nowrap bgcolor="#E1E1E1"><div align="left"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Software');?></font></strong></div></td> | |
148 | 148 | <td nowrap > </td> |
149 | - <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Autorização</font></strong></div></td> | |
149 | + <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Autorizacao');?></font></strong></div></td> | |
150 | 150 | <td nowrap > </td> |
151 | - <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Processo</font></strong></div></td> | |
151 | + <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Processo');?></font></strong></div></td> | |
152 | 152 | <td nowrap > </td> |
153 | - <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Computador</font></strong></div></td> | |
153 | + <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Computador');?></font></strong></div></td> | |
154 | 154 | <td nowrap > </td> |
155 | - <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Patrimônio</font></strong></div></td> | |
155 | + <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Patrimonio');?></font></strong></div></td> | |
156 | 156 | <td nowrap > </td> |
157 | - <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Particular</font></strong></div></td> | |
157 | + <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Particular');?></font></strong></div></td> | |
158 | 158 | <td nowrap > </td> |
159 | - <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Observação</font></strong></div></td> | |
159 | + <td nowrap ><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Observacao');?></font></strong></div></td> | |
160 | 160 | <td nowrap > </td> |
161 | 161 | </tr> |
162 | 162 | <? |
... | ... | @@ -164,7 +164,7 @@ if ($_POST['consultar']) { |
164 | 164 | $NumRegistro = 1; |
165 | 165 | |
166 | 166 | while($row = mysql_fetch_array($result)) { |
167 | - if ($NumRegistro == 1) { echo '<tr><td colspan=16 align=center>Autorizados</td></tr>'; } | |
167 | + if ($NumRegistro == 1) { echo '<tr><td colspan=16 align=center>'.$oTranslator->_('Autorizados').'</td></tr>'; } | |
168 | 168 | /* |
169 | 169 | ?> |
170 | 170 | <tr <? if (!$Cor) { echo 'bgcolor="#00CC00"'; } else echo 'bgcolor="#99FF33"' ?>> |
... | ... | @@ -202,7 +202,7 @@ if ($_POST['consultar']) { |
202 | 202 | $NumRegistro++; |
203 | 203 | } |
204 | 204 | // if ($NumRegistro == 1) { echo '<tr bgcolor="#00CC00"><td colspan=17 align=center>Não há autorização para esta máquina</td><tr>'; } |
205 | - if ($NumRegistro == 1) { echo '<tr bgcolor="#C0C0C0"><td colspan=17 align=center><b>Não há autorização para esta máquina</b></td><tr>'; } | |
205 | + if ($NumRegistro == 1) { echo '<tr bgcolor="#C0C0C0"><td colspan=17 align=center><b>'.$oTranslator->_('Nao ha autorizacao para esta maquina').'</b></td><tr>'; } | |
206 | 206 | ?> |
207 | 207 | <tr> |
208 | 208 | <td colspan=17 height="3" bgcolor="#333333"></td> |
... | ... | @@ -210,7 +210,7 @@ if ($_POST['consultar']) { |
210 | 210 | <? $NumRegistroAutorizados = $NumRegistro; ?> |
211 | 211 | <? while ($row = mysql_fetch_array($resultDesinstaladoTransferido)) { |
212 | 212 | if ($NumRegistroAutorizados == $NumRegistro) { |
213 | - echo '<tr><td colspan=16 align=center>Histórico</td></tr>'; | |
213 | + echo '<tr><td colspan=16 align=center>'.$oTranslator->_('Historico').'</td></tr>'; | |
214 | 214 | } ?> |
215 | 215 | <tr <? |
216 | 216 | |
... | ... | @@ -249,7 +249,7 @@ if ($_POST['consultar']) { |
249 | 249 | } |
250 | 250 | if ($NumRegistroAutorizados == $NumRegistro) { |
251 | 251 | // echo '<tr bgcolor="#FF9900"><td colspan=17 align=center>Não há histórico desta máquina</td><tr>'; |
252 | - echo '<tr bgcolor="#C0C0C0"><td colspan=17 align=center><b>Não há histórico desta máquina</b></td><tr>'; | |
252 | + echo '<tr bgcolor="#C0C0C0"><td colspan=17 align=center><b>'.$oTranslator->_('Nao ha historico desta maquina').'</b></td><tr>'; | |
253 | 253 | } |
254 | 254 | ?> |
255 | 255 | ... | ... |
admin/gerencia_licencas/consulta/autorizados_por_orgao.php
... | ... | @@ -34,7 +34,7 @@ if ($_POST['consultar']) { |
34 | 34 | <form action="<? echo $PHP_SELF; ?>" method="post" name="form1"> |
35 | 35 | <table width="90%" border="0" align="center"> |
36 | 36 | <tr> |
37 | -<td class="cabecalho">Consulta de softwares autorizados por órgão</td> | |
37 | +<td class="cabecalho"><?=$oTranslator->_('Consulta de softwares autorizados por orgao');?></td> | |
38 | 38 | </tr> |
39 | 39 | <tr> |
40 | 40 | <td> </td> | ... | ... |