Improved documentation

This commit is contained in:
Charles Haley 2011-05-23 19:19:18 +01:00
parent 67d0197128
commit 0574c63240
2 changed files with 8 additions and 2 deletions

View File

@ -167,6 +167,12 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
'<a href="http://calibre-ebook.com/user_manual/template_lang.html">'
'tutorial</a> on using templates.') +
'</p><p>' +
_('If you want to color a field based on tags, then right-click '
'in an empty template line and choose tags wizard. '
'It will build a template for you. You can later edit that '
'template with the same wizard. If you edit it by hand, the '
'wizard might not work or might restore old values.') +
'</p><p>' +
_('The template must evaluate to one of the color names shown '
'below. You can use any legal template expression. '
'For example, you can set the title to always display in '

View File

@ -419,14 +419,14 @@ then the tags will be displayed each on their own line.</string>
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Column name</string>
<string>Column to color</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label">
<property name="text">
<string>Selection template</string>
<string>Color selection template</string>
</property>
</widget>
</item>