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
Notes:
sideshowbarker
2024-07-18 04:25:15 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/75657b79c6f Pull-request: https://github.com/SerenityOS/serenity/pull/9896 Reviewed-by: https://github.com/linusg ✅
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
Reference in a new issue