summaryrefslogtreecommitdiff
path: root/babel/plural.py
Commit message (Expand)AuthorAgeFilesLines
* Update copyright year to 2023Aarni Koskela2023-02-281-1/+1
* Apply some simplification fixes courtesy of RuffAarni Koskela2023-01-251-1/+1
* Enable E741 (ambiguous variable name) lintAarni Koskela2023-01-181-1/+1
* Apply some small miscellaneous formatting fixesAarni Koskela2023-01-181-0/+2
* Apply ruff C category fixesAarni Koskela2023-01-181-1/+1
* Apply ruff B category fixesAarni Koskela2023-01-181-1/+1
* Minor cleanups (#948)Aarni Koskela2023-01-181-1/+1
* Add type annotations (#934)Jonah Lawrence2023-01-111-30/+44
* Replace %/.format/concatenation with f-strings where feasible (#927)Aarni Koskela2022-11-231-40/+22
* Fix up some Python2-isms using pyupgradeAarni Koskela2022-05-101-6/+5
* plural: parse new c, e operands (otherwise unsupported though)Aarni Koskela2022-04-081-9/+22
* Plural-Forms: Fix missing trailing semicolonfarhan59002022-04-081-2/+2
* Update copyright year to 2022Aarni Koskela2022-01-251-1/+1
* Remove redundant _compat.pyHugo van Kemenade2021-09-141-2/+1
* Become 2.9.1Aarni Koskela2021-04-281-1/+1
* Bump copyright year from 2019 to 2020Aarni Koskela2020-11-111-1/+1
* Bump copyright year from 2018 to 2019Aarni Koskela2019-05-271-1/+1
* Use https URLs throughout project where availableJon Dufresne2018-06-131-2/+2
* Update copyright header years, and include the Babel teamAarni Koskela2018-02-021-1/+1
* Replace function call with set literalHugo2017-12-281-1/+1
* Pull flags out of regular expressionsDavid Baumgold2016-12-291-1/+1
* Fix float conversion in `extract_operands` (and the relevant test)Aarni Koskela2016-07-151-7/+30
* Simplify the selection of decimal implementationIsaac Jurado2016-05-291-3/+3
* Apply pre-commit fixes.Lukas Balaga2016-02-271-3/+3
* Compile noninteger TR35 operands to zeroes when emitting GettextAarni Koskela2016-01-221-0/+6
* plural: DRY out `compile_zero`Aarni Koskela2016-01-221-4/+7
* plural: support Unicode ellipsis signAarni Koskela2016-01-221-1/+1
* plural: don't ignore possible rules in `other` categoryAarni Koskela2016-01-221-3/+8
* tests: Use the automatically chosen Decimal classIsaac Jurado2015-10-141-3/+4
* Fixed 2.6 bug (Decimal cannot convert floats)benselme2015-01-111-1/+8
* Make sure extract_operands is always called when using plural.to_python, add ...benselme2015-01-091-4/+5
* Fix to_python when i is not provided to evaluate functionbenselme2015-01-091-2/+2
* plural.extract_operands function and testsbenselme2015-01-091-5/+34
* More stuff merged from mitsuhiko's cldr-24 branchbenselme2015-01-081-1/+20
* Improved _Parser docbenselme2015-01-081-15/+2
* More extraction in _Parser, more testsbenselme2015-01-081-6/+20
* Extract PluralRule.skipbenselme2015-01-081-19/+20
* Extract PluralRule.test and add testsbenselme2015-01-081-5/+6
* Include Armin Ronacher's work on PluralRule mitsuhiko/babel@774047abenselme2015-01-081-17/+40
* Extract plural rule tokenization function and add testsbenselme2015-01-081-25/+46
* Add link to rules spec in PluralRule docbenselme2015-01-081-1/+3
* Some codestyle updates in babel.pluralArmin Ronacher2013-07-251-8/+1
* License clarification and cleanupArmin Ronacher2013-07-241-14/+9
* make sure rules are always sortedAlex Morega2013-07-071-2/+2
* Fixed a regression in the pluralization supportArmin Ronacher2013-07-061-1/+3
* First pass on python 3 supportArmin Ronacher2013-07-061-2/+4
* Fixed missing support for some pluralization partsArmin Ronacher2013-07-061-12/+36
* Removed __docformat__ markersArmin Ronacher2013-07-051-1/+1
* Removed trailing whitespaceArmin Ronacher2013-07-051-1/+1
* Made babel work with the latest version of the CLDR (23)Armin Ronacher2013-07-041-32/+60