ICU-22726 Add new CLDR 45 currency code XCG also to gCurrencyList.

This commit is contained in:
Fredrik Roubert 2024-04-12 17:41:36 +02:00 committed by Markus Scherer
parent 530e9a509f
commit d8ee6843b9
3 changed files with 16 additions and 0 deletions

View file

@ -2003,6 +2003,7 @@ static const struct CurrencyList {
{"XBC", UCURR_UNCOMMON|UCURR_NON_DEPRECATED},
{"XBD", UCURR_UNCOMMON|UCURR_NON_DEPRECATED},
{"XCD", UCURR_COMMON|UCURR_NON_DEPRECATED},
{"XCG", UCURR_COMMON|UCURR_NON_DEPRECATED},
{"XDR", UCURR_UNCOMMON|UCURR_NON_DEPRECATED},
{"XEU", UCURR_UNCOMMON|UCURR_DEPRECATED},
{"XFO", UCURR_UNCOMMON|UCURR_NON_DEPRECATED},

View file

@ -113,6 +113,9 @@ static void TestEnumList(void) {
expectInList("VED", UCURR_NON_DEPRECATED, true);
expectInList("EQE", UCURR_ALL, false);
// CLDR 45 and ICU-22726
expectInList("XCG", UCURR_ALL, true);
}
static void TestEnumListReset(void) {

View file

@ -1437,6 +1437,10 @@ structLocale:table(nofallback){
"",
"",
}
XCG{
"",
"",
}
XDR{
"",
"",
@ -3843,6 +3847,14 @@ structLocale:table(nofallback){
many{""}
other{""}
}
XCG{
zero{""}
one{""}
two{""}
few{""}
many{""}
other{""}
}
XDR{
zero{""}
one{""}