mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
LibUnicode: Generate a method to lookup locale-preferred keyword values
This commit is contained in:
parent
80568d5776
commit
f8f7015419
3 changed files with 57 additions and 21 deletions
|
@ -172,6 +172,7 @@ Optional<KeywordColCaseFirst> keyword_kf_from_string(StringView kf);
|
|||
Optional<KeywordColNumeric> keyword_kn_from_string(StringView kn);
|
||||
Optional<KeywordNumbers> keyword_nu_from_string(StringView nu);
|
||||
Vector<StringView> get_keywords_for_locale(StringView locale, StringView key);
|
||||
Optional<StringView> get_preferred_keyword_value_for_locale(StringView locale, StringView key);
|
||||
|
||||
Optional<DisplayPattern> get_locale_display_patterns(StringView locale);
|
||||
Optional<String> format_locale_for_display(StringView locale, LocaleID locale_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue