Parcourir la source

[DOCUMENTATION] English:
- remove emphasis attributes

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

mikaelkael il y a 16 ans
Parent
commit
035a2a89ac

+ 2 - 2
documentation/manual/en/module_specs/Zend_Session-Introduction.xml

@@ -10,7 +10,7 @@
     </para>
     </para>
 
 
     <para>
     <para>
-        With web applications written using PHP, a <emphasis role="bold">session</emphasis> represents a logical,
+        With web applications written using PHP, a <emphasis>session</emphasis> represents a logical,
         one-to-one connection between server-side, persistent state data and a particular user agent client (e.g., web
         one-to-one connection between server-side, persistent state data and a particular user agent client (e.g., web
         browser). <classname>Zend_Session</classname> helps manage and preserve session data, a logical complement of cookie
         browser). <classname>Zend_Session</classname> helps manage and preserve session data, a logical complement of cookie
         data, across multiple page requests by the same client. Unlike cookie data, session data are not stored on the
         data, across multiple page requests by the same client. Unlike cookie data, session data are not stored on the
@@ -19,7 +19,7 @@
         "session data" refers to the server-side data stored in
         "session data" refers to the server-side data stored in
         <ulink url="http://www.php.net/manual/en/reserved.variables.php#reserved.variables.session"><code>$_SESSION</code></ulink>,
         <ulink url="http://www.php.net/manual/en/reserved.variables.php#reserved.variables.session"><code>$_SESSION</code></ulink>,
         managed by <classname>Zend_Session</classname>, and individually manipulated by <classname>Zend_Session_Namespace</classname>
         managed by <classname>Zend_Session</classname>, and individually manipulated by <classname>Zend_Session_Namespace</classname>
-        accessor objects. <emphasis role="bold">Session namespaces</emphasis> provide access to session data using
+        accessor objects. <emphasis>Session namespaces</emphasis> provide access to session data using
         classic <ulink url="http://en.wikipedia.org/wiki/Namespace_%28computer_science%29">namespaces</ulink>
         classic <ulink url="http://en.wikipedia.org/wiki/Namespace_%28computer_science%29">namespaces</ulink>
         implemented logically as named groups of associative arrays, keyed by strings (similar to normal PHP arrays).
         implemented logically as named groups of associative arrays, keyed by strings (similar to normal PHP arrays).
     </para>
     </para>

+ 21 - 21
documentation/manual/en/module_specs/Zend_Translate-Using.xml

@@ -67,9 +67,9 @@ $translate = new Zend_Translate
 ]]></programlisting>
 ]]></programlisting>
 
 
         In this example we chose the
         In this example we chose the
-        <emphasis role="strong">Gettext Adapter</emphasis>.
-        We place our file <emphasis role="strong">source-de.mo</emphasis>
-        into the directory <emphasis role="strong">/path/to/translation</emphasis>.
+        <emphasis>Gettext Adapter</emphasis>.
+        We place our file <emphasis>source-de.mo</emphasis>
+        into the directory <emphasis>/path/to/translation</emphasis>.
         The gettext file will have German translation included,
         The gettext file will have German translation included,
         and we also added another language source for French.
         and we also added another language source for French.
     </para>
     </para>
@@ -131,10 +131,10 @@ print $translate->_(2) . "\n";
         for the given message ID or string.
         for the given message ID or string.
         If no translation string has been found it refers to the next lower
         If no translation string has been found it refers to the next lower
         level language as defined within <classname>Zend_Locale</classname>.
         level language as defined within <classname>Zend_Locale</classname>.
-        So "<emphasis role="strong">de_AT</emphasis>" becomes
-        "<emphasis role="strong">de</emphasis>" only.
+        So "<emphasis>de_AT</emphasis>" becomes
+        "<emphasis>de</emphasis>" only.
         If there is no translation found for
         If there is no translation found for
-        "<emphasis role="strong">de</emphasis>" either,
+        "<emphasis>de</emphasis>" either,
         then the original message is returned.
         then the original message is returned.
         This way you always have an output, even in case the message translation
         This way you always have an output, even in case the message translation
         does not exist in your message storage.
         does not exist in your message storage.
@@ -358,7 +358,7 @@ $translate = new Zend_Translate('array', '/path/to/myarray.php', 'de');
             Gettext source files are created by GNU's gettext library.
             Gettext source files are created by GNU's gettext library.
             There are several free tools available that can parse your
             There are several free tools available that can parse your
             code files and create the needed gettext source files.
             code files and create the needed gettext source files.
-            These have the extension <emphasis role="strong">*.mo</emphasis>
+            These have the extension <emphasis>*.mo</emphasis>
             and they are binary files.
             and they are binary files.
             An open source tool for creating the files is
             An open source tool for creating the files is
             <ulink url="http://sourceforge.net/projects/poedit/">poEdit</ulink>.
             <ulink url="http://sourceforge.net/projects/poedit/">poEdit</ulink>.
@@ -374,7 +374,7 @@ $translate->addTranslation('/path/to/german.mo', 'de');
         <para>
         <para>
             As you can see the adapters are used exactly the same way,
             As you can see the adapters are used exactly the same way,
             with one small difference:
             with one small difference:
-            change <emphasis role="strong">array</emphasis> to <emphasis role="strong">gettext</emphasis>. All other usages are exactly
+            change <emphasis>array</emphasis> to <emphasis>gettext</emphasis>. All other usages are exactly
             the same as with all other adapters.
             the same as with all other adapters.
             With the gettext adapter you no longer have to be aware of
             With the gettext adapter you no longer have to be aware of
             gettext's standard directory structure,
             gettext's standard directory structure,
@@ -640,7 +640,7 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                             If set to true, the already read translations will be cleared. This can be used
                             If set to true, the already read translations will be cleared. This can be used
                             instead of creating a new instance when reading new translation data
                             instead of creating a new instance when reading new translation data
                         </entry>
                         </entry>
-                        <entry><emphasis role="strong">false</emphasis></entry>
+                        <entry><emphasis>false</emphasis></entry>
                     </row>
                     </row>
                     <row>
                     <row>
                         <entry>disableNotices</entry>
                         <entry>disableNotices</entry>
@@ -649,20 +649,20 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                             If set to true, all notices regarding not available translations will be
                             If set to true, all notices regarding not available translations will be
                             disabled. You should set this option to true in production environment
                             disabled. You should set this option to true in production environment
                         </entry>
                         </entry>
-                        <entry><emphasis role="strong">false</emphasis></entry>
+                        <entry><emphasis>false</emphasis></entry>
                     </row>
                     </row>
                     <row>
                     <row>
                         <entry>ignore</entry>
                         <entry>ignore</entry>
                         <entry>all</entry>
                         <entry>all</entry>
                         <entry>
                         <entry>
                             All directories and files beginning with this prefix will be ignored when
                             All directories and files beginning with this prefix will be ignored when
-                            searching for files. This value defaults to <emphasis role="strong">'.'</emphasis>
+                            searching for files. This value defaults to <emphasis>'.'</emphasis>
                             which leads to the behavior that all hidden files will be ignored. Setting this
                             which leads to the behavior that all hidden files will be ignored. Setting this
                             value to <code>'tmp'</code> would mean that directories and files like
                             value to <code>'tmp'</code> would mean that directories and files like
                             <code>'tmpImages'</code> and <code>'tmpFiles'</code>
                             <code>'tmpImages'</code> and <code>'tmpFiles'</code>
                             would be ignored as well as all subsequent directories
                             would be ignored as well as all subsequent directories
                         </entry>
                         </entry>
-                        <entry><emphasis role="strong">.</emphasis></entry>
+                        <entry><emphasis>.</emphasis></entry>
                     </row>
                     </row>
                     <row>
                     <row>
                         <entry>log</entry>
                         <entry>log</entry>
@@ -671,7 +671,7 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                             An instance of <classname>Zend_Log</classname> where untranslated messages and notices will be
                             An instance of <classname>Zend_Log</classname> where untranslated messages and notices will be
                             written to
                             written to
                         </entry>
                         </entry>
-                        <entry><emphasis role="strong">null</emphasis></entry>
+                        <entry><emphasis>null</emphasis></entry>
                     </row>
                     </row>
                     <row>
                     <row>
                         <entry>logMessage</entry>
                         <entry>logMessage</entry>
@@ -679,7 +679,7 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                         <entry>
                         <entry>
                             The message which will be written into the log
                             The message which will be written into the log
                         </entry>
                         </entry>
-                        <entry><emphasis role="strong">Untranslated message within '%locale%': %message%</emphasis></entry>
+                        <entry><emphasis>Untranslated message within '%locale%': %message%</emphasis></entry>
                     </row>
                     </row>
                     <row>
                     <row>
                         <entry>logUntranslated</entry>
                         <entry>logUntranslated</entry>
@@ -688,7 +688,7 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                             When this option is set to true, all message IDs which can not be
                             When this option is set to true, all message IDs which can not be
                             translated will be written into the attached log
                             translated will be written into the attached log
                         </entry>
                         </entry>
-                        <entry><emphasis role="strong">false</emphasis></entry>
+                        <entry><emphasis>false</emphasis></entry>
                     </row>
                     </row>
                     <row>
                     <row>
                         <entry>scan</entry>
                         <entry>scan</entry>
@@ -700,25 +700,25 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                             within the filename. See <xref linkend="zend.translate.using.detection" />
                             within the filename. See <xref linkend="zend.translate.using.detection" />
                             for details
                             for details
                         </entry>
                         </entry>
-                        <entry><emphasis role="strong">null</emphasis></entry>
+                        <entry><emphasis>null</emphasis></entry>
                     </row>
                     </row>
                     <row>
                     <row>
                         <entry>delimiter</entry>
                         <entry>delimiter</entry>
                         <entry>Csv</entry>
                         <entry>Csv</entry>
                         <entry>Defines which sign is used as delimiter for separating source and translation</entry>
                         <entry>Defines which sign is used as delimiter for separating source and translation</entry>
-                        <entry><emphasis role="strong">;</emphasis></entry>
+                        <entry><emphasis>;</emphasis></entry>
                     </row>
                     </row>
                     <row>
                     <row>
                         <entry>enclosure</entry>
                         <entry>enclosure</entry>
                         <entry>Csv</entry>
                         <entry>Csv</entry>
                         <entry>Defines the enclosure character to be used. Defaults to a doublequote</entry>
                         <entry>Defines the enclosure character to be used. Defaults to a doublequote</entry>
-                        <entry><emphasis role="strong">"</emphasis></entry>
+                        <entry><emphasis>"</emphasis></entry>
                     </row>
                     </row>
                     <row>
                     <row>
                         <entry>length</entry>
                         <entry>length</entry>
                         <entry>Csv</entry>
                         <entry>Csv</entry>
                         <entry>Defines the maximum length of a csv line. When set to 0 it will be detected automatically</entry>
                         <entry>Defines the maximum length of a csv line. When set to 0 it will be detected automatically</entry>
-                        <entry><emphasis role="strong">0</emphasis></entry>
+                        <entry><emphasis>0</emphasis></entry>
                     </row>
                     </row>
                 </tbody>
                 </tbody>
             </tgroup>
             </tgroup>
@@ -862,7 +862,7 @@ $translate->setLocale('it_IT');
 
 
             <para>
             <para>
                 If you want to use it again, you can set the language
                 If you want to use it again, you can set the language
-                <emphasis role="strong">auto</emphasis> with <code>setLocale()</code> which will reactivate
+                <emphasis>auto</emphasis> with <code>setLocale()</code> which will reactivate
                 the automatic detection for <classname>Zend_Translate</classname>.
                 the automatic detection for <classname>Zend_Translate</classname>.
             </para>
             </para>
 
 
@@ -1282,7 +1282,7 @@ $translate->translate('unknown string');
 
 
         <note>
         <note>
             <para>
             <para>
-                Attention: the returned array can be <emphasis role="strong">very big</emphasis>,
+                Attention: the returned array can be <emphasis>very big</emphasis>,
                 depending on the number of added locales and the amount of translation data.
                 depending on the number of added locales and the amount of translation data.
             </para>
             </para>
         </note>
         </note>

+ 2 - 2
documentation/manual/en/module_specs/Zend_Validate-WritingValidators.xml

@@ -21,7 +21,7 @@
     <para>
     <para>
         As you may already have inferred from the above description of <classname>Zend_Validate_Interface</classname>,
         As you may already have inferred from the above description of <classname>Zend_Validate_Interface</classname>,
         validation classes provided with Zend Framework return a boolean value for whether or not a value validates
         validation classes provided with Zend Framework return a boolean value for whether or not a value validates
-        successfully. They also provide information about <emphasis role="bold">why</emphasis> a value failed
+        successfully. They also provide information about <emphasis>why</emphasis> a value failed
         validation. The availability of the reasons for validation failures may be valuable to an application for
         validation. The availability of the reasons for validation failures may be valuable to an application for
         various purposes, such as providing statistics for usability analysis.
         various purposes, such as providing statistics for usability analysis.
     </para>
     </para>
@@ -247,7 +247,7 @@ class MyValid_PasswordStrength extends Zend_Validate_Abstract
 ]]></programlisting>
 ]]></programlisting>
 
 
             Note that the four criteria tests in <code>isValid()</code> do not immediately return <code>false</code>.
             Note that the four criteria tests in <code>isValid()</code> do not immediately return <code>false</code>.
-            This allows the validation class to provide <emphasis role="bold">all</emphasis> of the reasons that the
+            This allows the validation class to provide <emphasis>all</emphasis> of the reasons that the
             input password failed to meet the validation requirements. If, for example, a user were to input the
             input password failed to meet the validation requirements. If, for example, a user were to input the
             string "<code>#$%</code>" as a password, <code>isValid()</code> would cause all four validation failure
             string "<code>#$%</code>" as a password, <code>isValid()</code> would cause all four validation failure
             messages to be returned by a subsequent call to <code>getMessages()</code>.
             messages to be returned by a subsequent call to <code>getMessages()</code>.