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-type.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-type.xml')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-type.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-type.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-type.xml index 4f846dfac..e94650c2d 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-type.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-type.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>Type QML Type</db:title> +<db:title its:translate="no">Type 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 Qt 1.1.</db:para> </db:abstract> </db:info> -<db:variablelist> +<db:variablelist its:translate="no"> <db:varlistentry> <db:term>Import Statement</db:term> <db:listitem> @@ -73,7 +73,7 @@ </db:thead> <db:tr> <db:td> -<db:para>Type.NoType</db:para> +<db:para its:translate="no">Type.NoType</db:para> </db:td> <db:td> <db:para>Nothing</db:para> @@ -81,7 +81,7 @@ </db:tr> <db:tr> <db:td> -<db:para>Type.SomeType</db:para> +<db:para its:translate="no">Type.SomeType</db:para> </db:td> <db:td> <db:para>Something</db:para> @@ -94,7 +94,7 @@ <db:title>Signal Documentation</db:title> <db:section xml:id="completed-signal"> <db:title>completed(int <db:emphasis>status</db:emphasis>)</db:title> -<db:para>This signal is emitted when the operation completed with <db:code role="parameter">status</db:code>.</db:para> +<db:para>This signal is emitted when the operation completed with <db:code its:translate="no" role="parameter">status</db:code>.</db:para> <db:note> <db:para>The corresponding handler is <db:code>onCompleted</db:code>.</db:para> </db:note> @@ -125,7 +125,7 @@ </db:section> <db:section xml:id="copy-method"> <db:title>Type copy(<db:emphasis>a</db:emphasis>)</db:title> -<db:para>Returns another Type based on <db:code role="parameter">a</db:code>.</db:para> +<db:para>Returns another Type based on <db:code its:translate="no" role="parameter">a</db:code>.</db:para> </db:section> </db:section> <db:section xml:id="obsolete"> |