Templates/TemplatePropertiesDialog.py

changeset 5792
519a193a19d7
parent 5769
944c04cec861
child 5794
f8cf9bcaa1fa
equal deleted inserted replaced
5791:b70bc27b8e24 5792:519a193a19d7
117 self.__helpDialog = E5SimpleHelpDialog( 117 self.__helpDialog = E5SimpleHelpDialog(
118 title=self.tr("Template Help"), 118 title=self.tr("Template Help"),
119 label=self.tr("<b>Template Help</b>"), 119 label=self.tr("<b>Template Help</b>"),
120 help=self.tr( 120 help=self.tr(
121 """<p>To use variables in a template, you just have to""" 121 """<p>To use variables in a template, you just have to"""
122 """ enclose the variablename with $-characters. When you""" 122 """ enclose the variable name with $-characters. When"""
123 """ use the template, you will then be asked for a value""" 123 """ you use the template, you will then be asked for a"""
124 """ for this variable.</p>""" 124 """ value for this variable.</p>"""
125 """<p>Example template: This is a $VAR$</p>""" 125 """<p>Example template: This is a $VAR$</p>"""
126 """<p>When you use this template you will be prompted""" 126 """<p>When you use this template you will be prompted"""
127 """ for a value for the variable $VAR$. Any occurrences""" 127 """ for a value for the variable $VAR$. Any occurrences"""
128 """ of $VAR$ will then be replaced with whatever you've""" 128 """ of $VAR$ will then be replaced with whatever you've"""
129 """ entered.</p>""" 129 """ entered.</p>"""
144 """ prefixed by the same amount of whitespace as the""" 144 """ prefixed by the same amount of whitespace as the"""
145 """ line containing the variable.""" 145 """ line containing the variable."""
146 """</td></tr>""" 146 """</td></tr>"""
147 """<tr><td>rl</td><td>Specifies a repeated line""" 147 """<tr><td>rl</td><td>Specifies a repeated line"""
148 """ formatting. Each line of the variable contents is""" 148 """ formatting. Each line of the variable contents is"""
149 """ prefixed with the string occuring before the""" 149 """ prefixed with the string occurring before the"""
150 """ variable on the same line of the template.""" 150 """ variable on the same line of the template."""
151 """</td></tr>""" 151 """</td></tr>"""
152 """</table></p>""" 152 """</table></p>"""
153 """<p>The following predefined variables may be used""" 153 """<p>The following predefined variables may be used"""
154 """ in a template:""" 154 """ in a template:"""

eric ide

mercurial