Ignore:
Timestamp:
10/20/10 12:54:49 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #1310 - Traduções para msgs emitidas com uso do certificado digital.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/security/security-clr.php

    r3232 r3377  
    77    if($GLOBALS['CRLs'] == '') 
    88        { 
    9             echo '<br/><br/><br/><div align="center"><h3><b>' . lang('O uso de listas de revogacao de certificados nao esta habilitado') . '.<b><h3><br/><br/>'; 
    10             echo '<a href="security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Voltar') . '"/></a></div>'; 
     9            echo '<br/><br/><br/><div align="center"><h3><b>' . lang('CRLs use is disable') . '.<b><h3><br/><br/>'; 
     10            echo '<a href="security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Back') . '"/></a></div>'; 
    1111            exit(); 
    1212        } 
     
    2727    echo '<script type="text/javascript" src="certificados.js"  ></script>'; 
    2828    echo '<div style="padding-left:90px" >'; 
    29     echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Voltar') . '"/></a>'; 
     29    echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Back') . '"/></a>'; 
    3030    echo '<input type="hidden" name="adicionar" value="adicionar" />'; 
    3131    $Linhas = explode(chr(0x0A),$arq); 
     
    3333        { 
    3434 
    35             echo '<h2  style="color: #000066">' . lang('LCRs configuradas') . ':</h2>'; 
     35            echo '<h2  style="color: #000066">' . lang('RCLs configurated') . ':</h2>'; 
    3636            echo '<div id="xdiv2" style="border: #000000 1px solid; overflow: auto; width: 870px; height: 190px; white-space: pre;  padding: 3px; " >'; 
    3737            echo '<table border ="1" style="margin-top: 8px; width: 770px">'; 
    38             echo '<th nowrap align="left" style=" padding: 5px">' . lang('Lista de Certificados revogados obtida em') . ':</th><th nowrap align="left" style=" padding: 5px">' . lang('Onde é salva a LCR') . ':</th>'; 
     38            echo '<th nowrap align="left" style=" padding: 5px">' . lang('RCLs get in') . ':</th><th nowrap align="left" style=" padding: 5px">' . lang('Where save RCLs') . ':</th>'; 
    3939            foreach($Linhas as $linhaz) 
    4040                { 
     
    4848                            if(!is_file($f)) 
    4949                                { 
    50                                     echo '<p style="margin-bottom: 5px"><b  style="color: #FF0000">' . lang('Arquivo nao localizado') . '.</b></p>'; 
     50                                    echo '<p style="margin-bottom: 5px"><b  style="color: #FF0000">' . lang('File not found') . '.</b></p>'; 
    5151                                } 
    5252                            else 
     
    5454                                    $data = file_get_contents($f); 
    5555                                    $dados = Crl_parseASN($data); 
    56                                     echo '<br/><br/>Emitido por: '; 
     56                                    echo '<br/><br/>' . lang ('Issuer') . ': '; 
    5757                                    $aux = $dados[1][0][1][2][1]; // pega dados do emissor. 
    5858                                    $aux = $aux[count($aux)-1];  // ultimo item he o do CN..... 
    5959                                    echo $aux[1][1][1][1]; 
    60                                     echo '<br/>Num. certificados: '; 
     60                                    echo '<br/>' . lang('Num. Certificates') . ': '; 
    6161                                    $num = 0; 
    6262                                    if(count($dados[1][0][1]) > 6)        // qtd de itens esperado he 7. o 6 contem os certificados revogados. 
     
    6565                                        } 
    6666                                    echo $num; 
    67                                     echo '<br/>LCR num. : '; 
     67                                    echo '<br/>' . lang('Num. RCL') . ': '; 
    6868                                    $oid_Num_crl = recupera_dados_oid($data,'2.5.29.20');  // oid que informa o numero de geracao da LCR. 
    6969                                    $num = $oid_Num_crl[0][1][1][1]; 
     
    8787                                            $cor = 'style="color: #000066"'; 
    8888                                        } 
    89                                 echo '<p><b  ' . $cor . '>' . lang('Gerada em') . ' : </b>' . substr($di,0,4) . '/' . substr($di,4,2) . '/' . substr($di,6,2) . '  -  ' . substr($di,8,2) . ':' . substr($di,10,2) . ':' . substr($di,12,2) . ' GMT</p>'; 
     89                                echo '<p><b  ' . $cor . '>' . lang('Create in') . ' : </b>' . substr($di,0,4) . '/' . substr($di,4,2) . '/' . substr($di,6,2) . '  -  ' . substr($di,8,2) . ':' . substr($di,10,2) . ':' . substr($di,12,2) . ' GMT</p>'; 
    9090                                    if(gmdate("YmdHis") > $df) 
    9191                                        { 
    92                                             $cor = 'style="color: #FF0000" >' . lang('Expirada em') . ': '; 
     92                                            $cor = 'style="color: #FF0000" >' . lang('Expired on') . ': '; 
    9393                                        } 
    9494                                    else 
    9595                                        { 
    96                                             $cor = 'style="color: #000066" >' . lang('Expira em') . ': '; 
     96                                            $cor = 'style="color: #000066" >' . lang('Expire on') . ': '; 
    9797                                        } 
    9898                                    echo '<p><b  ' . $cor . ' </b>' . substr($df,0,4) . '/' . substr($df,4,2) . '/' . substr($df,6,2) . '  -  ' . substr($df,8,2) . ':' . substr($df,10,2) . ':' . substr($df,12,2) . ' GMT</p>'; 
     
    106106            echo '<input type="hidden" name="atualizar" value="atualizar" />'; 
    107107            echo '<br/>'; 
    108             echo '<input type="button" name="atualiz" value="' . lang('Executar atualização das LCRs') . '" onclick="javascript:Salvar_arq(\'frm2\',\'' . lang('Confirma atualização das LCRs') . ' ?\')"/>'; 
     108            echo '<input type="button" name="atualiz" value="' . lang('Execute RCLs update') . '" onclick="javascript:Salvar_arq(\'frm2\',\'' . lang('Confirm RCLs update') . ' ?\')"/>'; 
    109109            echo '<br/>'; 
    110110            echo '</form>'; 
     
    114114    if($path2) 
    115115        { 
    116             echo '<h2  style="color: #000066">' . lang('Log da atualizacao das LCRs') . ':</h2>'; 
     116            echo '<h2  style="color: #000066">' . lang('Log of RCLs update') . ':</h2>'; 
    117117            echo '<div style="border: #000000 1px solid; overflow: auto; width: 770px; height:180px; white-space: pre; padding: 5px" >'; 
    118118            echo '<pre>'; 
     
    130130                { 
    131131                    //$ret = exec('cat ' . $path2 ,$saida); 
    132                     echo '<p style="margin-bottom: 5px"><b  style="color: #FF0000">' . lang('Arquivo') . ' ' . $path2 . ' ' . lang('nao localizado') . '</b></p>'; 
     132                    echo '<p style="margin-bottom: 5px"><b  style="color: #FF0000">' . lang('File') . ' ' . $path2 . ' ' . lang('not found') . '</b></p>'; 
    133133                } 
    134134            echo '</pre>'; 
    135135            echo '</div><br/><br/>'; 
    136             echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Voltar') . '"/></a>'; 
     136            echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Back') . '"/></a>'; 
    137137            echo '<div>'; 
    138138        } 
Note: See TracChangeset for help on using the changeset viewer.