| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Upgrade to CLDR 28
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Aside from the usual data changes, the provisional aa locale is no longer,
so we can't use it for tests. Instead, ii is used (chosen by virtue of ii.xml
being fairly small, i.e. probably as incomplete as aa).
* ms_Latn_SG is not in use anymore either; use sr_Latn_ME instead.
Closes #226
Closes #290
|
| |
| |
| |
| |
| | |
These JSON files are easier to inspect by eye to figure out what might be
going wrong. They are never used by Babel itself.
|
| | |
|
| |
| |
| |
| | |
Non-default currency format lengths acquire colon-separated suffixes like units already do since 9327e0824a1bbed538e73d42b971988f8214b490
|
| | |
|
|\ \
| | |
| | | |
Post coverage results to Codecov from Appveyor
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix typo and add missing semicolon in plural_forms, update test coverage.
|
| | | |
| | | |
| | | |
| | | | |
Update test coverage in test_plurals.py
|
| |/ /
| | |
| | |
| | |
| | | |
Fix typo and add semicolon in plural_forms (missing l in 'plural' and semicolon at the end).
It currently produces incorrect plural form string.
|
|\ \ \
| | | |
| | | | |
Update catalog headers from the template
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
A language specific catalog's initial header is based on the template
when it is created. Updates to the template's header were previously
not getting into the catalog during the update_catalog process.
|
|\ \ \
| |/ /
|/| | |
Flatten NullTranslations.files into a list
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`filter` is special in Python 3, and latter usages would error out in
strange ways.
Fixes #92 (https://github.com/python-babel/babel/pull/92)
Fixes #162 (https://github.com/python-babel/babel/pull/162)
|
|\ \ \
| |/ /
|/| | |
Add hash to locale class
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Try to fix the broken builds
|
| | |
| | |
| | |
| | | |
Follow the cdecimal to m3-cdecimal package rename within TravisCI configuration.
|
|/ /
| |
| |
| |
| | |
Apparently, the cdecimal package has been renamed to m3-cdecimal. Being unable
to install it breaks the test suite, so this should fix the problem.
|
|\ \
| |/
|/| |
Mark Python 3.5 as supported
|
|/
|
|
|
| |
Fixes #222
Refs #221
|
|\
| |
| | |
Sils/coala
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Those documentation comments aren't adding any new information compared
to the documentation comment of their respective functions and are thus
redundant.
Those comments where introduced first in 7ab115ce with no notice why
they exist.
|
| | |
|
| |
| |
| |
| | |
This was detected by coala, rightfully, as an unused import.
|
| |
| |
| |
| | |
This allows using coala to check this code.
|
|/
|
|
| |
Done with coala.
|
|\
| |
| | |
Test/CI improvements
|
| |
| |
| |
| |
| |
| | |
form of the month
Fixes #288
|
| | |
|
| |
| |
| |
| | |
Fixes #293
|
|/
|
|
|
|
|
|
| |
This requires a newer version of py.test, so the requirement is pinned in
the CI configuration.
See https://pytest.org/latest/doctest.html
See https://pytest.org/latest/example/pythoncollection.html#customizing-test-collection-to-find-all-py-files
|
|\
| |
| | |
Add an ordinal_form property to Locale
|
| | |
|
|\ \
| | |
| | | |
Allow passing a callable to `extract()`
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Allow file locations without line numbers.
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | | |
Faster and more flexible implementation.
Skipping coverage alert because the amount of removed lines always lowers the overall coverage percentage, even though the patch is 100% covered.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Now that the babel._compat module can automatically select a faster decimal
implementation if available, be more consistent across the rest of the code when
dealing with Decimal instances.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The drop-in replacement cdecimal is a CPython extension that implements the same
decimal interface with a much better performance. Whenever it is installed, we
favour its use.
|
| | |
| | |
| | |
| | |
| | |
| | | |
For the next change, we will need alternate environments for Python 2.6 and 2.7
where the cdecimal module can be installed and tested. This commit adds new
environments to Tox and Travis to automate the process.
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
Drop the old bankersround related code and implement rounding using the decimal
module instead. This change will enable some other goodies such as: use the
drop-in replacement cdecimal when available, or allow for more rounding
algorithms by exposing one more parameter.
|
|\ \
| |/
|/| |
Fix zh plural selection
|
|/
|
|
|
|
|
|
|
| |
Provide only one option in chinese. The 3 previous options where all the
same any how and I've checked with a chinese colleague she thinks that
applies to all variants on the chinese language.
Refactor the get_plural tests a bit so they are split up to test specific
things
|