mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
LibJS: Move CanonicalCodeForDisplayNames to Intl.DisplayNames
Intl.DisplayNames was the first Intl object implemented, and at that point all AOs were just put into the main Intl AO header. But AOs that belong to specific objects belong in that object's header. So this moves CanonicalCodeForDisplayNames to the Intl.DisplayNames header.
This commit is contained in:
parent
6ae1a80583
commit
094c390fb1
Notes:
sideshowbarker
2024-07-18 04:10:27 +09:00
Author: https://github.com/trflynn89
Commit: 094c390fb1
Pull-request: https://github.com/SerenityOS/serenity/pull/9960
Reviewed-by: https://github.com/linusg ✅
5 changed files with 70 additions and 68 deletions
|
@ -50,6 +50,5 @@ Optional<int> get_number_option(GlobalObject& global_object, Object& options, Pr
|
|||
Vector<PatternPartition> partition_pattern(StringView pattern);
|
||||
String insert_unicode_extension_and_canonicalize(Unicode::LocaleID locale_id, Unicode::LocaleExtension extension);
|
||||
LocaleResult resolve_locale(Vector<String> const& requested_locales, LocaleOptions const& options, Vector<StringView> const& relevant_extension_keys);
|
||||
Value canonical_code_for_display_names(GlobalObject&, DisplayNames::Type type, StringView code);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue