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:
parent
e5ec8441c9
commit
5e534f4d83
Notes:
github-actions[bot]
2024-12-05 08:50:46 +00:00
Author: https://github.com/trflynn89
Commit: 5e534f4d83
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2760
4 changed files with 12 additions and 22 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue