1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:37:35 +00:00

LibJS: Add co, kf, and kn Unicode locale keywords to ResolveLocale

This commit is contained in:
Timothy Flynn 2022-01-29 11:30:46 -05:00 committed by Linus Groh
parent 4a3e142d55
commit 1607a05d4c
2 changed files with 12 additions and 0 deletions

View file

@ -363,8 +363,14 @@ static auto& find_key_in_value(T& value, StringView key)
{
if (key == "ca"sv)
return value.ca;
if (key == "co"sv)
return value.co;
if (key == "hc"sv)
return value.hc;
if (key == "kf"sv)
return value.kf;
if (key == "kn"sv)
return value.kn;
if (key == "nu"sv)
return value.nu;