]> granicus.if.org Git - icu/commitdiff
ICU-20228 Fix common typos for "language".
authorFredrik Roubert <roubert@google.com>
Mon, 22 Oct 2018 18:23:27 +0000 (20:23 +0200)
committerFredrik Roubert <fredrik@roubert.name>
Wed, 24 Oct 2018 18:54:10 +0000 (20:54 +0200)
icu4c/source/common/unicode/rbbi.h
icu4c/source/data/in/unames.icu
icu4c/source/test/cintltst/cloctst.h
icu4c/source/test/intltest/loctest.cpp
icu4j/main/classes/core/src/com/ibm/icu/util/LocaleMatcher.java

index 47abd554eaf0f174fb9db59ab60cd1b6bfb71499..8c44d8d3b105b6ebf49f48ed9603044c7515a253 100644 (file)
@@ -107,7 +107,7 @@ private:
      *
      * If present, the special LanguageBreakEngine used for handling
      * characters that are in the dictionary set, but not handled by any
-     * LangugageBreakEngine.
+     * LanguageBreakEngine.
      * @internal (private)
      */
     UnhandledEngine     *fUnhandledBreakEngine;
index ce549a4829a5e95c6371211b10e2e64205cc277d..7056d1a23a6d682fecb3917e19338d108275332a 100644 (file)
Binary files a/icu4c/source/data/in/unames.icu and b/icu4c/source/data/in/unames.icu differ
index 411ff5c9fe58a6446f29765ae56d781a4f340fb6..fa117fa081d4dcc14ff960f7a14111f4e06aaf50 100644 (file)
@@ -121,7 +121,7 @@ static void TestOrientation(void);
 static void TestLikelySubtags(void);
 
 /**
- * lanuage tag
+ * language tag
  */
 static void TestForLanguageTag(void);
 static void TestInvalidLanguageTag(void);
index c467472767d8287755e2270c651cc5fc9684e231..8a88c59b2266a09e75db625a0175055c11a3dbfc 100644 (file)
@@ -49,7 +49,7 @@ static const char* const rawData[33][8] = {
         // LCID
         {   "409", "40c", "403", "408", "814", "10",     "0",   "804"  },
 
-        // display langage (English)
+        // display language (English)
         {   "English",  "French",   "Catalan", "Greek",    "Norwegian",    "Italian",  "xx",   "Chinese" },
         // display script (English)
         {   "",     "",     "",     "",     "",   "",     "",   "Simplified Han" },
@@ -62,7 +62,7 @@ static const char* const rawData[33][8] = {
         // (part of Euro support).
         {   "English (United States)", "French (France)", "Catalan (Spain)", "Greek (Greece)", "Norwegian (Norway, NY)", "Italian", "xx (YY)", "Chinese (Simplified, China)" },
 
-        // display langage (French)
+        // display language (French)
         {   "anglais",  "fran\\u00E7ais",   "catalan", "grec",    "norv\\u00E9gien",    "italien", "xx", "chinois" },
         // display script (French)
         {   "",     "",     "",     "",     "",     "",     "",   "sinogrammes simplifi\\u00E9s" },
@@ -86,7 +86,7 @@ static const char* const rawData[33][8] = {
         /* display name (Catalan) */
         {   "angl\\u00E8s (Estats Units)", "franc\\u00E8s (Fran\\u00E7a)", "catal\\u00E0 (Espanya)", "grec (Gr\\u00E8cia)", "noruec (Noruega, NY)", "itali\\u00E0", "", "xin\\u00E8s (simplificat, Xina)" },
 
-        // display langage (Greek)[actual values listed below]
+        // display language (Greek)[actual values listed below]
         {   "\\u0391\\u03b3\\u03b3\\u03bb\\u03b9\\u03ba\\u03ac",
             "\\u0393\\u03b1\\u03bb\\u03bb\\u03b9\\u03ba\\u03ac",
             "\\u039a\\u03b1\\u03c4\\u03b1\\u03bb\\u03b1\\u03bd\\u03b9\\u03ba\\u03ac",
@@ -121,7 +121,7 @@ static const char* const rawData[33][8] = {
             "\\u039A\\u03B9\\u03BD\\u03B5\\u03B6\\u03B9\\u03BA\\u03AC (\\u0391\\u03c0\\u03bb\\u03bf\\u03c0\\u03bf\\u03b9\\u03b7\\u03bc\\u03ad\\u03bd\\u03bf, \\u039A\\u03AF\\u03BD\\u03B1)"
         },
 
-        // display langage (<root>)
+        // display language (<root>)
         {   "English",  "French",   "Catalan", "Greek",    "Norwegian",    "Italian",  "xx", "" },
         // display script (<root>)
         {   "",     "",     "",     "",     "",   "",     "", ""},
index 883a0839afa697e9c5c1236e506c8a03289c1ff6..49c67aa5bf86b7ea30060d0753ea9ee7109d6af4 100644 (file)
@@ -267,7 +267,7 @@ public class LocaleMatcher {
         ULocale bestTableMatch = null;
         String baseLanguage = maximized.getLanguage();
         Set<R3<ULocale, ULocale, Double>> searchTable = desiredLanguageToPossibleLocalesToMaxLocaleToData.get(baseLanguage);
-        if (searchTable != null) { // we preprocessed the table so as to filter by lanugage
+        if (searchTable != null) { // we preprocessed the table so as to filter by language
             if (DEBUG) System.out.println("\tSearching: " + searchTable);
             for (final R3<ULocale, ULocale, Double> tableKeyValue : searchTable) {
                 ULocale tableKey = tableKeyValue.get0();