Skip to content

Commit e81caca

Browse files
kwagyemanclaude
andcommitted
docs: fix i18n build crash from mistranslated image directive (hr)
With gettext_additional_targets=["image"], `.. image:: <uri>` lines are translatable msgids. The Croatian settings-editor catalog had this entry mistranslated to leftover placeholder prose instead of the directive, so sphinx's i18n transform re-parsed it to an image node with no uri and crashed the whole per-locale build (KeyError: 'uri' at i18n.py:607, "reading sources ... settings-editor") on Sphinx 9.0.4 / docutils 0.22.4. Restore the directive verbatim. Verified by building all 26 locales under the exact CI toolchain: 0 crashes, 0 warnings. A tree-wide audit confirms this was the only mistranslated image/figure directive. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 8bb8493 commit e81caca

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docs/locale/hr/LC_MESSAGES/openmvcam/tutorial/tools/ide/settings-editor.po

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ msgstr ""
9191

9292
#: ../../openmvcam/tutorial/tools/ide/settings-editor.rst:29
9393
msgid ".. image:: figures/settings-editor.png"
94-
msgstr ""
95-
"PLACEHOLDER: the settings editor with a configuration open -- the controls "
96-
"from the JSON file laid out as a form, with the Save button at the bottom."
94+
msgstr ".. image:: figures/settings-editor.png"
9795

9896
#: ../../openmvcam/tutorial/tools/ide/settings-editor.rst:33
9997
msgid ""

0 commit comments

Comments
 (0)