mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-11216 Removed language code 'wen' from the LCID mapping table. MS uses 'hsb' (and 'dsb') in the latest LCID reference document, but 'wen' is not used.
X-SVN-Rev: 36770
This commit is contained in:
parent
eb262cc17c
commit
605d7dd578
2 changed files with 10 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 1996-2013, International Business Machines
|
||||
* Copyright (C) 1996-2014, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*
|
||||
|
@ -400,6 +400,13 @@ ILCID_POSIX_SUBTABLE(hr) {
|
|||
{0x7c1a, "sr"} /* In CLDR sr is sr_Cyrl. */
|
||||
};
|
||||
|
||||
ILCID_POSIX_SUBTABLE(hsb) {
|
||||
{0x2E, "hsb"},
|
||||
{0x042E, "hsb_DE"},
|
||||
{0x082E, "dsb_DE"},
|
||||
{0x7C2E, "dsb"},
|
||||
};
|
||||
|
||||
ILCID_POSIX_ELEMENT_ARRAY(0x040e, hu, hu_HU)
|
||||
ILCID_POSIX_ELEMENT_ARRAY(0x042b, hy, hy_AM)
|
||||
ILCID_POSIX_ELEMENT_ARRAY(0x0469, ibb, ibb_NG)
|
||||
|
@ -686,16 +693,6 @@ ILCID_POSIX_SUBTABLE(ve) { /* TODO: Verify the country */
|
|||
};
|
||||
|
||||
ILCID_POSIX_ELEMENT_ARRAY(0x042a, vi, vi_VN)
|
||||
|
||||
ILCID_POSIX_SUBTABLE(wen) {
|
||||
{0x2E, "wen"},
|
||||
{0x042E, "wen_DE"},
|
||||
{0x042E, "hsb_DE"},
|
||||
{0x082E, "dsb_DE"},
|
||||
{0x7C2E, "dsb"},
|
||||
{0x2E, "hsb"}
|
||||
};
|
||||
|
||||
ILCID_POSIX_ELEMENT_ARRAY(0x0488, wo, wo_SN)
|
||||
ILCID_POSIX_ELEMENT_ARRAY(0x0434, xh, xh_ZA)
|
||||
ILCID_POSIX_ELEMENT_ARRAY(0x043d, yi, yi)
|
||||
|
@ -779,6 +776,7 @@ static const ILcidPosixMap gPosixIDmap[] = {
|
|||
ILCID_POSIX_MAP(he), /* he Hebrew (formerly iw) 0x0d */
|
||||
ILCID_POSIX_MAP(hi), /* hi Hindi 0x39 */
|
||||
ILCID_POSIX_MAP(hr), /* * Croatian and others 0x1a */
|
||||
ILCID_POSIX_MAP(hsb), /* hsb Upper Sorbian 0x2e */
|
||||
ILCID_POSIX_MAP(hu), /* hu Hungarian 0x0e */
|
||||
ILCID_POSIX_MAP(hy), /* hy Armenian 0x2b */
|
||||
ILCID_POSIX_MAP(ibb), /* ibb Ibibio - Nigeria 0x69 */
|
||||
|
@ -868,7 +866,6 @@ static const ILcidPosixMap gPosixIDmap[] = {
|
|||
ILCID_POSIX_MAP(uz), /* uz Uzbek 0x43 */
|
||||
ILCID_POSIX_MAP(ve), /* ve Venda 0x33 */
|
||||
ILCID_POSIX_MAP(vi), /* vi Vietnamese 0x2a */
|
||||
ILCID_POSIX_MAP(wen), /* wen Sorbian 0x2e */
|
||||
ILCID_POSIX_MAP(wo), /* wo Wolof 0x88 */
|
||||
ILCID_POSIX_MAP(xh), /* xh Xhosa 0x34 */
|
||||
ILCID_POSIX_MAP(yi), /* yi Yiddish 0x3d */
|
||||
|
|
|
@ -480,7 +480,7 @@ testLCID(UResourceBundle *currentBundle,
|
|||
log_verbose("WARNING: %-5s resolves to %s (0x%.4x)\n",
|
||||
localeName, lcidStringC, expectedLCID);
|
||||
}
|
||||
else if (strncmp(localeName, "hsb", 3) != 0 || !log_knownIssue("11216", "Duplicate LCID mapping for language hsb")) {
|
||||
else {
|
||||
log_err("ERROR: %-5s has 0x%.4x and the number resolves wrongfully to %s\n",
|
||||
localeName, expectedLCID, lcidStringC);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue