1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00
django/tests/regressiontests/i18n
Ramiro Morales ff7556c4ec Fixed #11240 -- Made makemessages i18n command escape % symbols in literals passed to the trans tag.
This avoids problems with unintended automatic detection, marking and
validation of Python string formatting specifiers performed by
xgettext(1)/msgfmt(1) that stem from the fact that under the hood makemessages
converts templates to Python code before passing them to xgettext.

This also makes it consistent with its behavior on literals passed to the
blocktrans tag.

Thanks Jannis and claude for reviewing and feedback.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-11 00:07:06 +00:00
..
commands Fixed #11240 -- Made makemessages i18n command escape % symbols in literals passed to the trans tag. 2011-12-11 00:07:06 +00:00
contenttypes Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
other Fixed #14806 -- Added support for contextual translations to the trans and blocktrans template tags. Thanks to jtiai for the report. 2011-10-19 04:59:47 +00:00
patterns Fixed #14675 -- Completed removal of from django.conf.urls.default import * usage. 2011-09-11 22:36:16 +00:00
resolution
__init__.py
forms.py Fixed a couple of typos. 2011-12-03 17:34:52 +00:00
models.py Fixed a couple of typos. 2011-12-03 17:34:52 +00:00
test_warnings.py Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
tests.py Fixed #11240 -- Made makemessages i18n command escape % symbols in literals passed to the trans tag. 2011-12-11 00:07:06 +00:00