summaryrefslogtreecommitdiff
path: root/src/zope/i18n/gettextmessagecatalog.py
Commit message (Collapse)AuthorAgeFilesLines
* Config with pure python template (#55)Michael Howitz2023-01-161-3/+5
| | | | * Drop support for Python 2.7, 3.5, 3.6. * Add support for Python 3.11.
* Fixed typo and added file encoding in test.Souheil CHELFOUH2018-10-181-1/+1
|
* Corrected interpolation marker comments and added tests for plurals using ↵Souheil CHELFOUH2018-10-181-2/+2
| | | | floats.
* Added comments, added missing methods in interface. Added specific branch ↵Souheil CHELFOUH2018-10-181-0/+7
| | | | for zope.i18nmessageid in travis.
* Added plural capabilities to the different translate methods. It echoes the ↵Souheil CHELFOUH2018-09-061-3/+3
| | | | changes made in the zope.i18nmessageid. This needs heavy testing. Also started to clean up the code to match pep8 recommandations.
* Added a simple decorator to handle plural integer formatting while returning ↵Souheil CHELFOUH2018-09-041-14/+22
| | | | the message string. Using now the 'plural' function of the catalog to determine the right default string to return.
* First implementation of plurals. This is a bit rough, still.Souheil CHELFOUH2018-09-041-4/+38
| | | | | | Added Polish translations to have a complex plural rule handy. Currently, only german is tested. We need to test the whole set of languages and probably add more.
* Make [Simple]TranslationDomain and GettextMessageCatalog properly implement ↵Jason Madden2017-12-171-2/+3
| | | | their interfaces on Python 2 when given native strings for 'domain' and 'language'---these are supposed to be text. Test this.
* 100% coverage for simpletranslationdomain.pyJason Madden2017-12-161-1/+1
|
* 100% coverage for gettextmessagecatalog.pyJason Madden2017-12-161-7/+5
|
* Remove _compat module and _u function in favor of native unicode literals ↵drop-33Jason Madden2017-12-161-4/+1
| | | | | | | | | | | | | | | | and project gardening - DRY with dependencies - Enable coveralls.io and add a coverage tox environment - A few tiny changes to increase coverage, but we're not at 100% - Enable testing sphinx docs for all versions - Publish CHANGES.rst on RTD - Modern tox.ini and .travis.yml - Travis was still testing 3.3 and not testing 3.6. - Remove 'level' qualifiers from XML parsing and ZCML test cases. They add about 2s to run the tests, but they're important; see #13. That extra time gets lost in the amount of time it takes to spin tox anyway.
* Support for python-3.3 addedAndrey Lebedev2013-02-151-3/+9
|
* - Drop support for Python 2.4 and 2.5.Tres Seaver2012-05-171-2/+2
| | | | | | - Replace deprecated 'zope.interface.implements' usage with equivalent 'zope.interface.implementer' decorator.
* Remove CVS-era Id fossils.Tres Seaver2010-06-031-2/+0
|
* Conform to repository policy.Tres Seaver2010-05-051-1/+1
|
* Moving code to satellite.Christian Theune2007-05-031-0/+62