svn: /phpdoc/es/trunk/reference/strings/functions/ nl2br.xml

From: Date: Fri, 04 Nov 2011 19:52:40 +0000
Subject: svn: /phpdoc/es/trunk/reference/strings/functions/ nl2br.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-5157@lists.php.net to get a copy of this message
seros Fri, 04 Nov 2011 19:52:40 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=318788 Log: Correcciones menores Changed paths: U phpdoc/es/trunk/reference/strings/functions/nl2br.xml Modified: phpdoc/es/trunk/reference/strings/functions/nl2br.xml =================================================================== --- phpdoc/es/trunk/reference/strings/functions/nl2br.xml 2011-11-04 19:28:38 UTC (rev 318787) +++ phpdoc/es/trunk/reference/strings/functions/nl2br.xml 2011-11-04 19:52:40 UTC (rev 318788) @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> <!-- EN-Revision: 310545 Maintainer: jpberdejo Status: ready --> +<!-- Reviewed: no --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.nl2br"> <refnamediv> <refname>nl2br</refname> @@ -15,12 +16,12 @@ <methodparam choice="opt"><type>bool</type><parameter>is_xhtml</parameter><initializer>true</initializer></methodparam> </methodsynopsis> <para> - Devuelve <parameter>string</parameter>con un '&lt;br /&gt;' o + Devuelve el parámetro <parameter>string</parameter> con un '&lt;br /&gt;' o '&lt;br&gt;' insertado antes de cada nueva línea. (<literal>\r\n</literal>, <literal>\n\r</literal>, <literal>\n</literal> y <literal>\r</literal>). </para> </refsect1> - + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -44,48 +45,48 @@ </variablelist> </para> </refsect1> - + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Devuelve el string alterado. </para> </refsect1> - + <refsect1 role="examples"> &reftitle.examples; <para> <example> - <title>Utilizando <function>nl2br</function></title> + <title>Usar <function>nl2br</function></title> <programlisting role="php"> <![CDATA[ <?php -echo nl2br("foo isn't\n bar"); +echo nl2br("foo no es\n bar"); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ -foo isn't<br /> +foo no es<br /> bar ]]> </screen> </example> <example> - <title>Generando marcado HTML válido utilizando el parámetro <parameter>is_xhtml</parameter></title> + <title>Generar marcado HTML válido utilizando el parámetro <parameter>is_xhtml</parameter></title> <programlisting role="php"> <![CDATA[ <?php -echo nl2br("Welcome\r\nThis is my HTML document", false); +echo nl2br("Bienvenido\r\nEste es mi documento HTML", false); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ -Welcome<br> -This is my HTML document +Bienvenido<br> +Este es mi documento HTML ]]> </screen> </example> @@ -94,24 +95,24 @@ <programlisting role="php"> <![CDATA[ <?php -$string = "This\r\nis\n\ra\nstring\r"; -echo nl2br($string); +$cadena = "Esto\r\nes\n\runa\ncadena\r"; +echo nl2br($cadena); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ -This<br /> -is<br /> -a<br /> -string<br /> +Esto<br /> +es<br /> +una<br /> +cadena<br /> ]]> </screen> </example> </para> </refsect1> - + <refsect1 role="changelog"> &reftitle.changelog; <para> @@ -127,7 +128,7 @@ <row> <entry>5.3.0</entry> <entry> - Agregado el parámetro opcional <parameter>is_xhtml</parameter>. + Se agregó el parámetro opcional <parameter>is_xhtml</parameter>. </entry> </row> <row> @@ -143,7 +144,7 @@ </informaltable> </para> </refsect1> - + <refsect1 role="seealso"> &reftitle.seealso; <para> @@ -155,7 +156,7 @@ </simplelist> </para> </refsect1> - + </refentry> <!-- Keep this comment at the end of the file

« previous php.doc.es (#5157) next »