refs #1235: i18n: 'uri' and 'alt' attribute on 'image' and 'figure' nodes can be translated if gettext_additional_targets has 'image'.

This commit is contained in:
shimizukawa
2015-02-22 19:24:14 +09:00
parent 28dc3ab053
commit bb85c1c87f
9 changed files with 121 additions and 40 deletions

View File

@@ -497,6 +497,9 @@ documentation on :ref:`intl` for details.
:literal-block: literal blocks: ``::`` and ``code-block``.
:doctest-block: doctest block
:raw: raw content
:image: image/figure uri and alt
For example: ``gettext_additional_targets = ['literal-block', 'image']``.
The default is ``[]``.