1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

LibUnicode: Parse Unicode CLDR currencies and generate locale mappings

This commit is contained in:
Timothy Flynn 2021-08-26 08:38:54 -04:00 committed by Linus Groh
parent 297db925fc
commit 8b93d51212
3 changed files with 70 additions and 9 deletions

View file

@ -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
}
}