mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 18:14:59 +00:00
LibUnicode: Generate default-content locales as aliases
Previously, we were just copying the locale data into default-content locales (for example, copying the "en" data into "en-US"). Instead, we can just define the default-content locales as aliases to their main locales.
This commit is contained in:
parent
9d1519e21c
commit
a13fa15a30
3 changed files with 49 additions and 43 deletions
|
@ -488,8 +488,6 @@ static void parse_all_locales(String core_path, String numbers_path, String unit
|
|||
auto& locale = locale_data.locales.ensure(*language);
|
||||
parse_units(units_path, locale_data, locale);
|
||||
}
|
||||
|
||||
parse_default_content_locales(move(core_path), locale_data);
|
||||
}
|
||||
|
||||
static String format_identifier(StringView owner, String identifier)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue