mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02: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:
committed by
Andreas Kling
parent
9d1519e21c
commit
a13fa15a30
Notes:
sideshowbarker
2024-07-18 03:23:00 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/a13fa15a30c Pull-request: https://github.com/SerenityOS/serenity/pull/10947
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user