53 @ARGSPEC@ |
53 @ARGSPEC@ |
54 @NOTE@ |
54 @NOTE@ |
55 </div> |
55 </div> |
56 """ |
56 """ |
57 |
57 |
58 argspecTemplate = """ |
58 argspecTemplate = QCoreApplication.translate( |
59 <p><b>Definition:</b> <span class="def">@NAME@@ARGSPEC@</span></p> |
59 "CodeDocumentationViewer", |
60 """ |
60 '<p><b>Definition:</b> <span class="def">@NAME@@ARGSPEC@</span></p>', |
|
61 "Just translate 'Definition:' and leave the rest intact.") |
61 |
62 |
62 noteTemplate = """ |
63 noteTemplate = QCoreApplication.translate( |
63 <p><b>Type:</b> @NOTE@</p> |
64 "CodeDocumentationViewer", |
64 """ |
65 "<p><b>Note:</b> @NOTE@</p>", |
|
66 "Just translate 'Note:' and leave the rest intact.") |
65 |
67 |
66 docstringTemplate = """ |
68 docstringTemplate = """ |
67 <div class="docstring"> |
69 <div class="docstring"> |
68 @DOCSTRING@ |
70 @DOCSTRING@ |
69 </div> |
71 </div> |