Advanced Rule for column %(col)s: +
Advanced rule for column %(col)s:
%(rule)s''')%dict(col=col, rule=prepare_string_for_xml(rule)) elif self.rule_kind == 'emblem': return _(''' -
Advanced Rule: +
Advanced rule:
%(rule)s''')%dict(rule=prepare_string_for_xml(rule)) else: return _(''' -
Advanced Rule: set %(typ)s for column %(col)s: +
Advanced rule: set %(typ)s for column %(col)s:
%(rule)s''')%dict(col=col, typ=trans_kind, @@ -887,10 +887,10 @@ class EditRules(QWidget): # {{{ l1.setWordWrap(True) l.addWidget(l1, l.rowCount(), 0, 1, 2) - self.add_button = QPushButton(QIcon(I('plus.png')), _('Add Rule'), + self.add_button = QPushButton(QIcon(I('plus.png')), _('Add rule'), self) self.remove_button = QPushButton(QIcon(I('minus.png')), - _('Remove Rule(s)'), self) + _('Remove rule(s)'), self) self.add_button.clicked.connect(self.add_rule) self.remove_button.clicked.connect(self.remove_rule) l.addWidget(self.add_button, l.rowCount(), 0) @@ -920,7 +920,7 @@ class EditRules(QWidget): # {{{ l.setRowStretch(l.rowCount() - 1, 10) self.add_advanced_button = b = QPushButton(QIcon(I('plus.png')), - _('Add Advanced Rule'), self) + _('Add advanced rule'), self) b.clicked.connect(self.add_advanced) self.hb = hb = QHBoxLayout() l.addLayout(hb, l.rowCount(), 0, 1, 2) @@ -945,20 +945,20 @@ class EditRules(QWidget): # {{{ text = _( 'You can control the color of columns in the' ' book list by creating "rules" that tell calibre' - ' what color to use. Click the Add Rule button below' + ' what color to use. Click the "Add rule" button below' ' to get started.
You can change an existing rule by' ' double clicking it.') elif pref_name == 'column_icon_rules': text = _( 'You can add icons to columns in the' ' book list by creating "rules" that tell calibre' - ' what icon to use. Click the Add Rule button below' + ' what icon to use. Click the "Add rule" button below' ' to get started.
You can change an existing rule by' ' double clicking it.') elif pref_name == 'cover_grid_icon_rules': text = _('You can add emblems (small icons) that are displayed on the side of covers' ' in the cover grid by creating "rules" that tell calibre' - ' what image to use. Click the Add Rule button below' + ' what image to use. Click the "Add rule" button below' ' to get started.
You can change an existing rule by' ' double clicking it.') self.enabled.setVisible(True) diff --git a/src/calibre/gui2/preferences/create_custom_column.py b/src/calibre/gui2/preferences/create_custom_column.py index f6cfd2c357..10cb7be7bc 100644 --- a/src/calibre/gui2/preferences/create_custom_column.py +++ b/src/calibre/gui2/preferences/create_custom_column.py @@ -406,7 +406,7 @@ class CreateCustomColumn(QDialog): "
Date format. Use 1-4 \'d\'s for day, 1-4 \'M\'s for month, and 2 or 4 \'y\'s for year.
\n" "For example:\n" "