mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 23:12:08 +00:00
LibUnicode: Parse Unicode CLDR scripts and generate locale mappings
This commit is contained in:
parent
ca77a7c573
commit
0f02def3c2
3 changed files with 45 additions and 0 deletions
|
@ -186,4 +186,13 @@ Optional<StringView> get_locale_territory_mapping([[maybe_unused]] StringView lo
|
|||
#endif
|
||||
}
|
||||
|
||||
Optional<StringView> get_locale_script_mapping([[maybe_unused]] StringView locale, [[maybe_unused]] StringView script)
|
||||
{
|
||||
#if ENABLE_UNICODE_DATA
|
||||
return Detail::get_locale_script_tag_mapping(locale, script);
|
||||
#else
|
||||
return {};
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue