From 3e9a805cc38173b9c572c691ac49fdb63cb3ebea Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Sun, 18 Jul 2004 20:49:33 +0000 Subject: [PATCH] ICU-3771 Update iso-639 list X-SVN-Rev: 16047 --- icu4c/source/common/uloc.c | 12 ++++++------ icu4c/source/data/locales/en.txt | 2 ++ icu4c/source/data/locales/root.txt | 2 ++ icu4c/source/test/intltest/loctest.cpp | 5 +++-- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/icu4c/source/common/uloc.c b/icu4c/source/common/uloc.c index 51740142c23..642595cb8ac 100644 --- a/icu4c/source/common/uloc.c +++ b/icu4c/source/common/uloc.c @@ -159,7 +159,7 @@ static const char * const LANGUAGES[] = { "mus", "mwr", "my", "myn", "myv", "na", "nah", "nai", "nap", "nb", "nd", "nds", "ne", "new", "ng", "nia", "nic", "niu", "nl", "nn", "no", "nog", "non", "nr", "nso", "nub", - "nv", "ny", "nym", "nyn", "nyo", "nzi", "oc", "oj", + "nv", "nwc", "ny", "nym", "nyn", "nyo", "nzi", "oc", "oj", "om", "or", "os", "osa", "ota", "oto", "pa", "paa", "pag", "pal", "pam", "pap", "pau", "peo", "phi", "phn", "pi", "pl", "pon", "pra", "pro", "ps", "pt", "qu", @@ -172,7 +172,7 @@ static const char * const LANGUAGES[] = { "srr", "ss", "ssa", "st", "su", "suk", "sus", "sux", "sv", "sw", "syr", "ta", "tai", "te", "tem", "ter", "tet", "tg", "th", "ti", "tig", "tiv", "tk", "tkl", - "tl", "tli", "tmh", "tn", "to", "tog", "tpi", "tr", + "tl", "tlh", "tli", "tmh", "tn", "to", "tog", "tpi", "tr", "ts", "tsi", "tt", "tum", "tup", "tut", "tvl", "tw", "ty", "tyv", "udm", "ug", "uga", "uk", "umb", "und", "ur", "uz", "vai", "ve", "vi", "vo", "vot", "wa", "wak", @@ -275,8 +275,8 @@ static const char * const LANGUAGES_3[] = { "nob", "nde", "nds", "nep", "new", "ndo", "nia", "nic", /* "niu", "nl", "nn", "no", "nog", "non", "nr", "nso", "nub", */ "niu", "nld", "nno", "nor", "nog", "non", "nbl", "nso", "nub", -/* "nv", "ny", "nym", "nyn", "nyo", "nzi", "oc", "oj", */ - "nav", "nya", "nym", "nyn", "nyo", "nzi", "oci", "oji", +/* "nv", "nwc", "ny", "nym", "nyn", "nyo", "nzi", "oc", "oj", */ + "nav", "nwc", "nya", "nym", "nyn", "nyo", "nzi", "oci", "oji", /* "om", "or", "os", "osa", "ota", "oto", "pa", "paa", */ "orm", "ori", "oss", "osa", "ota", "oto", "pan", "paa", /* "pag", "pal", "pam", "pap", "pau", "peo", "phi", "phn", */ @@ -301,8 +301,8 @@ static const char * const LANGUAGES_3[] = { "swe", "swa", "syr", "tam", "tai", "tel", "tem", "ter", /* "tet", "tg", "th", "ti", "tig", "tiv", "tk", "tkl", */ "tet", "tgk", "tha", "tir", "tig", "tiv", "tuk", "tkl", -/* "tl", "tli", "tmh", "tn", "to", "tog", "tpi", "tr", */ - "tgl", "tli", "tmh", "tsn", "ton", "tog", "tpi", "tur", +/* "tl", "tlh", "tli", "tmh", "tn", "to", "tog", "tpi", "tr", */ + "tgl", "tlh", "tli", "tmh", "tsn", "ton", "tog", "tpi", "tur", /* "ts", "tsi", "tt", "tum", "tup", "tut", "tvl", "tw", */ "tso", "tsi", "tat", "tum", "tup", "tut", "tvl", "twi", /* "ty", "tyv", "udm", "ug", "uga", "uk", "umb", "und", "ur", */ diff --git a/icu4c/source/data/locales/en.txt b/icu4c/source/data/locales/en.txt index 939654d8f3f..a4e79adaf43 100644 --- a/icu4c/source/data/locales/en.txt +++ b/icu4c/source/data/locales/en.txt @@ -1051,6 +1051,7 @@ en { nso { "Sotho, Northern" } nub { "Nubian Languages" } nv { "Navajo"} + nwc { "Classical Newari" } ny { "Nyanja; Chichewa; Chewa" } nym { "Nyamwezi" } nyn { "Nyankole" } @@ -1157,6 +1158,7 @@ en { tk { "Turkmen" } tkl { "Tokelau" } tl { "Tagalog" } + tlh { "Klingon" } // From the Star Trek TV/movie series tli { "Tlingit" } tmh { "Tamashek" } tn { "Tswana" } diff --git a/icu4c/source/data/locales/root.txt b/icu4c/source/data/locales/root.txt index d8924945b42..4f65b0ef007 100644 --- a/icu4c/source/data/locales/root.txt +++ b/icu4c/source/data/locales/root.txt @@ -1458,6 +1458,7 @@ root { nso { "nso" } nub { "nub" } nv { "nv" } + nwc { "nwc" } ny { "ny" } nym { "nym" } nyn { "nyn" } @@ -1564,6 +1565,7 @@ root { tk { "tk" } tkl { "tkl" } tl { "tl" } + tlh { "tlh" } tli { "tli" } tmh { "tmh" } tn { "tn" } diff --git a/icu4c/source/test/intltest/loctest.cpp b/icu4c/source/test/intltest/loctest.cpp index 93e0fdaf7d8..2b5014d0074 100644 --- a/icu4c/source/test/intltest/loctest.cpp +++ b/icu4c/source/test/intltest/loctest.cpp @@ -871,8 +871,9 @@ LocaleTest::TestGetLangsAndCountries() for(testCount = 0;test[testCount];testCount++) ; - if (testCount != 466) - errln("Expected getISOLanguages() to return 466 languages; it returned %d", testCount); + /* TODO: Change this test to be more like the cloctst version? */ + if (testCount != 468) + errln("Expected getISOLanguages() to return 468 languages; it returned %d", testCount); else { for (i = 0; i < 15; i++) { int32_t j;