1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 20:15:07 +00:00
serenity/Userland/Libraries/LibUnicode
Timothy Flynn 232df4196b LibUnicode: Replace NumberFormat::Plurality with Unicode::PluralCategory
To prepare for using plural rules within number & duration format, this
removes the NumberFormat::Plurality enumeration.

This also adds PluralCategory::ExactlyZero & PluralCategory::ExactlyOne.
These are used in locales like French, where PluralCategory::One really
means any value from 0.00 to 1.99. PluralCategory::ExactlyOne means only
the value 1, as the name implies. These exact rules are not known by the
general plural rules, they are explicitly for number / currency format.
2022-07-08 20:33:52 +02:00
..
CharacterTypes.cpp Meta+LibUnicode: Download and parse Unicode block properties 2022-02-15 10:13:19 -05:00
CharacterTypes.h Meta+LibUnicode: Download and parse Unicode block properties 2022-02-15 10:13:19 -05:00
CMakeLists.txt LibUnicode: Parse and generate per-locale plural rules from the CLDR 2022-07-08 11:51:54 +02:00
CurrencyCode.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
CurrencyCode.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
DateTimeFormat.cpp LibUnicode: Generate per-region week data 2022-07-06 16:56:42 +02:00
DateTimeFormat.h LibUnicode: Generate per-region week data 2022-07-06 16:56:42 +02:00
Forward.h LibUnicode: Parse and generate per-locale plural rules from the CLDR 2022-07-08 11:51:54 +02:00
Locale.cpp LibUnicode: Generate per-locale text layout information 2022-07-06 16:56:42 +02:00
Locale.h LibUnicode: Generate per-locale text layout information 2022-07-06 16:56:42 +02:00
NumberFormat.cpp AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
NumberFormat.h LibUnicode: Replace NumberFormat::Plurality with Unicode::PluralCategory 2022-07-08 20:33:52 +02:00
PluralRules.cpp LibJS+LibUnicode: Do not generate the PluralCategory enum 2022-07-08 20:33:52 +02:00
PluralRules.h LibUnicode: Replace NumberFormat::Plurality with Unicode::PluralCategory 2022-07-08 20:33:52 +02:00
RelativeTimeFormat.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
RelativeTimeFormat.h LibJS: Use Intl.PluralRules within Intl.RelativeFormat 2022-07-08 11:51:54 +02:00