ICU-22935 Add ZWG to static currency lists

This commit is contained in:
DraganBesevic 2024-10-03 17:42:28 -07:00 committed by DraganBesevic
parent ebbadebdfd
commit 42c2b39c14
3 changed files with 16 additions and 0 deletions

View file

@ -2024,6 +2024,7 @@ static const struct CurrencyList {
{"ZRN", UCURR_COMMON|UCURR_DEPRECATED},
{"ZRZ", UCURR_COMMON|UCURR_DEPRECATED},
{"ZWD", UCURR_COMMON|UCURR_DEPRECATED},
{"ZWG", UCURR_COMMON|UCURR_NON_DEPRECATED},
{"ZWL", UCURR_COMMON|UCURR_DEPRECATED},
{"ZWR", UCURR_COMMON|UCURR_DEPRECATED},
{ nullptr, 0 } // Leave here to denote the end of the list.

View file

@ -116,6 +116,9 @@ static void TestEnumList(void) {
// CLDR 45 and ICU-22726
expectInList("XCG", UCURR_ALL, true);
// CLDR 46 and ICU-22935
expectInList("ZWG", UCURR_ALL, true);
}
static void TestEnumListReset(void) {

View file

@ -1545,6 +1545,10 @@ structLocale:table(nofallback){
"",
"",
}
ZWG{
"",
"",
}
ZWL{
"",
"",
@ -4039,6 +4043,14 @@ structLocale:table(nofallback){
many{""}
other{""}
}
ZWG{
zero{""}
one{""}
two{""}
few{""}
many{""}
other{""}
}
ZWL{
zero{""}
one{""}