diff options
author | Thibaut Cuvelier <cuvelier.thibaut@gmail.com> | 2023-02-10 05:16:10 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2023-04-26 14:43:45 +0200 |
commit | 90147027312b88cae1fd0f432ad6c8fd73426ce6 (patch) | |
tree | c8428657b82949a0c7be004b38f06f05f0e610b7 /tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-doctest.xml | |
parent | c6665d7ebf68cb3a1ed15527309eb70ffe927536 (diff) | |
download | qttools-90147027312b88cae1fd0f432ad6c8fd73426ce6.tar.gz |
QDoc: implement ITS attributes for parts that shouldn't be translated
This patch is a port of b7849d42efff91a4d247a4028d6c129f3742743a
for DocBook.
Pick-to: 6.5
Change-Id: I0220691da3e0827bc89e05912bcbb723d8490cf5
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-doctest.xml')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-doctest.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-doctest.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-doctest.xml index 5091e0e27..eb6a36f65 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-doctest.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-doctest.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<db:article xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.2" xml:lang="en"> +<db:article xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:its="http://www.w3.org/2005/11/its" version="5.2" xml:lang="en"> <db:info> -<db:title>DocTest QML Type</db:title> +<db:title its:translate="no">DocTest QML Type</db:title> <db:productname>Test</db:productname> <db:titleabbrev>A test project for QDoc build artifacts</db:titleabbrev> <db:abstract> @@ -9,7 +9,7 @@ <db:para>This type was introduced in QDoc.Test 0.9.</db:para> </db:abstract> </db:info> -<db:variablelist> +<db:variablelist its:translate="no"> <db:varlistentry> <db:term>Import Statement</db:term> <db:listitem> @@ -47,7 +47,7 @@ <db:section xml:id="name-prop"> <db:title>[required] name : string</db:title> <db:para>Name of the test.</db:para> -<db:programlisting language="qml">DocTest { +<db:programlisting language="qml" its:translate="no">DocTest { name: &quot;test&quot; // ... } @@ -64,14 +64,14 @@ </db:section> <db:section xml:id="foo-signal"> <db:title>foo(var <db:emphasis>bar</db:emphasis>)</db:title> -<db:para>Signal with parameter <db:code role="parameter">bar</db:code>.</db:para> +<db:para>Signal with parameter <db:code its:translate="no" role="parameter">bar</db:code>.</db:para> <db:note> <db:para>The corresponding handler is <db:code>onFoo</db:code>.</db:para> </db:note> </db:section> <db:section xml:id="itsHappening-signal"> <db:title>itsHappening(bool <db:emphasis>really</db:emphasis>)</db:title> -<db:para>Signals that something is <db:code role="parameter">really</db:code> happening.</db:para> +<db:para>Signals that something is <db:code its:translate="no" role="parameter">really</db:code> happening.</db:para> <db:note> <db:para>The corresponding handler is <db:code>onItsHappening</db:code>.</db:para> </db:note> @@ -81,7 +81,7 @@ <db:title>Method Documentation</db:title> <db:section xml:id="fail-method"> <db:title>[since QDoc.Test 1.0] fail(<db:emphasis>message</db:emphasis> = "oops")</db:title> -<db:para>Fails the current test case, with the optional <db:code role="parameter">message</db:code>.</db:para> +<db:para>Fails the current test case, with the optional <db:code its:translate="no" role="parameter">message</db:code>.</db:para> <db:para>This method was introduced in QDoc.Test 1.0.</db:para> </db:section> <db:section xml:id="fail_hard-method"> @@ -89,10 +89,10 @@ <db:para>Fails the current test case, hard.</db:para> <db:itemizedlist> <db:listitem> -<db:para>Prints out <db:code role="parameter">msg</db:code>.</db:para> +<db:para>Prints out <db:code its:translate="no" role="parameter">msg</db:code>.</db:para> </db:listitem> <db:listitem> -<db:para>Accepts a random <db:code role="parameter">option</db:code>.</db:para> +<db:para>Accepts a random <db:code its:translate="no" role="parameter">option</db:code>.</db:para> </db:listitem> </db:itemizedlist> </db:section> |