mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibJS: Implement Intl.DisplayNames.supportedLocalesOf()
This commit is contained in:
@@ -29,6 +29,9 @@ struct LocaleResult {
|
||||
Optional<Unicode::LocaleID> is_structurally_valid_language_tag(StringView locale);
|
||||
String canonicalize_unicode_locale_id(Unicode::LocaleID& locale);
|
||||
Vector<String> canonicalize_locale_list(GlobalObject&, Value locales);
|
||||
Vector<String> best_fit_supported_locales(Vector<String> const& requested_locales);
|
||||
Vector<String> lookup_supported_locales(Vector<String> const& requested_locales);
|
||||
Array* supported_locales(GlobalObject&, Vector<String> const& requested_locales, Value options);
|
||||
Object* coerce_options_to_object(GlobalObject& global_object, Value options);
|
||||
Value get_option(GlobalObject& global_object, Value options, PropertyName const& property, Value::Type type, Vector<StringView> const& values, Fallback fallback);
|
||||
String insert_unicode_extension_and_canonicalize(Unicode::LocaleID locale_id, Unicode::LocaleExtension extension);
|
||||
|
||||
Reference in New Issue
Block a user