#
564de192 |
|
09-Mar-2021 |
Andrew Lindesay <apl@lindesay.co.nz> |
Locale: Support for Percent Formatting Updates BNumberFormat to be able to format percentages. Also re-introduces some unit tests and updates the BNumberFormat ones. This doesn't actually fix #16312 as the defaults for percentage formatting don't seem to track the selected language, but goes part way there. Related to #16312 Change-Id: Id6ddf426ce5571f4e8513c0eb1663cf42ac53cb1 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3767 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
7457ccb4 |
|
13-Aug-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
BMessageFormat: Rename to BStringFormat. The ICU class is named MessageFormat, but on Haiku, it sounds too much like something related to BMessage (which it isn't in the slightest) and not part of the Locale system. It works almost entirely with BStrings, so naming it BStringFormat makes much more sense. OK'ed by PulkoMandy and Humdinger.
|
#
cf911230 |
|
25-Aug-2017 |
Akshay Agarwal <agarwal.akshay.akshay8@gmail.com> |
Add unit tests for BRelativeDateTimeFormat. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
0da7796e |
|
07-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add BMessageFormat class. This can be used to format complex messages properly. It moves the complexity of handling plural forms, gender, and anything else needed into the localizable string, rather than hardcoding it in the code. This moves the difficulty of handling these things properly to people doing translations, rather than relying on developers to do it. Fixes #10755, but our localization must now be updated to make use of the feature.
|
#
cedd1e15 |
|
01-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add tests for BDurationFormat and BTimeUnitFormat.
|
#
dd21b466 |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add tests for BDateFormat.
|
#
d7f449e9 |
|
29-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Convert language tests to cppunit.
|
#
706f3f53 |
|
29-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Convert collator test to cppunit.
|
#
af59f5ca |
|
29-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Convert BUnicodeChar tests to cppunit.
|
#
0da7796e6c95de168ac77151a520c853c120a968 |
|
07-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add BMessageFormat class. This can be used to format complex messages properly. It moves the complexity of handling plural forms, gender, and anything else needed into the localizable string, rather than hardcoding it in the code. This moves the difficulty of handling these things properly to people doing translations, rather than relying on developers to do it. Fixes #10755, but our localization must now be updated to make use of the feature.
|
#
cedd1e158b898956252bfb746bff6bc072e7e8b9 |
|
01-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add tests for BDurationFormat and BTimeUnitFormat.
|
#
dd21b4666eae8c41fa054b0aedce6f79a899e2d4 |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add tests for BDateFormat.
|
#
d7f449e9bc4dc2d89a15cfd99dbe3e3c031c2bbd |
|
29-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Convert language tests to cppunit.
|
#
706f3f5396f5579fffda9a78107f99e8ac92c02a |
|
29-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Convert collator test to cppunit.
|
#
af59f5ca42e5107e22da9a9abd67826e6028ccf0 |
|
29-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Convert BUnicodeChar tests to cppunit.
|