]> granicus.if.org Git - icu/commitdiff
ICU-13177 Fix minor typos/spelling in comments.
authorJeff Genovy <29107334+jefgen@users.noreply.github.com>
Fri, 6 Oct 2017 22:44:25 +0000 (22:44 +0000)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Fri, 6 Oct 2017 22:44:25 +0000 (22:44 +0000)
X-SVN-Rev: 40596

icu4c/source/common/unicode/uconfig.h
icu4c/source/i18n/number_affixutils.h
icu4c/source/i18n/number_types.h
icu4c/source/i18n/unicode/measunit.h
icu4c/source/i18n/unicode/numberformatter.h
icu4c/source/i18n/unicode/numfmt.h
icu4c/source/i18n/unicode/plurrule.h
icu4c/source/i18n/unicode/unum.h

index 326ff7ab0e5279a41746a47bebd1ee54d34127e0..7ddf4e6adfb862ab821998cfcf9410ebb028d501 100644 (file)
@@ -76,7 +76,7 @@
 #endif
 
 /**
- * Determines wheter to enable auto cleanup of libraries. 
+ * Determines whether to enable auto cleanup of libraries. 
  * @internal
  */
 #ifndef UCLN_NO_AUTO_CLEANUP
index 459f489bcf2c36eb866d84525dcb269dd9257568..12c8e001018901cbeb5f930d2df85501038dd4f3 100644 (file)
@@ -129,7 +129,7 @@ class U_I18N_API AffixUtils {
      *
      * @param affixPattern The original string to be unescaped.
      * @param output The NumberStringBuilder to mutate with the result.
-     * @param position The index into the NumberStringBuilder to insert the the string.
+     * @param position The index into the NumberStringBuilder to insert the string.
      * @param provider An object to generate locale symbols.
      */
     static int32_t
index 398c8ea60b35eba6555dab2137e9b4ea42958840..a595b66a4e21ab9cea1d7afb7d1de93cc573efe8 100644 (file)
@@ -107,7 +107,7 @@ public:
     virtual char16_t charAt(int32_t index) const = 0;
 
     virtual UChar32 codePointAt(int32_t index) const {
-        // Default implementation; can be overriden with a more efficient version
+        // Default implementation; can be overridden with a more efficient version
         char16_t leading = charAt(index);
         if (U16_IS_LEAD(leading) && length() > index + 1) {
             char16_t trailing = charAt(index + 1);
index afd560e30e0977004d3410fca8111ec0af0b6e5d..4140ae3679f94e9ff7a29eed41d259e046847f2f 100644 (file)
@@ -148,7 +148,7 @@ class U_I18N_API MeasureUnit: public UObject {
      * <pre>
      * .   Base* polymorphic_pointer = createPolymorphicObject();
      * .   if (polymorphic_pointer->getDynamicClassID() ==
-     * .       erived::getStaticClassID()) ...
+     * .       Derived::getStaticClassID()) ...
      * </pre>
      * @return          The class ID for all objects of this class.
      * @stable ICU 53
index 36597c3b8651da6bac293770ec999055f203bbb6..c188b3be6ade32d860078936f7f42c137e3d24ce 100644 (file)
@@ -1787,7 +1787,7 @@ class U_I18N_API LocalizedNumberFormatter
      * @param input
      *            The number to format.
      * @param status
-     *            Set to an ErrorCode if one occured in the setter chain or during formatting.
+     *            Set to an ErrorCode if one occurred in the setter chain or during formatting.
      * @return A FormattedNumber object; call .toString() to get the string.
      * @draft ICU 60
      */
@@ -1800,7 +1800,7 @@ class U_I18N_API LocalizedNumberFormatter
      * @param input
      *            The number to format.
      * @param status
-     *            Set to an ErrorCode if one occured in the setter chain or during formatting.
+     *            Set to an ErrorCode if one occurred in the setter chain or during formatting.
      * @return A FormattedNumber object; call .toString() to get the string.
      * @draft ICU 60
      */
@@ -1816,7 +1816,7 @@ class U_I18N_API LocalizedNumberFormatter
      * @param input
      *            The number to format.
      * @param status
-     *            Set to an ErrorCode if one occured in the setter chain or during formatting.
+     *            Set to an ErrorCode if one occurred in the setter chain or during formatting.
      * @return A FormattedNumber object; call .toString() to get the string.
      * @draft ICU 60
      */
@@ -1876,7 +1876,7 @@ class U_I18N_API LocalizedNumberFormatter
 class U_I18N_API FormattedNumber : public UMemory {
   public:
     /**
-     * Returns a UnicodeString representation of the the formatted number.
+     * Returns a UnicodeString representation of the formatted number.
      *
      * @return a UnicodeString containing the localized number.
      * @draft ICU 60
index 62666820f37be80f9070a46061f12e2d9d5db759..68be021055bafb780df50ae650c92cfab8915a1f 100644 (file)
@@ -846,7 +846,7 @@ public:
      * Returns true if grouping is used in this format. For example,
      * in the English locale, with grouping on, the number 1234567
      * might be formatted as "1,234,567". The grouping separator as
-     * well as the size of each group is locale dependant and is
+     * well as the size of each group is locale dependent and is
      * determined by sub-classes of NumberFormat.
      * @see setGroupingUsed
      * @stable ICU 2.0
index 16e1a8b35673d46d9ed368058da04b1bee0d0d38..d372d79c8451791f7ea3a120083a0ea4f5383d51 100644 (file)
@@ -402,7 +402,7 @@ public:
     /**
      * Deprecated Function, does not produce useful results.
      *
-     * Orginally intended to return all the values for which select() would return the keyword.
+     * Originally intended to return all the values for which select() would return the keyword.
      * If the keyword is unknown, returns no values, but this is not an error.  If
      * the number of values is unlimited, returns no values and -1 as the
      * count.
index b437307825b77dc1a8757439a5f51d6496b06e40..2ab09b5d0d417aee066d2fa6a9f5dcd9837e8ad3 100644 (file)
  * <P>
  * You can also control the display of numbers with such function as
  * unum_getAttributes() and unum_setAttributes(), which let you set the
- * miminum fraction digits, grouping, etc.
+ * minimum fraction digits, grouping, etc.
  * @see UNumberFormatAttributes for more details
  * <P>
  * You can also use forms of the parse and format methods with
  * </ul>
  * <p>
  * It is also possible to change or set the symbols used for a particular
- * locale like the currency symbol, the grouping seperator , monetary seperator
+ * locale like the currency symbol, the grouping separator , monetary separator
  * etc by making use of functions unum_setSymbols() and unum_getSymbols().
  */
 
@@ -888,7 +888,7 @@ unum_parseToUFormattable(const UNumberFormat* fmt,
  * @param localized TRUE if the pattern is localized, FALSE otherwise.
  * @param pattern The new pattern
  * @param patternLength The length of pattern, or -1 if null-terminated.
- * @param parseError A pointer to UParseError to recieve information
+ * @param parseError A pointer to UParseError to receive information
  * about errors occurred during parsing, or NULL if no parse error
  * information is desired.
  * @param status A pointer to an input-output UErrorCode.