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-cas.php

    r3232 r3377  
    1111        if(!is_dir(dirname($path3))) 
    1212        { 
    13             echo lang('Erro.') . ' ' . lang('Não foi possível localizar arquivo de configuração no servidor.'); 
     13            echo lang('Erro.') . ' ' . lang('Configuration file not found in server.'); 
    1414            exit(); 
    1515        } 
     
    5353                                if(count(explode(chr(0x0A),$w)) < 7 ) 
    5454                                    { 
    55                                         $msgs_alertas .= lang('Arquivo') . ' '. $_FILES['file']['name'] . lang('nao pode ser processado. Formato invalido') . '.<br/>'; 
     55                                        $msgs_alertas .= lang('File') . ' '. $_FILES['file']['name'] . lang('not processed. Invalid format') . '.<br/>'; 
    5656                                    } 
    5757                            } 
     
    8080                                            { 
    8181                                                $conteudo .= chr(0x0D) . chr(0x0A) . $cert; 
    82                                                 $msgs_alertas .= lang('Adicionado certificado para') . ' ' . $a->dados['NOME'] . ' .<br/>'; 
     82                                                $msgs_alertas .= lang('Certificate added to') . ' ' . $a->dados['NOME'] . ' .<br/>'; 
    8383                                            } 
    8484                                    } 
     
    9292                                                    { 
    9393                                                        file_put_contents($path3,$conteudo,FILE_APPEND); 
    94                                                         $msgs_alertas .= lang('Arquivo atualizado e salvo') . '.'; 
     94                                                        $msgs_alertas .= lang('File updated and save') . '.'; 
    9595                                                    } 
    9696                                                else 
    9797                                                    { 
    98                                                         $msgs_alertas .= lang('Falhou ao salvar arquivo (CD04). Nao foi concluida a operacao solicitada') . '.<br/>'; 
     98                                                        $msgs_alertas .= lang('Failure on save file (CD04). The requested operation is not concluded') . '.<br/>'; 
    9999                                                    } 
    100100                                            } 
    101101                                        else 
    102102                                            { 
    103                                                 $msgs_alertas .= lang('Falhou ao salvar arquivo (CD03). Nao foi concluida a operacao solicitada') . '.<br/>'; 
     103                                                $msgs_alertas .= lang('Failure on save file (CD03). The requested operation is not concluded') . '.<br/>'; 
    104104                                            } 
    105105                                    } 
    106106                                 else 
    107107                                     { 
    108                                         $msgs_alertas .= lang('Nao foram localizados certificados de CAs') . '.'; 
     108                                        $msgs_alertas .= lang('ACs certificates not found') . '.'; 
    109109                                     } 
    110110                            } 
     
    115115        echo '<div style="padding-left:90px" >'; 
    116116        echo '<form id="frm3" enctype="multipart/form-data" method="post" action="' . $_SERVER["PHP_SELF"] . '">'; 
    117         echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Voltar') . '"/></a>'; 
     117        echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Back') . '"/></a>'; 
    118118        $aux99 = explode('/',$path3); 
    119119        $path3 = $aux99[count($aux99)-1]; 
     
    123123        echo '</div>'; 
    124124        echo '<div id="files"/>'; 
    125         echo '<h4 style="color: #000066">' . lang('Selecione um arquivo com certificados de CAs para adionar ao arquivo de Cas em uso') . ':<h5>'; 
     125        echo '<h4 style="color: #000066">' . lang('Choose a file with CAs to add') . ':<h5>'; 
    126126        echo '<input id="file" type="file" name="file" />'; 
    127127        echo '&nbsp;&nbsp;&nbsp;&nbsp;'; 
    128         echo '<input type="button" name="adicionar" value="' . lang('Adicionar') . '" onclick="javascript:Submete_Cas(\'frm3\',\'' . lang('Adicionar conteudo do arquivo selecionado ao arquivo de CAs') . ' ?\')" />'; 
     128        echo '<input type="button" name="adicionar" value="' . lang('Add') . '" onclick="javascript:Submete_Cas(\'frm3\',\'' . lang('Add file contents to ACs file') . ' ?\')" />'; 
    129129        echo '</div>'; 
    130130        echo '</form>'; 
    131         echo '<h2 id="titulo1" style="color: #000066">' . lang('Certificados em') . ' ' . $path3 . ' :</h2>'; 
     131        echo '<h2 id="titulo1" style="color: #000066">' . lang('Certificates in') . ' ' . $path3 . ' :</h2>'; 
    132132        echo '<div id="xdiv1" style="border: #000000 1px solid; overflow: auto; width: 870px; height: 160px; white-space: pre;  padding: 3px; " >'; 
    133         echo '<br/><font color="#000066"><b> ' . lang('Carregando ...') . '</b></font>'; 
     133        echo '<br/><font color="#000066"><b> ' . lang('Loading ...') . '</b></font>'; 
    134134        echo '</div>'; 
    135135        echo '<br/><pre>'; 
    136136        echo '<div id="xdiv2" style="border: #000000 1px solid; overflow: auto; width: 870px; height: 180px; white-space: pre;  padding: 3px; " >'; 
    137         echo '<br/><font color="#000066"><b> ' . lang('Carregando ...') . '</b></font>'; 
     137        echo '<br/><font color="#000066"><b> ' . lang('Loading ...') . '</b></font>'; 
    138138        echo '</div></pre>'; 
    139139        echo '<br/>'; 
    140         echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Voltar') . '"/></a>'; 
     140        echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Back') . '"/></a>'; 
    141141        echo '<div>'; 
    142142        echo '<script type="text/javascript"> Lista_de_Certificados(\'' . $path3 . '\'); </script>'; 
Note: See TracChangeset for help on using the changeset viewer.