]> granicus.if.org Git - icu/commitdiff
ICU-13336 Fix common typo: s/langauge/language/ig
authorFredrik Roubert <roubert@google.com>
Wed, 30 Aug 2017 18:15:10 +0000 (18:15 +0000)
committerFredrik Roubert <roubert@google.com>
Wed, 30 Aug 2017 18:15:10 +0000 (18:15 +0000)
X-SVN-Rev: 40361

icu4c/source/common/unicode/locid.h
icu4c/source/i18n/unicode/coll.h
icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ScriptIDModuleWriter.java

index a37c4a3ce28f852dc602db0574c822501ac77fb2..dd7d068a4e5400423de6b3cab60c36276ef1ffa6 100644 (file)
@@ -88,7 +88,7 @@ class UnicodeString;
  * <P>
  * The third constructor requires a third argument--the <STRONG>Variant.</STRONG>
  * The Variant codes are vendor and browser-specific.
- * For example, use REVISED for a langauge's revised script orthography, and POSIX for POSIX.
+ * For example, use REVISED for a language's revised script orthography, and POSIX for POSIX.
  * Where there are two variants, separate them with an underscore, and
  * put the most important one first. For
  * example, a Traditional Spanish collation might be referenced, with
index 7e467df80e040997422a286281a39026c7c23258..d03570509ecebbdfbeb1ca215bd33703785e7f8e 100644 (file)
@@ -672,7 +672,7 @@ public:
                                 UErrorCode& status);
 
     /**
-     * Get name of the object for the desired Locale, in the desired langauge
+     * Get name of the object for the desired Locale, in the desired language
      * @param objectLocale must be from getAvailableLocales
      * @param displayLocale specifies the desired locale for output
      * @param name the fill-in parameter of the return value
@@ -685,7 +685,7 @@ public:
                                          UnicodeString& name);
 
     /**
-    * Get name of the object for the desired Locale, in the langauge of the
+    * Get name of the object for the desired Locale, in the language of the
     * default locale.
     * @param objectLocale must be from getAvailableLocales
     * @param name the fill-in parameter of the return value
index 7f6510976642fde9b6ba32d99761c21318771cf8..c04e56edbf7cfcf39f2d351211f847af13966e32 100644 (file)
@@ -172,16 +172,16 @@ public class ScriptIDModuleWriter extends ScriptModuleWriter
                 output.println(format.format(args));
             }
 
-            for (int langauge = previousTotalLanguages+1; langauge <= totalLanguage; langauge += 1) {
+            for (int language = previousTotalLanguages+1; language <= totalLanguage; language += 1) {
                 output.print("    ");
-                output.print(languageData.getTagLabel(langauge).toLowerCase());
+                output.print(languageData.getTagLabel(language).toLowerCase());
                 output.print("ScriptCode = ");
                 
-                if (langauge < 10) {
+                if (language < 10) {
                     output.print(" ");
                 }
                 
-                output.print(langauge);
+                output.print(language);
                 output.println(",");
             }  
         }