mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:17:35 +00:00
LibJS+LibUnicode: Convert UnicodeLocale to link with weak symbols
This commit is contained in:
parent
cf8e11a562
commit
f576142fe8
6 changed files with 68 additions and 148 deletions
|
@ -422,7 +422,7 @@ LocaleResult resolve_locale(Vector<String> const& requested_locales, LocaleOptio
|
|||
// b. Assert: Type(foundLocaleData) is Record.
|
||||
// c. Let keyLocaleData be foundLocaleData.[[<key>]].
|
||||
// d. Assert: Type(keyLocaleData) is List.
|
||||
auto key_locale_data = Unicode::get_locale_key_mapping(found_locale, key);
|
||||
auto key_locale_data = Unicode::get_locale_key_mapping_list(found_locale, key);
|
||||
|
||||
// e. Let value be keyLocaleData[0].
|
||||
// f. Assert: Type(value) is either String or Null.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue