Sfoglia il codice sorgente

[ZF-9654] Manual:

- spelling fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21864 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 15 anni fa
parent
commit
3695e7ded3

+ 25 - 23
documentation/manual/en/module_specs/Zend_Locale-Functions.xml

@@ -221,7 +221,7 @@ $locale = Zend_Locale::getLocaleToTerritory('US');
         <title>Obtaining localized strings</title>
         <title>Obtaining localized strings</title>
 
 
         <para>
         <para>
-            <methodname>getTranslationList()</methodname> gives you access to localized informations
+            <methodname>getTranslationList()</methodname> gives you access to localized information
             of several types. These information are useful if you want to display localized data to
             of several types. These information are useful if you want to display localized data to
             a customer without the need of translating it. They are already available for your
             a customer without the need of translating it. They are already available for your
             usage.
             usage.
@@ -252,9 +252,9 @@ print Zend_Locale::getTranslation('de', 'language', 'zh');
         </example>
         </example>
 
 
         <para>
         <para>
-            You can receive this informations for all languages. But not all of the informations are
+            You can receive this information for all languages. But not all information is
             completely available for all languages. Some of these types are also available through
             completely available for all languages. Some of these types are also available through
-            an own function for simplicity. See this list for detailed informations.
+            an own function for simplicity. See this list for detailed information.
         </para>
         </para>
 
 
         <table id="zend.locale.getdata.table-1">
         <table id="zend.locale.getdata.table-1">
@@ -605,7 +605,7 @@ print Zend_Locale::getTranslation('de', 'language', 'zh');
 
 
                         <entry>
                         <entry>
                             Returns a list of localized strings for acceptance ('yes') and
                             Returns a list of localized strings for acceptance ('yes') and
-                            negotation ('no'). Use <link
+                            negation ('no'). Use <link
                                 linkend="zend.locale.getquestion">Zend_Locale's getQuestion
                                 linkend="zend.locale.getquestion">Zend_Locale's getQuestion
                                 method</link> for simplicity
                                 method</link> for simplicity
                         </entry>
                         </entry>
@@ -912,7 +912,7 @@ print Zend_Locale::getTranslation('de', 'language', 'zh');
 
 
         <para>
         <para>
             If you are in need of a single translated value, you can use the
             If you are in need of a single translated value, you can use the
-            <methodname>getTranslation()</methodname> method. It returns always a string but it
+            <methodname>getTranslation()</methodname> method. It always returns a string but it
             accepts some different types than the <methodname>getTranslationList()</methodname>
             accepts some different types than the <methodname>getTranslationList()</methodname>
             method. Also value is the same as before with one difference. You have to give the
             method. Also value is the same as before with one difference. You have to give the
             detail you want to get returned as additional value.
             detail you want to get returned as additional value.
@@ -1096,10 +1096,11 @@ print Zend_Locale::getTranslation('de', 'language', 'zh');
                         <entry><emphasis>Am</emphasis></entry>
                         <entry><emphasis>Am</emphasis></entry>
 
 
                         <entry>
                         <entry>
-                            Returns a translation for 'AM' in a expected locale. If you want to
-                            receive data for other calendars an string with the expected calendar.
-                            If you omit the value then the 'gregorian' calendar will be used. Use
-                            <link linkend="zend.date.introduction">Zend_Date</link> for simplicity
+                            Returns translation for 'AM' in the expected locale. If you want to
+                            receive data for other calendars provide a string with the expected
+                            calendar. If you omit the value then the 'gregorian' calendar will be
+                            used. Use <link
+                                linkend="zend.date.introduction">Zend_Date</link> for simplicity
                         </entry>
                         </entry>
                     </row>
                     </row>
 
 
@@ -1107,10 +1108,11 @@ print Zend_Locale::getTranslation('de', 'language', 'zh');
                         <entry><emphasis>Pm</emphasis></entry>
                         <entry><emphasis>Pm</emphasis></entry>
 
 
                         <entry>
                         <entry>
-                            Returns a translation for 'PM' in a expected locale. If you want to
-                            receive data for other calendars an string with the expected calendar.
-                            If you omit the value then the 'gregorian' calendar will be used. Use
-                            <link linkend="zend.date.introduction">Zend_Date</link> for simplicity
+                            Returns translation for 'PM' in the expected locale. If you want to
+                            receive data for other calendars provide a string with the expected
+                            calendar. If you omit the value then the 'gregorian' calendar will be
+                            used. Use <link linkend="zend.date.introduction">Zend_Date</link> for
+                            simplicity
                         </entry>
                         </entry>
                     </row>
                     </row>
 
 
@@ -1123,7 +1125,7 @@ print Zend_Locale::getTranslation('de', 'language', 'zh');
                             calendars or formats, then you must give an array instead of the era
                             calendars or formats, then you must give an array instead of the era
                             number with the expected values. The array has to look like this:
                             number with the expected values. The array has to look like this:
                             <methodname>array('calendar', 'format', 'era number')</methodname>. If
                             <methodname>array('calendar', 'format', 'era number')</methodname>. If
-                            you give only an string then the default values are the 'gregorian'
+                            you give only a string then the default values are the 'gregorian'
                             calendar and the 'abbr' format
                             calendar and the 'abbr' format
                         </entry>
                         </entry>
                     </row>
                     </row>
@@ -1143,7 +1145,7 @@ print Zend_Locale::getTranslation('de', 'language', 'zh');
                         <entry><emphasis>Date</emphasis></entry>
                         <entry><emphasis>Date</emphasis></entry>
 
 
                         <entry>
                         <entry>
-                            Returns the date format for an given calendar or format within a locale.
+                            Returns the date format for a given calendar or format within a locale.
                             If you omit the value then the 'gregorian' calendar will be used with
                             If you omit the value then the 'gregorian' calendar will be used with
                             the 'medium' format. If you give a string then the 'gregorian' calendar
                             the 'medium' format. If you give a string then the 'gregorian' calendar
                             will be used with the given format. Or you can also give an array which
                             will be used with the given format. Or you can also give an array which
@@ -1167,7 +1169,7 @@ print Zend_Locale::getTranslation('de', 'language', 'zh');
                         <entry><emphasis>Time</emphasis></entry>
                         <entry><emphasis>Time</emphasis></entry>
 
 
                         <entry>
                         <entry>
-                            Returns the time format for an given calendar or format within a locale.
+                            Returns the time format for a given calendar or format within a locale.
                             If you omit the value then the 'gregorian' calendar will be used with
                             If you omit the value then the 'gregorian' calendar will be used with
                             the 'medium' format. If you give a string then the 'gregorian' calendar
                             the 'medium' format. If you give a string then the 'gregorian' calendar
                             will be used with the given format. Or you can also give an array which
                             will be used with the given format. Or you can also give an array which
@@ -1308,7 +1310,7 @@ print Zend_Locale::getTranslation('de', 'language', 'zh');
                         <entry><emphasis>Question</emphasis></entry>
                         <entry><emphasis>Question</emphasis></entry>
 
 
                         <entry>
                         <entry>
-                            Returns a localized string for acceptance ('yes') and negotation ('no').
+                            Returns a localized string for acceptance ('yes') and negation ('no').
                             You have to give either 'yes' or 'no' as value to receive the expected
                             You have to give either 'yes' or 'no' as value to receive the expected
                             string. Use <link linkend="zend.locale.getquestion">Zend_Locale's
                             string. Use <link linkend="zend.locale.getquestion">Zend_Locale's
                                 getQuestion method</link> for simplicity
                                 getQuestion method</link> for simplicity
@@ -1756,7 +1758,7 @@ foreach($list as $language => $content) {
             Frequently, programs need to solicit a "yes" or "no" response from the user. Use
             Frequently, programs need to solicit a "yes" or "no" response from the user. Use
             <methodname>getQuestion()</methodname> to obtain an array containing the correct word(s)
             <methodname>getQuestion()</methodname> to obtain an array containing the correct word(s)
             or regex strings to use for prompting the user in a particular $locale (defaults to the
             or regex strings to use for prompting the user in a particular $locale (defaults to the
-            current object's locale). The returned array will contain the following informations :
+            current object's locale). The returned array will contain the following information :
         </para>
         </para>
 
 
         <itemizedlist>
         <itemizedlist>
@@ -1774,15 +1776,15 @@ foreach($list as $language => $content) {
                 </para>
                 </para>
 
 
                 <para>
                 <para>
-                    <emphasis>yesexpr and noexpr</emphasis>: An generated regex which allows you
+                    <emphasis>yesexpr and noexpr</emphasis>: A generated regex which allows you
                     to handle user response, and search for yes or no.
                     to handle user response, and search for yes or no.
                 </para>
                 </para>
             </listitem>
             </listitem>
         </itemizedlist>
         </itemizedlist>
 
 
         <para>
         <para>
-            All of this informations are of course localized and depend on the set locale. See the
-            following example for the informations you can receive:
+            All of this information are of course localized and depend on the set locale. See the
+            following example for the information you can receive:
         </para>
         </para>
 
 
         <example id="zend.locale.getquestion.example-1">
         <example id="zend.locale.getquestion.example-1">
@@ -1912,7 +1914,7 @@ if (Zend_Locale::isLocale($input, true)) {
 
 
         <para>
         <para>
             Now that you are able to detect if a given string is a locale you could add locale aware
             Now that you are able to detect if a given string is a locale you could add locale aware
-            behaviour to your own classes. But you will soon detect that this will always leads to
+            behaviour to your own classes. But you will soon detect that this always leads to
             the same 15 lines of code. Something like the following example:
             the same 15 lines of code. Something like the following example:
         </para>
         </para>
 
 
@@ -1941,7 +1943,7 @@ if ($locale instanceof Zend_Locale) {
 
 
         <para>
         <para>
             With Zend Framework 1.8 we added a static <methodname>findLocale()</methodname> method
             With Zend Framework 1.8 we added a static <methodname>findLocale()</methodname> method
-            which returns you a locale string which you can work with. It processes the following
+            which returns a locale string which you can work with. It processes the following
             tasks:
             tasks:
         </para>
         </para>