Преглед изворни кода

[DOCUMENTATION] French:
- sync manual

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18860 44c647ce-9c0f-0410-b52a-842ac1e357ba

mikaelkael пре 16 година
родитељ
комит
19284610a8

+ 1 - 1
documentation/manual/fr/ref/installation.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 17325 -->
+<!-- EN-Revision: 17427 -->
 <!-- Reviewed: no -->
 <sect1 id="introduction.installation">
     <title>Installation</title>

+ 8 - 49
documentation/manual/fr/ref/migration-110.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 18682 -->
+<!-- EN-Revision: 18833 -->
 <!-- Reviewed: no -->
 <sect1 id="migration.110">
     <title>Zend Framework 1.10</title>
@@ -56,47 +56,6 @@
                 spelling.
             </para>
         </sect3>
-
-        <sect3 id="migration.110.zend.file.transfer.mimetype">
-            <title>MimeType validation</title>
-
-            <para>
-                For security reasons we had to turn off the default fallback mechanism of the
-                <classname>MimeType</classname>, <classname>ExcludeMimeType</classname>,
-                <classname>IsCompressed</classname> and <classname>IsImage</classname> validators.
-                This means, that if the <emphasis>fileInfo</emphasis> or
-                <emphasis>magicMime</emphasis> extensions can not be found, the validation will
-                always fail.
-            </para>
-
-            <para>
-                If you are in need of validation by using the <acronym>HTTP</acronym> fields which
-                are provided by the user then you can turn on this feature by using the
-                <methodname>enableHeaderCheck()</methodname> method.
-            </para>
-
-            <note>
-                <title>Security hint</title>
-
-                <para>
-                    You should note that relying on the <acronym>HTTP</acronym> fields, which are
-                    provided by your user, is a security risk. They can easily be changed and could
-                    allow your user to provide a malcious file.
-                </para>
-            </note>
-
-            <example id="migration.110.zend.file.transfer.example">
-                <title>Allow the usage of the HTTP fields</title>
-
-                <programlisting language="php"><![CDATA[
-// at initiation
-$valid = new Zend_File_Transfer_Adapter_Http(array('headerCheck' => true);
-
-// or afterwards
-$valid->enableHeaderCheck();
-]]></programlisting>
-            </example>
-        </sect3>
     </sect2>
 
     <sect2 id="migration.110.zend.validate">
@@ -189,43 +148,43 @@ My_Validator extends Zend_Validate_Abstract
 
                     <tbody>
                         <row>
-                            <entry>Alnum</entry>
+                            <entry><classname>Alnum</classname></entry>
                             <entry><constant>STRING_EMPTY</constant></entry>
                             <entry>alnumStringEmpty</entry>
                         </row>
 
                         <row>
-                            <entry>Alpha</entry>
+                            <entry><classname>Alpha</classname></entry>
                             <entry><constant>STRING_EMPTY</constant></entry>
                             <entry>alphaStringEmpty</entry>
                         </row>
 
                         <row>
-                            <entry>Barcode_Ean13</entry>
+                            <entry><classname>Barcode_Ean13</classname></entry>
                             <entry><constant>INVALID</constant></entry>
                             <entry>ean13Invalid</entry>
                         </row>
 
                         <row>
-                            <entry>Barcode_Ean13</entry>
+                            <entry><classname>Barcode_Ean13</classname></entry>
                             <entry><constant>INVALID_LENGTH</constant></entry>
                             <entry>ean13InvalidLength</entry>
                         </row>
 
                         <row>
-                            <entry>Barcode_UpcA</entry>
+                            <entry><classname>Barcode_UpcA</classname></entry>
                             <entry><constant>INVALID</constant></entry>
                             <entry>upcaInvalid</entry>
                         </row>
 
                         <row>
-                            <entry>Barcode_UpcA</entry>
+                            <entry><classname>Barcode_UpcA</classname></entry>
                             <entry><constant>INVALID_LENGTH</constant></entry>
                             <entry>upcaInvalidLength</entry>
                         </row>
 
                         <row>
-                            <entry>Digits</entry>
+                            <entry><classname>Digits</classname></entry>
                             <entry><constant>STRING_EMPTY</constant></entry>
                             <entry>digitsStringEmpty</entry>
                         </row>

+ 1 - 1
documentation/manual/fr/ref/migration-16.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 18682 -->
+<!-- EN-Revision: 18833 -->
 <!-- Reviewed: no -->
 <sect1 id="migration.16">
     <title>Zend Framework 1.6</title>

+ 1 - 1
documentation/manual/fr/ref/migration-17.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 18682 -->
+<!-- EN-Revision: 18833 -->
 <!-- Reviewed: no -->
 <sect1 id="migration.17">
     <title>Zend Framework 1.7</title>

+ 46 - 1
documentation/manual/fr/ref/migration-19.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 18682 -->
+<!-- EN-Revision: 18804 -->
 <!-- Reviewed: no -->
 <sect1 id="migration.19">
     <title>Zend Framework 1.9</title>
@@ -9,6 +9,51 @@
         vous devriez prendre note de ce qui suit.
     </para>
 
+    <sect2 id="migration.19.zend.file.transfer">
+        <title>Zend_File_Transfer</title>
+
+        <sect3 id="migration.110.zend.file.transfer.mimetype">
+            <title>MimeType validation</title>
+
+            <para>
+                For security reasons we had to turn off the default fallback mechanism of the
+                <classname>MimeType</classname>, <classname>ExcludeMimeType</classname>,
+                <classname>IsCompressed</classname> and <classname>IsImage</classname> validators.
+                This means, that if the <emphasis>fileInfo</emphasis> or
+                <emphasis>magicMime</emphasis> extensions can not be found, the validation will
+                always fail.
+            </para>
+
+            <para>
+                If you are in need of validation by using the <acronym>HTTP</acronym> fields which
+                are provided by the user then you can turn on this feature by using the
+                <methodname>enableHeaderCheck()</methodname> method.
+            </para>
+
+            <note>
+                <title>Security hint</title>
+
+                <para>
+                    You should note that relying on the <acronym>HTTP</acronym> fields, which are
+                    provided by your user, is a security risk. They can easily be changed and could
+                    allow your user to provide a malcious file.
+                </para>
+            </note>
+
+            <example id="migration.110.zend.file.transfer.example">
+                <title>Allow the usage of the HTTP fields</title>
+
+                <programlisting language="php"><![CDATA[
+// at initiation
+$valid = new Zend_File_Transfer_Adapter_Http(array('headerCheck' => true);
+
+// or afterwards
+$valid->enableHeaderCheck();
+]]></programlisting>
+            </example>
+        </sect3>
+    </sect2>
+
     <sect2 id="migration.19.zend.filter">
         <title>Zend_Filter</title>
 

+ 1 - 1
documentation/manual/fr/ref/migration-introduction.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 18682 -->
+<!-- EN-Revision: 18845 -->
 <!-- Reviewed: no -->
 <sect1 id="migration.introduction">
     <title>Introduction</title>

+ 1 - 1
documentation/manual/fr/ref/overview.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 17325 -->
+<!-- EN-Revision: 17427 -->
 <!-- Reviewed: no -->
 <sect1 id="introduction.overview">
     <title>Présentation</title>

+ 8 - 3
documentation/manual/fr/ref/performance-classloading.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 16619 -->
+<!-- EN-Revision: 17684 -->
 <!-- Reviewed: no -->
 <sect1 id="performance.classloading">
     <title>Chargement des classes</title>
@@ -219,14 +219,19 @@ set_include_path(implode(PATH_SEPARATOR, $paths));
 
             <programlisting language="shell"><![CDATA[
 % cd chemin/vers/la/librarie/ZendFramework
-% find . -name '*.php' -not -wholename '*/Loader/Autoloader.php' -print0 | \
+% find . -name '*.php' -not -wholename '*/Loader/Autoloader.php' \
+  -not -wholename '*/Application.php' -print0 | \
   xargs -0 sed --regexp-extended --in-place 's/(require_once)/\/\/ \1/g'
 ]]></programlisting>
 
             <para>
                 Cette ligne unique (coupée en deux pour la lisibilité) itère parmi les
                 fichiers PHP et y remplace toute les instances de <code>require_once</code> par
-                <code>//require_once</code>, c'est-à-dire en commentant toutes ces lignes.
+                <code>//require_once</code>, c'est-à-dire en commentant toutes ces lignes (tout
+                en maintenant les appels à <function>require_once</function> dans
+                <classname>Zend_Application</classname> et
+                <classname>Zend_Loader_Autoloader</classname>, puisque ces classes tomberont en
+                erreur sans ceux-ci).
             </para>
 
             <para>