Path to this page:
Subject: CVS commit: pkgsrc/devel/py-babel
From: Adam Ciarcinski
Date: 2017-04-06 08:49:18
Message id: 20170406064918.DC64BFBE4@cvs.NetBSD.org
Log Message:
Version 2.4.0
New Features
~~~~~~~~~~~~
Some of these changes might break your current code and/or tests.
* CLDR: CLDR 29 is now used instead of CLDR 28
* Messages: Add option 'add_location' for location line formatting
* Numbers: Allow full control of decimal behavior
Minor Improvements and bugfixes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Documentation: Improve Date Fields descriptions
* Documentation: Typo fixes and documentation improvementscs10)
* Messages: Default to UTF-8 source encoding instead of ISO-8859-1
* Messages: Ensure messages are extracted in the order they were passed in
* Messages: Message extraction for JSX files is improved
* Messages: PO file reading supports multi-line obsolete units
* Messages: Python message extractor respects unicode_literals in __future__
* Messages: Roundtrip Language headers
* Messages: units before obsolete units are no longer erroneously marked obsolete
* Numbers: `parse_pattern` now preserves the full original pattern
* Numbers: Fix float conversion in `extract_operands`
* Plurals: Fix plural forms for Czech and Slovak locales
* Plurals: More plural form fixes based on Mozilla and CLDR references
Internal improvements
~~~~~~~~~~~~~~~~~~~~~
* Local times are constructed correctly in tests
* Miscellaneous small improvements
* Regex flags are extracted from the regex strings
* The PO file reader is now a class and has seen some refactoring
Files: