Fixed comments for translators example in the i18n documentation

The documentation regarding adding a comment for translators was confusing
as the example contained mismatching tags.
This commit is contained in:
Panagiotis H.M. Issaris 2013-05-23 10:19:10 +02:00
parent 8133ee6cb4
commit 6845dc7e8f
1 changed files with 1 additions and 1 deletions

View File

@ -698,7 +698,7 @@ or with the ``{#`` ... ``#}`` :ref:`one-line comment constructs <template-commen
.. code-block:: html+django .. code-block:: html+django
{# Translators: Label of a button that triggers search{% endcomment #} {# Translators: Label of a button that triggers search #}
<button type="submit">{% trans "Go" %}</button> <button type="submit">{% trans "Go" %}</button>
{# Translators: This is a text of the base template #} {# Translators: This is a text of the base template #}