summaryrefslogtreecommitdiff
path: root/babel/messages/pofile.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-8/+2
* Enable E741 (ambiguous variable name) lintAarni Koskela2023-01-181-3/+3
* Apply some small miscellaneous formatting fixesAarni Koskela2023-01-181-4/+5
* Apply ruff UP025 (unicode literal prefix) fixAarni Koskela2023-01-181-6/+6
* Apply ruff I category fixesAarni Koskela2023-01-181-3/+4
* Add type annotations (#934)Jonah Lawrence2023-01-111-33/+59
* Enable pre-commit (#943)Aarni Koskela2023-01-111-1/+1
* Replace %/.format/concatenation with f-strings where feasible (#927)Aarni Koskela2022-11-231-24/+12
* Remove `__nonzero__` methods (#896)Nikita Sobolev2022-08-211-3/+1
* Fix up some Python2-isms using pyupgradeAarni Koskela2022-05-101-6/+4
* Fix duplicate locations when writing without linenoSigurd Ljødal2022-04-081-2/+4
* Update copyright year to 2022Aarni Koskela2022-01-251-1/+1
* Remove redundant _compat.pyHugo van Kemenade2021-09-141-8/+7
* Become 2.9.1Aarni Koskela2021-04-281-1/+1
* Merge branch '2.8-maintenance' into masterAarni Koskela2020-11-111-1/+1
|\
| * Bump copyright year from 2019 to 2020Aarni Koskela2020-11-111-1/+1
* | Fix unicode printing error on Python 2 without TTY.Niklas Hambüchen2020-01-281-1/+4
* | Introduce invariant that _invalid_pofile() takes unicode line.Niklas Hambüchen2020-01-281-1/+2
|/
* attempt partial sorting at leastMario Frasca2019-05-281-4/+6
* Bump copyright year from 2018 to 2019Aarni Koskela2019-05-271-1/+1
* pofile: don't crash when message.locations can't be sortedAarni Koskela2019-05-271-1/+10
* Add comparison operators to _NormalizedStringAarni Koskela2019-05-271-2/+31
* Small fixes to avoid stack traces due to badly formatted .po fileBryn Truscott2018-07-191-4/+7
* Update copyright header years, and include the Babel teamAarni Koskela2018-02-021-1/+1
* pofile.py: Added new exception called PoFileError and thrown if flaggedStevenJ2018-01-161-3/+17
* Fix read_pofile handling of missing pluralsMichael Birtwell2016-11-211-7/+7
* pofile reader: Fix multi line msgctxtMichael Birtwell2016-11-211-0/+3
* pofile parsing. Fix handling of obsolete + refactorMichael Birtwell2016-11-211-53/+99
* Add option 'add_location' for location line formattingRoman Rader2016-08-091-2/+3
* Avoid reading files entirely into memoryVille Skyttä2016-07-271-1/+1
* Accept catalog argument to PoFileParserMichael Birtwell2016-07-081-5/+19
* read_po: Support multiline obsolete unitsMichael Birtwell2016-07-081-25/+30
* Refactor read_po to use a class for stateMichael Birtwell2016-07-081-135/+143
* Add flake8 pre-commit hook and apply fixes.Lukas Balaga2016-03-071-1/+1
* Apply pre-commit fixes.Lukas Balaga2016-02-271-8/+13
* pofile: refactor message sorting into helper fnAarni Koskela2016-02-021-11/+26
* pofile: Use `.sort(key=...)`, not `cmp`Aarni Koskela2016-01-041-1/+1
* pofile: always sort message locationsAarni Koskela2016-01-041-1/+1
* pofile: sort obsolete messages tooAarni Koskela2016-01-041-1/+7
* Test/CI: Make doctests run on both Py2 and Py3Aarni Koskela2015-12-211-16/+17
* Allow file locations without line numbers.Florian Schulze2015-11-041-3/+9
* Fixed doctest failing randomlybenselme2015-01-111-3/+3
* Some codestyle updates in babel.messages.pofileArmin Ronacher2013-07-251-9/+6
* License clarification and cleanupArmin Ronacher2013-07-241-17/+9
* Merge branch 'master' of github.com:mitsuhiko/babelArmin Ronacher2013-07-071-1/+1
|\
| * always sort message flags, py33 hash randomizationAlex Morega2013-07-071-1/+1
* | Added explicit charset argument to read_po and added changelog entriesArmin Ronacher2013-07-071-2/+6
|/
* More work on making Python 3.3 pass testsArmin Ronacher2013-07-061-7/+5
* Removed __docformat__ markersArmin Ronacher2013-07-051-1/+1