summaryrefslogtreecommitdiff
path: root/src/zope/i18n/tests/test_zcml.py
Commit message (Collapse)AuthorAgeFilesLines
* autopep8Maurits van Rees2021-09-031-0/+1
|
* Remove _compat module and _u function in favor of native unicode literals ↵drop-33Jason Madden2017-12-161-30/+20
| | | | | | | | | | | | | | | | 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.
* Add support for PyPy3 and Python3.2Jason Madden2015-06-041-10/+11
|
* Remove more deprecation warnings.Stephan Richter2013-03-081-13/+13
|
* Remove Py3 deprecation warnings and added .gitignore. I cannot port toStephan Richter2013-03-081-7/+7
| | | | PyPy yet, since zope.security has still no PyPy support.
* Support for python-3.3 addedAndrey Lebedev2013-02-151-0/+5
|
* Added optional ``domain`` attribute to ``registerTranslations`` directive toGediminas Paulauskas2012-02-101-0/+18
| | | | | | | only load the specified translation domain. Allows to move catalogs to `/usr/share/locale` and avoid loading hundreds of unrelated domains.
* Include meta.zcml files in our own zcml configuration as needed,Thomas Lotze2010-09-191-1/+5
| | | | added a test for our configure.zcml.
* Remove CVS-era Id fossils.Tres Seaver2010-06-031-2/+0
|
* Conform to repository policy.Tres Seaver2010-05-051-1/+1
|
* Fixed the interpackage translation domain merging feature to actually work. ↵Hanno Schlichting2009-08-071-1/+1
| | | | We need to defer the merging into the ZCML handler execution phase, as the utilities don't exist yet during the ZCML parsing phase. Thx to Andreas Zeidler for finding and fixing the issue in PlacelessTranslationService in the first place.
* Fixed a test failure in the compile mo file support.Hanno Schlichting2008-10-131-0/+10
|
* Make bin/test run the tests without any extras, bin/test-all runs the testsPhilipp von Weitershausen2008-09-271-34/+32
| | | | | with all extras on all levels. The ZCML tests (which also test the [compile] extra) are on level 2 so they aren't picked up by bin/test.
* defer imports to test methods so that the regular tests will run without thePhilipp von Weitershausen2008-09-271-1/+5
| | | | [zcml] extra being installed.
* Removed unused importPhilipp von Weitershausen2008-09-271-1/+0
|
* Feature: Added new top-level negotiate function, which can be used to ↵Hanno Schlichting2008-07-061-5/+6
| | | | | | negotiate the language when th e available languages are set globally via `zope_i18n_allowed_languages`. Refactored env variables into a config.py file.
* Feature: Added support for restricting the available languages. We support ↵Hanno Schlichting2008-07-061-4/+25
| | | | an environment variable called `zope_i18n_allowed_languages` now, which is a list of comma or space separated language codes. If the environment variable is set, the ZCML registration will only process those folders which are in the allowed languages list.
* Feature: Added optional automatic compilation of mo files from po files. You ↵Hanno Schlichting2008-04-261-6/+41
| | | | need to depend on the `zope.i18n [compile]` extra and set an environment variable called `zope.i18n.compile_mo_files` to any True value to enable this option. Bumped the package version to 3.5dev, as we added features and this is not a maintenance release anymore.
* Feature: Re-use existing translation domains when registering new ones. This ↵Hanno Schlichting2008-04-261-0/+33
| | | | allows multiple packages to register translations in the same domain. If the same message exists in multiple catalogs the one registered first will take precedence. As an example this allows the messages from the zope domain to be spread across distinct files in various packages.
* Moving code to satellite.Christian Theune2007-05-031-0/+58