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 >= 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
+ >= � 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