mirror of https://github.com/django/django.git
Refs #33842 -- Added :ttag: role in translations docs.
This commit is contained in:
parent
c6290bae9d
commit
d699594462
|
@ -649,8 +649,8 @@ You can use multiple expressions inside a single ``blocktranslate`` tag::
|
||||||
.. note:: The previous more verbose format is still supported:
|
.. note:: The previous more verbose format is still supported:
|
||||||
``{% blocktranslate with book|title as book_t and author|title as author_t %}``
|
``{% blocktranslate with book|title as book_t and author|title as author_t %}``
|
||||||
|
|
||||||
Other block tags (for example ``{% for %}`` or ``{% if %}``) are not allowed
|
Other block tags (for example :ttag:`{% for %}<for>` or :ttag:`{% if %}<if>`) are
|
||||||
inside a ``blocktranslate`` tag.
|
not allowed inside a ``blocktranslate`` tag.
|
||||||
|
|
||||||
If resolving one of the block arguments fails, ``blocktranslate`` will fall
|
If resolving one of the block arguments fails, ``blocktranslate`` will fall
|
||||||
back to the default language by deactivating the currently active language
|
back to the default language by deactivating the currently active language
|
||||||
|
|
Loading…
Reference in New Issue