diff --git a/doc/_static/Makefile b/doc/_static/Makefile new file mode 100644 index 000000000..39ce65260 --- /dev/null +++ b/doc/_static/Makefile @@ -0,0 +1,4 @@ +translation.png: translation.puml + plantuml $< +clean: + rm translation.png diff --git a/doc/_static/translation.png b/doc/_static/translation.png index 11f3d02cd..a47c19f8d 100644 Binary files a/doc/_static/translation.png and b/doc/_static/translation.png differ diff --git a/doc/_static/translation.puml b/doc/_static/translation.puml new file mode 100644 index 000000000..5c3a7350b --- /dev/null +++ b/doc/_static/translation.puml @@ -0,0 +1,16 @@ +@startuml +file "SphinxProject" +file ".rst" +database ".pot" +database ".po" +database ".mo" +actor translator +file TranslatedBuild +translator -l-> .po +SphinxProject -r-> .rst +.rst -r-> .pot : sphinx-build gettext +.pot -r-> .po : Pootle +.po -d-> .mo : msgfmt +.mo -l-> TranslatedBuild +.rst -d-> TranslatedBuild : "sphinx-buid -Dlanguage=" +@enduml diff --git a/doc/usage/advanced/intl.rst b/doc/usage/advanced/intl.rst index 0174078eb..0dd89b65f 100644 --- a/doc/usage/advanced/intl.rst +++ b/doc/usage/advanced/intl.rst @@ -12,8 +12,8 @@ in itself. See the :ref:`intl-options` for details on configuration. .. figure:: /_static/translation.png :width: 100% - Workflow visualization of translations in Sphinx. (The stick-figure is taken - from an `XKCD comic `_.) + Workflow visualization of translations in Sphinx. (The figure is created by + `plantuml `_.) .. contents:: :local: