From bd3b2027415fa619cfe643c9becf7042f2c06439 Mon Sep 17 00:00:00 2001 From: Erik Torres Aguilar Date: Tue, 5 Jan 2021 18:22:35 +0000 Subject: [PATCH] ICU-21018 Fix typos across repo that start with letter A See #1506 --- docs/userguide/format_parse/numbers/rbnf.md | 2 +- .../icu4j-locale-service-provider.md | 2 +- docs/userguide/icu_data/buildtool.md | 2 +- icu4c/source/common/locdispnames.cpp | 2 +- icu4c/source/common/pluralmap.h | 2 +- icu4c/source/common/putilimp.h | 2 +- icu4c/source/common/rbbi.cpp | 2 +- icu4c/source/common/rbbi_cache.cpp | 2 +- icu4c/source/common/rbbiscan.cpp | 2 +- icu4c/source/common/rbbitblb.cpp | 2 +- icu4c/source/common/servnotf.h | 4 ++-- icu4c/source/common/ucnv2022.cpp | 4 ++-- icu4c/source/common/ucnv_bld.cpp | 2 +- icu4c/source/common/ucnv_err.cpp | 2 +- icu4c/source/common/ucnvisci.cpp | 4 ++-- icu4c/source/common/uhash.h | 2 +- icu4c/source/common/unicode/ucnv.h | 2 +- icu4c/source/common/unicode/unistr.h | 2 +- icu4c/source/common/ustr_wcs.cpp | 2 +- .../source/data/translit/Grek_Latn_UNGEGN.txt | 2 +- icu4c/source/i18n/calendar.cpp | 2 +- icu4c/source/i18n/collationbuilder.cpp | 2 +- icu4c/source/i18n/decNumber.cpp | 4 ++-- icu4c/source/i18n/decNumberLocal.h | 2 +- .../i18n/double-conversion-bignum-dtoa.cpp | 4 ++-- icu4c/source/i18n/dtfmtsym.cpp | 2 +- icu4c/source/i18n/dtitvfmt.cpp | 2 +- icu4c/source/i18n/indiancal.h | 2 +- icu4c/source/i18n/islamcal.h | 2 +- icu4c/source/i18n/name2uni.cpp | 2 +- icu4c/source/i18n/nfrs.cpp | 2 +- icu4c/source/i18n/numfmt.cpp | 2 +- icu4c/source/i18n/olsontz.cpp | 2 +- icu4c/source/i18n/regexcmp.cpp | 4 ++-- icu4c/source/i18n/rematch.cpp | 4 ++-- icu4c/source/i18n/simpletz.cpp | 2 +- icu4c/source/i18n/timezone.cpp | 2 +- icu4c/source/i18n/uni2name.cpp | 2 +- icu4c/source/i18n/unicode/msgfmt.h | 2 +- icu4c/source/i18n/unicode/translit.h | 4 ++-- icu4c/source/i18n/unicode/uspoof.h | 2 +- icu4c/source/i18n/unicode/vtzone.h | 4 ++-- icu4c/source/i18n/vtzone.cpp | 4 ++-- icu4c/source/i18n/vzone.h | 4 ++-- icu4c/source/i18n/wintzimpl.cpp | 2 +- icu4c/source/io/unicode/ustdio.h | 2 +- icu4c/source/layoutex/layout/RunArrays.h | 6 +++--- icu4c/source/layoutex/layout/plruns.h | 6 +++--- icu4c/source/layoutex/plruns.cpp | 2 +- icu4c/source/test/cintltst/ccaltst.c | 2 +- icu4c/source/test/cintltst/cintltst.c | 2 +- icu4c/source/test/cintltst/cmsccoll.c | 4 ++-- icu4c/source/test/cintltst/cnmdptst.c | 2 +- icu4c/source/test/cintltst/creststn.c | 4 ++-- icu4c/source/test/intltest/dtifmtts.cpp | 2 +- icu4c/source/test/intltest/plurults.cpp | 4 ++-- icu4c/source/test/intltest/plurults.h | 2 +- icu4c/source/test/intltest/rbbiapts.cpp | 4 ++-- icu4c/source/test/intltest/tmsgfmt.cpp | 2 +- icu4c/source/test/intltest/tmsgfmt.h | 2 +- icu4c/source/tools/gencnval/gencnval.c | 2 +- icu4c/source/tools/genrb/prscmnts.cpp | 2 +- icu4c/source/tools/toolutil/ucbuf.cpp | 6 +++--- icu4c/source/tools/toolutil/xmlparser.cpp | 4 ++-- icu4c/source/tools/tzcode/zic.c | 2 +- .../icu/dev/demo/impl/DumbTextComponent.java | 2 +- .../icu/dev/demo/rbnf/RbnfSampleRuleSets.java | 10 +++++----- .../src/com/ibm/icu/util/Calendar.java | 6 +++--- .../com/ibm/icu/charset/CharsetCallback.java | 4 ++-- .../src/com/ibm/icu/charset/CharsetISCII.java | 2 +- .../com/ibm/icu/charset/CharsetISO2022.java | 2 +- .../src/com/ibm/icu/charset/CharsetLMBCS.java | 2 +- .../ibm/icu/impl/coll/CollationBuilder.java | 2 +- .../src/com/ibm/icu/impl/TrieIterator.java | 4 ++-- .../core/src/com/ibm/icu/impl/Utility.java | 2 +- .../src/com/ibm/icu/text/ListFormatter.java | 2 +- .../src/com/ibm/icu/text/MessageFormat.java | 2 +- .../src/com/ibm/icu/text/RBBIRuleScanner.java | 2 +- .../com/ibm/icu/text/RBBITableBuilder.java | 2 +- .../ibm/icu/text/RuleBasedBreakIterator.java | 2 +- .../core/src/com/ibm/icu/util/Calendar.java | 6 +++--- .../src/com/ibm/icu/util/IslamicCalendar.java | 2 +- .../src/com/ibm/icu/util/SimpleTimeZone.java | 2 +- .../src/com/ibm/icu/util/TaiwanCalendar.java | 2 +- .../ICULocaleServiceProviderConfig.properties | 2 +- .../src/com/ibm/icu/text/Transliterator.java | 4 ++-- .../Transliterator_Han_Latin_Definition.txt | 20 +++++++++---------- .../dev/test/format/TestMessageFormat.java | 2 +- .../dev/test/serializable/FormatHandler.java | 4 ++-- .../src/com/ibm/icu/dev/util/UnicodeMap.java | 2 +- .../com/ibm/icu/dev/test/perf/PerfTest.java | 2 +- .../dev/tool/timescale/CalculateLimits.java | 2 +- .../tool/translit/UnicodeSetCloseOver.java | 2 +- tools/colprobe/colprobe.cpp | 4 ++-- .../ibm/rbm/resources/RBManager.properties | 8 ++++---- .../ibm/rbm/resources/RBManager_de.properties | 8 ++++---- .../ibm/rbm/resources/RBManager_fi.properties | 8 ++++---- .../ibm/rbm/resources/RBManager_sv.properties | 8 ++++---- .../upstream/double-conversion/bignum-dtoa.cc | 4 ++-- 99 files changed, 156 insertions(+), 156 deletions(-) diff --git a/docs/userguide/format_parse/numbers/rbnf.md b/docs/userguide/format_parse/numbers/rbnf.md index fdef25c3cc6..521e50489af 100644 --- a/docs/userguide/format_parse/numbers/rbnf.md +++ b/docs/userguide/format_parse/numbers/rbnf.md @@ -128,7 +128,7 @@ Rulesets are invoked by first applying negative and fractional rules, and then using a recursive process. It starts by finding the rule whose range includes the current value and applying that rule. If the rule so directs, it emits text, including text obtained by recursing on new values as directed by the rule. As -you can see, the rules are designed to accomodate recursive processing of +you can see, the rules are designed to accommodate recursive processing of numbers, and so are best suited for formatting numbers in ways that are inherently recursive. diff --git a/docs/userguide/icu4j-locale-service-provider.md b/docs/userguide/icu4j-locale-service-provider.md index e32f70e1d7b..60fa786458b 100644 --- a/docs/userguide/icu4j-locale-service-provider.md +++ b/docs/userguide/icu4j-locale-service-provider.md @@ -124,5 +124,5 @@ available. See the table below for each configuration in detail. |:---|:---:|:---:|:---| |`com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.enableIcuVariants`|`"true"` or `"false"`|`"true"`|Whether if Locales with ICU's variant suffix will be included in `getAvailableLocales`. The current Java SE 6 locale sensitive service does not allow user provided provider implementations to override locales supported by JRE itself. When this property is `"true"` (default), ICU4J Locale Service Provider includes Locales with the suffix (`com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.icuVariantSuffix`) in the variant field. For example, the ICU4J provider includes locales fr_FR and fr_FR_ICU4J in the available locale list. So JDK API user can still access the internationalization service object created by the ICU4J provider by the special locale fr_FR_ICU4J| |`com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.icuVariantSuffix`|*Any String*|`"ICU4J"` (49 or later) `"ICU"` (before 49)|Suffix string used in Locale's variant field to specify the ICU implementation.| -|`com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.enableIso3Languages`|`"true"` or `"false"`|`"true"`|Whether if 3-letter language locales are included in `getAvailabeLocales`. Use of 3-letter language codes in `java.util.Locale` is not supported by the API reference document. However, the implementation does not check the length of language code, so there is no practical problem with it.| +|`com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.enableIso3Languages`|`"true"` or `"false"`|`"true"`|Whether if 3-letter language locales are included in `getAvailableLocales`. Use of 3-letter language codes in `java.util.Locale` is not supported by the API reference document. However, the implementation does not check the length of language code, so there is no practical problem with it.| |`com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.useDecimalFormat`|`"true"` or `"false"`|`"false"`|Whether if `java.text.DecimalFormat` subclass is used for `NumberFormat#getXXXInstance`. `DecimalFormat#format(Object,StringBuffer,FieldPosition)` is declared as final, so ICU cannot override the implementation. As a result, some number types such as `BigInteger`/`BigDecimal` are not handled by the ICU implementation. If a client expects `NumberFormat#getXXXInstance` returns a `DecimalFormat` (for example, need to manipulate decimal format patterns), he/she can set true to this setting. However, in this case, `BigInteger`/`BigDecimal` support is not done by ICU's implementation.| diff --git a/docs/userguide/icu_data/buildtool.md b/docs/userguide/icu_data/buildtool.md index 6761b284108..e256ef28622 100644 --- a/docs/userguide/icu_data/buildtool.md +++ b/docs/userguide/icu_data/buildtool.md @@ -610,7 +610,7 @@ files are not in such a directory, derb fails with U_MISSING_RESOURCE_ERROR. of the filter rules matters a great deal in how effective your data size reduction can be, and the wildcard `*` can sometimes produce behavior that is tricky to reason about. For example, these three lists of filter rules look -similar on first glance but acutally produce different output: +similar on first glance but actually produce different output: diff --git a/icu4c/source/common/locdispnames.cpp b/icu4c/source/common/locdispnames.cpp index 47c0667417c..96af3f9aa84 100644 --- a/icu4c/source/common/locdispnames.cpp +++ b/icu4c/source/common/locdispnames.cpp @@ -698,7 +698,7 @@ uloc_getDisplayName(const char *locale, } /* end switch */ if (len>0) { - /* we addeed a component, so add separator and write it if there's room. */ + /* we added a component, so add separator and write it if there's room. */ if(len+sepLen<=cap) { const UChar * plimit = p + len; for (; p < plimit; p++) { diff --git a/icu4c/source/common/pluralmap.h b/icu4c/source/common/pluralmap.h index d898ac4671f..2a14a07af1f 100644 --- a/icu4c/source/common/pluralmap.h +++ b/icu4c/source/common/pluralmap.h @@ -24,7 +24,7 @@ class U_COMMON_API PluralMapBase : public UMemory { public: /** * The names of all the plural categories. NONE is not an actual plural - * category, but rather represents the absense of a plural category. + * category, but rather represents the absence of a plural category. */ enum Category { NONE = -1, diff --git a/icu4c/source/common/putilimp.h b/icu4c/source/common/putilimp.h index a325c6c359a..5b95a68418c 100644 --- a/icu4c/source/common/putilimp.h +++ b/icu4c/source/common/putilimp.h @@ -527,7 +527,7 @@ U_CAPI void * U_EXPORT2 uprv_maximumPtr(void *base); * on the destination pointer and capacity cannot overflow. * * The pinned capacity must fulfill the following conditions (for positive capacities): - * - dest + capacity is a valid pointer according to the machine arcitecture (AS/400, 64-bit, etc.) + * - dest + capacity is a valid pointer according to the machine architecture (AS/400, 64-bit, etc.) * - (dest + capacity) >= dest * - The size (in bytes) of T[capacity] does not exceed 0x7fffffff * diff --git a/icu4c/source/common/rbbi.cpp b/icu4c/source/common/rbbi.cpp index 9b7e70c3cf4..b821ca44639 100644 --- a/icu4c/source/common/rbbi.cpp +++ b/icu4c/source/common/rbbi.cpp @@ -812,7 +812,7 @@ int32_t RuleBasedBreakIterator::handleNext() { } #endif - // handleNext alway sets the break tag value. + // handleNext always sets the break tag value. // Set the default for it. fRuleStatusIndex = 0; diff --git a/icu4c/source/common/rbbi_cache.cpp b/icu4c/source/common/rbbi_cache.cpp index 63ff3001c70..44f19d86973 100644 --- a/icu4c/source/common/rbbi_cache.cpp +++ b/icu4c/source/common/rbbi_cache.cpp @@ -258,7 +258,7 @@ void RuleBasedBreakIterator::BreakCache::preceding(int32_t startPos, UErrorCode previous(status); } else { // seek() leaves the BreakCache positioned at the preceding boundary - // if the requested position is between two bounaries. + // if the requested position is between two boundaries. // current() pushes the BreakCache position out to the BreakIterator itself. U_ASSERT(startPos > fTextIdx); current(); diff --git a/icu4c/source/common/rbbiscan.cpp b/icu4c/source/common/rbbiscan.cpp index 9c406af6713..10b7e9b68ee 100644 --- a/icu4c/source/common/rbbiscan.cpp +++ b/icu4c/source/common/rbbiscan.cpp @@ -284,7 +284,7 @@ UBool RBBIRuleScanner::doParseActions(int32_t action) case doEndAssign: { - // We have reached the end of an assignement statement. + // We have reached the end of an assignment statement. // Current scan char is the ';' that terminates the assignment. // Terminate expression, leaves expression parse tree rooted in TOS node. diff --git a/icu4c/source/common/rbbitblb.cpp b/icu4c/source/common/rbbitblb.cpp index 70e260fc08b..dd76337bc67 100644 --- a/icu4c/source/common/rbbitblb.cpp +++ b/icu4c/source/common/rbbitblb.cpp @@ -151,7 +151,7 @@ void RBBITableBuilder::buildForwardTable() { // // calculate the functions nullable, firstpos, lastpos and followpos on // nodes in the parse tree. - // See the alogrithm description in Aho. + // See the algorithm description in Aho. // Understanding how this works by looking at the code alone will be // nearly impossible. // diff --git a/icu4c/source/common/servnotf.h b/icu4c/source/common/servnotf.h index 305570c1e67..73ce38c772e 100644 --- a/icu4c/source/common/servnotf.h +++ b/icu4c/source/common/servnotf.h @@ -82,7 +82,7 @@ public: /** * Add a listener to be notified when notifyChanged is called. * The listener must not be null. AcceptsListener must return - * true for the listener. Attempts to concurrently + * true for the listener. Attempts to concurrently * register the identical listener more than once will be * silently ignored. */ @@ -90,7 +90,7 @@ public: /** * Stop notifying this listener. The listener must - * not be null. Attemps to remove a listener that is + * not be null. Attempts to remove a listener that is * not registered will be silently ignored. */ virtual void removeListener(const EventListener* l, UErrorCode& status); diff --git a/icu4c/source/common/ucnv2022.cpp b/icu4c/source/common/ucnv2022.cpp index 0d222399943..1726440b944 100644 --- a/icu4c/source/common/ucnv2022.cpp +++ b/icu4c/source/common/ucnv2022.cpp @@ -1424,7 +1424,7 @@ toUnicodeCallback(UConverter *cnv, * KSC5601 : alias to ibm-949 mapping table * GB2312 : alias to ibm-1386 mapping table * ISO-8859-1 : Algorithmic implemented as LATIN1 case -* ISO-8859-7 : alisas to ibm-9409 mapping table +* ISO-8859-7 : alias to ibm-9409 mapping table */ /* preference order of JP charsets */ @@ -2324,7 +2324,7 @@ endloop: /*************************************************************** * Rules for ISO-2022-KR encoding * i) The KSC5601 designator sequence should appear only once in a file, -* at the begining of a line before any KSC5601 characters. This usually +* at the beginning of a line before any KSC5601 characters. This usually * means that it appears by itself on the first line of the file * ii) There are only 2 shifting sequences SO to shift into double byte mode * and SI to shift into single byte mode diff --git a/icu4c/source/common/ucnv_bld.cpp b/icu4c/source/common/ucnv_bld.cpp index 0e198892f1b..d08eec73696 100644 --- a/icu4c/source/common/ucnv_bld.cpp +++ b/icu4c/source/common/ucnv_bld.cpp @@ -427,7 +427,7 @@ getAlgorithmicTypeFromName(const char *realName) #define UCNV_CACHE_LOAD_FACTOR 2 /* Puts the shared data in the static hashtable SHARED_DATA_HASHTABLE */ -/* Will always be called with the cnvCacheMutex alrady being held */ +/* Will always be called with the cnvCacheMutex already being held */ /* by the calling function. */ /* Stores the shared data in the SHARED_DATA_HASHTABLE * @param data The shared data diff --git a/icu4c/source/common/ucnv_err.cpp b/icu4c/source/common/ucnv_err.cpp index 6b738face5e..e1f2b934aa6 100644 --- a/icu4c/source/common/ucnv_err.cpp +++ b/icu4c/source/common/ucnv_err.cpp @@ -321,7 +321,7 @@ UCNV_FROM_U_CALLBACK_ESCAPE ( case UCNV_PRV_ESCAPE_CSS2: valueString[valueStringLength++] = (UChar) UNICODE_RS_CODEPOINT; /* adding \ */ valueStringLength += uprv_itou (valueString + valueStringLength, VALUE_STRING_LENGTH - valueStringLength, codePoint, 16, 0); - /* Always add space character, becase the next character might be whitespace, + /* Always add space character, because the next character might be whitespace, which would erroneously be considered the termination of the escape sequence. */ valueString[valueStringLength++] = (UChar) UNICODE_SPACE_CODEPOINT; break; diff --git a/icu4c/source/common/ucnvisci.cpp b/icu4c/source/common/ucnvisci.cpp index d8a1348475a..ffb8c7ac3e8 100644 --- a/icu4c/source/common/ucnvisci.cpp +++ b/icu4c/source/common/ucnvisci.cpp @@ -1147,7 +1147,7 @@ static const uint16_t lookupTable[][2]={ /* is the code point valid in current script? */ \ if(sourceChar> ASCII_END && \ (validityTable[(targetUniChar & 0x7F)] & data->currentMaskToUnicode)==0){ \ - /* Vocallic RR is assigne in ISCII Telugu and Unicode */ \ + /* Vocallic RR is assigned in ISCII Telugu and Unicode */ \ if(data->currentDeltaToUnicode!=(TELUGU_DELTA) || \ targetUniChar!=VOCALLIC_RR){ \ targetUniChar=missingCharMarker; \ @@ -1272,7 +1272,7 @@ UConverter_toUnicode_ISCII_OFFSETS_LOGIC(UConverterToUnicodeArgs *args, UErrorCo goto CALLBACK; } else if (*contextCharToUnicode==ISCII_INV) { if (sourceChar==ISCII_HALANT) { - targetUniChar = 0x0020; /* replace with space accoding to Indic FAQ */ + targetUniChar = 0x0020; /* replace with space according to Indic FAQ */ } else { targetUniChar = ZWJ; } diff --git a/icu4c/source/common/uhash.h b/icu4c/source/common/uhash.h index 3b3f8c50440..af75999860d 100644 --- a/icu4c/source/common/uhash.h +++ b/icu4c/source/common/uhash.h @@ -23,7 +23,7 @@ /** * UHashtable stores key-value pairs and does moderately fast lookup * based on keys. It provides a good tradeoff between access time and - * storage space. As elements are added to it, it grows to accomodate + * storage space. As elements are added to it, it grows to accommodate * them. By default, the table never shrinks, even if all elements * are removed from it. * diff --git a/icu4c/source/common/unicode/ucnv.h b/icu4c/source/common/unicode/ucnv.h index cf4d176ae4f..5d784990f2c 100644 --- a/icu4c/source/common/unicode/ucnv.h +++ b/icu4c/source/common/unicode/ucnv.h @@ -1702,7 +1702,7 @@ ucnv_countAvailable(void); * all available converters contained in the alias file. All converters * in this list can be opened. * - * @param n the index to a converter available on the system (in the range [0..ucnv_countAvaiable()]) + * @param n the index to a converter available on the system (in the range [0..ucnv_countAvailable()]) * @return a pointer a string (library owned), or NULL if the index is out of bounds. * @see ucnv_countAvailable * @stable ICU 2.0 diff --git a/icu4c/source/common/unicode/unistr.h b/icu4c/source/common/unicode/unistr.h index 456389f265f..df88d858366 100644 --- a/icu4c/source/common/unicode/unistr.h +++ b/icu4c/source/common/unicode/unistr.h @@ -3614,7 +3614,7 @@ private: // turn a bogus string into an empty one void unBogus(); - // implements assigment operator, copy constructor, and fastCopyFrom() + // implements assignment operator, copy constructor, and fastCopyFrom() UnicodeString ©From(const UnicodeString &src, UBool fastCopy=false); // Copies just the fields without memory management. diff --git a/icu4c/source/common/ustr_wcs.cpp b/icu4c/source/common/ustr_wcs.cpp index 8e9b9b82012..89d0762480d 100644 --- a/icu4c/source/common/ustr_wcs.cpp +++ b/icu4c/source/common/ustr_wcs.cpp @@ -364,7 +364,7 @@ _strFromWCS( UChar *dest, } /* we have found a null so convert the - * chunk from begining of non-null char to null + * chunk from beginning of non-null char to null */ retVal = uprv_wcstombs(pCSrc,pSrc,remaining); diff --git a/icu4c/source/data/translit/Grek_Latn_UNGEGN.txt b/icu4c/source/data/translit/Grek_Latn_UNGEGN.txt index 573a21bf4d6..649a02812e8 100644 --- a/icu4c/source/data/translit/Grek_Latn_UNGEGN.txt +++ b/icu4c/source/data/translit/Grek_Latn_UNGEGN.txt @@ -58,7 +58,7 @@ $iotasub → ; ψ ↔ ps ; ω ↔ o $under ; Ω ↔ O $under; -# at begining or end of word, convert mp to b +# at beginning or end of word, convert mp to b [^[:L:]$accent] { μπ → b ; μπ } [^[:L:]$accent] → b ; [^[:L:]$accent] { [Μμ][Ππ] → B ; diff --git a/icu4c/source/i18n/calendar.cpp b/icu4c/source/i18n/calendar.cpp index 9c1b1025f4c..81dfa7067c6 100644 --- a/icu4c/source/i18n/calendar.cpp +++ b/icu4c/source/i18n/calendar.cpp @@ -2291,7 +2291,7 @@ int32_t Calendar::fieldDifference(UDate targetMs, UCalendarDateFields field, UEr if (U_FAILURE(ec)) return 0; int32_t min = 0; double startMs = getTimeInMillis(ec); - // Always add from the start millis. This accomodates + // Always add from the start millis. This accommodates // operations like adding years from February 29, 2000 up to // February 29, 2004. If 1, 1, 1, 1 is added to the year // field, the DOM gets pinned to 28 and stays there, giving an diff --git a/icu4c/source/i18n/collationbuilder.cpp b/icu4c/source/i18n/collationbuilder.cpp index 45ac6ddcd58..b411b4f12f6 100644 --- a/icu4c/source/i18n/collationbuilder.cpp +++ b/icu4c/source/i18n/collationbuilder.cpp @@ -688,7 +688,7 @@ CollationBuilder::addRelation(int32_t strength, const UnicodeString &prefix, // A Hangul syllable completely inside a contraction is ok. } // Note: If there is a prefix, then the parser checked that - // both the prefix and the string beging with NFC boundaries (not Jamo V or T). + // both the prefix and the string begin with NFC boundaries (not Jamo V or T). // Therefore: prefix.isEmpty() || !isJamoVOrT(nfdString.charAt(0)) // (While handling a Hangul syllable, prefixes on Jamo V or T // would not see the previous Jamo of that syllable.) diff --git a/icu4c/source/i18n/decNumber.cpp b/icu4c/source/i18n/decNumber.cpp index cee2f8e9498..42d00a0ad4f 100644 --- a/icu4c/source/i18n/decNumber.cpp +++ b/icu4c/source/i18n/decNumber.cpp @@ -2203,7 +2203,7 @@ U_CAPI decNumber * U_EXPORT2 uprv_decNumberPower(decNumber *res, const decNumber /* if a negative power the constant 1 is needed, and if not subset */ /* invert the lhs now rather than inverting the result later */ if (decNumberIsNegative(rhs)) { /* was a **-n [hence digits>0] */ - decNumber *inv=invbuff; /* asssume use fixed buffer */ + decNumber *inv=invbuff; /* assume use fixed buffer */ uprv_decNumberCopy(&dnOne, dac); /* dnOne=1; [needed now or later] */ #if DECSUBSET if (set->extended) { /* need to calculate 1/lhs */ @@ -5242,7 +5242,7 @@ static decNumber * decMultiplyOp(decNumber *res, const decNumber *lhs, /* exp(-x) where x can be the tiniest number (Ntiny). */ /* */ /* 2. Normalizing x to be <=0.1 (instead of <=1) reduces loop */ -/* iterations by appoximately a third with additional (although */ +/* iterations by approximately a third with additional (although */ /* diminishing) returns as the range is reduced to even smaller */ /* fractions. However, h (the power of 10 used to correct the */ /* result at the end, see below) must be kept <=8 as otherwise */ diff --git a/icu4c/source/i18n/decNumberLocal.h b/icu4c/source/i18n/decNumberLocal.h index e8d1b38653e..1c5a79b7021 100644 --- a/icu4c/source/i18n/decNumberLocal.h +++ b/icu4c/source/i18n/decNumberLocal.h @@ -146,7 +146,7 @@ /* ---------------------------------------------------------------- */ - /* Definitions for arbitary-precision modules (only valid after */ + /* Definitions for arbitrary-precision modules (only valid after */ /* decNumber.h has been included) */ /* ---------------------------------------------------------------- */ diff --git a/icu4c/source/i18n/double-conversion-bignum-dtoa.cpp b/icu4c/source/i18n/double-conversion-bignum-dtoa.cpp index a95910df042..372e17dc7bd 100644 --- a/icu4c/source/i18n/double-conversion-bignum-dtoa.cpp +++ b/icu4c/source/i18n/double-conversion-bignum-dtoa.cpp @@ -384,7 +384,7 @@ static void BignumToFixed(int requested_digits, int* decimal_point, // Returns an estimation of k such that 10^(k-1) <= v < 10^k where // v = f * 2^exponent and 2^52 <= f < 2^53. // v is hence a normalized double with the given exponent. The output is an -// approximation for the exponent of the decimal approimation .digits * 10^k. +// approximation for the exponent of the decimal approximation .digits * 10^k. // // The result might undershoot by 1 in which case 10^k <= v < 10^k+1. // Note: this property holds for v's upper boundary m+ too. @@ -562,7 +562,7 @@ static void InitialScaledStartValuesNegativeExponentNegativePower( // // Let ep == estimated_power, then the returned values will satisfy: // v / 10^ep = numerator / denominator. -// v's boundarys m- and m+: +// v's boundaries m- and m+: // m- / 10^ep == v / 10^ep - delta_minus / denominator // m+ / 10^ep == v / 10^ep + delta_plus / denominator // Or in other words: diff --git a/icu4c/source/i18n/dtfmtsym.cpp b/icu4c/source/i18n/dtfmtsym.cpp index 690f6a4cae6..81e3bf11090 100644 --- a/icu4c/source/i18n/dtfmtsym.cpp +++ b/icu4c/source/i18n/dtfmtsym.cpp @@ -2330,7 +2330,7 @@ DateFormatSymbols::initializeData(const Locale& locale, const char *type, UError // If format/narrow not available, use standalone/narrow assignArray(fNarrowMonths, fNarrowMonthsCount, fStandaloneNarrowMonths, fStandaloneNarrowMonthsCount); } else if (narrowMonthsEC != U_MISSING_RESOURCE_ERROR && standaloneNarrowMonthsEC == U_MISSING_RESOURCE_ERROR) { - // If standalone/narrow not availabe, use format/narrow + // If standalone/narrow not available, use format/narrow assignArray(fStandaloneNarrowMonths, fStandaloneNarrowMonthsCount, fNarrowMonths, fNarrowMonthsCount); } else if (narrowMonthsEC == U_MISSING_RESOURCE_ERROR && standaloneNarrowMonthsEC == U_MISSING_RESOURCE_ERROR) { // If neither is available, use format/abbreviated diff --git a/icu4c/source/i18n/dtitvfmt.cpp b/icu4c/source/i18n/dtitvfmt.cpp index 7cba167130f..3411a96bc60 100644 --- a/icu4c/source/i18n/dtitvfmt.cpp +++ b/icu4c/source/i18n/dtitvfmt.cpp @@ -704,7 +704,7 @@ DateIntervalFormat::create(const Locale& locale, status = U_MEMORY_ALLOCATION_ERROR; delete dtitvinf; } else if ( U_FAILURE(status) ) { - // safe to delete f, although nothing acutally is saved + // safe to delete f, although nothing actually is saved delete f; f = 0; } diff --git a/icu4c/source/i18n/indiancal.h b/icu4c/source/i18n/indiancal.h index 3981ea58512..1ada0a47028 100644 --- a/icu4c/source/i18n/indiancal.h +++ b/icu4c/source/i18n/indiancal.h @@ -25,7 +25,7 @@ U_NAMESPACE_BEGIN * Concrete class which provides the Indian calendar. *

* IndianCalendar is a subclass of Calendar - * that numbers years since the begining of SAKA ERA. This is the civil calendar + * that numbers years since the beginning of SAKA ERA. This is the civil calendar * which is accepted by government of India as Indian National Calendar. * The two calendars most widely used in India today are the Vikrama calendar * followed in North India and the Shalivahana or Saka calendar which is followed diff --git a/icu4c/source/i18n/islamcal.h b/icu4c/source/i18n/islamcal.h index d324c6e409b..7a360e1076b 100644 --- a/icu4c/source/i18n/islamcal.h +++ b/icu4c/source/i18n/islamcal.h @@ -67,7 +67,7 @@ U_NAMESPACE_BEGIN * moon's illumination, and other factors, it is possible to determine the start * of a lunar month with a fairly high degree of certainty. However, these * calculations are extremely complicated and thus slow, so most algorithms, - * including the one used here, are only approximations of the true astronical + * including the one used here, are only approximations of the true astronomical * calculations. At present, the approximations used in this class are fairly * simplistic; they will be improved in later versions of the code. *

diff --git a/icu4c/source/i18n/name2uni.cpp b/icu4c/source/i18n/name2uni.cpp index dcf8d852e2c..ffbbf152d33 100644 --- a/icu4c/source/i18n/name2uni.cpp +++ b/icu4c/source/i18n/name2uni.cpp @@ -119,7 +119,7 @@ void NameUnicodeTransliterator::handleTransliterate(Replaceable& text, UTransPos return; } - // Accomodate the longest possible name + // Accommodate the longest possible name ++maxLen; // allow for temporary trailing space char* cbuf = (char*) uprv_malloc(maxLen); if (cbuf == NULL) { diff --git a/icu4c/source/i18n/nfrs.cpp b/icu4c/source/i18n/nfrs.cpp index 86b079cdd45..1bd6942bf9d 100644 --- a/icu4c/source/i18n/nfrs.cpp +++ b/icu4c/source/i18n/nfrs.cpp @@ -231,7 +231,7 @@ NFRuleSet::parseRules(UnicodeString& description, UErrorCode& status) // (this isn't a for loop because we might be deleting items from // the vector-- we want to make sure we only increment i when - // we _didn't_ delete aything from the vector) + // we _didn't_ delete anything from the vector) int32_t rulesSize = rules.size(); for (int32_t i = 0; i < rulesSize; i++) { NFRule* rule = rules[i]; diff --git a/icu4c/source/i18n/numfmt.cpp b/icu4c/source/i18n/numfmt.cpp index 7c3a0551c32..bd2bc30cd94 100644 --- a/icu4c/source/i18n/numfmt.cpp +++ b/icu4c/source/i18n/numfmt.cpp @@ -13,7 +13,7 @@ * Date Name Description * 02/19/97 aliu Converted from java. * 03/18/97 clhuang Implemented with C++ APIs. -* 04/17/97 aliu Enlarged MAX_INTEGER_DIGITS to fully accomodate the +* 04/17/97 aliu Enlarged MAX_INTEGER_DIGITS to fully accommodate the * largest double, by default. * Changed DigitCount to int per code review. * 07/20/98 stephen Changed operator== to check for grouping diff --git a/icu4c/source/i18n/olsontz.cpp b/icu4c/source/i18n/olsontz.cpp index 4873caaee6d..aa2ad7fc468 100644 --- a/icu4c/source/i18n/olsontz.cpp +++ b/icu4c/source/i18n/olsontz.cpp @@ -812,7 +812,7 @@ OlsonTimeZone::initTransitionRules(UErrorCode& status) { if (finalZone->useDaylightTime()) { /* * Note: When an OlsonTimeZone is constructed, we should set the final year - * as the start year of finalZone. However, the bounday condition used for + * as the start year of finalZone. However, the boundary condition used for * getting offset from finalZone has some problems. * For now, we do not set the valid start year when the construction time * and create a clone and set the start year when extracting rules. diff --git a/icu4c/source/i18n/regexcmp.cpp b/icu4c/source/i18n/regexcmp.cpp index ad069cb8f36..b75d80fa501 100644 --- a/icu4c/source/i18n/regexcmp.cpp +++ b/icu4c/source/i18n/regexcmp.cpp @@ -2397,7 +2397,7 @@ void RegexCompile::compileSet(UnicodeSet *theSet) } // Remove any strings from the set. // There shoudn't be any, but just in case. - // (Case Closure can add them; if we had a simple case closure avaialble that + // (Case Closure can add them; if we had a simple case closure available that // ignored strings, that would be better.) theSet->removeAllStrings(); int32_t setSize = theSet->size(); @@ -2485,7 +2485,7 @@ void RegexCompile::compileInterval(int32_t InitOp, int32_t LoopOp) fRXPat->fCompiledPat->setElementAt(fIntervalLow, topOfBlock+2); fRXPat->fCompiledPat->setElementAt(fIntervalUpper, topOfBlock+3); - // Apend the CTR_LOOP op. The operand is the location of the CTR_INIT op. + // Append the CTR_LOOP op. The operand is the location of the CTR_INIT op. // Goes at end of the block being looped over, so just append to the code so far. appendOp(LoopOp, topOfBlock); diff --git a/icu4c/source/i18n/rematch.cpp b/icu4c/source/i18n/rematch.cpp index 8e496329ad3..c9a1bcae586 100644 --- a/icu4c/source/i18n/rematch.cpp +++ b/icu4c/source/i18n/rematch.cpp @@ -3913,7 +3913,7 @@ void RegexMatcher::MatchAt(int64_t startIdx, UBool toEnd, UErrorCode &status) { // First time through loop. lbStartIdx = fp->fInputIdx - minML; if (lbStartIdx > 0) { - // move index to a code point boudary, if it's not on one already. + // move index to a code point boundary, if it's not on one already. UTEXT_SETNATIVEINDEX(fInputText, lbStartIdx); lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText); } @@ -3999,7 +3999,7 @@ void RegexMatcher::MatchAt(int64_t startIdx, UBool toEnd, UErrorCode &status) { // First time through loop. lbStartIdx = fp->fInputIdx - minML; if (lbStartIdx > 0) { - // move index to a code point boudary, if it's not on one already. + // move index to a code point boundary, if it's not on one already. UTEXT_SETNATIVEINDEX(fInputText, lbStartIdx); lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText); } diff --git a/icu4c/source/i18n/simpletz.cpp b/icu4c/source/i18n/simpletz.cpp index 7972e2bb040..0b1921eee8f 100644 --- a/icu4c/source/i18n/simpletz.cpp +++ b/icu4c/source/i18n/simpletz.cpp @@ -42,7 +42,7 @@ U_NAMESPACE_BEGIN UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SimpleTimeZone) // Use only for decodeStartRule() and decodeEndRule() where the year is not -// available. Set February to 29 days to accomodate rules with that date +// available. Set February to 29 days to accommodate rules with that date // and day-of-week-on-or-before-that-date mode (DOW_LE_DOM_MODE). // The compareToRule() method adjusts to February 28 in non-leap years. // diff --git a/icu4c/source/i18n/timezone.cpp b/icu4c/source/i18n/timezone.cpp index 78f538ccecd..918d5087497 100644 --- a/icu4c/source/i18n/timezone.cpp +++ b/icu4c/source/i18n/timezone.cpp @@ -1678,7 +1678,7 @@ TimeZone::getIDForWindowsID(const UnicodeString& winid, const char* region, Unic winidKey[winKeyLen] = 0; ures_getByKey(zones, winidKey, zones, &tmperr); // use tmperr, because windows mapping might not - // be avaiable by design + // be available by design if (U_FAILURE(tmperr)) { ures_close(zones); return id; diff --git a/icu4c/source/i18n/uni2name.cpp b/icu4c/source/i18n/uni2name.cpp index 41d5c931e40..904da0207bc 100644 --- a/icu4c/source/i18n/uni2name.cpp +++ b/icu4c/source/i18n/uni2name.cpp @@ -81,7 +81,7 @@ void UnicodeNameTransliterator::handleTransliterate(Replaceable& text, UTransPos return; } - // Accomodate the longest possible name plus padding + // Accommodate the longest possible name plus padding char* buf = (char*) uprv_malloc(maxLen); if (buf == NULL) { offsets.start = offsets.limit; diff --git a/icu4c/source/i18n/unicode/msgfmt.h b/icu4c/source/i18n/unicode/msgfmt.h index 2d9bc8f2e2b..14b57a114dc 100644 --- a/icu4c/source/i18n/unicode/msgfmt.h +++ b/icu4c/source/i18n/unicode/msgfmt.h @@ -132,7 +132,7 @@ class NumberFormat; *

  • messageText can contain quoted literal strings including syntax characters. * A quoted literal string begins with an ASCII apostrophe and a syntax character * (usually a {curly brace}) and continues until the next single apostrophe. - * A double ASCII apostrohpe inside or outside of a quoted string represents + * A double ASCII apostrophe inside or outside of a quoted string represents * one literal apostrophe. *
  • Quotable syntax characters are the {curly braces} in all messageText parts, * plus the '#' sign in a messageText immediately inside a pluralStyle, diff --git a/icu4c/source/i18n/unicode/translit.h b/icu4c/source/i18n/unicode/translit.h index 3fbfcb4e273..57ceb37d7fc 100644 --- a/icu4c/source/i18n/unicode/translit.h +++ b/icu4c/source/i18n/unicode/translit.h @@ -883,7 +883,7 @@ public: * @param text the text to be transliterated * @param index the position indices * @param incremental if true, then assume more characters may be inserted - * at index.limit, and postpone processing to accomodate future incoming + * at index.limit, and postpone processing to accommodate future incoming * characters * @stable ICU 2.4 */ @@ -913,7 +913,7 @@ private: * @param text the text to be transliterated * @param index the position indices * @param incremental if true, then assume more characters may be inserted - * at index.limit, and postpone processing to accomodate future incoming + * at index.limit, and postpone processing to accommodate future incoming * characters * @param rollback if true and if incremental is true, then perform special * incremental processing, as described above, and undo partial diff --git a/icu4c/source/i18n/unicode/uspoof.h b/icu4c/source/i18n/unicode/uspoof.h index 7680c687ce4..bf675bef51b 100644 --- a/icu4c/source/i18n/unicode/uspoof.h +++ b/icu4c/source/i18n/unicode/uspoof.h @@ -502,7 +502,7 @@ typedef enum USpoofChecks { USPOOF_ALL_CHECKS = 0xFFFF, /** - * Enable the return of auxillary (non-error) information in the + * Enable the return of auxiliary (non-error) information in the * upper bits of the check results value. * * If this "check" is not enabled, the results of {@link uspoof_check} will be diff --git a/icu4c/source/i18n/unicode/vtzone.h b/icu4c/source/i18n/unicode/vtzone.h index 34b371b16bf..383b8da23f8 100644 --- a/icu4c/source/i18n/unicode/vtzone.h +++ b/icu4c/source/i18n/unicode/vtzone.h @@ -157,7 +157,7 @@ public: void write(UnicodeString& result, UErrorCode& status) const; /** - * Writes RFC2445 VTIMEZONE data for this time zone applicalbe + * Writes RFC2445 VTIMEZONE data for this time zone applicable * for dates after the specified start time. * @param start The start date. * @param result Output param to filled in with the VTIMEZONE data. @@ -167,7 +167,7 @@ public: void write(UDate start, UnicodeString& result, UErrorCode& status) const; /** - * Writes RFC2445 VTIMEZONE data applicalbe for the specified date. + * Writes RFC2445 VTIMEZONE data applicable for the specified date. * Some common iCalendar implementations can only handle a single time * zone property or a pair of standard and daylight time properties using * BYDAY rule with day of week (such as BYDAY=1SUN). This method produce diff --git a/icu4c/source/i18n/vtzone.cpp b/icu4c/source/i18n/vtzone.cpp index 81208ab96d7..8b9fdec0afe 100644 --- a/icu4c/source/i18n/vtzone.cpp +++ b/icu4c/source/i18n/vtzone.cpp @@ -376,7 +376,7 @@ static void getDefaultTZName(const UnicodeString &tzid, UBool isDST, UnicodeStri * dow day of week in BYDAY, or 0 when not found * wim day of week ordinal number in BYDAY, or 0 when not found * dom an array of day of month - * domCount number of availble days in dom (domCount is specifying the size of dom on input) + * domCount number of available days in dom (domCount is specifying the size of dom on input) * until time defined by UNTIL attribute or MIN_MILLIS if not available */ static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim, @@ -2649,7 +2649,7 @@ VTimeZone::endZoneProps(VTZWriter& writer, UBool isDst, UErrorCode& status) cons } /* - * Write the beggining part of RRULE line + * Write the beginning part of RRULE line */ void VTimeZone::beginRRULE(VTZWriter& writer, int32_t month, UErrorCode& status) const { diff --git a/icu4c/source/i18n/vzone.h b/icu4c/source/i18n/vzone.h index 96f5e858912..d1b6d8d8204 100644 --- a/icu4c/source/i18n/vzone.h +++ b/icu4c/source/i18n/vzone.h @@ -136,7 +136,7 @@ U_CAPI void U_EXPORT2 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status); /** - * Writes RFC2445 VTIMEZONE data for this time zone applicalbe + * Writes RFC2445 VTIMEZONE data for this time zone applicable * for dates after the specified start time. * @param zone, the vzone to use * @param start The start date. @@ -148,7 +148,7 @@ U_CAPI void U_EXPORT2 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode& status); /** - * Writes RFC2445 VTIMEZONE data applicalbe for the specified date. + * Writes RFC2445 VTIMEZONE data applicable for the specified date. * Some common iCalendar implementations can only handle a single time * zone property or a pair of standard and daylight time properties using * BYDAY rule with day of week (such as BYDAY=1SUN). This method produce diff --git a/icu4c/source/i18n/wintzimpl.cpp b/icu4c/source/i18n/wintzimpl.cpp index 433ed4c2939..a6d93300638 100644 --- a/icu4c/source/i18n/wintzimpl.cpp +++ b/icu4c/source/i18n/wintzimpl.cpp @@ -145,7 +145,7 @@ static UBool getWindowsTimeZoneInfo(TIME_ZONE_INFORMATION *zoneInfo, const UChar } /* - * Given the timezone icuid, fill in zoneInfo by calling auxillary functions that creates a timezone and extract the + * Given the timezone icuid, fill in zoneInfo by calling auxiliary functions that creates a timezone and extract the * information to put into zoneInfo. This includes bias and standard time date and daylight saving date. */ U_CAPI UBool U_EXPORT2 diff --git a/icu4c/source/io/unicode/ustdio.h b/icu4c/source/io/unicode/ustdio.h index 50a8815e3a7..23bbea6d725 100644 --- a/icu4c/source/io/unicode/ustdio.h +++ b/icu4c/source/io/unicode/ustdio.h @@ -51,7 +51,7 @@ wastes a lot of time and space. * Test stdin and stdout with the u_f* functions * Testing should be done for reading and writing multi-byte encodings, - and make sure that a character that is contained across buffer boundries + and make sure that a character that is contained across buffer boundaries works even for incomplete characters. * Make sure that the last character is flushed when the file/string is closed. * snprintf should follow the C99 standard for the return value, which is diff --git a/icu4c/source/layoutex/layout/RunArrays.h b/icu4c/source/layoutex/layout/RunArrays.h index bcd197b955b..92dfc386a52 100644 --- a/icu4c/source/layoutex/layout/RunArrays.h +++ b/icu4c/source/layoutex/layout/RunArrays.h @@ -310,7 +310,7 @@ public: virtual ~FontRuns(); /** - * Get the LEFontInstance object assoicated with the given run + * Get the LEFontInstance object associated with the given run * of text. Use RunArray::getLimit(run) to get the corresponding * limit index. * @@ -447,7 +447,7 @@ public: virtual ~LocaleRuns(); /** - * Get the Locale object assoicated with the given run + * Get the Locale object associated with the given run * of text. Use RunArray::getLimit(run) to get the corresponding * limit index. * @@ -585,7 +585,7 @@ public: virtual ~ValueRuns(); /** - * Get the integer value assoicated with the given run + * Get the integer value associated with the given run * of text. Use RunArray::getLimit(run) to get the corresponding * limit index. * diff --git a/icu4c/source/layoutex/layout/plruns.h b/icu4c/source/layoutex/layout/plruns.h index 48888fdc1fb..f58f64c2247 100644 --- a/icu4c/source/layoutex/layout/plruns.h +++ b/icu4c/source/layoutex/layout/plruns.h @@ -138,7 +138,7 @@ pl_getFontRunLimit(const pl_fontRuns *fontRuns, le_int32 run); /** - * Get the le_font object assoicated with the given run + * Get the le_font object associated with the given run * of text. Use pl_getFontRunLimit(run) to get the corresponding * limit index. * @@ -271,7 +271,7 @@ pl_getValueRunLimit(const pl_valueRuns *valueRuns, le_int32 run); /** - * Get the value assoicated with the given run * of text. Use + * Get the value associated with the given run * of text. Use * pl_getValueRunLimit(run) to get the corresponding * limit index. * @@ -403,7 +403,7 @@ pl_getLocaleRunLimit(const pl_localeRuns *localeRuns, le_int32 run); /** - * Get the le_font object assoicated with the given run + * Get the le_font object associated with the given run * of text. Use pl_getLocaleRunLimit(run) to get the corresponding * limit index. * diff --git a/icu4c/source/layoutex/plruns.cpp b/icu4c/source/layoutex/plruns.cpp index 95766d6d09b..282602364b8 100644 --- a/icu4c/source/layoutex/plruns.cpp +++ b/icu4c/source/layoutex/plruns.cpp @@ -251,7 +251,7 @@ public: virtual ~ULocRuns(); /** - * Get the name of the locale assoicated with the given run + * Get the name of the locale associated with the given run * of text. Use RunArray::getLimit(run) to get the corresponding * limit index. * diff --git a/icu4c/source/test/cintltst/ccaltst.c b/icu4c/source/test/cintltst/ccaltst.c index c15d2771e5f..da7d1a6b965 100644 --- a/icu4c/source/test/cintltst/ccaltst.c +++ b/icu4c/source/test/cintltst/ccaltst.c @@ -1027,7 +1027,7 @@ static void TestAddRollExtensive() checkDate(cal, y, m, d); ucal_roll(cal, (UCalendarDateFields)-1, 10, &status); if(status==U_ILLEGAL_ARGUMENT_ERROR) - log_verbose("Pass: illegal arguement error as expected\n"); + log_verbose("Pass: illegal argument error as expected\n"); else{ log_err("Fail: no illegal argument error got..: %s\n", u_errorName(status)); return; diff --git a/icu4c/source/test/cintltst/cintltst.c b/icu4c/source/test/cintltst/cintltst.c index b4364a69096..d43b1bee400 100644 --- a/icu4c/source/test/cintltst/cintltst.c +++ b/icu4c/source/test/cintltst/cintltst.c @@ -210,7 +210,7 @@ int main(int argc, const char* const argv[]) root = NULL; addAllTests(&root); - /* Tests acutally run HERE. TODO: separate command line option parsing & setting from test execution!! */ + /* Tests actually run HERE. TODO: separate command line option parsing & setting from test execution!! */ nerrors = runTestRequest(root, argc, argv); setTestOption(REPEAT_TESTS_OPTION, DECREMENT_OPTION_VALUE); diff --git a/icu4c/source/test/cintltst/cmsccoll.c b/icu4c/source/test/cintltst/cmsccoll.c index 9f4dae438e2..6fdaaebc394 100644 --- a/icu4c/source/test/cintltst/cmsccoll.c +++ b/icu4c/source/test/cintltst/cmsccoll.c @@ -3522,7 +3522,7 @@ TestJ5223(void) ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_PRIMARY, &status); ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); if (U_FAILURE(status)) { - log_err("Failed setting atributes\n"); + log_err("Failed setting attributes\n"); return; } sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, NULL, 0); @@ -4007,7 +4007,7 @@ TestOutOfBuffer5468(void) ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_PRIMARY, &status); ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); if (U_FAILURE(status)) { - log_err("Failed setting atributes\n"); + log_err("Failed setting attributes\n"); return; } diff --git a/icu4c/source/test/cintltst/cnmdptst.c b/icu4c/source/test/cintltst/cnmdptst.c index f736cb910ee..c2522593440 100644 --- a/icu4c/source/test/cintltst/cnmdptst.c +++ b/icu4c/source/test/cintltst/cnmdptst.c @@ -93,7 +93,7 @@ static void TestPatterns(void) } u_uastrcpy(unewpat, newpat[i]); if(u_strcmp(unewp, unewpat) != 0) - log_err("FAIL: Pattern %s should be transmute to %s; %s seen instead\n", pat[i], newpat[i], austrdup(unewp) ); + log_err("FAIL: Pattern %s should be transmuted to %s; %s seen instead\n", pat[i], newpat[i], austrdup(unewp) ); lneed=0; lneed=unum_format(fmt, 0, NULL, lneed, NULL, &status); diff --git a/icu4c/source/test/cintltst/creststn.c b/icu4c/source/test/cintltst/creststn.c index 3155172029c..007d8e18da0 100644 --- a/icu4c/source/test/cintltst/creststn.c +++ b/icu4c/source/test/cintltst/creststn.c @@ -2373,7 +2373,7 @@ static void TestResourceLevelAliasing(void) { } uBufferLen = u_unescape(strings[i], uBuffer, 256); if(result==NULL || resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { - log_err("(2) Didn't get correct string while accesing alias table by index (%s)\n", strings[i]); + log_err("(2) Didn't get correct string while accessing alias table by index (%s)\n", strings[i]); } } for(i = 0; i < UPRV_LENGTHOF(strings); i++) { @@ -2400,7 +2400,7 @@ static void TestResourceLevelAliasing(void) { } uBufferLen = u_unescape(strings[i], uBuffer, 256); if(result==NULL || resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { - log_err("Didn't get correct string while accesing alias by index in an array (%s)\n", strings[i]); + log_err("Didn't get correct string while accessing alias by index in an array (%s)\n", strings[i]); } } for(i = 0; i < UPRV_LENGTHOF(strings); i++) { diff --git a/icu4c/source/test/intltest/dtifmtts.cpp b/icu4c/source/test/intltest/dtifmtts.cpp index 22a1cb3bcac..da61e3ba9cf 100644 --- a/icu4c/source/test/intltest/dtifmtts.cpp +++ b/icu4c/source/test/intltest/dtifmtts.cpp @@ -252,7 +252,7 @@ void DateIntervalFormatTest::testAPI() { // ====== test constructor/copy constructor and assignment /* they are protected, no test - logln("Testing DateIntervalFormat constructor and assigment operator"); + logln("Testing DateIntervalFormat constructor and assignment operator"); status = U_ZERO_ERROR; DateFormat* constFmt = dtitvfmt->getDateFormat()->clone(); diff --git a/icu4c/source/test/intltest/plurults.cpp b/icu4c/source/test/intltest/plurults.cpp index c015197ba2b..9610fb6eeb7 100644 --- a/icu4c/source/test/intltest/plurults.cpp +++ b/icu4c/source/test/intltest/plurults.cpp @@ -58,7 +58,7 @@ void PluralRulesTest::runIndexedTest( int32_t index, UBool exec, const char* &na TESTCASE_AUTO(testOrdinal); TESTCASE_AUTO(testSelect); TESTCASE_AUTO(testSelectRange); - TESTCASE_AUTO(testAvailbleLocales); + TESTCASE_AUTO(testAvailableLocales); TESTCASE_AUTO(testParseErrors); TESTCASE_AUTO(testFixedDecimal); TESTCASE_AUTO(testSelectTrailingZeros); @@ -1099,7 +1099,7 @@ void PluralRulesTest::testSelectRange() { } -void PluralRulesTest::testAvailbleLocales() { +void PluralRulesTest::testAvailableLocales() { // Hash set of (char *) strings. UErrorCode status = U_ZERO_ERROR; diff --git a/icu4c/source/test/intltest/plurults.h b/icu4c/source/test/intltest/plurults.h index 70823498ccd..8e220dc3661 100644 --- a/icu4c/source/test/intltest/plurults.h +++ b/icu4c/source/test/intltest/plurults.h @@ -38,7 +38,7 @@ private: void testOrdinal(); void testSelect(); void testSelectRange(); - void testAvailbleLocales(); + void testAvailableLocales(); void testParseErrors(); void testFixedDecimal(); void testSelectTrailingZeros(); diff --git a/icu4c/source/test/intltest/rbbiapts.cpp b/icu4c/source/test/intltest/rbbiapts.cpp index fdb496e6c70..a3334f5a439 100644 --- a/icu4c/source/test/intltest/rbbiapts.cpp +++ b/icu4c/source/test/intltest/rbbiapts.cpp @@ -551,7 +551,7 @@ void RBBIAPITest::TestIteration() // bi->first(); if (bi->isBoundary(3) != TRUE) { - errln("%s:%d Incorrect value from bi->isBoudary(). Expected TRUE, got FALSE", __FILE__, __LINE__, i); + errln("%s:%d Incorrect value from bi->isBoundary(). Expected TRUE, got FALSE", __FILE__, __LINE__, i); } i = bi->current(); if (i != 3) { @@ -560,7 +560,7 @@ void RBBIAPITest::TestIteration() if (bi->isBoundary(11) != FALSE) { - errln("%s:%d Incorrect value from bi->isBoudary(). Expected FALSE, got TRUE", __FILE__, __LINE__, i); + errln("%s:%d Incorrect value from bi->isBoundary(). Expected FALSE, got TRUE", __FILE__, __LINE__, i); } i = bi->current(); if (i != 10) { diff --git a/icu4c/source/test/intltest/tmsgfmt.cpp b/icu4c/source/test/intltest/tmsgfmt.cpp index 335bcf07cad..e55aa8fbe37 100644 --- a/icu4c/source/test/intltest/tmsgfmt.cpp +++ b/icu4c/source/test/intltest/tmsgfmt.cpp @@ -1462,7 +1462,7 @@ void TestMessageFormat::testCopyConstructor2() { } /** - * Verify that MessageFormat accomodates more than 10 arguments and + * Verify that MessageFormat accommodates more than 10 arguments and * more than 10 subformats. */ void TestMessageFormat::TestUnlimitedArgsAndSubformats() { diff --git a/icu4c/source/test/intltest/tmsgfmt.h b/icu4c/source/test/intltest/tmsgfmt.h index dd2153650ab..87edcaca8f4 100644 --- a/icu4c/source/test/intltest/tmsgfmt.h +++ b/icu4c/source/test/intltest/tmsgfmt.h @@ -83,7 +83,7 @@ public: UnicodeString pattern ,Locale locale , UErrorCode& err, char* errMsg); /** - * Verify that MessageFormat accomodates more than 10 arguments + * Verify that MessageFormat accommodates more than 10 arguments * and more than 10 subformats. */ void TestUnlimitedArgsAndSubformats(); diff --git a/icu4c/source/tools/gencnval/gencnval.c b/icu4c/source/tools/gencnval/gencnval.c index 83b5863cba5..0a0890e9e5c 100644 --- a/icu4c/source/tools/gencnval/gencnval.c +++ b/icu4c/source/tools/gencnval/gencnval.c @@ -45,7 +45,7 @@ /* STRING_STORE_SIZE + TAG_STORE_SIZE <= ((2^16 - 1) * 2) That is the maximum size for the string stores combined - because the strings are index at 16-bit boundries by a + because the strings are indexed at 16-bit boundaries by a 16-bit index, and there is only one section for the strings. */ diff --git a/icu4c/source/tools/genrb/prscmnts.cpp b/icu4c/source/tools/genrb/prscmnts.cpp index 5e44547ea1e..34d2a26043c 100644 --- a/icu4c/source/tools/genrb/prscmnts.cpp +++ b/icu4c/source/tools/genrb/prscmnts.cpp @@ -78,7 +78,7 @@ trim(UChar *src, int32_t srcLen, UErrorCode *status){ U_CFUNC int32_t removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status){ srcLen = trim(source, srcLen, status); - UnicodeString patString("^\\s*?\\*\\s*?"); // remove pattern like " * " at the begining of the line + UnicodeString patString("^\\s*?\\*\\s*?"); // remove pattern like " * " at the beginning of the line srcLen = removeText(source, srcLen, patString, UREGEX_MULTILINE, UnicodeString(), status); return removeText(source, srcLen, UnicodeString("[ \\r\\n]+"), 0, UnicodeString(" "), status);// remove new lines; } diff --git a/icu4c/source/tools/toolutil/ucbuf.cpp b/icu4c/source/tools/toolutil/ucbuf.cpp index d1d4043dd4a..d2051590563 100644 --- a/icu4c/source/tools/toolutil/ucbuf.cpp +++ b/icu4c/source/tools/toolutil/ucbuf.cpp @@ -531,14 +531,14 @@ ucbuf_open(const char* fileName,const char** cp,UBool showWarning, UBool buffere /* TODO: this method will fail if at the - * begining of buffer and the uchar to unget + * beginning of buffer and the uchar to unget * is from the previous buffer. Need to implement * system to take care of that situation. */ U_CAPI void U_EXPORT2 ucbuf_ungetc(int32_t c,UCHARBUF* buf){ /* decrement currentPos pointer - * if not at the begining of buffer + * if not at the beginning of buffer */ if(buf->currentPos!=buf->buffer){ if(*(buf->currentPos-1)==c){ @@ -736,7 +736,7 @@ ucbuf_readline(UCHARBUF* buf,int32_t* len,UErrorCode* err){ } } /* - * Accoding to TR 13 readLine functions must interpret + * According to TR 13 readLine functions must interpret * CR, CR+LF, LF, NEL, PS, LS or FF as line seperators */ /* Windows CR LF */ diff --git a/icu4c/source/tools/toolutil/xmlparser.cpp b/icu4c/source/tools/toolutil/xmlparser.cpp index 482d6f65aa7..5a03856487b 100644 --- a/icu4c/source/tools/toolutil/xmlparser.cpp +++ b/icu4c/source/tools/toolutil/xmlparser.cpp @@ -243,7 +243,7 @@ UXMLParser::parseFile(const char *filename, UErrorCode &errorCode) { UnicodeString attValue = mAttrValue.group(2, errorCode); // Trim the quotes from the att value. These are left over from the original regex - // that parsed the attribue, which couldn't conveniently strip them. + // that parsed the attribute, which couldn't conveniently strip them. attValue.remove(0,1); // one char from the beginning attValue.truncate(attValue.length()-1); // and one from the end. @@ -498,7 +498,7 @@ UXMLParser::createElement(RegexMatcher &mEl, UErrorCode &status) { UnicodeString attValue = mAttrValue.group(2, status); // Trim the quotes from the att value. These are left over from the original regex - // that parsed the attribue, which couldn't conveniently strip them. + // that parsed the attribute, which couldn't conveniently strip them. attValue.remove(0,1); // one char from the beginning attValue.truncate(attValue.length()-1); // and one from the end. diff --git a/icu4c/source/tools/tzcode/zic.c b/icu4c/source/tools/tzcode/zic.c index f38498c6ee2..e1b9b54c284 100644 --- a/icu4c/source/tools/tzcode/zic.c +++ b/icu4c/source/tools/tzcode/zic.c @@ -2564,7 +2564,7 @@ outzone(const struct zone * const zpfirst, const int zonecount) * because the previous type is valid until the first * transition defined by the final rule. Otherwise * we may see unexpected offset shift at the - * begining of the year when the final rule takes + * beginning of the year when the final rule takes * effect. * * Note: This may results some 64bit second transitions diff --git a/icu4j/demos/src/com/ibm/icu/dev/demo/impl/DumbTextComponent.java b/icu4j/demos/src/com/ibm/icu/dev/demo/impl/DumbTextComponent.java index 84f6a9adf6c..34351994e4d 100644 --- a/icu4j/demos/src/com/ibm/icu/dev/demo/impl/DumbTextComponent.java +++ b/icu4j/demos/src/com/ibm/icu/dev/demo/impl/DumbTextComponent.java @@ -730,7 +730,7 @@ public class DumbTextComponent extends Canvas if (visibleWidth(fMtr, subject) <= width) return len; - // LIU: Remainder of this method rewritten to accomodate lines + // LIU: Remainder of this method rewritten to accommodate lines // longer than the component width by first trying to break // into lines; then words; finally chars. int n = findFittingBreak(fMtr, subject, width, lineBreaker); diff --git a/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/RbnfSampleRuleSets.java b/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/RbnfSampleRuleSets.java index 8b00e7bfb78..6c4f07bc3b3 100644 --- a/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/RbnfSampleRuleSets.java +++ b/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/RbnfSampleRuleSets.java @@ -82,7 +82,7 @@ public class RbnfSampleRuleSets { // beginning at 20, we use the >> to mark the position where // the result of formatting the number's ones digit. Thus, // we only need a new rule at every multiple of 10. Text in - // backets is omitted if the value being formatted is an + // brackets is omitted if the value being formatted is an // even multiple of 10. + " 20: twenty[->>];\n" + " 30: thirty[->>];\n" @@ -432,7 +432,7 @@ public class RbnfSampleRuleSets { + " 40: quarante[->%%alt-ones>];\n" + " 50: cinquante[->%%alt-ones>];\n" // rule for 60. The /20 causes this rule's multiplier to be - // 20 rather than 10, allowinhg us to recurse for all values + // 20 rather than 10, allowing us to recurse for all values // from 60 to 79... + " 60/20: soixante[->%%alt-ones>];\n" // ...except for 71, which must be special-cased @@ -997,7 +997,7 @@ public class RbnfSampleRuleSets { + " 1,000,000,000,000: << trillion[ >>];\n" + " 1,000,000,000,000,000: =#,##0=;\n" // the rule set that formats the fractional part of the number. - // The rule that is used is the one that, when its baase value is + // The rule that is used is the one that, when its base value is // multiplied by the fractional part of the number being formatted, // produces the result closest to zero. Thus, the base values are // prospective denominators of the fraction. The << marks the place @@ -1609,7 +1609,7 @@ public class RbnfSampleRuleSets { // for values below 10,000, just use %%low-order + " =%%low-order=;\n" // for values above 10,000, split into two groups of four digits - // and format each with %%high-order (putting an M in betwen) + // and format each with %%high-order (putting an M in between) + " 10,000: <%%high-order<\u039c>%%high-order>;\n" // for values above 100,000,000, add another group onto the front // and another M @@ -1687,7 +1687,7 @@ public class RbnfSampleRuleSets { "Words for digits", "Chinese place-value notation", "Roman numerals", - "Hebrew ahlphabetic numerals", + "Hebrew alphabetic numerals", "Greek alphabetic numerals" }; /** diff --git a/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/Calendar.java b/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/Calendar.java index d14e27ef1a9..e11d5ca4808 100644 --- a/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/Calendar.java +++ b/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/Calendar.java @@ -342,7 +342,7 @@ import com.ibm.icu.util.ULocale.Category; * numbers must be restricted to a 32-bit int. This * restricts the overall supported range. Furthermore, restricting * the supported range simplifies the computations by removing - * special case code that was used to accomodate arithmetic overflow + * special case code that was used to accommodate arithmetic overflow * at millis near Long.MIN_VALUE and * Long.MAX_VALUE.
  • * @@ -1922,7 +1922,7 @@ public class Calendar implements Serializable, Cloneable, Comparable { int min = 0; long startMs = getTimeInMillis(); long targetMs = when.getTime(); - // Always add from the start millis. This accomodates + // Always add from the start millis. This accommodates // operations like adding years from February 29, 2000 up to // February 29, 2004. If 1, 1, 1, 1 is added to the year // field, the DOM gets pinned to 28 and stays there, giving an @@ -2056,7 +2056,7 @@ public class Calendar implements Serializable, Cloneable, Comparable { // /** // * {@icu}Sets the behavior for handling wall time repeating multiple times // * at negative time zone offset transitions. For example, 1:30 AM on -// * November 6, 2011 in US Eastern time (Ameirca/New_York) occurs twice; +// * November 6, 2011 in US Eastern time (America/New_York) occurs twice; // * 1:30 AM EDT, then 1:30 AM EST one hour later. When WALLTIME_FIRST // * is used, the wall time 1:30AM in this example will be interpreted as 1:30 AM EDT // * (first occurrence). When WALLTIME_LAST is used, it will be diff --git a/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetCallback.java b/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetCallback.java index 4ef038a904f..40ca8434c87 100644 --- a/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetCallback.java +++ b/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetCallback.java @@ -55,13 +55,13 @@ public class CharsetCallback { /* * FROM_U_CALLBACK_ESCAPE context option to escape the code unit according to C (\\uXXXX \\UXXXXXXXX) - * TO_U_CALLBACK_ESCAPE option to escape the character value accoding to C (\\xXXXX) + * TO_U_CALLBACK_ESCAPE option to escape the character value according to C (\\xXXXX) */ private static final String ESCAPE_C = "C"; /* * FROM_U_CALLBACK_ESCAPE context option to escape the code unit according to XML Decimal escape \htmlonly(&#DDDD;)\endhtmlonly - * TO_U_CALLBACK_ESCAPE context option to escape the character value accoding to XML Decimal escape \htmlonly(&#DDDD;)\endhtmlonly + * TO_U_CALLBACK_ESCAPE context option to escape the character value according to XML Decimal escape \htmlonly(&#DDDD;)\endhtmlonly */ private static final String ESCAPE_XML_DEC = "D"; diff --git a/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISCII.java b/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISCII.java index 3401c298551..ca490af4693 100644 --- a/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISCII.java +++ b/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISCII.java @@ -1176,7 +1176,7 @@ class CharsetISCII extends CharsetICU { /* is the code point valid in current script? */ if (sourceChar > ASCII_END && (validityTable[targetUniChar & 0x7F] & data.currentMaskToUnicode) == 0) { - /* Vocallic RR is assigne in ISCII Telugu and Unicode */ + /* Vocallic RR is assigned in ISCII Telugu and Unicode */ if (data.currentDeltaToUnicode != (TELUGU_DELTA) || targetUniChar != VOCALLIC_RR) { targetUniChar = UConverterConstants.missingCharMarker; } diff --git a/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISO2022.java b/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISO2022.java index e0f9ebfd5ba..1d770197d89 100644 --- a/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISO2022.java +++ b/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISO2022.java @@ -2566,7 +2566,7 @@ class CharsetISO2022 extends CharsetICU { /* * Rules for ISO-2022-KR encoding * i) The KSC5601 designator sequence should appear only once in a file, - * at the begining of a line before any KSC5601 characters. This usually + * at the beginning of a line before any KSC5601 characters. This usually * means that it appears by itself on the first line of the file * ii) There are only 2 shifting sequences SO to shift into double byte mode * and SI to shift into single byte mode diff --git a/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetLMBCS.java b/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetLMBCS.java index 8a4aa3e2eb7..c8d385e89f0 100644 --- a/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetLMBCS.java +++ b/icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetLMBCS.java @@ -90,7 +90,7 @@ class CharsetLMBCS extends CharsetICU { private static final short ULMBCS_GRP_TW = 0x12; /* Chinese SC :ibm-950 */ private static final short ULMBCS_GRP_CN = 0x13; /* Chinese TC :ibm-1386 */ /* - * So, the beginnning of understanding LMBCS is that IF the first byte of a LMBCS + * So, the beginning of understanding LMBCS is that IF the first byte of a LMBCS * character is one of those 12 values, you can interpret the remaining bytes of * that character as coming from one of those character sets. Since the lower * ANSI bytes already are represented in singl bytes, using one of the chracter diff --git a/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/CollationBuilder.java b/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/CollationBuilder.java index 820b387d15c..32f78d7159c 100644 --- a/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/CollationBuilder.java +++ b/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/CollationBuilder.java @@ -468,7 +468,7 @@ public final class CollationBuilder extends CollationRuleParser.Sink { // A Hangul syllable completely inside a contraction is ok. } // Note: If there is a prefix, then the parser checked that - // both the prefix and the string beging with NFC boundaries (not Jamo V or T). + // both the prefix and the string begin with NFC boundaries (not Jamo V or T). // Therefore: prefix.isEmpty() || !isJamoVOrT(nfdString.charAt(0)) // (While handling a Hangul syllable, prefixes on Jamo V or T // would not see the previous Jamo of that syllable.) diff --git a/icu4j/main/classes/core/src/com/ibm/icu/impl/TrieIterator.java b/icu4j/main/classes/core/src/com/ibm/icu/impl/TrieIterator.java index b6120281322..e2f25b4e1d0 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/impl/TrieIterator.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/impl/TrieIterator.java @@ -49,7 +49,7 @@ import com.ibm.icu.util.RangeValueIterator; *

    There are basically 3 usage scenarios for porting:

    *

    1) UTrieEnumValue is the only implemented callback then just implement a * subclass of TrieIterator and override the extract(int) method. The - * extract(int) method is analogus to UTrieEnumValue callback. + * extract(int) method is analogous to UTrieEnumValue callback. *

    *

    2) UTrieEnumValue and UTrieEnumRange both are implemented then implement * a subclass of TrieIterator, override the extract method and iterate, e.g @@ -114,7 +114,7 @@ public class TrieIterator implements RangeValueIterator *

    Returns true if we are not at the end of the iteration, false * otherwise.

    *

    The next set of codepoints with the same value type will be - * calculated during this call and returned in the arguement element.

    + * calculated during this call and returned in the argument element.

    * @param element return result * @return true if we are not at the end of the iteration, false otherwise. * @exception NoSuchElementException - if no more elements exist. diff --git a/icu4j/main/classes/core/src/com/ibm/icu/impl/Utility.java b/icu4j/main/classes/core/src/com/ibm/icu/impl/Utility.java index af5c7e8d403..d74c2314360 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/impl/Utility.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/impl/Utility.java @@ -1045,7 +1045,7 @@ public final class Utility { * this character are not included in the output * @param output an array to receive the substrings between * instances of divider. It must be large enough on entry to - * accomodate all output. Adjacent instances of the divider + * accommodate all output. Adjacent instances of the divider * character will place empty strings into output. Before * returning, output is padded out with empty strings. */ diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java b/icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java index 3d58548ae5a..10503d45ea3 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java @@ -80,7 +80,7 @@ final public class ListFormatter { @Deprecated UNIT("unit"), /** - * Style for units in abbrevated form + * Style for units in abbreviated form * @internal * @deprecated This API is ICU internal only. */ diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/MessageFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/MessageFormat.java index 29a408be948..535d3823667 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/MessageFormat.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/MessageFormat.java @@ -130,7 +130,7 @@ import com.ibm.icu.util.ULocale.Category; *
  • messageText can contain quoted literal strings including syntax characters. * A quoted literal string begins with an ASCII apostrophe and a syntax character * (usually a {curly brace}) and continues until the next single apostrophe. - * A double ASCII apostrohpe inside or outside of a quoted string represents + * A double ASCII apostrophe inside or outside of a quoted string represents * one literal apostrophe. *
  • Quotable syntax characters are the {curly braces} in all messageText parts, * plus the '#' sign in a messageText immediately inside a pluralStyle, diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java b/icu4j/main/classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java index 1893eb4a035..fae2773bac5 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java @@ -209,7 +209,7 @@ class RBBIRuleScanner { break; case RBBIRuleParseTable.doEndAssign: { - // We have reached the end of an assignement statement. + // We have reached the end of an assignment statement. // Current scan char is the ';' that terminates the assignment. // Terminate expression, leaves expression parse tree rooted in TOS diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/RBBITableBuilder.java b/icu4j/main/classes/core/src/com/ibm/icu/text/RBBITableBuilder.java index 3423190aba7..854876ef1af 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/RBBITableBuilder.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/RBBITableBuilder.java @@ -166,7 +166,7 @@ class RBBITableBuilder { // // calculate the functions nullable, firstpos, lastpos and followpos on // nodes in the parse tree. - // See the alogrithm description in Aho. + // See the algorithm description in Aho. // Understanding how this works by looking at the code alone will be // nearly impossible. // diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/RuleBasedBreakIterator.java b/icu4j/main/classes/core/src/com/ibm/icu/text/RuleBasedBreakIterator.java index cae7130f0f0..53e10be47dd 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/RuleBasedBreakIterator.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/RuleBasedBreakIterator.java @@ -1349,7 +1349,7 @@ class BreakCache { previous(); } else { // seek() leaves the BreakCache positioned at the preceding boundary - // if the requested position is between two bounaries. + // if the requested position is between two boundaries. // current() pushes the BreakCache position out to the BreakIterator itself. assert(startPos > fTextIdx); current(); diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java b/icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java index d303e2ce38b..0aeb7e917a6 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java @@ -378,7 +378,7 @@ import com.ibm.icu.util.ULocale.Category; * numbers must be restricted to a 32-bit int. This * restricts the overall supported range. Furthermore, restricting * the supported range simplifies the computations by removing - * special case code that was used to accomodate arithmetic overflow + * special case code that was used to accommodate arithmetic overflow * at millis near Long.MIN_VALUE and * Long.MAX_VALUE.
  • * @@ -4011,7 +4011,7 @@ public abstract class Calendar implements Serializable, Cloneable, ComparableWALLTIME_FIRST * is used, the wall time 1:30AM in this example will be interpreted as 1:30 AM EDT * (first occurrence). When WALLTIME_LAST is used, it will be diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/IslamicCalendar.java b/icu4j/main/classes/core/src/com/ibm/icu/util/IslamicCalendar.java index e48e7995284..b8ae53c792c 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/util/IslamicCalendar.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/util/IslamicCalendar.java @@ -928,7 +928,7 @@ public class IslamicCalendar extends Calendar { */ public enum CalculationType { /** - * Religious calendar (atronomical simulation) + * Religious calendar (astronomical simulation) * @stable ICU 52 */ ISLAMIC ("islamic"), diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/SimpleTimeZone.java b/icu4j/main/classes/core/src/com/ibm/icu/util/SimpleTimeZone.java index e8b96f520fd..3779e5424af 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/util/SimpleTimeZone.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/util/SimpleTimeZone.java @@ -627,7 +627,7 @@ public class SimpleTimeZone extends BasicTimeZone { } // Use only for decodeStartRule() and decodeEndRule() where the year is not - // available. Set February to 29 days to accomodate rules with that date + // available. Set February to 29 days to accommodate rules with that date // and day-of-week-on-or-before-that-date mode (DOW_LE_DOM_MODE). // The compareToRule() method adjusts to February 28 in non-leap years. // diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/TaiwanCalendar.java b/icu4j/main/classes/core/src/com/ibm/icu/util/TaiwanCalendar.java index 0e3087d0ea4..6b6be83789e 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/util/TaiwanCalendar.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/util/TaiwanCalendar.java @@ -45,7 +45,7 @@ public class TaiwanCalendar extends GregorianCalendar { /** * Constant for the Taiwan Era for years before Minguo 1. - * Brefore Minuo 1 is Gregorian 1911, Before Minguo 2 is Gregorian 1910 + * Before Minuo 1 is Gregorian 1911, Before Minguo 2 is Gregorian 1910 * and so on. * * @see com.ibm.icu.util.Calendar#ERA diff --git a/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ICULocaleServiceProviderConfig.properties b/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ICULocaleServiceProviderConfig.properties index dfbe21f9c7c..53422e842c4 100644 --- a/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ICULocaleServiceProviderConfig.properties +++ b/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ICULocaleServiceProviderConfig.properties @@ -19,7 +19,7 @@ com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.enableIcuVariants = true # [default: ICU4J] com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.icuVariantSuffix = ICU4J -# Whether if 3-letter language Locales are included in getAvailabeLocales. +# Whether if 3-letter language Locales are included in getAvailableLocales. # [default: true] com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.enableIso3Languages = true diff --git a/icu4j/main/classes/translit/src/com/ibm/icu/text/Transliterator.java b/icu4j/main/classes/translit/src/com/ibm/icu/text/Transliterator.java index 6f625c3ddf8..9b21acc704a 100644 --- a/icu4j/main/classes/translit/src/com/ibm/icu/text/Transliterator.java +++ b/icu4j/main/classes/translit/src/com/ibm/icu/text/Transliterator.java @@ -1038,7 +1038,7 @@ public abstract class Transliterator implements StringTransform { * @param text the text to be transliterated * @param index the position indices * @param incremental if TRUE, then assume more characters may be inserted - * at index.limit, and postpone processing to accomodate future incoming + * at index.limit, and postpone processing to accommodate future incoming * characters * @param rollback if TRUE and if incremental is TRUE, then perform special * incremental processing, as described above, and undo partial @@ -1355,7 +1355,7 @@ public abstract class Transliterator implements StringTransform { * @param text the text to be transliterated * @param index the position indices * @param incremental if TRUE, then assume more characters may be inserted - * at index.limit, and postpone processing to accomodate future incoming + * at index.limit, and postpone processing to accommodate future incoming * characters * @stable ICU 2.0 */ diff --git a/icu4j/main/shared/data/Transliterator_Han_Latin_Definition.txt b/icu4j/main/shared/data/Transliterator_Han_Latin_Definition.txt index 1d25c0dab28..3af46be291d 100644 --- a/icu4j/main/shared/data/Transliterator_Han_Latin_Definition.txt +++ b/icu4j/main/shared/data/Transliterator_Han_Latin_Definition.txt @@ -158,7 +158,7 @@ 䰙 < an\-ancient\-unit\-of\-capacity\-with\-three\-feet\-and\-a\-big\-opening; 䔹 < a\-fungus\-which\-grows\-on\-rotten\-plants\-and\-is\-eaten\-when\-fresh; 㯣 < a\-kind\-of\-fragrant\-tree\-used\-to\-produce\-perfume\-by\-burning\-it; -㯡 < to\-lacquer\-some\-kind\-of\-ashes\-on\-wooden\-articals\-or\-furniture; +㯡 < to\-lacquer\-some\-kind\-of\-ashes\-on\-wooden\-articles\-or\-furniture; 悲天憫人 < bemoan\-the\-state\-of\-the\-universe\-and\-pity\-the\-fate\-of\-mankind; 惋惜 < to\-feel\-sorry\-for\-a\-person\-over\-sth\-that\-should\-have\-happened; 峋 < ranges\-of\-hills\-stretching\-on\-beyond\-another\-irregular\-peaks; @@ -711,7 +711,7 @@ 㶬 < bright\-lights\-and\-illuminations\-of\-the\-fire; 㶆 < name\-of\-a\-stream\-in\-hebei\-province\-hengshan; 斯佩林 < spelling\-\(eg\,\-spelling\-entertainment\-group\); -㮫 < a\-wooden\-artical\-to\-be\-used\-to\-adjust\-a\-bow; +㮫 < a\-wooden\-article\-to\-be\-used\-to\-adjust\-a\-bow; 㫍 < the\-scallops\-along\-the\-lower\-edge\-of\-a\-flag; 㧏 < to\-carry\-on\-the\-shouldersof\-two\-or\-more\-men; 星體 < celestial\-body\-\(eg\,\-planet\,\-satellite\,\-etc\); @@ -1060,7 +1060,7 @@ 經營 < engage\-in\-\(a\-business\-activity\,\-etc\.\); 集成 < integrated\-\(as\-in\-integrated\-circuit\); 麅 < a\-small\-spotted\-deer\-found\-in\-n\.china; -內懮外患 < domestic\-strife\-and\-foreign\-agression; +內懮外患 < domestic\-strife\-and\-foreign\-aggression; 安全與交換委員會 < securities\-and\-exchange\-communication; 政委 < political\-commissar\-\(within\-the\-army\); 沈國放 < chinese\-foreign\-ministry\-spokesperson; @@ -2913,7 +2913,7 @@ 媒體接口連接器 < medium\-interface\-connector; 底特律 < detroit\-\(a\-city\-in\-the\-us\); 䬱 < coarse\-grains\-such\-as\-corn; -中國科學院 < chinese\-acadamy\-of\-science; +中國科學院 < chinese\-academy\-of\-science; 䩲 < a\-tool\-used\-to\-cut\-leather; 䩚 < to\-mend\-the\-soles\-of\-shoes; 百發百中 < every\-shot\-hits\-the\-target; @@ -12205,7 +12205,7 @@ 憀 < to\-rely\-on; 引人注意 < attractive; 手稿 < manuscript; -抹油 < to\-annoint; +抹油 < to\-anoint; 愓 < profligate; 表尺 < rear\-sight; 惏 < avaricious; @@ -21693,7 +21693,7 @@ 願意不願意 > whether\-one\-wants\-to\-or\-not; 發展核武器 > to\-develop\-nuclear\-weapons; 叛變的省份 > renegade\-province\-\(taiwan\); -中國科學院 > chinese\-acadamy\-of\-science; +中國科學院 > chinese\-academy\-of\-science; 用戶端設備 > customer\-premise\-equipment; 不等價交換 > exchange\-of\-unequal\-values; 永久虛電路 > permanent\-virtual\-circuit; @@ -22030,7 +22030,7 @@ 不遠千里 > make\-light\-of\-travelling\-a\-thousand\-li; 安居樂業 > live\-and\-work\-in\-peace\-and\-contentment; 遍體鱗傷 > covered\-all\-over\-with\-cuts\-and\-bruises; -內懮外患 > domestic\-strife\-and\-foreign\-agression; +內懮外患 > domestic\-strife\-and\-foreign\-aggression; 治病救人 > cure\-the\-sickness\-to\-save\-the\-patient; 哀鴻遍野 > a\-land\-swarming\-with\-disaster\-victims; 病從口入 > illness\-finds\-its\-way\-in\-by\-the\-mouth; @@ -29760,7 +29760,7 @@ 聖靈 > holy\-ghost; 指控 > accusation; 手稿 > manuscript; -抹油 > to\-annoint; +抹油 > to\-anoint; 表尺 > rear\-sight; 畢業 > graduation; 固執 > persistent; @@ -36162,7 +36162,7 @@ 䰙 > an\-ancient\-unit\-of\-capacity\-with\-three\-feet\-and\-a\-big\-opening; 䔹 > a\-fungus\-which\-grows\-on\-rotten\-plants\-and\-is\-eaten\-when\-fresh; 㯣 > a\-kind\-of\-fragrant\-tree\-used\-to\-produce\-perfume\-by\-burning\-it; -㯡 > to\-lacquer\-some\-kind\-of\-ashes\-on\-wooden\-articals\-or\-furniture; +㯡 > to\-lacquer\-some\-kind\-of\-ashes\-on\-wooden\-articles\-or\-furniture; 峋 > ranges\-of\-hills\-stretching\-on\-beyond\-another\-irregular\-peaks; 歃 > smear\-one''s\-mouth\-with\-blood\-of\-a\-victim\-when\-taking\-an\-oath; 羗 > tribes\-in\-west\-china\-strong\.\-educated\.\-obstinate\.\-a\-particle; @@ -36486,7 +36486,7 @@ 㶬 > bright\-lights\-and\-illuminations\-of\-the\-fire; 㶡 > bright\-lights\-and\-illuminations\-of\-the\-fire; 㶆 > name\-of\-a\-stream\-in\-hebei\-province\-hengshan; -㮫 > a\-wooden\-artical\-to\-be\-used\-to\-adjust\-a\-bow; +㮫 > a\-wooden\-article\-to\-be\-used\-to\-adjust\-a\-bow; 㫍 > the\-scallops\-along\-the\-lower\-edge\-of\-a\-flag; 㧏 > to\-carry\-on\-the\-shouldersof\-two\-or\-more\-men; 㛶 > do\-not\-care\-about\-appearance\-and\-deportment; diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/TestMessageFormat.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/TestMessageFormat.java index daaca180d1c..7b94ebd180a 100644 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/TestMessageFormat.java +++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/TestMessageFormat.java @@ -802,7 +802,7 @@ public class TestMessageFormat extends TestFmwk { } /** - * Verify that MessageFormat accomodates more than 10 arguments and + * Verify that MessageFormat accommodates more than 10 arguments and * more than 10 subformats. */ @Test diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/FormatHandler.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/FormatHandler.java index 5bfdaaceb9f..ca51c1b87dd 100644 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/FormatHandler.java +++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/FormatHandler.java @@ -1202,7 +1202,7 @@ public class FormatHandler // beginning at 20, we use the >> to mark the position where // the result of formatting the number's ones digit. Thus, // we only need a new rule at every multiple of 10. Text in - // backets is omitted if the value being formatted is an + // brackets is omitted if the value being formatted is an // even multiple of 10. "20: twenty[->>];\n" + "30: thirty[->>];\n" + @@ -1359,7 +1359,7 @@ public class FormatHandler "40: quarante[->%%alt-ones>];\n" + "50: cinquante[->%%alt-ones>];\n" + // rule for 60. The /20 causes this rule's multiplier to be - // 20 rather than 10, allowinhg us to recurse for all values + // 20 rather than 10, allowing us to recurse for all values // from 60 to 79... "60/20: soixante[->%%alt-ones>];\n" + // ...except for 71, which must be special-cased diff --git a/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/UnicodeMap.java b/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/UnicodeMap.java index 0b0cf1ad2e2..16c95a1ebab 100644 --- a/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/UnicodeMap.java +++ b/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/UnicodeMap.java @@ -245,7 +245,7 @@ public final class UnicodeMap implements Cloneable, Freezable>, /** * Add a gap from index to index+count-1. * The values there are undefined, and must be set. - * Logically grows arrays to accomodate. Actual growth is limited + * Logically grows arrays to accommodate. Actual growth is limited * @param index * @param count */ diff --git a/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/PerfTest.java b/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/PerfTest.java index 4a8068d2bed..33f7a485d73 100644 --- a/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/PerfTest.java +++ b/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/PerfTest.java @@ -152,7 +152,7 @@ public abstract class PerfTest { } } } - return orgNames; // begining with 'test', keeping case + return orgNames; // beginning with 'test', keeping case } /** diff --git a/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/CalculateLimits.java b/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/CalculateLimits.java index ca8b25beded..db7ff39864a 100644 --- a/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/CalculateLimits.java +++ b/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/CalculateLimits.java @@ -46,7 +46,7 @@ public class CalculateLimits { * * @see com.ibm.icu.util.UniversalTimeScale * - * @param args - the command line arugments + * @param args - the command line arguments */ public static void main(String[] args) { diff --git a/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/UnicodeSetCloseOver.java b/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/UnicodeSetCloseOver.java index 8d7fddc54d6..99156f50afb 100644 --- a/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/UnicodeSetCloseOver.java +++ b/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/UnicodeSetCloseOver.java @@ -324,7 +324,7 @@ class UnicodeSetCloseOver { // Make sure the CaseEquivClass data can fit. if (maxLen > 8) { - throw new RuntimeException("Must adjust CaseEquivClass to accomodate " + maxLen + " UChars"); + throw new RuntimeException("Must adjust CaseEquivClass to accommodate " + maxLen + " UChars"); } // Also make sure that we can map into this array using a diff --git a/tools/colprobe/colprobe.cpp b/tools/colprobe/colprobe.cpp index f7502ea96f3..91165f151cd 100644 --- a/tools/colprobe/colprobe.cpp +++ b/tools/colprobe/colprobe.cpp @@ -642,7 +642,7 @@ positionExpansions(Line **gLines, int32_t size, CompareFn comparer) { Line *prevL = &prevTestLine; // This can be further optimized, since we now know that we have a // sorted list of expansions, so current can start from toMove, since all - // the elements before it are already smaller. In the beggining it needs to + // the elements before it are already smaller. In the beginning it needs to // be on gLines, though. Line *current = *gLines; while(current) { @@ -964,7 +964,7 @@ detectExpansions(Line **gLines, int32_t size, CompareFn comparer) { for(k = 0; k < size; k++) { // k is index of a thing that is not doubled current = *(gLines+k); // see if we have moved to front - // has it moved to the very beggining + // has it moved to the very beginning if((startStrength = probeStrength((gLines+k), &startP, comparer)) != UCOL_OFF) { continue; // this one is in the front } diff --git a/tools/unicodetools/com/ibm/rbm/resources/RBManager.properties b/tools/unicodetools/com/ibm/rbm/resources/RBManager.properties index 97f925768ee..d7e2f918b95 100644 --- a/tools/unicodetools/com/ibm/rbm/resources/RBManager.properties +++ b/tools/unicodetools/com/ibm/rbm/resources/RBManager.properties @@ -553,7 +553,7 @@ export_java_title=Please\ specify\ the\ following\ parameters\ for\ your\ Java\ # # @group General # -# @groupComment Some items that are common accross groups +# @groupComment Some items that are common across groups # @translated true @created 2000-11-10 @modified 2000-10-26 @creator Jared @modifier Jared # @comment The file or class composed of the default translations for the bundle @@ -760,13 +760,13 @@ menu_file=File # @comment Ability to export resource bundles in a variety of formats menu_file_export=Export\ Resource\ Bundles # @translated true @created 2002-05-17 @modified 2002-05-17 @creator George Rhoten @modifier George Rhoten -# @comment Ablity to export to ICU Resource Bundle files +# @comment Ability to export to ICU Resource Bundle files menu_file_export_ICU=ICU\ Files... # @translated true @created 2002-05-17 @modified 2002-05-17 @creator George Rhoten @modifier George Rhoten # @comment menu_file_export_ICU_trigger=i # @translated true @created 2001-01-15 @modified 2001-01-15 @creator Jared Jackson @modifier Jared Jackson -# @comment Ablity to export to TMX XML files +# @comment Ability to export to TMX XML files menu_file_export_TMX=TMX\ Files... # @translated true @created 2001-01-15 @modified 2001-01-15 @creator Jared Jackson @modifier Jared Jackson # @comment @@ -796,7 +796,7 @@ menu_file_export_trigger=x # @comment Menu item for import and merging another resource file with the bundle being worked with menu_file_import=Merge\ (Import\ into)\ To\ Resource\ Bundle # @translated true @created 2001-01-15 @modified 2001-01-15 @creator Jared Jackson @modifier Jared Jackson -# @comment Import abliity from XML TMX documents +# @comment Import ability from XML TMX documents menu_file_import_TMX=TMX\ Documents... # @translated true @created 2001-01-15 @modified 2001-01-15 @creator Jared Jackson @modifier Jared Jackson # @comment diff --git a/tools/unicodetools/com/ibm/rbm/resources/RBManager_de.properties b/tools/unicodetools/com/ibm/rbm/resources/RBManager_de.properties index 4730637949b..9e9ca740db0 100644 --- a/tools/unicodetools/com/ibm/rbm/resources/RBManager_de.properties +++ b/tools/unicodetools/com/ibm/rbm/resources/RBManager_de.properties @@ -553,7 +553,7 @@ export_java_title=Bitte\ geben\ Sie\ die\ folgenden\ Parameter\ fuer\ die\ Java- # # @group General # -# @groupComment Some items that are common accross groups +# @groupComment Some items that are common across groups # @translated true @created 2000-11-10 @modified 2000-11-08 @creator Jared @modifier Martin Gerlach # @comment The file or class composed of the default translations for the bundle @@ -760,13 +760,13 @@ menu_file=Datei # @comment Ability to export resource bundles in a variety of formats menu_file_export=Resourcenb\u00FCndel\ exportieren # @translated true @created 2002-05-17 @modified 2002-05-17 @creator George Rhoten @modifier George Rhoten -# @comment Ablity to export to ICU Resource Bundle files +# @comment Ability to export to ICU Resource Bundle files menu_file_export_ICU=ICU\ Dokumente... # @translated true @created 2002-05-17 @modified 2002-05-17 @creator George Rhoten @modifier George Rhoten # @comment menu_file_export_ICU_trigger=i # @translated true @created 2001-01-15 @modified 2001-02-09 @creator Jared Jackson @modifier Jared Jackson -# @comment Ablity to export to TMX XML files +# @comment Ability to export to TMX XML files menu_file_export_TMX=TMX\ Dateien... # @translated true @created 2001-01-15 @modified 2001-02-09 @creator Jared Jackson @modifier Jared Jackson # @comment @@ -796,7 +796,7 @@ menu_file_export_trigger=x # @comment Menu item for import and merging another resource file with the bundle being worked with menu_file_import=Resource-Bundle\ aus\ Datei\ importieren... # @translated true @created 2001-01-15 @modified 2001-02-09 @creator Jared Jackson @modifier Jared Jackson -# @comment Import abliity from XML TMX documents +# @comment Import ability from XML TMX documents menu_file_import_TMX=TMX\ Dokumente... # @translated true @created 2001-01-15 @modified 2001-02-09 @creator Jared Jackson @modifier Jared Jackson # @comment diff --git a/tools/unicodetools/com/ibm/rbm/resources/RBManager_fi.properties b/tools/unicodetools/com/ibm/rbm/resources/RBManager_fi.properties index c3bcf1ffb3f..86beb169971 100644 --- a/tools/unicodetools/com/ibm/rbm/resources/RBManager_fi.properties +++ b/tools/unicodetools/com/ibm/rbm/resources/RBManager_fi.properties @@ -556,7 +556,7 @@ export_java_title=Anna\ seuraavat\ parametrit\ Java-luokalle\: # # @group General # -# @groupComment Some items that are common accross groups +# @groupComment Some items that are common across groups # @translated true @created 2001-12-17 @modified 2000-11-09 @creator Jared @modifier Jussi Myllymki # @comment The file or class composed of the default translations for the bundle @@ -763,13 +763,13 @@ menu_file=Tiedosto # @comment Ability to export resource bundles in a variety of formats menu_file_export=Resurssikokoelman\ siirto # @translated true @created 2002-05-17 @modified 2002-05-17 @creator George Rhoten @modifier George Rhoten -# @comment Ablity to export to ICU Resource Bundle files +# @comment Ability to export to ICU Resource Bundle files menu_file_export_ICU=ICU-tiedostot... # @translated true @created 2002-05-17 @modified 2002-05-17 @creator George Rhoten @modifier George Rhoten # @comment menu_file_export_ICU_trigger=i # @translated true @created 2001-12-17 @modified 2001-02-08 @creator Jared Jackson @modifier Jared Jackson -# @comment Ablity to export to TMX XML files +# @comment Ability to export to TMX XML files menu_file_export_TMX=TMX-tiedostot... # @translated true @created 2001-12-17 @modified 2001-02-08 @creator Jared Jackson @modifier Jared Jackson # @comment @@ -799,7 +799,7 @@ menu_file_export_trigger=s # @comment Menu item for import and merging another resource file with the bundle being worked with menu_file_import=Lue\ resurssikokoelma\ tiedostosta... # @translated true @created 2001-12-17 @modified 2001-02-08 @creator Jared Jackson @modifier Jared Jackson -# @comment Import abliity from XML TMX documents +# @comment Import ability from XML TMX documents menu_file_import_TMX=TMX-tiedostot... # @translated true @created 2001-12-17 @modified 2001-02-08 @creator Jared Jackson @modifier Jared Jackson # @comment diff --git a/tools/unicodetools/com/ibm/rbm/resources/RBManager_sv.properties b/tools/unicodetools/com/ibm/rbm/resources/RBManager_sv.properties index b0b13b7c9b5..d5ebd4dc747 100644 --- a/tools/unicodetools/com/ibm/rbm/resources/RBManager_sv.properties +++ b/tools/unicodetools/com/ibm/rbm/resources/RBManager_sv.properties @@ -556,7 +556,7 @@ export_java_title=Var\ god\ specificera\ f\u00F6ljande\ parametrar\ f\u00F6r\ di # # @group General # -# @groupComment Some items that are common accross groups +# @groupComment Some items that are common across groups # @translated true @created 2000-11-10 @modified 2000-11-08 @creator Jared @modifier Stefan Edlund # @comment The file or class composed of the default translations for the bundle @@ -763,13 +763,13 @@ menu_file=Fil # @comment Ability to export resource bundles in a variety of formats menu_file_export=Exportera\ resursbunt # @translated true @created 2002-05-17 @modified 2002-05-17 @creator George Rhoten @modifier George Rhoten -# @comment Ablity to export to ICU Resource Bundle files +# @comment Ability to export to ICU Resource Bundle files menu_file_export_ICU=ICU\ Filer... # @translated true @created 2002-05-17 @modified 2002-05-17 @creator George Rhoten @modifier George Rhoten # @comment menu_file_export_ICU_trigger=i # @translated true @created 2001-01-15 @modified 2001-02-19 @creator Jared Jackson @modifier Jared Jackson -# @comment Ablity to export to TMX XML files +# @comment Ability to export to TMX XML files menu_file_export_TMX=TMX\ Filer... # @translated true @created 2001-01-15 @modified 2001-01-15 @creator Jared Jackson @modifier Jared Jackson # @comment @@ -799,7 +799,7 @@ menu_file_export_trigger=x # @comment Menu item for import and merging another resource file with the bundle being worked with menu_file_import=Importera\ resursgrupp\ fran\ fil... # @translated true @created 2001-01-15 @modified 2001-02-19 @creator Jared Jackson @modifier Jared Jackson -# @comment Import abliity from XML TMX documents +# @comment Import ability from XML TMX documents menu_file_import_TMX=TMX\ document... # @translated true @created 2001-01-15 @modified 2001-01-15 @creator Jared Jackson @modifier Jared Jackson # @comment diff --git a/vendor/double-conversion/upstream/double-conversion/bignum-dtoa.cc b/vendor/double-conversion/upstream/double-conversion/bignum-dtoa.cc index abdd71452b8..dfd159dde10 100644 --- a/vendor/double-conversion/upstream/double-conversion/bignum-dtoa.cc +++ b/vendor/double-conversion/upstream/double-conversion/bignum-dtoa.cc @@ -370,7 +370,7 @@ static void BignumToFixed(int requested_digits, int* decimal_point, // Returns an estimation of k such that 10^(k-1) <= v < 10^k where // v = f * 2^exponent and 2^52 <= f < 2^53. // v is hence a normalized double with the given exponent. The output is an -// approximation for the exponent of the decimal approimation .digits * 10^k. +// approximation for the exponent of the decimal approximation .digits * 10^k. // // The result might undershoot by 1 in which case 10^k <= v < 10^k+1. // Note: this property holds for v's upper boundary m+ too. @@ -548,7 +548,7 @@ static void InitialScaledStartValuesNegativeExponentNegativePower( // // Let ep == estimated_power, then the returned values will satisfy: // v / 10^ep = numerator / denominator. -// v's boundarys m- and m+: +// v's boundaries m- and m+: // m- / 10^ep == v / 10^ep - delta_minus / denominator // m+ / 10^ep == v / 10^ep + delta_plus / denominator // Or in other words: