1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00

LibJS+LibUnicode: Designate a sort order for Intl.PluralRules categories

This is a normative change in the ECMA-402 spec. See:
62fe5db
This commit is contained in:
Timothy Flynn 2024-12-04 12:47:40 -05:00 committed by Andreas Kling
parent e5ec8441c9
commit 5e534f4d83
Notes: github-actions[bot] 2024-12-05 08:50:46 +00:00
4 changed files with 12 additions and 22 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2024, Tim Flynn <trflynn89@serenityos.org>
* Copyright (c) 2021-2024, Tim Flynn <trflynn89@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@ -733,6 +733,7 @@ public:
result.append(plural_category_from_string({ category, static_cast<size_t>(length) }));
}
quick_sort(result);
return result;
}