mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibUnicode: Parse Unicode CLDR currencies and generate locale mappings
This commit is contained in:
parent
297db925fc
commit
8b93d51212
Notes:
sideshowbarker
2024-07-18 05:13:40 +09:00
Author: https://github.com/trflynn89
Commit: 8b93d51212
Pull-request: https://github.com/SerenityOS/serenity/pull/9622
Reviewed-by: https://github.com/linusg
3 changed files with 70 additions and 9 deletions
|
@ -195,4 +195,13 @@ Optional<StringView> get_locale_script_mapping([[maybe_unused]] StringView local
|
|||
#endif
|
||||
}
|
||||
|
||||
Optional<StringView> get_locale_currency_mapping([[maybe_unused]] StringView locale, [[maybe_unused]] StringView currency)
|
||||
{
|
||||
#if ENABLE_UNICODE_DATA
|
||||
return Detail::get_locale_currency_mapping(locale, currency);
|
||||
#else
|
||||
return {};
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue