]> granicus.if.org Git - icu/commitdiff
ICU-21018 Fix typos across repo that start with letter A
authorErik Torres Aguilar <ertorres@microsoft.com>
Tue, 5 Jan 2021 18:22:35 +0000 (18:22 +0000)
committerErik Torres <ertorres@microsoft.com>
Wed, 6 Jan 2021 23:15:35 +0000 (15:15 -0800)
See #1506

99 files changed:
docs/userguide/format_parse/numbers/rbnf.md
docs/userguide/icu4j-locale-service-provider.md
docs/userguide/icu_data/buildtool.md
icu4c/source/common/locdispnames.cpp
icu4c/source/common/pluralmap.h
icu4c/source/common/putilimp.h
icu4c/source/common/rbbi.cpp
icu4c/source/common/rbbi_cache.cpp
icu4c/source/common/rbbiscan.cpp
icu4c/source/common/rbbitblb.cpp
icu4c/source/common/servnotf.h
icu4c/source/common/ucnv2022.cpp
icu4c/source/common/ucnv_bld.cpp
icu4c/source/common/ucnv_err.cpp
icu4c/source/common/ucnvisci.cpp
icu4c/source/common/uhash.h
icu4c/source/common/unicode/ucnv.h
icu4c/source/common/unicode/unistr.h
icu4c/source/common/ustr_wcs.cpp
icu4c/source/data/translit/Grek_Latn_UNGEGN.txt
icu4c/source/i18n/calendar.cpp
icu4c/source/i18n/collationbuilder.cpp
icu4c/source/i18n/decNumber.cpp
icu4c/source/i18n/decNumberLocal.h
icu4c/source/i18n/double-conversion-bignum-dtoa.cpp
icu4c/source/i18n/dtfmtsym.cpp
icu4c/source/i18n/dtitvfmt.cpp
icu4c/source/i18n/indiancal.h
icu4c/source/i18n/islamcal.h
icu4c/source/i18n/name2uni.cpp
icu4c/source/i18n/nfrs.cpp
icu4c/source/i18n/numfmt.cpp
icu4c/source/i18n/olsontz.cpp
icu4c/source/i18n/regexcmp.cpp
icu4c/source/i18n/rematch.cpp
icu4c/source/i18n/simpletz.cpp
icu4c/source/i18n/timezone.cpp
icu4c/source/i18n/uni2name.cpp
icu4c/source/i18n/unicode/msgfmt.h
icu4c/source/i18n/unicode/translit.h
icu4c/source/i18n/unicode/uspoof.h
icu4c/source/i18n/unicode/vtzone.h
icu4c/source/i18n/vtzone.cpp
icu4c/source/i18n/vzone.h
icu4c/source/i18n/wintzimpl.cpp
icu4c/source/io/unicode/ustdio.h
icu4c/source/layoutex/layout/RunArrays.h
icu4c/source/layoutex/layout/plruns.h
icu4c/source/layoutex/plruns.cpp
icu4c/source/test/cintltst/ccaltst.c
icu4c/source/test/cintltst/cintltst.c
icu4c/source/test/cintltst/cmsccoll.c
icu4c/source/test/cintltst/cnmdptst.c
icu4c/source/test/cintltst/creststn.c
icu4c/source/test/intltest/dtifmtts.cpp
icu4c/source/test/intltest/plurults.cpp
icu4c/source/test/intltest/plurults.h
icu4c/source/test/intltest/rbbiapts.cpp
icu4c/source/test/intltest/tmsgfmt.cpp
icu4c/source/test/intltest/tmsgfmt.h
icu4c/source/tools/gencnval/gencnval.c
icu4c/source/tools/genrb/prscmnts.cpp
icu4c/source/tools/toolutil/ucbuf.cpp
icu4c/source/tools/toolutil/xmlparser.cpp
icu4c/source/tools/tzcode/zic.c
icu4j/demos/src/com/ibm/icu/dev/demo/impl/DumbTextComponent.java
icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/RbnfSampleRuleSets.java
icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/Calendar.java
icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetCallback.java
icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISCII.java
icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetISO2022.java
icu4j/main/classes/charset/src/com/ibm/icu/charset/CharsetLMBCS.java
icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/CollationBuilder.java
icu4j/main/classes/core/src/com/ibm/icu/impl/TrieIterator.java
icu4j/main/classes/core/src/com/ibm/icu/impl/Utility.java
icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java
icu4j/main/classes/core/src/com/ibm/icu/text/MessageFormat.java
icu4j/main/classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java
icu4j/main/classes/core/src/com/ibm/icu/text/RBBITableBuilder.java
icu4j/main/classes/core/src/com/ibm/icu/text/RuleBasedBreakIterator.java
icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java
icu4j/main/classes/core/src/com/ibm/icu/util/IslamicCalendar.java
icu4j/main/classes/core/src/com/ibm/icu/util/SimpleTimeZone.java
icu4j/main/classes/core/src/com/ibm/icu/util/TaiwanCalendar.java
icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ICULocaleServiceProviderConfig.properties
icu4j/main/classes/translit/src/com/ibm/icu/text/Transliterator.java
icu4j/main/shared/data/Transliterator_Han_Latin_Definition.txt
icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/TestMessageFormat.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/FormatHandler.java
icu4j/main/tests/framework/src/com/ibm/icu/dev/util/UnicodeMap.java
icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/PerfTest.java
icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/CalculateLimits.java
icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/UnicodeSetCloseOver.java
tools/colprobe/colprobe.cpp
tools/unicodetools/com/ibm/rbm/resources/RBManager.properties
tools/unicodetools/com/ibm/rbm/resources/RBManager_de.properties
tools/unicodetools/com/ibm/rbm/resources/RBManager_fi.properties
tools/unicodetools/com/ibm/rbm/resources/RBManager_sv.properties
vendor/double-conversion/upstream/double-conversion/bignum-dtoa.cc

index fdef25c3cc6bb4bba381a94d9843caf0550576ef..521e50489afcd9a2321db253e19832f17699c472 100644 (file)
@@ -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.
 
index e32f70e1d7bdfe71845540da71da409bf03e38d8..60fa786458b0d139938668451ebbd0c11abfd8f7 100644 (file)
@@ -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.|
index 6761b284108a5cc52128a939e8d18f4b5f747090..e256ef2862233678dc58df661d631a1c5ee9d3ea 100644 (file)
@@ -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:
 
 <table>
 <tr>
index 47c0667417c74bb6896f9c1e2046aedd11681d57..96af3f9aa84ed2c4d007e0d2889e91c7b6d6c0a9 100644 (file)
@@ -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++) {
index d898ac4671f7978d044e7c5401f08f6991a281d8..2a14a07af1fcdfba8019c9ff135ec82c662b9422 100644 (file)
@@ -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,
index a325c6c359ad26f1c7202ff4700afa39b5d284c3..5b95a68418c4285c486f2381207e1d9bc25f5ec0 100644 (file)
@@ -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
  *
index 9b7e70c3cf419f8057bdba0f8472259ef6e1bf17..b821ca4463936985f5d2079cb283afc0859aaf49 100644 (file)
@@ -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;
 
index 63ff3001c7034e0c2f0e90f2dfc065a3d296ad8d..44f19d86973d7589b05ca5ec2b90e01edc6b2d81 100644 (file)
@@ -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();
index 9c406af671368c7568f850de3f6015368306c96f..10b7e9b68ee798185b5594ee7570cb00e1498050 100644 (file)
@@ -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.
index 70e260fc08ba6c9cc6d127b1f92fe714c432cfd4..dd76337bc67787f0f532921a29517f048777f8ef 100644 (file)
@@ -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.
     //
index 305570c1e6792ece4e8a2b28a83478a7a6f25921..73ce38c772e948e2837af86d9d02de7cee3637fa 100644 (file)
@@ -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);
index 0d222399943ccf52ad662c2c361357aa371b6eec..1726440b9447889928242581264b3c2d65d5fa51 100644 (file)
@@ -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
index 0e198892f1bdfb5a6a104633de2d481402231bec..d08eec73696f942443e1028d2839f5943709926f 100644 (file)
@@ -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
index 6b738face5e7fbbb923633419de6106315d3a007..e1f2b934aa65291913afdf7aba1aefc652a1a456 100644 (file)
@@ -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;
index d8a1348475abd86518d7d4347c3810ce1c210c33..ffb8c7ac3e89ab5cc4ad72e9d8816cbeb329b19f 100644 (file)
@@ -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;
                 }
index 3b3f8c5044041d4f8f3adeace562e6dcef679222..af75999860dbb4fc678bcdb4fb91d2aaad11ff1c 100644 (file)
@@ -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.
  *
index cf4d176ae4f1cf240705f37a6329cb2e623a4c14..5d784990f2cdcee34940785c34495ce5e7f80ba4 100644 (file)
@@ -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 <TT>[0..ucnv_countAvaiable()]</TT>)
+ * @param n the index to a converter available on the system (in the range <TT>[0..ucnv_countAvailable()]</TT>)
  * @return a pointer a string (library owned), or <TT>NULL</TT> if the index is out of bounds.
  * @see ucnv_countAvailable
  * @stable ICU 2.0
index 456389f265fea03d168aa1f69a07bd640e10d3c9..df88d858366a8952b08f88256b423da23553168c 100644 (file)
@@ -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 &copyFrom(const UnicodeString &src, UBool fastCopy=false);
 
   // Copies just the fields without memory management.
index 8e9b9b8201288728e0994d7448381ce3da3c6b1b..89d0762480d460a5cd60ef1b95f14a12bec5f303 100644 (file)
@@ -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);
 
index 573a21bf4d6ebf825bd113254a75ee7e427db8a3..649a02812e84f2934622fba942854e56c9aafb83 100644 (file)
@@ -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 ;
index 9c1b1025f4c9e8a026ab1b2c52e14f2c3002eaba..81dfa7067c6cebc965ea8b09eaf2e276c103c53c 100644 (file)
@@ -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
index 45ac6ddcd5839b58d7604fb2d2029e7cea54998a..b411b4f12f6bf95234d177879a5b517d055f5d37 100644 (file)
@@ -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.)
index cee2f8e94984030bad4562d427eb8be1c3ff6eb6..42d00a0ad4f74ca9be59bf9d49ab07f6974a3594 100644 (file)
@@ -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     */
index e8d1b38653eb9d2b9edc8818ec0dc0e2f913c9f5..1c5a79b7021f0cf61e3918c356fd07220264d9f5 100644 (file)
 
 
   /* ---------------------------------------------------------------- */
-  /* Definitions for arbitary-precision modules (only valid after     */
+  /* Definitions for arbitrary-precision modules (only valid after     */
   /* decNumber.h has been included)                                   */
   /* ---------------------------------------------------------------- */
 
index a95910df0421d1fff3f7ece3a3678fb4dbdac437..372e17dc7bd63832e7ef444f331fb9782dac0868 100644 (file)
@@ -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:
index 690f6a4cae6c7273fe7bdefd5a25ad3144308841..81e3bf11090a908714dfe6df306cd2dce9e67838 100644 (file)
@@ -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
index 7cba167130f9004b65e005ec9a8ec90aea2aef70..3411a96bc60262d057bc5606ca429940f9db781d 100644 (file)
@@ -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;
     }
index 3981ea58512b907c7dd62777f81147e4f9fdb0d2..1ada0a470287e7a52e76f5a8833867d385837777 100644 (file)
@@ -25,7 +25,7 @@ U_NAMESPACE_BEGIN
  * Concrete class which provides the Indian calendar.
  * <P>
  * <code>IndianCalendar</code> is a subclass of <code>Calendar</code>
- * 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
index d324c6e409bd34d9e651e1a9928e388be34c20a2..7a360e1076b0a563e84efb70836665c575dd983f 100644 (file)
@@ -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.
  * <p>
index dcf8d852e2c20e5544c4feede8c964009110e55a..ffbbf152d33240b0edc32b89b1d5b4ffd5414c48 100644 (file)
@@ -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) {
index 86b079cdd45eb60abb3da5ae580dc37fe2d92946..1bd6942bf9da61436a70a70f5164c7bb59dd3383 100644 (file)
@@ -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];
index 7c3a0551c32992d4f068320f69d57c990dc15624..bd2bc30cd9495945342bdd064fcd474758f26c3d 100644 (file)
@@ -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
index 4873caaee6d45724afa85fd92b8b283767d6392b..aa2ad7fc46892f7f8b9b6a45a2c5083a7cfa492b 100644 (file)
@@ -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.
index ad069cb8f36b1ca90c6a3e07b96121647c62ddb5..b75d80fa5015951cbd15397c6b85e5e47e56dab0 100644 (file)
@@ -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);
 
index 8e496329ad35fbdfe8d59a9d58ce490b26963fea..c9a1bcae58656d73b7d3cdf829aa80e77cb731e1 100644 (file)
@@ -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);
                     }
index 7972e2bb040dfd741cd16cabbf913f3e1430f5eb..0b1921eee8f9cd8eff85061142621afeefe9ff65 100644 (file)
@@ -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.
 //
index 78f538ccecdda7664ab9cc3247c776bd73545bdd..918d5087497ee9ee7c2df97ddb29e1637fe6ea64 100644 (file)
@@ -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;
index 41d5c931e4099e58043d8c3b33ed13c87c18ad6d..904da0207bc239a3997c313a89c3502ea609726b 100644 (file)
@@ -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;
index 2d9bc8f2e2b0f807b3b03e69660fe4648dacddbb..14b57a114dc3a53fd46434841ff2b7af89c4afb5 100644 (file)
@@ -132,7 +132,7 @@ class NumberFormat;
  *   <li>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.
  *   <li>Quotable syntax characters are the {curly braces} in all messageText parts,
  *       plus the '#' sign in a messageText immediately inside a pluralStyle,
index 3fbfcb4e2736d1f68534c0a721f2794b77ff0255..57ceb37d7fc3d22c6d2fa73848c2284b3e832c36 100644 (file)
@@ -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
index 7680c687ce4daf89ecec3c9738cf6ae76d22453d..bf675bef51b51cdd59088fad69ac6bc7f063013b 100644 (file)
@@ -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
index 34b371b16bf887f07a51e20ea42a3c7b6d66e883..383b8da23f8aed5b9a217a01a00e909a51e9c204 100644 (file)
@@ -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
index 81208ab96d739a5a49af76e858f05faddc2a3e1e..8b9fdec0afe21aa2a825204ac4f45c95c7ec08e9 100644 (file)
@@ -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 {
index 96f5e85891244e6e23fa73b8208cd03ed1de6969..d1b6d8d820457c7cc76c7f066e5c3b21ffc95c2e 100644 (file)
@@ -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
index 433ed4c29398c0dadae20e26e383a66cbf38f378..a6d93300638845b4960fbb4c5b4cb83fff42c772 100644 (file)
@@ -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
index 50a8815e3a73ef66c4bfcd3c9e7cc2b137cd4b7f..23bbea6d72588d48400a78f35a8db7182eae4655 100644 (file)
@@ -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
index bcd197b955b122d23284a116b07311d5ae812693..92dfc386a52705f7ec3ce24e53c3cbe9c317c65b 100644 (file)
@@ -310,7 +310,7 @@ public:
     virtual ~FontRuns();
 
     /**
-     * Get the <code>LEFontInstance</code> object assoicated with the given run
+     * Get the <code>LEFontInstance</code> object associated with the given run
      * of text. Use <code>RunArray::getLimit(run)</code> to get the corresponding
      * limit index.
      *
@@ -447,7 +447,7 @@ public:
     virtual ~LocaleRuns();
 
     /**
-     * Get the <code>Locale</code> object assoicated with the given run
+     * Get the <code>Locale</code> object associated with the given run
      * of text. Use <code>RunArray::getLimit(run)</code> 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 <code>RunArray::getLimit(run)</code> to get the corresponding
      * limit index.
      *
index 48888fdc1fbd59f750d358c036c8f4b10cc1a96c..f58f64c22471b0d14a5fd2d1249b952888188a2b 100644 (file)
@@ -138,7 +138,7 @@ pl_getFontRunLimit(const pl_fontRuns *fontRuns,
                    le_int32 run);
 
 /**
- * Get the <code>le_font</code> object assoicated with the given run
+ * Get the <code>le_font</code> object associated with the given run
  * of text. Use <code>pl_getFontRunLimit(run)</code> 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
  * <code>pl_getValueRunLimit(run)</code> to get the corresponding
  * limit index.
  *
@@ -403,7 +403,7 @@ pl_getLocaleRunLimit(const pl_localeRuns *localeRuns,
                      le_int32 run);
 
 /**
- * Get the <code>le_font</code> object assoicated with the given run
+ * Get the <code>le_font</code> object associated with the given run
  * of text. Use <code>pl_getLocaleRunLimit(run)</code> to get the corresponding
  * limit index.
  *
index 95766d6d09bf49654ee95fa1494b174194e36fbd..282602364b8ec13431e500187aa4a9e51024e727 100644 (file)
@@ -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 <code>RunArray::getLimit(run)</code> to get the corresponding
      * limit index.
      *
index c15d2771e5facc620a83a593783e38985b476b8c..da7d1a6b9654b5d5e4f842427e18b65573a3713a 100644 (file)
@@ -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;
index b4364a69096dfee7f030a6acf65ddc671e0b17b5..d43b1bee400a34ad8e4ebcc8a5c608f29306a3c9 100644 (file)
@@ -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);
index 9f4dae438e2130f4f19bbd20fa907c9534795def..6fdaaebc39441270c2d23f148fb304cc0f1ea360 100644 (file)
@@ -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;
     }
 
index f736cb910eec9a3d18bf927e7a8d334eced49841..c2522593440d853d2e168961b045782d982daa14 100644 (file)
@@ -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);
index 3155172029c9122c92b2f8a2dde44fe9ca162806..007d8e18da09de3a9262a10717b542c5f2816c8c 100644 (file)
@@ -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++) {
index 22a1cb3bcacf623c4d74c8860f6391cecf350cc4..da61e3ba9cfd0139c07a15bc931a430ad0c06fdf 100644 (file)
@@ -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();
index c015197ba2bc58ced7f04391871d89d3c8d703ff..9610fb6eeb77989ac3f2321644bfd2c9a5ff8ae4 100644 (file)
@@ -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;
index 70823498ccd7cc5edc23103ff28ecc612e92dde2..8e220dc3661c2b85aad8501d5c7da16727d0d124 100644 (file)
@@ -38,7 +38,7 @@ private:
     void testOrdinal();
     void testSelect();
     void testSelectRange();
-    void testAvailbleLocales();
+    void testAvailableLocales();
     void testParseErrors();
     void testFixedDecimal();
     void testSelectTrailingZeros();
index fdb496e6c70425d5698803438bae21b7dc9a0f26..a3334f5a43938e5661474642c3d4b89f2745828b 100644 (file)
@@ -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) {
index 335bcf07cad127096219be7f99bebb0289102f0b..e55aa8fbe3750345b3035c3f41758dc125dea8df 100644 (file)
@@ -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() {
index dd2153650abf74e72efa69d912ea8f712823f932..87edcaca8f48e4430996a98ee20e5fc71cf233f4 100644 (file)
@@ -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();
index 83b5863cba56ee10b3aad133d4b64dc3f0b94f1e..0a0890e9e5cbc0cd728d4414135b71b0e0ea9295 100644 (file)
@@ -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.
  */
index 5e44547ea1e8161025846394000bb88046e245ed..34d2a26043c950d26fd9c7a6644e4715d3839964 100644 (file)
@@ -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;
 }
index d1d4043dd4a45f8c4d7a7b2e51bba597191c7d59..d205159056374a1c88ab6e1f44a007b481e833cd 100644 (file)
@@ -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 */
index 482d6f65aa74c90225dcd6b43e4f7634b5e1429f..5a03856487b855e34f54e5309d822f3f2973c2da 100644 (file)
@@ -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.
         
index f38498c6ee27479e65f46d4b0d154fc300ce614d..e1b9b54c28474899a3d9a4c8cd9c176a382d47ef 100644 (file)
@@ -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
index 84f6a9adf6c02bb8e39c782c5ca50e5e89a9f76c..34351994e4d68c4579d28202ff7a3ca0764a2e69 100644 (file)
@@ -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);
index 8b00e7bfb78e1c0ba2f392b08fc727eeb33dd660..6c4f07bc3b35ef0d50e0e03f7c6bc03833395de9 100644 (file)
@@ -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" };
 
     /**
index d14e27ef1a95fb484b0b85c64755463cf2bba66f..e11d5ca4808f2fc8852e63392aabe90b7a99cd58 100644 (file)
@@ -342,7 +342,7 @@ import com.ibm.icu.util.ULocale.Category;
  *     numbers must be restricted to a 32-bit <code>int</code>.  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 <code>Long.MIN_VALUE</code> and
  *     <code>Long.MAX_VALUE</code>.</li>
  *
@@ -1922,7 +1922,7 @@ public class Calendar implements Serializable, Cloneable, Comparable<Calendar> {
         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<Calendar> {
 //    /**
 //     * {@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 <code>WALLTIME_FIRST</code>
 //     * is used, the wall time 1:30AM in this example will be interpreted as 1:30 AM EDT
 //     * (first occurrence). When <code>WALLTIME_LAST</code> is used, it will be
index 4ef038a904f6cfbf32831fc1637807d5bfeb5f62..40ca8434c878773882187922c7757e26ece932ba 100644 (file)
@@ -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(&amp;#DDDD;)\endhtmlonly
-     * TO_U_CALLBACK_ESCAPE context option to escape the character value accoding to XML Decimal escape \htmlonly(&amp;#DDDD;)\endhtmlonly
+     * TO_U_CALLBACK_ESCAPE context option to escape the character value according to XML Decimal escape \htmlonly(&amp;#DDDD;)\endhtmlonly
      */
     private static final String ESCAPE_XML_DEC  = "D";
 
index 3401c298551d137baf0589efb863c6a9396bb28e..ca490af46931e59350c1d719dcc886320f4f2cb9 100644 (file)
@@ -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;
                 }
index e0f9ebfd5ba3006333b159238749dc8b94a5a8c3..1d770197d89f54850842667577f0a81aa7c1fffd 100644 (file)
@@ -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
index 8a4aa3e2eb7a84b5c960984b241c72bc21ebed5a..c8d385e89f07985ec6742948a490ea4239edfceb 100644 (file)
@@ -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
index 820b387d15cebab5cd5310fa1062aaf997496c03..32f78d7159c2fbf71f9089311e8cebec804ffefb 100644 (file)
@@ -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.)
index b6120281322f8ba72ba73af1e86e77af77fc2b93..e2f25b4e1d0ce1da6dbc42347c737696f8791563 100644 (file)
@@ -49,7 +49,7 @@ import com.ibm.icu.util.RangeValueIterator;
  * <p>There are basically 3 usage scenarios for porting:</p>
  * <p>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.
  * </p>
  * <p>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
     * <p>Returns true if we are not at the end of the iteration, false
     * otherwise.</p>
     * <p>The next set of codepoints with the same value type will be
-    * calculated during this call and returned in the arguement element.</p>
+    * calculated during this call and returned in the argument element.</p>
     * @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.
index af5c7e8d40304a7af95c3d676b91141ebd07a766..d74c231436085e34b67c4d2f7837a31f05938e41 100644 (file)
@@ -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.
      */
index 3d58548ae5a9867c73c1a8845f7bfed573a1ab1b..10503d45ea31325109f3b2bc7c666ac90e6b69c5 100644 (file)
@@ -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.
          */
index 29a408be948b8c070a67954733d98d5f667fed1c..535d38236677f62a2d94be9a0d319da6e9c223e8 100644 (file)
@@ -130,7 +130,7 @@ import com.ibm.icu.util.ULocale.Category;
  *   <li>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.
  *   <li>Quotable syntax characters are the {curly braces} in all messageText parts,
  *       plus the '#' sign in a messageText immediately inside a pluralStyle,
index 1893eb4a0353d41f9d50ee50eaafe75d1c946785..fae2773bac5161a506db5183f3d41914c18b42ca 100644 (file)
@@ -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
index 3423190aba7fbf83acd082b4497832e1200221ad..854876ef1af17bf37040fcee090e65c40869b2ff 100644 (file)
@@ -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.
            //
index cae7130f0f073f56ae6984e2c6c552ca9bf36395..53e10be47dd8567967ee5539e9aca75970113591 100644 (file)
@@ -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();
index d303e2ce38b4d6830380e17fb18536a01b780932..0aeb7e917a6e2d40abac1b6c2943e16ff8f0ddf7 100644 (file)
@@ -378,7 +378,7 @@ import com.ibm.icu.util.ULocale.Category;
  *     numbers must be restricted to a 32-bit <code>int</code>.  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 <code>Long.MIN_VALUE</code> and
  *     <code>Long.MAX_VALUE</code>.</li>
  *
@@ -4011,7 +4011,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
         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
@@ -4159,7 +4159,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
     /**
      * {@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 <code>WALLTIME_FIRST</code>
      * is used, the wall time 1:30AM in this example will be interpreted as 1:30 AM EDT
      * (first occurrence). When <code>WALLTIME_LAST</code> is used, it will be
index e48e7995284b4726844507ead1a051fee152be5e..b8ae53c792c169a44139a27066737445e257bc21 100644 (file)
@@ -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"),
index e8b96f520fda7b16446a69a1dd33a72ece6cd94e..3779e5424af07244b8e022a48df8713d37b3e2bb 100644 (file)
@@ -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.
     //
index 0e3087d0ea48b5aefe1545ba27b19dee41838963..6b6be83789e98cccfe4e56e8ca1902afd93efa6c 100644 (file)
@@ -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
index dfbe21f9c7cf8924ea2a2614a51d8f4b52c515ec..53422e842c4a59ea5fde2c1ce4c2dbf3d35fc5b4 100644 (file)
@@ -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
 
index 6f625c3ddf807851921635a01dfb9fb9c9ec0d3d..9b21acc704a84d13042cdd53a0f55d29268f1b6d 100644 (file)
@@ -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
      */
index 1d25c0dab287b4cca165a06b7539347f7cdc5b94..3af46be291d6d38d10a9bf5973258896de575f78 100644 (file)
 䰙 < 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;
 㶬 < 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\);
 經營 < 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;
 媒體接口連接器 < 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;
 憀 < to\-rely\-on;
 引人注意 < attractive;
 手稿 < manuscript;
-抹油 < to\-annoint;
+抹油 < to\-anoint;
 愓 < profligate;
 表尺 < rear\-sight;
 惏 < avaricious;
 願意不願意 > 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;
 不遠千里 > 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;
 聖靈 > holy\-ghost;
 指控 > accusation;
 手稿 > manuscript;
-抹油 > to\-annoint;
+抹油 > to\-anoint;
 表尺 > rear\-sight;
 畢業 > graduation;
 固執 > persistent;
 䰙 > 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;
 㶬 > 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;
index daaca180d1c82666bd6d4108040626443091050b..7b94ebd180a074c2f1295f099e39196464c48925 100644 (file)
@@ -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
index 5bfdaaceb9fef69158c93d0d88bf67413cb32c33..ca51c1b87dd8abc4d6addc2484c76160c7cfbd11 100644 (file)
@@ -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
index 0b0cf1ad2e239b737fbe3952d991652fc1b277ad..16c95a1ebab158103f74aa5e3cf2e197ef7aa247 100644 (file)
@@ -245,7 +245,7 @@ public final class UnicodeMap<T> implements Cloneable, Freezable<UnicodeMap<T>>,
     /**
      * 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
      */
index 4a8068d2bed561184eb08ac13d02d6ca012b9cc8..33f7a485d736202651b03d721c4f5722b4d500da 100644 (file)
@@ -152,7 +152,7 @@ public abstract class PerfTest {
                     }
                 }
             }
-            return orgNames; // begining with 'test', keeping case
+            return orgNames; // beginning with 'test', keeping case
         }
 
         /**
index ca8b25beded9691d66d6ef149b263c2dfd7966b2..db7ff39864ad3efe206f1f37bf2e6725004625b6 100644 (file)
@@ -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)
     {
index 8d7fddc54d6649e0c1c71488014fb3c56da652dd..99156f50afb6010b77eb9cc238ea3c9d696c1112 100644 (file)
@@ -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
index f7502ea96f30c3962ecc0160dcce17b0ed79d18c..91165f151cd30237b1b77bc63d0e2db76ced8dd2 100644 (file)
@@ -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
       }
index 97f925768ee357baf5526e15ce7732aabcfc29a9..d7e2f918b9597f6e141feb5c4495138c8b7eebbe 100644 (file)
@@ -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 
index 4730637949ba78d11af1fa337075e5b5d14a6630..9e9ca740db01bf0423161887f48910532ef988c9 100644 (file)
@@ -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 
index c3bcf1ffb3f1835e0f84ba341aeab4d8b8942ecf..86beb169971d633d657cb49008b39263978a4934 100644 (file)
@@ -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 Myllymäki
 # @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 
index b0b13b7c9b5368ce5e69a631af7c41738c6b8d2d..d5ebd4dc7472393162727727945a06b5595da592 100644 (file)
@@ -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 
index abdd71452b850748d0395070fec575079be21be5..dfd159dde10fe4a68a6a50e0a2ce5c4ff58bd3f9 100644 (file)
@@ -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: