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:
parent
8133ee6cb4
commit
6845dc7e8f
|
@ -698,7 +698,7 @@ or with the ``{#`` ... ``#}`` :ref:`one-line comment constructs <template-commen
|
|||
|
||||
.. 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>
|
||||
|
||||
{# Translators: This is a text of the base template #}
|
||||
|
|
Loading…
Reference in New Issue