Commit 6845dc7e authored by Panagiotis H.M. Issaris's avatar Panagiotis H.M. Issaris
Browse files

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.
parent 8133ee6c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 #}