mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibUnicode: Add public accessors to generated locale data
This commit is contained in:
parent
b7a95cba65
commit
137e98cb6f
Notes:
sideshowbarker
2024-07-18 05:15:42 +09:00
Author: https://github.com/trflynn89
Commit: 137e98cb6f
Pull-request: https://github.com/SerenityOS/serenity/pull/9599
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/davidot
Reviewed-by: https://github.com/linusg ✅
2 changed files with 41 additions and 0 deletions
|
@ -37,4 +37,9 @@ Optional<LanguageID> parse_unicode_language_id(StringView);
|
|||
Optional<LocaleID> parse_unicode_locale_id(StringView);
|
||||
Optional<String> canonicalize_unicode_locale_id(LocaleID&);
|
||||
|
||||
String const& default_locale();
|
||||
bool is_locale_available(StringView locale);
|
||||
|
||||
Optional<StringView> get_locale_territory_mapping(StringView locale, StringView code);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue