From 14aa640a892fce336ff1fd1b11bd700d2b27de69 Mon Sep 17 00:00:00 2001 From: Nicolas Peugnet Date: Mon, 1 Jan 2024 20:34:25 +0100 Subject: [PATCH] Failing test for #852 See: --- .../sourcedirs/gettext/fr/LC_MESSAGES/index.po | 3 +++ tests/test_sphinx/sourcedirs/gettext/index.md | 2 ++ tests/test_sphinx/test_sphinx_builds/test_gettext.pot | 4 ++++ .../test_gettext_additional_targets.pot | 4 ++++ .../test_sphinx/test_sphinx_builds/test_gettext_html.html | 8 ++++++++ .../test_sphinx_builds/test_gettext_html.resolved.xml | 3 +++ .../test_sphinx/test_sphinx_builds/test_gettext_html.xml | 3 +++ 7 files changed, 27 insertions(+) diff --git a/tests/test_sphinx/sourcedirs/gettext/fr/LC_MESSAGES/index.po b/tests/test_sphinx/sourcedirs/gettext/fr/LC_MESSAGES/index.po index 43e53202..943eb236 100644 --- a/tests/test_sphinx/sourcedirs/gettext/fr/LC_MESSAGES/index.po +++ b/tests/test_sphinx/sourcedirs/gettext/fr/LC_MESSAGES/index.po @@ -125,3 +125,6 @@ msgid ".. image:: fun-fish.png\n" " :alt: Fun Fish 3" msgstr ".. image:: poisson-amusant.png\n" " :alt: Poisson amusant 3" + +msgid "1. numbered title" +msgstr "1. titre numéroté" diff --git a/tests/test_sphinx/sourcedirs/gettext/index.md b/tests/test_sphinx/sourcedirs/gettext/index.md index a721944b..05998e3f 100644 --- a/tests/test_sphinx/sourcedirs/gettext/index.md +++ b/tests/test_sphinx/sourcedirs/gettext/index.md @@ -61,3 +61,5 @@ doctest block ```{figure} fun-fish.png :alt: Fun Fish 3 ``` + +## 1. numbered title diff --git a/tests/test_sphinx/test_sphinx_builds/test_gettext.pot b/tests/test_sphinx/test_sphinx_builds/test_gettext.pot index 933b8b6a..4d8b7d29 100644 --- a/tests/test_sphinx/test_sphinx_builds/test_gettext.pot +++ b/tests/test_sphinx/test_sphinx_builds/test_gettext.pot @@ -79,3 +79,7 @@ msgstr "" #: ../../index.md:61 msgid "Fun Fish 3" msgstr "" + +#: ../../index.md:65 +msgid "1. numbered title" +msgstr "" diff --git a/tests/test_sphinx/test_sphinx_builds/test_gettext_additional_targets.pot b/tests/test_sphinx/test_sphinx_builds/test_gettext_additional_targets.pot index 11c51d4e..7cb2f53b 100644 --- a/tests/test_sphinx/test_sphinx_builds/test_gettext_additional_targets.pot +++ b/tests/test_sphinx/test_sphinx_builds/test_gettext_additional_targets.pot @@ -127,3 +127,7 @@ msgstr "" #: ../../index.md:61 msgid "Fun Fish 3" msgstr "" + +#: ../../index.md:65 +msgid "1. numbered title" +msgstr "" diff --git a/tests/test_sphinx/test_sphinx_builds/test_gettext_html.html b/tests/test_sphinx/test_sphinx_builds/test_gettext_html.html index 469e1882..0db99d00 100644 --- a/tests/test_sphinx/test_sphinx_builds/test_gettext_html.html +++ b/tests/test_sphinx/test_sphinx_builds/test_gettext_html.html @@ -156,6 +156,14 @@

Poisson amusant 3
+
+

+ 1. titre numéroté + + ¶ + +

+
diff --git a/tests/test_sphinx/test_sphinx_builds/test_gettext_html.resolved.xml b/tests/test_sphinx/test_sphinx_builds/test_gettext_html.resolved.xml index 231ca337..0eb02c15 100644 --- a/tests/test_sphinx/test_sphinx_builds/test_gettext_html.resolved.xml +++ b/tests/test_sphinx/test_sphinx_builds/test_gettext_html.resolved.xml @@ -91,3 +91,6 @@ Poisson amusant 2
Poisson amusant 3 +
+ + 1. titre numéroté diff --git a/tests/test_sphinx/test_sphinx_builds/test_gettext_html.xml b/tests/test_sphinx/test_sphinx_builds/test_gettext_html.xml index dfc5f414..aae502ae 100644 --- a/tests/test_sphinx/test_sphinx_builds/test_gettext_html.xml +++ b/tests/test_sphinx/test_sphinx_builds/test_gettext_html.xml @@ -91,3 +91,6 @@ <image alt="Poisson amusant 2" candidates="{'*': 'fun-fish.png'}" uri="fun-fish.png"> <figure> <image alt="Poisson amusant 3" candidates="{'*': 'fun-fish.png'}" uri="fun-fish.png"> + <section ids="numbered-title" names="1.\ numbered\ title 1.\ titre\ numéroté"> + <title> + 1. titre numéroté