summaryrefslogtreecommitdiff
path: root/tests/auto/qdoc/generatedoutput/expected_output/dontdocument
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2022-11-07 11:06:41 +0100
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2022-11-18 09:21:23 +0000
commitb7849d42efff91a4d247a4028d6c129f3742743a (patch)
treed73b6d16d55cd5c6ceafb780ca039291f60c18d6 /tests/auto/qdoc/generatedoutput/expected_output/dontdocument
parente62a46a1a6f332d4c22f19da393b818401a3f5b2 (diff)
downloadqttools-b7849d42efff91a4d247a4028d6c129f3742743a.tar.gz
qdoc: Add translate attribute to HTML blocks
A browser translates everything by default, which means even the <code>, <pre>, <table>s listing the class members, and so on, are also translated. With this change, such HTML blocks will include the "translate=no" attribute, indicating that they should not be translated. Pick-to: 6.4 6.2 5.15 Fixes: QTBUG-106679 Done-with: Topi Reinio <topi.reinio@qt.io> Change-Id: I446fe26c73b9e3fee2984297bd504ae72c555e73 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/dontdocument')
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/dontdocument/seenclass.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/dontdocument/seenclass.html b/tests/auto/qdoc/generatedoutput/expected_output/dontdocument/seenclass.html
index c7b752260..d44f62871 100644
--- a/tests/auto/qdoc/generatedoutput/expected_output/dontdocument/seenclass.html
+++ b/tests/auto/qdoc/generatedoutput/expected_output/dontdocument/seenclass.html
@@ -16,11 +16,11 @@
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
-<h1 class="title">SeenClass Class</h1>
+<h1 class="title" translate="no">SeenClass Class</h1>
<!-- $$$SeenClass-brief -->
<p>A public but undocumented class. <a href="#details">More...</a></p>
<!-- @@@SeenClass -->
-<div class="table"><table class="alignedsummary">
+<div class="table"><table class="alignedsummary" translate="no">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;SeenClass&gt;</span></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> CMake:</td><td class="memItemRight bottomAlign"> find_package(Qt6 REQUIRED COMPONENTS QDocTest) <br/>
target_link_libraries(mytarget PRIVATE Qt6::QDocTest)</td></tr>