mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibUnicode: Update comment with link to related upstream issue
LibUnicode has to hard-code some aliases because the related data is not available in the JSON export of CLDR. Turns out there is a ticket to add this data in an upcoming CLDR release. Add a link to that ticket for reference.
This commit is contained in:
parent
32a2a02489
commit
75657b79c6
1 changed files with 1 additions and 2 deletions
|
@ -468,8 +468,7 @@ static void perform_hard_coded_key_value_substitutions(String& key, String& valu
|
|||
// https://github.com/unicode-org/cldr-staging/blob/master/production/common/bcp47/timezone.xml
|
||||
// https://github.com/unicode-org/cldr-staging/blob/master/production/common/bcp47/transform.xml
|
||||
//
|
||||
// There doesn't seem to be a counterpart in the JSON export. Since there aren't many such
|
||||
// aliases, until an XML parser is implemented, those aliases are implemented here.
|
||||
// There isn't yet a counterpart in the JSON export. See: https://unicode-org.atlassian.net/browse/CLDR-14571
|
||||
if ((key == "ca"sv) && (value == "islamicc"sv)) {
|
||||
value = "islamic-civil"sv;
|
||||
} else if (key.is_one_of("kb"sv, "kc"sv, "kh"sv, "kk"sv, "kn"sv) && (value == "yes"sv)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue