cvs: phpdoc-fr /reference/strings/functions wordwrap.xml
| From: | Damien Seguy | Date: | Wed, 18 Jun 2003 02:39:11 +0000 |
| Subject: | cvs: phpdoc-fr /reference/strings/functions wordwrap.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-541@lists.php.net to get a copy of this message | ||
dams Tue Jun 17 22:39:11 2003 EDT
Modified files:
/phpdoc-fr/reference/strings/functions wordwrap.xml
Log:
Frenchized example
Index: phpdoc-fr/reference/strings/functions/wordwrap.xml
diff -u phpdoc-fr/reference/strings/functions/wordwrap.xml:1.7
phpdoc-fr/reference/strings/functions/wordwrap.xml:1.8
--- phpdoc-fr/reference/strings/functions/wordwrap.xml:1.7 Thu May 22 21:11:43 2003
+++ phpdoc-fr/reference/strings/functions/wordwrap.xml Tue Jun 17 22:39:11 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.142 -->
<refentry id="function.wordwrap">
<refnamediv>
@@ -18,14 +18,15 @@
<methodparam
choice="opt"><type>boolean</type><parameter>cut</parameter></methodparam>
</methodsynopsis>
<para>
- <methodname>wordwrap</methodname> retourne la chaîne
- <parameter>str</parameter>, après avoir inséré
<parameter>break</parameter>
- tous les <parameter>width</parameter> caractères.
+ <function>wordwrap</function> retourne la chaîne
+ <parameter>str</parameter>, après avoir inséré
+ <parameter>break</parameter> tous les <parameter>width</parameter>
+ caractères.
</para>
<para>
Par défaut, <function>wordwrap</function> va automatiquement
- insérer une nouvelle ligne tous les 75 caractères, si
<parameter>width</parameter>
- et <parameter>break</parameter> ne sont pas fournis.
+ insérer une nouvelle ligne tous les 75 caractères, si
+ <parameter>width</parameter> et <parameter>break</parameter> ne sont
pas fournis.
</para>
<para>
Si le paramètre <parameter>cut</parameter> est mis à 1, la
chaîne
@@ -45,7 +46,7 @@
<programlisting role="php">
<![CDATA[
<?php
- $text = "The quick brown fox jumped over the lazy dog.";
+ $text = "Portez ce vieux whisky au juge blond qui fume.";
$newtext = wordwrap( $text, 20 );
echo "$newtext\n";
@@ -57,9 +58,9 @@
</para>
<screen>
<![CDATA[
-The quick brown fox
-jumped over the
-lazy dog.
+Portez ce vieux
+whisky au juge
+blond qui fume.
]]>
</screen>
</example>