cvs: smarty /docs/fr/designers/language-modifiers language-modifier-capitalize.xml language-modifier-cat.xml language-modifier-count-characters.xml language-modifier-count-paragraphs.xml language-modifier-count-sentences.xml language-modifier-count-words.xml language-modifier-date-format.xml language-modifier-default.xml language-modifier-escape.xml language-modifier-indent.xml language-modifier-lower.xml language-modifier-nl2br.xml language-modifier-regex-replace.xml language-modifier-replace.xml language-modifier-spacify.xml language-modifier-string-format.xml language-modifier-strip-tags.xml language-modifier-strip.xml language-modifier-truncate.xml language-modifier-upper.xml language-modifier-wordwrap.xml

[email protected] ("Yannick Torres") Sun, 04 Dec 2005 20:10:02 -0000
Newsgroups php.smarty.cvs
Message-ID <cvsyannick1133727002@cvsserver>
yannick		Sun Dec  4 15:10:02 2005 EDT

  Modified files:              
    /smarty/docs/fr/designers/language-modifiers	
                                                	language-modifier-capitalize.xml 
                                                	language-modifier-cat.xml 
                                                	language-modifier-count-characters.xml 
                                                	language-modifier-count-paragraphs.xml 
                                                	language-modifier-count-sentences.xml 
                                                	language-modifier-count-words.xml 
                                                	language-modifier-date-format.xml 
                                                	language-modifier-default.xml 
                                                	language-modifier-escape.xml 
                                                	language-modifier-indent.xml 
                                                	language-modifier-lower.xml 
                                                	language-modifier-nl2br.xml 
                                                	language-modifier-regex-replace.xml 
                                                	language-modifier-replace.xml 
                                                	language-modifier-spacify.xml 
                                                	language-modifier-string-format.xml 
                                                	language-modifier-strip-tags.xml 
                                                	language-modifier-strip.xml 
                                                	language-modifier-truncate.xml 
                                                	language-modifier-upper.xml 
                                                	language-modifier-wordwrap.xml 
  Log:
  sync with EN
yannick-20051204151002.txt (text/plain, 56.1 KB)
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml:1.5 smarty/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml:1.6
--- smarty/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml:1.5	Mon May  9 12:45:23 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,12 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.capitalize">
  <title>capitalize</title>
+ <para>
+  Met la première lettre de chaque mot d'une variable en majuscule.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -31,18 +35,13 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Met la première lettre de chaque mot d'une variable en majuscule.
- </para>
  <example>
   <title>Mise en majuscule</title>
    <programlisting role="php">
 <![CDATA[
 <?php
 
-$smarty = new Smarty;
 $smarty->assign('titreArticle', 'Le nouveau php5 est vraiment performant !');
-$smarty->display('index.tpl');
 
 ?>
 ]]>
@@ -69,11 +68,12 @@
    </screen>
   </example>
   <para>
-   Voir aussi 
+   Voir aussi
    <link linkend="language.modifier.lower">lower</link> et
-   <link linkend="language.modifier.upper">upper</link>
+   <link linkend="language.modifier.upper">upper</link>.
   </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -93,4 +93,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-cat.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-cat.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-cat.xml:1.3 smarty/docs/fr/designers/language-modifiers/language-modifier-cat.xml:1.4
--- smarty/docs/fr/designers/language-modifiers/language-modifier-cat.xml:1.3	Sat Jul  3 05:11:30 2004
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-cat.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,12 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.cat">
  <title>cat</title>
+ <para>
+  Cette valeur est concaténée à la variable donnée.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -30,22 +34,19 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Cette valeur est concaténée à la variable donnée.
- </para>
  <example>
   <title>cat</title>
    <programlisting role="php">
 <![CDATA[
-<?php    
-$smarty = new Smarty;
+<?php
+
 $smarty->assign('articleTitle', "'Les devins ont prévus que le monde existera toujours");
-$smarty->display('index.tpl');
+
 ?>
 ]]>
    </programlisting>
    <para>
-    Ou index.tpl est:
+    Ou le template est :
    </para>
    <programlisting>
 <![CDATA[
@@ -56,12 +57,13 @@
     Donne à l'écran:
    </para>
    <screen>
-<![CDATA[    
+<![CDATA[
 Les devins ont prévus que le monde existera toujours demain.
 ]]>
    </screen>
  </example>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -81,4 +83,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-count-characters.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-count-characters.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-count-characters.xml:1.5 smarty/docs/fr/designers/language-modifiers/language-modifier-count-characters.xml:1.6
--- smarty/docs/fr/designers/language-modifiers/language-modifier-count-characters.xml:1.5	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-count-characters.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,12 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.count.characters">
  <title>count_characters</title>
+ <para>
+  Compte le nombre de caractères dans une variable.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -30,24 +34,19 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Compte le nombre de caractères dans une variable.
- </para>
  <example>
   <title>count_characters</title>
   <programlisting role="php">
 <![CDATA[
 <?php
 
-$smarty = new Smarty;
 $smarty->assign('titreArticle', 'Vagues de froid liées à la température.');
-$smarty->display('index.tpl');
 
 ?>
 ]]>
   </programlisting>
   <para>
-   Où index.tpl est:
+   Où le template est :
   </para>
   <programlisting>
 <![CDATA[
@@ -69,9 +68,9 @@
  </example>
  <para>
   Voir aussi
-  <link linkend="language.modifier.count.paragraphs">count_paragraphs</link>,
+  <link linkend="language.modifier.count.words">count_words</link>,
   <link linkend="language.modifier.count.sentences">count_sentences</link> et
-  <link linkend="language.modifier.count.words">count_words</link>.
+  <link linkend="language.modifier.count.paragraphs">count_paragraphs</link>.
  </para>
 </sect1>
 
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-count-paragraphs.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-count-paragraphs.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-count-paragraphs.xml:1.5 smarty/docs/fr/designers/language-modifiers/language-modifier-count-paragraphs.xml:1.6
--- smarty/docs/fr/designers/language-modifiers/language-modifier-count-paragraphs.xml:1.5	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-count-paragraphs.xml	Sun Dec  4 15:09:57 2005
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.count.paragraphs">
  <title>count_paragraphs</title>
  <para>
@@ -11,14 +12,16 @@
   <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
-$smarty-&gt;assign('TitreArticle', 'La guerre apporte la paix, au prix de la vie de certains innocents.');
-$smarty-&gt;display('index.tpl');
+
+$smarty->assign('articleTitle',
+               "War Dims Hope for Peace. Child's Death Ruins Couple's Holiday.\n\n
+               Man is Fatally Slain. Death Causes Loneliness, Feeling of Isolation."
+             );
 ?>
 ]]>
   </programlisting>
   <para>
-   Où index.tpl est:
+   Où le template est :
   </para>
   <programlisting>
 <![CDATA[
@@ -40,6 +43,7 @@
   <link linkend="language.modifier.count.words">count_words</link>.
  </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -59,4 +63,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-count-sentences.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-count-sentences.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-count-sentences.xml:1.5 smarty/docs/fr/designers/language-modifiers/language-modifier-count-sentences.xml:1.6
--- smarty/docs/fr/designers/language-modifiers/language-modifier-count-sentences.xml:1.5	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-count-sentences.xml	Sun Dec  4 15:09:57 2005
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.count.sentences">
  <title>count_sentences</title>
  <para>
@@ -11,16 +12,17 @@
   <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
-$smarty->assign('TitreArticle', 'Deux navires rentrent en
-collision - Un des deux coule. Des vaches enragées blessent un fermier à
-coups de haches.');
-$smarty->display('index.tpl');
+
+$smarty->assign('articleTitle',
+               'Two Soviet Ships Collide - One Dies.
+               Enraged Cow Injures Farmer with Axe.'
+             );
+
 ?>
 ]]>
   </programlisting>
   <para>
-   Où index.tpl est :
+   Où le template est :
   </para>
   <programlisting>
 <![CDATA[
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-count-words.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-count-words.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-count-words.xml:1.5 smarty/docs/fr/designers/language-modifiers/language-modifier-count-words.xml:1.6
--- smarty/docs/fr/designers/language-modifiers/language-modifier-count-words.xml:1.5	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-count-words.xml	Sun Dec  4 15:09:57 2005
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.count.words">
  <title>count_words</title>
  <para>
@@ -12,15 +13,13 @@
 <![CDATA[
 <?php
 
-$smarty = new Smarty;
 $smarty->assign('TitreArticle', 'Un anneau pour les gouverner tous.');
-$smarty->display('index.tpl');
 
 ?>
 ]]>
   </programlisting>
   <para>
-   Où index.tpl est:
+   Où le template est :
   </para>
   <programlisting>
 <![CDATA[
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-date-format.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-date-format.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-date-format.xml:1.5 smarty/docs/fr/designers/language-modifiers/language-modifier-date-format.xml:1.6
--- smarty/docs/fr/designers/language-modifiers/language-modifier-date-format.xml:1.5	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-date-format.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,21 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.5 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.date.format">
  <title>date_format</title>
+ <para>
+  Formate une date / heure au format
+  <ulink url="&url.php-manual;strftime">strftime()</ulink> donné.
+  Les dates peuvent être passées à smarty en tant que
+  <ulink url="&url.php-manual;function.time">timestamp</ulink> unix,
+  timestamp mysql ou comme chaîne quelconque contenant mois jour année
+  (interprétable par <ulink url="&url.php-manual;strtotime">strtotime()</ulink>).
+  Les concepteurs de templates peuvent utiliser date_format pour contrôler
+  parfaitement le format de sortie de la date.
+  Si la date passée à <command>date_format</command> est vide, et qu'un
+  second paramètre est donné, ce dernier sera utilisé comme étant la date à formater.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -37,183 +50,192 @@
    </tbody>
   </tgroup>
  </informaltable>
+
  <para>
-  Formate une date / heure au format 
-  <ulink url="&url.php-manual;strftime">strftime()</ulink> donné. 
-  Les dates peuvent être passées à smarty en tant que timestamp unix, 
-  timestamp mysql ou comme chaîne quelconque contenant mois jour année 
-  (interprétable par <ulink url="&url.php-manual;strtotime">strtotime()</ulink>). 
-  Les concepteurs de templates peuvent utiliser date_format pour contrôler 
-  parfaitement le format de sortie de la date.
-  Si la date passée à date_format est vide, et qu'un second paramètre
-  est donné, ce dernier sera utilisé comme étant la date à formater.
- </para>
- <example>
-  <title>date_format</title>
-<programlisting role="php">
+  <note>
+   <para>
+    Depuis Smarty 2.6.10, les valeurs numériques passées à date_format
+    sont <emphasis>toujours</emphasis> (excepté pour les timestamps mysql, voir
+    ci-dessous) interprétées comme un timestamp Unix.
+   </para>
+   <para>
+    Avant la version 2.6.10 de Smarty, les chaînes numériques qui étaient
+    également analysables par strtotime() en PHP (comme "YYYYMMDD"),
+    étaient, parfois, dépendament de l'implémentation de strtotime(),
+    interprétées en tant que des chaînes date et non des timestamps.
+   </para>
+   <para>
+    La seule exception est les timestamps MySQL : Ils sont uniquement numériques
+    et d'une longueur de 14 caractères ("YYYYMMDDHHMMSS"). Les timestamps
+    MySQL ont la priorité sur les timestamps Unix.
+   </para>
+  </note>
+  </para>
+  <example>
+   <title>date_format</title>
+   <programlisting role="php">
 <![CDATA[
 <?php
 
-$smarty = new Smarty;
 $smarty->assign('hier', strtotime('-1 day'));
-$smarty->display('index.tpl');
+
 ?>
 ]]>
-</programlisting>
-<para>
- Où index.tpl est:
-</para>
-<programlisting>
+   </programlisting>
+   <para>
+    Où le template est (utilisation de <link linkend="language.variables.smarty.now">$smarty.now</link>) :
+   </para>
+   <programlisting>
 <![CDATA[
 {$smarty.now|date_format}
-{$smarty.now|date_format:"%A, %B %e, %Y"}
-{$smarty.now|date_format:"%H:%M:%S"}
-{$hier|date_format}
-{$hier|date_format:"%A, %B %e, %Y"}
-{$hier|date_format:"%H:%M:%S"}
+{$smarty.now|date_format:"%D"}
+{$smarty.now|date_format:"%I:%M %p"}
+{$yesterday|date_format}
+{$yesterday|date_format:"%A, %B %e, %Y"}
+{$yesterday|date_format:"%H:%M:%S"}
 ]]>
-</programlisting>
-<para>
- Ce qui donne à l'écran:
-</para>
-<screen>
+   </programlisting>
+   <para>
+    Ce qui donne à l'écran:
+   </para>
+   <screen>
 <![CDATA[
 Feb 6, 2001
-Tuesday, February 6, 2001
-14:33:00
+02/06/01
+02:33 pm
 Feb 5, 2001
 Monday, February 5, 2001
 14:33:00
 ]]>
-</screen>
- </example>
+   </screen>
+  </example>
   <para>
-   date_format conversion specifiers:
+   Conversion de <command>date_format</command> :
    <itemizedlist>
-<listitem><para>
-%a - Abréviation du jour de la semaine, selon les paramètres locaux.
-</para></listitem>
-<listitem><para>
-%A - Nom du jour de la semaine, selon les paramètres locaux.
-</para></listitem>
-<listitem><para>
-%b - Abréviation du nom du jour, selon les paramètres locaux.
-</para></listitem>
-<listitem><para>
-%B - Nom complet du mois, selon les paramètres locaux.
-</para></listitem>
-<listitem><para>
-%c - Préférences d'affichage selon les paramètres locaux.
-</para></listitem>
-<listitem><para>
-%C - Siècle, (L'année divisée par 100 et tronquée comme un entier, de 00 à 99)
-</para></listitem>
-<listitem><para>
-%d - Jour du mois, en tant que nombre décimal (de 00 à 31)
-</para></listitem>
-<listitem><para>
-%D - même chose que %m/%d/%y
-</para></listitem>
-<listitem><para>
-%e - Jour du mois en tant que nombre décimal. Un chiffre unique est précédé par
-un espace (de 1 à 31)
-</para></listitem>
-<listitem><para>
-%g - Position de la semaine dans le siècle [00,99]
-</para></listitem>
-<listitem><para>
-%G - Position de la semaine, incluant le siècle [0000,9999]
-</para></listitem>
-<listitem><para>
-%h - identique à %b
-</para></listitem>
-<listitem><para>
-%H - L'heure en tant que décimale, en utilisant une horloge sur 24 (de 00 à 23)
-</para></listitem>
-<listitem><para>
-%I - L'heure en tant que décimale en utilisant une horloge sur 12 (de 01 to 12)
-</para></listitem>
-<listitem><para>
-%j - jour de l'année (de 001 à 366)
-</para></listitem>
-<listitem><para>
-%k - Heure (horloge sur 24). Les numéros à un chiffre sont précédés d'un espace. (de 0 à 23)
-</para></listitem>
-<listitem><para>
-%l - Heure (horloge sur 12). Les numéros à un chiffre sont précédés d'un espace. (de 1 à 12)
-</para></listitem>
-<listitem><para>
-%m - Mois en tant que nombre décimal (de 01 à 12)
-</para></listitem>
-<listitem><para>
-%M - Minute en tant que nombre décimal
-</para></listitem>
-<listitem><para>
-%n - Retour chariot (nouvelle ligne).
-</para></listitem>
-<listitem><para>
-%p - soit am soit pm selon l'heure donnée, ou alors leurs correspondances locales.
-</para></listitem>
-<listitem><para>
-%r - heure en notation a.m. et p.m.
-</para></listitem>
-<listitem><para>
-%R - Heure au format 24 heures
-</para></listitem>
-<listitem><para>
-%S - Secondes en tant que nombre décimal.
-</para></listitem>
-<listitem><para>
-%t - Caractère tabulation.
-</para></listitem>
-<listitem><para>
-%T - Heure courante, équivalent à %H:%M:%S
-</para></listitem>
-<listitem><para>
-%u - Jour de la semaine en tant que nombre décimal [1,7], ou 1 représente le lundi.
-</para></listitem>
-<listitem><para>
-%U - Le numéro de la semaine en nombre décimal, utilisant le premier dimanche
-en tant que premier jour de la première semaine.
-</para></listitem>
-<listitem><para>
-%V - Le numéro de la semaine de l'année courante selon la norme ISO 8601:1988,
-    de 01 à 53, ou la semaine 1 est la première semaine qui dispose au minimum
-    de 4 jours dans l'année courante et ou Lundi est le premier jour
-    de cette semaine.
-</para></listitem>
-<listitem><para>
-%w - Jour de la semaine en tant que nombre décimal, dimanche étant 0
-</para></listitem>
-<listitem><para>
-%W - Le numéro de la semaine de l'année courante en tant que nombre décimal,
-     ou Lundi est le premier jour de la première semaine.
-</para></listitem>
-<listitem><para>
-%x - Représentation préférée de la date selon les paramètres locaux.
-</para></listitem>
-<listitem><para>
-%X - Représentation préférée de l'heure selon les paramètres locaux, sans la
-     date.
-</para></listitem>
-<listitem><para>
-%y - L'année en tant que nombre décimal, sans le siècle. (de 00 à 99)
-</para></listitem>
-<listitem><para>
-%Y - L'année en tant que nombre décimal, avec le siècle.
-</para></listitem>
-<listitem><para>
-%Z - Zone horraire, nom ou abréviation
-</para></listitem>
-<listitem><para>
-%% - Un caractère litéral `%'
-</para></listitem>
-</itemizedlist>
+    <listitem><para>
+    %a - Abréviation du jour de la semaine, selon les paramètres locaux.
+    </para></listitem>
+    <listitem><para>
+    %A - Nom du jour de la semaine, selon les paramètres locaux.
+    </para></listitem>
+    <listitem><para>
+    %b - Abréviation du nom du jour, selon les paramètres locaux.
+    </para></listitem>
+    <listitem><para>
+    %B - Nom complet du mois, selon les paramètres locaux.
+    </para></listitem>
+    <listitem><para>
+    %c - Préférences d'affichage selon les paramètres locaux.
+    </para></listitem>
+    <listitem><para>
+    %C - Siècle, (L'année divisée par 100 et tronquée comme un entier, de 00 à 99)
+    </para></listitem>
+    <listitem><para>
+    %d - Jour du mois, en tant que nombre décimal (de 00 à 31)
+    </para></listitem>
+    <listitem><para>
+    %D - même chose que %m/%d/%y
+    </para></listitem>
+    <listitem><para>
+    %e - Jour du mois en tant que nombre décimal. Un chiffre unique est précédé par
+    un espace (de 1 à 31)
+    </para></listitem>
+    <listitem><para>
+    %g - Position de la semaine dans le siècle [00,99]
+    </para></listitem>
+    <listitem><para>
+    %G - Position de la semaine, incluant le siècle [0000,9999]
+    </para></listitem>
+    <listitem><para>
+    %h - identique à %b
+    </para></listitem>
+    <listitem><para>
+    %H - L'heure en tant que décimale, en utilisant une horloge sur 24 (de 00 à 23)
+    </para></listitem>
+    <listitem><para>
+    %I - L'heure en tant que décimale en utilisant une horloge sur 12 (de 01 to 12)
+    </para></listitem>
+    <listitem><para>
+    %j - jour de l'année (de 001 à 366)
+    </para></listitem>
+    <listitem><para>
+    %k - Heure (horloge sur 24). Les numéros à un chiffre sont précédés d'un espace. (de 0 à 23)
+    </para></listitem>
+    <listitem><para>
+    %l - Heure (horloge sur 12). Les numéros à un chiffre sont précédés d'un espace. (de 1 à 12)
+    </para></listitem>
+    <listitem><para>
+    %m - Mois en tant que nombre décimal (de 01 à 12)
+    </para></listitem>
+    <listitem><para>
+    %M - Minute en tant que nombre décimal
+    </para></listitem>
+    <listitem><para>
+    %n - Retour chariot (nouvelle ligne).
+    </para></listitem>
+    <listitem><para>
+    %p - soit am soit pm selon l'heure donnée, ou alors leurs correspondances locales.
+    </para></listitem>
+    <listitem><para>
+    %r - heure en notation a.m. et p.m.
+    </para></listitem>
+    <listitem><para>
+    %R - Heure au format 24 heures
+    </para></listitem>
+    <listitem><para>
+    %S - Secondes en tant que nombre décimal.
+    </para></listitem>
+    <listitem><para>
+    %t - Caractère tabulation.
+    </para></listitem>
+    <listitem><para>
+    %T - Heure courante, équivalent à %H:%M:%S
+    </para></listitem>
+    <listitem><para>
+    %u - Jour de la semaine en tant que nombre décimal [1,7], ou 1 représente le lundi.
+    </para></listitem>
+    <listitem><para>
+    %U - Le numéro de la semaine en nombre décimal, utilisant le premier dimanche
+    en tant que premier jour de la première semaine.
+    </para></listitem>
+    <listitem><para>
+    %V - Le numéro de la semaine de l'année courante selon la norme ISO 8601:1988,
+        de 01 à 53, ou la semaine 1 est la première semaine qui dispose au minimum
+        de 4 jours dans l'année courante et ou Lundi est le premier jour
+        de cette semaine.
+    </para></listitem>
+    <listitem><para>
+    %w - Jour de la semaine en tant que nombre décimal, dimanche étant 0
+    </para></listitem>
+    <listitem><para>
+    %W - Le numéro de la semaine de l'année courante en tant que nombre décimal,
+         ou Lundi est le premier jour de la première semaine.
+    </para></listitem>
+    <listitem><para>
+    %x - Représentation préférée de la date selon les paramètres locaux.
+    </para></listitem>
+    <listitem><para>
+    %X - Représentation préférée de l'heure selon les paramètres locaux, sans la
+         date.
+    </para></listitem>
+    <listitem><para>
+    %y - L'année en tant que nombre décimal, sans le siècle. (de 00 à 99)
+    </para></listitem>
+    <listitem><para>
+    %Y - L'année en tant que nombre décimal, avec le siècle.
+    </para></listitem>
+    <listitem><para>
+    %Z - Zone horraire, nom ou abréviation
+    </para></listitem>
+    <listitem><para>
+    %% - Un caractère litéral `%'
+    </para></listitem>
+    </itemizedlist>
    <note>
     <title>Note aux développeurs</title>
     <para>
-     date_format est un alias de la fonction
-     PHP <ulink url="&url.php-manual;strftime">strftime()</ulink>. 
+     <command>date_format</command> est un alias de la fonction PHP
+     PHP <ulink url="&url.php-manual;strftime">strftime()</ulink>.
      Il est probable que vous disposiez de plus ou moins d'options
      disponibles selon le système sur lequel PHP a été compilé.
      Reportez-vous à l'aide de votre système pour une liste complète des
@@ -222,8 +244,9 @@
    </note>
   </para>
   <para>
-   Voir aussi 
+   Voir aussi
    <link linkend="language.variables.smarty.now">$smarty.now</link>,
+   la <ulink url="&url.php-manual;strftime">fonction PHP strftime()</ulink>,
    <link linkend="language.function.html.select.date">{html_select_date}</link> et
    les <link linkend="tips.dates">astuces sur les dates</link>.
   </para>
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-default.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-default.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-default.xml:1.4 smarty/docs/fr/designers/language-modifiers/language-modifier-default.xml:1.5
--- smarty/docs/fr/designers/language-modifiers/language-modifier-default.xml:1.4	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-default.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,14 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.default">
  <title>default</title>
+ <para>
+  Utilisé pour définir une valeur par défaut à une variable.
+  Si la variable est vide ou indéfinie, la valeur donnée est affichée
+  en lieu et place. Default attends un seul argument.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -31,24 +37,19 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Utilisé pour définir une valeur par défaut à une variable.
-  Si la variable est vide ou indéfinie, la valeur donnée est affichée
-  en lieu et place. Default attends un seul argument.
- </para>
  <example>
   <title>default</title>
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
+
 $smarty->assign('TitreArticle', 'Les portes de la moria restent fermées.');
-$smarty->display('index.tpl');
+
 ?>
 ]]>
 </programlisting>
 <para>
-Où index.tpl est :
+Où le template est :
 </para>
 <programlisting>
 <![CDATA[
@@ -70,6 +71,7 @@
  et <link linkend="tips.blank.var.handling">la gestion de l'effacement des variables</link>.
   </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -89,4 +91,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-escape.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-escape.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-escape.xml:1.5 smarty/docs/fr/designers/language-modifiers/language-modifier-escape.xml:1.6
--- smarty/docs/fr/designers/language-modifiers/language-modifier-escape.xml:1.5	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-escape.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,15 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.escape">
  <title>escape</title>
+ <para>
+  "Echappe" les caractères spéciaux html, d'url, pour
+  les quotes d'une chaîne, les valeurs
+  hexadécimales, les entités hexadécimales ou javascript.
+  Par défaut, ce paramètre est html.
+ </para>
  <informaltable frame="all">
   <tgroup cols="6">
    <colspec colname="param" align="center" />
@@ -34,25 +41,21 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  "Echappe" les caractères spéciaux html, d'url, pour
-  les quotes d'une chaîne, les valeurs
-  hexadécimales, les entités hexadécimales ou javascript.
-  Par défaut, ce paramètre est html.
- </para>
  <example>
   <title>escape</title>
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
-$smarty->assign('TitreArticle', "'Stiff Opposition Expected to Casketless Funeral Plan'");
-$smarty->display('index.tpl');
+
+$smarty->assign('articleTitle',
+                  "'Stiff Opposition Expected to Casketless Funeral Plan'"
+                );
+
 ?>
 ]]>
 </programlisting>
 <para>
-Où index.tpl est:
+Où le template est :
 </para>
 <programlisting>
 <![CDATA[
@@ -82,8 +85,8 @@
 </example>
 <para>
  Voir aussi la
- <link linkend="language.escaping">désactivation de l'analyse de Smarty</link>
- et le <link linkend="tips.obfuscating.email">mascage des adresses E-mail</link>.
+ <link linkend="language.escaping">désactivation de l'analyse de Smarty</link> et
+ le <link linkend="tips.obfuscating.email">mascage des adresses E-mail</link>.
 </para>
 </sect1>
 
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-indent.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-indent.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-indent.xml:1.4 smarty/docs/fr/designers/language-modifiers/language-modifier-indent.xml:1.5
--- smarty/docs/fr/designers/language-modifiers/language-modifier-indent.xml:1.4	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-indent.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,16 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.indent">
  <title>indent</title>
+ <para>
+  Indente chacune des lignes d'une chaîne. Comme paramètre optionnel,
+  vous pouvez spécifier le nombre de caractères à utiliser pour l'indentation (4 par défaut).
+  Comme second paramètre optionnel, vous
+  pouvez spécifier le caractère à utiliser pour l'indentation (utilisez
+  "\t" pour les tabulations).
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -37,26 +45,22 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Indente chacune des lignes d'une chaîne. Comme paramètre optionnel,
-  vous pouvez spécifier le nombre de caractères à utiliser pour l'indentation (4 par défaut).
-  Comme second paramètre optionnel, vous
-  pouvez spécifier le caractère à utiliser pour l'indentation (utilisez
-  "\t" pour les tabulations).
- </para>
  <example>
   <title>indent</title>
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
-$smarty->assign('TitreArticle', 'Il fera noir cette nuit.');
-$smarty->display('index.tpl');
+
+$smarty->assign('articleTitle',
+                'NJ judge to rule on nude beach.
+Sun or rain expected today, dark tonight.
+Statistics show that teen pregnancy drops off significantly after 25.'
+                );
 ?>
 ]]>
 </programlisting>
 <para>
-Ou index.tpl est:
+Ou le template est :
 </para>
 <programlisting>
 <![CDATA[
@@ -74,20 +78,28 @@
 </para>
 <screen>
 <![CDATA[
-Il fera noir cette nuit.
-
-    Il fera noir cette nuit.
-
-          Il fera noir cette nuit.
-
-	Il fera noir cette nuit.
+NJ judge to rule on nude beach.
+Sun or rain expected today, dark tonight.
+Statistics show that teen pregnancy drops off significantly after 25.
+
+    NJ judge to rule on nude beach.
+    Sun or rain expected today, dark tonight.
+    Statistics show that teen pregnancy drops off significantly after 25.
+
+          NJ judge to rule on nude beach.
+          Sun or rain expected today, dark tonight.
+          Statistics show that teen pregnancy drops off significantly after 25.
+
+        NJ judge to rule on nude beach.
+        Sun or rain expected today, dark tonight.
+        Statistics show that teen pregnancy drops off significantly after 25.
 ]]>
 </screen>
 </example>
 <para>
- Voir aussi 
- <link linkend="language.modifier.strip">strip</link>
- et <link linkend="language.modifier.spacify">spacify</link>.
+ Voir aussi
+ <link linkend="language.modifier.strip">strip</link> et
+ <link linkend="language.modifier.spacify">spacify</link>.
   </para>
 </sect1>
 
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-lower.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-lower.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-lower.xml:1.4 smarty/docs/fr/designers/language-modifiers/language-modifier-lower.xml:1.5
--- smarty/docs/fr/designers/language-modifiers/language-modifier-lower.xml:1.4	Mon May  9 12:45:23 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-lower.xml	Sun Dec  4 15:09:57 2005
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.lower">
  <title>lower</title>
  <para>
@@ -11,14 +12,14 @@
   <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
+
 $smarty->assign('TitreArticle', 'Deux Suspects Se Sont Sauvés.');
-$smarty->display('index.tpl');
+
 ?>
 ]]>
   </programlisting>
   <para>
-   Où index.tpl est :
+   Où le template est :
   </para>
   <programlisting>
 <![CDATA[
@@ -42,6 +43,7 @@
   <link linkend="language.modifier.capitalize">Capitalize</link>.
  </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -61,4 +63,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-nl2br.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-nl2br.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-nl2br.xml:1.4 smarty/docs/fr/designers/language-modifiers/language-modifier-nl2br.xml:1.5
--- smarty/docs/fr/designers/language-modifiers/language-modifier-nl2br.xml:1.4	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-nl2br.xml	Sun Dec  4 15:09:57 2005
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.nl2br">
  <title>nl2br</title>
  <para>
@@ -12,14 +13,16 @@
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
-$smarty->assign('TitreArticle', "Pluie ou soleil attendu\naujourd'hui, nuit noire");
-$smarty->display('index.tpl');
+
+$smarty->assign('articleTitle',
+               "Sun or rain expected\ntoday, dark tonight"
+              );
+
 ?>
 ]]>
 </programlisting>
 <para>
-Où index.tpl est :
+Où le template est :
 </para>
 <programlisting>
 <![CDATA[
@@ -36,7 +39,7 @@
 </screen>
 </example>
 <para>
- Voir aussi 
+ Voir aussi
  <link linkend="language.modifier.wordwrap">word_wrap</link>,
  <link linkend="language.modifier.count.paragraphs">count_paragraphs</link> et
  <link linkend="language.modifier.count.sentences">count_sentences</link>.
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-regex-replace.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-regex-replace.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-regex-replace.xml:1.4 smarty/docs/fr/designers/language-modifiers/language-modifier-regex-replace.xml:1.5
--- smarty/docs/fr/designers/language-modifiers/language-modifier-regex-replace.xml:1.4	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-regex-replace.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,14 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.regex.replace">
  <title>regex_replace</title>
+ <para>
+  Un rechercher / remplacer avec une expression régulière. Utilise la même
+  syntaxe que la fonction PHP
+  <ulink url="&url.php-manual;preg_replace">preg_replace()</ulink>.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -37,24 +43,19 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Un rechercher / remplacer avec une expression régulière. Utilise la même
-  syntaxe que la fonction PHP <ulink
-  url="&url.php-manual;preg_replace">preg_replace()</ulink>.
- </para>
  <example>
   <title>regex_replace</title>
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
+
 $smarty->assign('TitreArticle', "L'infertilité est un maux grandissant\n, disent les experts.");
-$smarty->display('index.tpl');
+
 ?>
 ]]>
 </programlisting>
 <para>
-Ou index.tpl est : 
+Ou le template est :
 </para>
 <programlisting>
 <![CDATA[
@@ -76,7 +77,7 @@
 </screen>
 </example>
 <para>
- Voir aussi 
+ Voir aussi
  <link linkend="language.modifier.replace">replace</link> et
  <link linkend="language.modifier.escape">escape</link>.
   </para>
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-replace.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-replace.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-replace.xml:1.4 smarty/docs/fr/designers/language-modifiers/language-modifier-replace.xml:1.5
--- smarty/docs/fr/designers/language-modifiers/language-modifier-replace.xml:1.4	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-replace.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,13 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.replace">
  <title>replace</title>
+ <para>
+  Un simple remplacement de chaîne de caractères. Ceci est l'équivalent
+  de la fonction PHP <ulink url="&url.php-manual;str_replace">str_replace()</ulink>.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -37,33 +42,29 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Un simple remplacement de chaîne de caractères. Ceci est l'équivalent
-  dela fonction PHP <ulink url="&url.php-manual;str_replace">str_replace()</ulink>.
- </para>
  <example>
   <title>replace</title>
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
+
 $smarty->assign('titreArticle', "Child's Stool Great for Use in Garden.");
-$smarty->display('index.tpl');
+
 ?>
 ]]>
 </programlisting>
 <para>
-Ou index.tpl est :
+Ou le template est :
 </para>
 <programlisting>
 <![CDATA[
 {$titreArticle}
-{$titreArticle|replace:"Garden":"Vineyard"}
-{$titreArticle|replace:" ":"   "}
+{$titreArticle|replace:'Garden':'Vineyard'}
+{$titreArticle|replace:' ':'   '}
 ]]>
 </programlisting>
 <para>
-Ce qui donne en sortie : 
+Ce qui donne en sortie :
 </para>
 <screen>
 <![CDATA[
@@ -79,6 +80,7 @@
  <link linkend="language.modifier.escape">escape</link>.
   </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -98,4 +100,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-spacify.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-spacify.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-spacify.xml:1.4 smarty/docs/fr/designers/language-modifiers/language-modifier-spacify.xml:1.5
--- smarty/docs/fr/designers/language-modifiers/language-modifier-spacify.xml:1.4	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-spacify.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,14 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.spacify">
  <title>spacify</title>
+ <para>
+  spacify est un moyen pour insérer un espace entre tous les caractères
+  d'une variable. Optionnellement, vous pouvez lui passer un caractère
+  (ou une chaîne) différent de l'espace à insérer.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -30,25 +36,20 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  spacify est un moyen pour insérer un espace entre tous les caractères
-  d'une variable. Optionnellement, vous pouvez lui passer un caractère
-  (ou une chaîne) différent de espace à insérer.
- </para>
  <example>
   <title>spacify</title>
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
+
 $smarty->assign('titreArticle', 'Quelque chose s\'est mal passé et à provoqué
 cet accident, disent les experts');
-$smarty->display('index.tpl');
+
 ?>
 ]]>
 </programlisting>
 <para>
-Ou index.tpl est :
+Où le template est :
 </para>
 <programlisting>
 <![CDATA[
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-string-format.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-string-format.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-string-format.xml:1.4 smarty/docs/fr/designers/language-modifiers/language-modifier-string-format.xml:1.5
--- smarty/docs/fr/designers/language-modifiers/language-modifier-string-format.xml:1.4	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-string-format.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,14 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.string.format">
  <title>string_format</title>
+ <para>
+  Un moyen pour formater les chaînes de caractères, comme par exemple les
+  nombres décimaux. Utilise la syntaxe de <ulink url="&url.php-manual;sprintf">sprintf()</ulink>
+  pour formater les éléments.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -30,24 +36,19 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Un moyen pour formater les chaînes de caractères, comme par exemple les
-  nombres décimaux. Utilise la syntaxe de <ulink url="&url.php-manual;sprintf">sprintf</ulink> 
-  pour formater les éléments.
- </para>
  <example>
   <title>string_format</title>
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
+
 $smarty->assign('nombre', 23.5787446);
-$smarty->display('index.tpl');
+
 ?>
 ]]>
 </programlisting>
 <para>
-ou index.tpl est :
+où le template est :
 </para>
 <programlisting>
 <![CDATA[
@@ -68,7 +69,7 @@
 </screen>
 </example>
 <para>
- Voir aussi 
+ Voir aussi
  <link linkend="language.modifier.date.format">date_format</link>.
   </para>
 </sect1>
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-strip-tags.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-strip-tags.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-strip-tags.xml:1.3 smarty/docs/fr/designers/language-modifiers/language-modifier-strip-tags.xml:1.4
--- smarty/docs/fr/designers/language-modifiers/language-modifier-strip-tags.xml:1.3	Sun Jul  4 05:39:39 2004
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-strip-tags.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,13 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.strip.tags">
  <title>strip_tags</title>
+ <para>
+  Supprime toutes les balises, et plus généralement tout ce qui se trouve
+  entre &lt; et &gt;.
+ </para>
   <informaltable frame="all">
    <tgroup cols="5">
     <colspec colname="param" align="center" />
@@ -30,43 +35,43 @@
     </tbody>
    </tgroup>
   </informaltable>
- <para>
-  Supprime toutes les balises, et plus généralement tout ce qui se trouve
-  entre &lt; et &gt;.
- </para>
  <example>
   <title>strip_tags</title>
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
-$smarty->assign('titreArticle', "Une femme aveugle obtient un nouveau <font face=\"helvetica\">rein</font> d'un père qu'elle n'a pas vu depuis <b>des années</b>.");
-$smarty->display('index.tpl');
+
+$smarty->assign('articleTitle',
+            "Blind Woman Gets <font face=\"helvetica\">New
+ Kidney</font> from Dad she Hasn't Seen in <b>years</b>."
+               );
+
 ?>
 ]]>
 </programlisting>
 <para>
-Ou index.tpl est :
+Où le template est :
 </para>
 <programlisting>
 <![CDATA[
 {$titreArticle}
-{$titreArticle|strip_tags} {* identique à {$titreArticle|strip_tags:true} *} 
+{$titreArticle|strip_tags} {* identique à {$titreArticle|strip_tags:true} *}
 {$titreArticle|strip_tags:false}
 ]]>
 </programlisting>
 <para>
-Ce qui donne en sortie : 
+Ce qui donne en sortie :
 </para>
 <screen>
 <![CDATA[
-Une femme aveugle obtient un nouveau <font face=\"helvetica\">rein</font> d'un père qu'elle n'a pas vu depuis <b>des années</b>.
-Une femme aveugle obtient un nouveau  rein  d'un père qu'elle n'a pas vu depuis  des années .
-Une femme aveugle obtient un nouveau rein d'un père qu'elle n'a pas vu depuis des années.
+Blind Woman Gets <font face="helvetica">New Kidney</font> from Dad she Hasn't Seen in <b>years</b>.
+Blind Woman Gets  New Kidney  from Dad she Hasn't Seen in  years .
+Blind Woman Gets New Kidney from Dad she Hasn't Seen in years.
 ]]>
 </screen>
  </example>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -86,4 +91,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-strip.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-strip.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-strip.xml:1.3 smarty/docs/fr/designers/language-modifiers/language-modifier-strip.xml:1.4
--- smarty/docs/fr/designers/language-modifiers/language-modifier-strip.xml:1.3	Sun Jul  4 05:39:39 2004
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-strip.xml	Sun Dec  4 15:09:57 2005
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.strip">
  <title>strip</title>
  <para>
@@ -11,8 +12,7 @@
   <title>Note</title>
   <para>
    Si vous voulez réaliser cette action sur un bloc complet du template,
-   utilisez la <link
-   linkend="language.function.strip">fonction strip</link>.
+   utilisez la fonction <link linkend="language.function.strip">{strip}</link>.
   </para>
  </note>
  <example>
@@ -28,27 +28,30 @@
 ]]>
 </programlisting>
 <para>
-Ou index.tpl est : 
+Où le template est :
 </para>
 <programlisting>
 <![CDATA[
 {$titreArticle}
 {$titreArticle|strip}
-{$titreArticle|strip:"&amp;nbsp;"}
+{$titreArticle|strip:"&nbsp;"}
 ]]>
 </programlisting>
 <para>
 Ce qui donne en sortie :
 </para>
 <screen>
+ <![CDATA[
 Une réunion autour
  d'un feu de cheminée     est toujours agréable.
 Une réunion autour d'un feu de cheminée est toujours agréable.
-Une&amp;nbsp;réunion&amp;nbsp;autour&amp;nbsp;d'un&amp;nbsp;feu&amp;nbsp;de&amp;nbsp;cheminée&amp;nbsp;est&amp;nbsp;toujours
-&amp;nbsp;agréable.
+Une&nbsp;réunion&nbsp;autour&nbsp;d'un&nbsp;feu&nbsp;de&nbsp;cheminée&nbsp;est&nbsp;toujours
+&nbsp;agréable.
+]]>
 </screen>
  </example>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -68,4 +71,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-truncate.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-truncate.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-truncate.xml:1.3 smarty/docs/fr/designers/language-modifiers/language-modifier-truncate.xml:1.4
--- smarty/docs/fr/designers/language-modifiers/language-modifier-truncate.xml:1.3	Sun Jul  4 05:39:39 2004
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-truncate.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,18 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.truncate">
  <title>truncate</title>
+ <para>
+  Tronque une variable à une certaine longueur, par défaut 80.
+  Un second paramètre optionnel permet de spécifier une chaîne à afficher
+  à la fin de la variable une fois tronquée. Les caractères de fin sont
+  inclus dans la longueur de la chaîne à tronquer. Par défaut,
+  truncate tentera de couper la chaîne à la fin d'un mot. Si vous voulez
+  tronquer la chaîne au caractère exact, donnez la valeur true au
+  dernier paramètre optionnel.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -33,8 +43,8 @@
      <entry>chaîne de caractère</entry>
      <entry>Non</entry>
      <entry>...</entry>
-     <entry>Le texte à rajouter lorsque l'on effectue un
-     troncage.</entry>
+     <entry>Le texte qui remplace le texte tronqué. Sa longueur n'est PAS
+      incluse dans la configuration de la longueur à tronquer.</entry>
     </row>
     <row>
      <entry>3</entry>
@@ -45,31 +55,31 @@
       le dernier mot (false), ou au caractère exact (true).
      </entry>
     </row>
+    <row>
+     <entry>4</entry>
+     <entry>booléen</entry>
+     <entry>Non</entry>
+     <entry>false</entry>
+     <entry>Ceci détermine si le troncage intervient à la fin de la
+      chaîne (false), ou au milieu de la chaîne (true). Notez que si
+      ceci vaut true, alors les limites de mots sont ignorées.</entry>
+     </row>
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Tronque une variable à une certaine longueur, par défaut 80.
-  Un second paramètre optionnel permet de spécifier une chaîne à afficher
-  à la fin de la variable une fois tronquée. Les caractères de fin sont
-  inclus dans la longueur de la chaîne à tronquer. Par défaut,
-  truncate tentera de couper la chaîne à la fin d'un mot. Si vous voulez
-  tronquer la chaîne au caractère exact, donnez la valeur true au
-  dernier paramètre optionnel.
- </para>
  <example>
   <title>truncate</title>
 <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
+
 $smarty->assign('titreArticle', 'Deux soeurs réunies après 18 ans de séparation.');
-$smarty->display('index.tpl');
+
 ?>
 ]]>
 </programlisting>
 <para>
-Ou index.tpl est :
+Où le template est :
 </para>
 <programlisting>
 <![CDATA[
@@ -97,6 +107,7 @@
 </screen>
  </example>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -116,4 +127,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-upper.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-upper.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-upper.xml:1.5 smarty/docs/fr/designers/language-modifiers/language-modifier-upper.xml:1.6
--- smarty/docs/fr/designers/language-modifiers/language-modifier-upper.xml:1.5	Mon May  9 12:45:23 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-upper.xml	Sun Dec  4 15:09:57 2005
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.upper">
  <title>upper</title>
  <para>
@@ -11,15 +12,15 @@
   <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
+
 $smarty->assign('titreArticle', "Si l'attaque n'est pas mise en place
 rapidement, celà risque de durer longtemps.");
-$smarty->display('index.tpl');
+
 ?>
 ]]>
   </programlisting>
   <para>
-   Où index.tpl est:
+   Où le template est :
   </para>
   <programlisting>
 <![CDATA[
@@ -41,6 +42,7 @@
   <link linkend="language.modifier.capitalize">capitalize</link>.
  </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -60,4 +62,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers/language-modifier-wordwrap.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-modifiers/language-modifier-wordwrap.xml
diff -u smarty/docs/fr/designers/language-modifiers/language-modifier-wordwrap.xml:1.4 smarty/docs/fr/designers/language-modifiers/language-modifier-wordwrap.xml:1.5
--- smarty/docs/fr/designers/language-modifiers/language-modifier-wordwrap.xml:1.4	Tue May 24 18:13:50 2005
+++ smarty/docs/fr/designers/language-modifiers/language-modifier-wordwrap.xml	Sun Dec  4 15:09:57 2005
@@ -1,8 +1,18 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
+
 <sect1 id="language.modifier.wordwrap">
  <title>wordwrap</title>
+ <para>
+  Ajuste une chaîne de caractères à une taille de colonne, par défaut 80.
+  Un second paramètre optionnel vous permet de spécifier la chaîne à utiliser
+  pour l'ajustement à la nouvelle ligne (retour chariot \n par défaut).
+  Par défaut, wordwrap tente un ajustement à la fin d'un mot. Si vous voulez
+  autoriser le découpage des mots pour un ajustement au caractère près,
+  passez true au troisième paramètre optionnel. Ceci est l'équivalent de la
+  fonction PHP <ulink url="&url.php-manual;wordwrap">wordwrap()</ulink>.
+ </para>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -45,30 +55,19 @@
    </tbody>
   </tgroup>
  </informaltable>
- <para>
-  Ajuste une chaîne de caractères à une taille de colonne, par défaut 80.
-  Un second paramètre optionnel vous permet de spécifier la chaîne à utiliser
-  pour l'ajustement à la nouvelle ligne (retour chariot \n par défaut).
-  Par défaut, wordwrap tente un ajustement à la fin d'un mot. Si vous voulez
-  autoriser le découpage des mots pour un ajustement au caractère près,
-  passez true au troisième paramètre optionnel. Ceci est l'équivalent de la
-  fonction PHP <ulink
-  url="&url.php-manual;wordwrap">wordwrap()</ulink>.
- </para>
  <example>
   <title>wordwrap</title>
   <programlisting role="php">
 <![CDATA[
 <?php
-$smarty = new Smarty;
-$smarty->assign('titreArticle', "Une femme aveugle obtient un nouveau rein
-d'un père qu'elle n'a pas vu depuis des années.");
-$smarty->display('index.tpl');
+$smarty->assign('articleTitle',
+               "Blind woman gets new kidney from dad she hasn't seen in years."
+             );
 ?>
 ]]>
   </programlisting>
-  <para> 
-   où index.tpl est :
+  <para>
+   Où le template est :
   </para>
   <programlisting>
 <![CDATA[
@@ -113,8 +112,9 @@
   </screen>
  </example>
  <para>
-  Voir aussi 
-  <link linkend="language.modifier.nl2br">nl2br</link>.
+  Voir aussi
+  <link linkend="language.modifier.nl2br">nl2br</link> et
+  <link linkend="language.function.textformat">{textformat}</link>.
  </para>
 </sect1>