cvs: phpdoc-es / translation.xml /reference/gettext configure.xml /reference/gettext/functions bind-textdomain-codeset.xml dcngettext.xml
dngettext.xml ngettext.xml /reference/http/functions headers-sent.xml

From: Date: Tue, 18 Nov 2003 22:05:30 +0000
Subject: cvs: phpdoc-es / translation.xml /reference/gettext configure.xml /reference/gettext/functions bind-textdomain-codeset.xml dcngettext.xml
dngettext.xml ngettext.xml /reference/http/functions headers-sent.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-421@lists.php.net to get a copy of this message
lboshell Tue Nov 18 17:05:30 2003 EDT Added files: /phpdoc-es/reference/gettext configure.xml /phpdoc-es/reference/gettext/functions bind-textdomain-codeset.xml dcngettext.xml dngettext.xml ngettext.xml /phpdoc-es/reference/http/functions headers-sent.xml Modified files: /phpdoc-es translation.xml Log: Nuevos archivos de reference/gettext y reference/http.

Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.87 phpdoc-es/translation.xml:1.88 --- phpdoc-es/translation.xml:1.87 Fri Nov 14 17:11:44 2003 +++ phpdoc-es/translation.xml Tue Nov 18 17:05:25 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.87 $ --> +<!-- $Revision: 1.88 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -38,11 +38,22 @@ <file name="reference/java/ini.xml" person="javi" type="translation" date="14.11.2003"/> <file name="reference/java/functions/java-last-exception-clear.xml" person="javi" type="translation" date="14.11.2003"/> <file name="reference/java/functions/java-last-exception-get.xml" person="javi" type="translation" date="14.11.2003"/> -<file name="reference/gettext/configure.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/bind-textdomain-codeset.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/dcngettext.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/dngettext.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/ngettext.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/http/functions/headers-sent.xml" person="lboshell" type="translation" date="14.11.2003"/> +<file name="reference/math/constants.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/acosh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/asinh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/atanh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/cosh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/deg2rad.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/expm1.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/fmod.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/hypot.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/is-finite.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/is-infinite.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/is-nan.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/lcg-value.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/log1p.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/rad2deg.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/sinh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/tanh.xml" person="lboshell" type="translation" date="18.11.2003"/> </work-in-progress> </translation> Index: phpdoc-es/reference/gettext/configure.xml +++ phpdoc-es/reference/gettext/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <section id="gettext.installation"> &reftitle.install; <para> Para incluir soporte para GNU gettext en su instalaci&oacute;n de PHP, debe agregar la opci&oacute;n <option role="configure">--with-gettext[=DIR]</option> donde DIR es el directorio de instalaci&oacute;n de gettext, por defecto <filename>/usr/local</filename>. </para> <note> <title>Nota para Usuarios de Win32</title> <simpara> Para habilitar este m&oacute;dulo en un entorno Windows, debe copiar <emphasis>gnu_gettext.dll</emphasis> desde el directorio DLL del paquete binario de PHP/Win32 a la carpeta SYSTEM32 de su m&aacute;quina windows. (Ej: C:\WINNT\SYSTEM32 o C:\WINDOWS\SYSTEM32). A partir de PHP 4.2.3 el nombre cambi&oacute; a <emphasis>libintl-1.dll</emphasis>, esto requiere que <filename>iconv.dll</filename> tambi&eacute;n sea copiado. </simpara> </note> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-es/reference/gettext/functions/bind-textdomain-codeset.xml +++ phpdoc-es/reference/gettext/functions/bind-textdomain-codeset.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.17 --> <refentry id='function.bind-textdomain-codeset'> <refnamediv> <refname>bind_textdomain_codeset</refname> <refpurpose> Especificar la codificaci&oacute;n de caracteres con la que ser&aacute;n devueltos los mensajes del cat&aacute;logo DOMINIO </refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>string</type><methodname>bind_textdomain_codeset</methodname> <methodparam><type>string</type><parameter>dominio</parameter></methodparam> <methodparam><type>string</type><parameter>juedo_caracteres</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-es/reference/gettext/functions/dcngettext.xml +++ phpdoc-es/reference/gettext/functions/dcngettext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 --> <refentry id='function.dcngettext'> <refnamediv> <refname>dcngettext</refname> <refpurpose>Versi&oacute;n plural de dcgettext</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>string</type><methodname>dcngettext</methodname> <methodparam><type>string</type><parameter>dominio</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje1</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje2</parameter></methodparam> <methodparam><type>int</type><parameter>n</parameter></methodparam> <methodparam><type>int</type><parameter>categoria</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-es/reference/gettext/functions/dngettext.xml +++ phpdoc-es/reference/gettext/functions/dngettext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 --> <refentry id='function.dngettext'> <refnamediv> <refname>dngettext</refname> <refpurpose>Versi&oacute;n plural de dgettext</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>string</type><methodname>dngettext</methodname> <methodparam><type>string</type><parameter>dominio</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje1</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje2</parameter></methodparam> <methodparam><type>int</type><parameter>n</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-es/reference/gettext/functions/ngettext.xml +++ phpdoc-es/reference/gettext/functions/ngettext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 --> <refentry id="function.ngettext"> <refnamediv> <refname>ngettext</refname> <refpurpose>Versi&oacute;n plural de gettext</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>string</type><methodname>ngettext</methodname> <methodparam><type>string</type><parameter>id_mensaje1</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje2</parameter></methodparam> <methodparam><type>int</type><parameter>n</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-es/reference/http/functions/headers-sent.xml +++ phpdoc-es/reference/http/functions/headers-sent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.13 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/http.xml, last change in rev 1.7 --> <refentry id="function.headers-sent"> <refnamediv> <refname>headers_sent</refname> <refpurpose>Chequea si se han enviado cabeceras, y d&oacute;nde</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>bool</type><methodname>headers_sent</methodname> <methodparam choice="opt"><type>string</type><parameter>&amp;archivo</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>&amp;linea</parameter></methodparam> </methodsynopsis> <simpara> <function>headers_sent</function> devolver&aacute; &false; si no se han enviado cabeceras HTTP, o &true; de lo contrario. Si los par&aacute;metros opcionales <parameter>archivo</parameter> y <parameter>linea</parameter> son definidos, <function>headers_sent</function> colocar&aacute; el nombre de archivo y n&uacute;mero de l&iacute;nea de las fuentes php en donde inici&oacute; la salida en las variables <parameter>archivo</parameter> y <parameter>linea</parameter>. </simpara> <simpara> No puede agregar m&aacute;s l&iacute;neas de cabeceras usando la funci&oacute;n <function>header</function> una vez el bloque de cabeceras ha sido enviado. Usando esta funci&oacute;n al menos puede prevenir la recepci&oacute;n de mensajes de error relacionados con cabeceras HTTP. Otra opci&oacute;n es usar <link linkend="ref.outcontrol">B&uacute;feres de Salida</link>. </simpara> <note> <simpara> Los par&aacute;metros opcionales <parameter>archivo</parameter> y <parameter>linea</parameter> fueron a&ntilde;adidos en PHP 4.3.0. </simpara> </note> <para> <example> <title>Ejemplos de uso de <function>headers_sent</function></title> <programlisting role="php"> <![CDATA[ <?php // Si no se han enviado cabeceras, enviar una if (!headers_sent()) { header ('Location: http://www.example.com/'); exit; } // Un ejemplo del uso de las parametros opcionales archivo y linea, a partir de PHP 4.3.0. // Note que $nombre_archivo y $num_linea son pasados para su uso posterior. // No les asigne valores con anterioridad. if (!headers_sent($nombre_archivo, $num_linea)) { header ('Location: http://www.example.com/'); exit; // Probablemente quiera producir un error aqui. } else { print "Las cabeceras ya fueron enviadas en $nombre_archivo en la linea " . "$num_linea\nNo es posible redireccionar, por ahora por favor " . "pulse este <a href=\"http://www.example.com\">enlace</a> en su " . "lugar\n"; exit; } ?> ]]> </programlisting> </example> </para> <para> Vea tambi&eacute;n <function>ob_start</function>, <function>trigger_error</function>, y <function>header</function> para una discusi&oacute;n m&aacute;s detallada de los temas involucrados. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.es (#421) next »