UI/CodeDocumentationViewerTemplate.py

changeset 5942
8b083e33c51f
parent 5919
d0de2b378b24
child 5960
be837f440186
equal deleted inserted replaced
5941:e8e33fb8dda1 5942:8b083e33c51f
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>

eric ide

mercurial