ernani          Thu Oct 10 00:43:48 2002 EDT

  Modified files:              
    /phpdoc/en/reference/zlib   reference.xml 
  Log:
  Updade Translation
  
  
Index: phpdoc/en/reference/zlib/reference.xml
diff -u phpdoc/en/reference/zlib/reference.xml:1.8 
phpdoc/en/reference/zlib/reference.xml:1.9
--- phpdoc/en/reference/zlib/reference.xml:1.8  Mon Sep 16 16:46:37 2002
+++ phpdoc/en/reference/zlib/reference.xml      Thu Oct 10 00:43:47 2002
@@ -1,36 +1,36 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- EN-Revision: 1.11 Maintainer: ernani Status: ready -->
  <reference id="ref.zlib">
-  <title>Zlib Compression Functions</title>
+  <title>Funções de Compressão Zlib</title>
   <titleabbrev>Zlib</titleabbrev>
 
   <partintro>
    <section id="zlib.intro">
     &reftitle.intro;
     <para>
-     This module enables you to transparently read and write
-     gzip (.gz) compressed files, through versions of most of
-     the <link linkend="ref.filesystem">filesystem</link> functions
-     which work with gzip-compressed files (and uncompressed files,
-     too, but not with sockets).
+     Este módulo lhe possibilita ler e gerar transparentemente
+     arquivos comprimidos do tipo gzip (.gz), através de muitas das
+     funções <link linkend="ref.filesystem">filesystem</link>
+     nas quais funcionam com arquivos gzip comprimidos (e arquivos não comprimidos
+     também, mas não com sockets).
     </para>
     <note>
      <para>
-      Version 4.0.4 introduced a fopen-wrapper for .gz-files, so that
-      you can use a special 'zlib:' URL to access compressed files
-      transparently using the normal f*() file access functions if you
-      prepend the filename or path with a 'zlib:' prefix when calling
+      A Versão 4.0.4 introduziu a função fopen-wrapper para arquivos .gz, então
+      você pode usar o prefixo 'zlib:' especial para acessar arquivos comprimidos
+      transparentemente usando as funções normais de acesso a arquivos f*() se
+      você concatenar o nome do arquivo e ou seu caminho com o prefixo 'zlib:' quando 
+usar a função
       <function>fopen</function>.
      </para>
      <para>
-      In version 4.3.0, this special prefix has been changed to 'zlib://'
-      to prevent ambiguities with filenames containing ':'.
+      Na versão 4.3.0, este prefixo especial foi mudado para 'zlib://'
+      para previnir ambiguidades com nome de arquivos contendo ':'.
      </para>
      <para>
-      This feature requires a C runtime library that provides the
-      <literal>fopencookie()</literal> function. To my current
-      knowledge the GNU libc is the only library that provides
-      this feature.
+      Esta facilidade requer uma biblioteca em tempo de execução que provê a função
+      <literal>fopencookie()</literal>. Em meu conhecimento atual
+      a GNU libc é a única bliblioteca que provê
+      esta facilidade.
      </para>
     </note>
    </section>
@@ -38,9 +38,9 @@
    <section id="zlib.requirements">
     &reftitle.required;
     <para>
-     This module uses the functions of <ulink url="&url.zlib;">zlib</ulink>
-     by Jean-loup Gailly and Mark Adler. You have to use a zlib
-     version &gt;= 1.0.9 with this module.
+     Este módulo usa as funções da <ulink url="&url.zlib;">zlib</ulink>
+     por Jean-loup Gailly e Mark Adler. Você terá que usar uma versão zlib
+     &gt;= à 1.0.9 com este módulo.
     </para>
    </section>
 
@@ -56,42 +56,42 @@
    <section id="zlib.examples">
     &reftitle.examples;
     <para>
-     This example opens a temporary file and writes a test string 
-     to it, then it prints out the content of this file twice.
+     Este exemplo abre um arquivo temporário e gera uma string teste
+     dentro dele, então ela mostra o conteúdo deste arquivo duas vezes.
     </para>
     <example>
-     <title>Small Zlib Example</title>
+     <title>Pequeno Exemplo das funções Zlib</title>
      <programlisting role="php">
 <![CDATA[
 <?php
 
-$filename = tempnam ('/tmp', 'zlibtest').'.gz';
+$filename = tempnam ('/tmp', 'zlibteste').'.gz';
 print "<html>\n<head></head>\n<body>\n<pre>\n";
-$s = "Only a test, test, test, test, test, test, test, test!\n";
+$s = "Somente um teste, teste, teste, teste, teste, teste, teste, teste!\n";
 
-// open file for writing with maximum compression
+// abre o arquivo para gerar ele com a compressão máxima
 $zp = gzopen($filename, "w9");
 
-// write string to file
+// escreve a string no arquivo
 gzwrite($zp, $s);
 
-// close file
+// fecha o arquivo
 gzclose($zp);
 
-// open file for reading
+// abre o arquivo para leitura
 $zp = gzopen($filename, "r");
 
-// read 3 char
+// lê 3 caracteres
 print gzread($zp, 3);
 
-// output until end of the file and close it.
+// mostra o conteúdo até o fim do arquivo e o fecha.
 gzpassthru($zp);
 
 print "\n";
 
-// open file and print content (the 2nd time).
+// abre o arquivo e imprime o conteúdo dele (pela segunda vez).
 if (readgzfile($filename) != strlen($s)) {
-        echo "Error with zlib functions!";
+        echo "Erro com as funções zlib!";
 }
 unlink($filename);
 print "</pre>\n</h1></body>\n</html>\n";



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to