django/docs/topics
Ramiro Morales 47ddd6a408 Fixed #19552 -- Enhanced makemessages handling of ``{# #}``-style template comments.
They are simply ignored now. This allows for a more correct behavior when
they are placed before translatable constructs on the same line.

Previously, the latter were wrongly ignored because the former were
preserved when converting template code to the internal Python-syntax
form later fed to xgettext but Python has no ``/* ... */``-style
comments.

Also, special comments directed to translators are now only taken in
account when they are located at the end of a line. e.g.::

  {# Translators: ignored #}{% trans "Literal A" %}{# Translators: valid, associated with "Literal B" below #}
  {% trans "Literal B" %}

Behavior of ``{% comment %}...{% endcomment %}``tags remains unchanged.

Thanks juneih at redpill-linpro dot com for the report and Claude for
his work on the issue.
2013-01-29 19:13:23 -03:00
..
auth Fixed typos in docs and comments 2013-01-29 10:55:55 -07:00
class-based-views Fixed #19605 - Removed unused url imports from doc examples. 2013-01-15 07:50:26 -05:00
db Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
forms Added HTML5 email input type 2013-01-28 22:10:50 +01:00
http Fixed #19605 - Removed unused url imports from doc examples. 2013-01-15 07:50:26 -05:00
i18n Fixed #19552 -- Enhanced makemessages handling of ``{# #}``-style template comments. 2013-01-29 19:13:23 -03:00
testing Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
cache.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
conditional-view-processing.txt Fixed many more ReST indentation errors, somehow accidentally missed from [16955] 2011-10-14 00:12:01 +00:00
email.txt Fixed #18934 - Removed versionadded/changed annotations for Django 1.3 2012-09-20 19:06:55 -04:00
files.txt Fixed typo. 2013-01-23 12:36:48 -08:00
index.txt Removed django.contrib.localflavor. 2012-12-29 21:59:06 +01:00
install.txt Fixed #19497 -- Refactored testing docs. 2012-12-21 21:59:06 -03:00
localflavor.txt Removed django.contrib.localflavor. 2012-12-29 21:59:06 +01:00
logging.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
pagination.txt Removed versionadded/changed annotations dating back to 1.4. 2012-12-29 21:59:08 +01:00
python3.txt Fixed #19589 -- assertRegexpMatches is deprecated in Python 3.3. 2013-01-26 13:47:11 +01:00
security.txt Removed django.contrib.markup. 2012-12-29 21:59:07 +01:00
serialization.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
settings.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
signals.txt Fixed broken links, round 3. refs #19516 2012-12-26 19:07:22 -05:00
signing.txt Fixed #19683 - Added a missing import in signing example. 2013-01-29 06:12:33 -05:00
templates.txt Fixed #19552 -- Enhanced makemessages handling of ``{# #}``-style template comments. 2013-01-29 19:13:23 -03:00