From: Jeff Genovy <29107334+jefgen@users.noreply.github.com> Date: Fri, 6 Oct 2017 22:44:25 +0000 (+0000) Subject: ICU-13177 Fix minor typos/spelling in comments. X-Git-Tag: release-60-rc~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=328dd95b9cf64bc9cecefa7564659afcc03fdd13;p=icu ICU-13177 Fix minor typos/spelling in comments. X-SVN-Rev: 40596 --- diff --git a/icu4c/source/common/unicode/uconfig.h b/icu4c/source/common/unicode/uconfig.h index 326ff7ab0e5..7ddf4e6adfb 100644 --- a/icu4c/source/common/unicode/uconfig.h +++ b/icu4c/source/common/unicode/uconfig.h @@ -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 diff --git a/icu4c/source/i18n/number_affixutils.h b/icu4c/source/i18n/number_affixutils.h index 459f489bcf2..12c8e001018 100644 --- a/icu4c/source/i18n/number_affixutils.h +++ b/icu4c/source/i18n/number_affixutils.h @@ -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 diff --git a/icu4c/source/i18n/number_types.h b/icu4c/source/i18n/number_types.h index 398c8ea60b3..a595b66a4e2 100644 --- a/icu4c/source/i18n/number_types.h +++ b/icu4c/source/i18n/number_types.h @@ -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); diff --git a/icu4c/source/i18n/unicode/measunit.h b/icu4c/source/i18n/unicode/measunit.h index afd560e30e0..4140ae3679f 100644 --- a/icu4c/source/i18n/unicode/measunit.h +++ b/icu4c/source/i18n/unicode/measunit.h @@ -148,7 +148,7 @@ class U_I18N_API MeasureUnit: public UObject { *
* . Base* polymorphic_pointer = createPolymorphicObject(); * . if (polymorphic_pointer->getDynamicClassID() == - * . erived::getStaticClassID()) ... + * . Derived::getStaticClassID()) ... ** @return The class ID for all objects of this class. * @stable ICU 53 diff --git a/icu4c/source/i18n/unicode/numberformatter.h b/icu4c/source/i18n/unicode/numberformatter.h index 36597c3b865..c188b3be6ad 100644 --- a/icu4c/source/i18n/unicode/numberformatter.h +++ b/icu4c/source/i18n/unicode/numberformatter.h @@ -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 diff --git a/icu4c/source/i18n/unicode/numfmt.h b/icu4c/source/i18n/unicode/numfmt.h index 62666820f37..68be021055b 100644 --- a/icu4c/source/i18n/unicode/numfmt.h +++ b/icu4c/source/i18n/unicode/numfmt.h @@ -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 diff --git a/icu4c/source/i18n/unicode/plurrule.h b/icu4c/source/i18n/unicode/plurrule.h index 16e1a8b3567..d372d79c845 100644 --- a/icu4c/source/i18n/unicode/plurrule.h +++ b/icu4c/source/i18n/unicode/plurrule.h @@ -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. diff --git a/icu4c/source/i18n/unicode/unum.h b/icu4c/source/i18n/unicode/unum.h index b437307825b..2ab09b5d0d4 100644 --- a/icu4c/source/i18n/unicode/unum.h +++ b/icu4c/source/i18n/unicode/unum.h @@ -115,7 +115,7 @@ *
* 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 *
* You can also use forms of the parse and format methods with @@ -126,7 +126,7 @@ * *
* 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.