Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/i18n/test_compilation.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #24257 -- Corrected i18n handling of percent signs.Doug Beck2015-08-121-25/+0
| | | | | | | | | | | | | | | Refactored tests to use a sample project. Updated extraction: * Removed special handling of single percent signs. * When extracting messages from template text, doubled all percent signs so they are not interpreted by gettext as string format flags. All strings extracted by gettext, if containing a percent sign, will now be labeled "#, python-format". Updated translation: * Used "%%" for "%" in template text before calling gettext. * Updated {% trans %} rendering to restore "%" from "%%".
* Fixed #24159 -- Made compilemessages run across all apps.Matthew Somerville2015-06-051-4/+19
| | | | | Updated the command to match the documentation, which states it runs over all .po files.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-6/+7
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-5/+5
|
* Fixed #23930 -- Added copies of captured_std* managers ↵wrwrwr2014-11-291-6/+2
| | | | | | from CPython's test.support. StringIO import was adapted for compatibility with Python 2.
* Fixed #18714 -- Added 'fuzzy' compilemessages optionAnton Baklanov2014-11-181-0/+30
|
* Fixed clash caused by the newly introduced -e shorthand ↵Loic Bistuer2014-05-021-1/+13
| | | | | | for makemessages --exclude. This fixes a regression caused by 0707b82. Refs #22328.
* Fixed #22328 -- Added --exclude option to ↵Ana Krivokapic2014-04-261-22/+69
| | | | compilemessages and makemessages.
* Fixed #21732 -- Made compilemessages complain about ↵Claude Paroz2014-02-181-0/+14
| | | | | | | | non-writable location Instead of crashing with a CommandError, now a non-writable location of mo files will only make compilemessages complain and continue. Thanks Ramiro Morales for the review.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-1/+1
|
* Fixed #21488 -- Multiple locales treatment in i18n commands.Ramiro Morales2013-11-231-5/+5
| | | | | | | | | | | Removed multiple locales separated by commas variation (that wasn't working as documented) in favor of simply allowing use of the ``--locale``/``-l`` options more than once for ``makemessages`` and ``compilemessages``. Thanks Romain Beylerian for the report and Claude, Simon for their help. 8750296918072c97a51f6809d19828ce3f1b8d40 from stable/1.6.x.
* Rearranged some i18n testsClaude Paroz2013-10-281-0/+117
Compilation/extraction tests are now properly skipped when gettext commands are unavailable.