diff --git a/src/calibre/gui2/preferences/coloring.py b/src/calibre/gui2/preferences/coloring.py index c3445e886d..80350a1db4 100644 --- a/src/calibre/gui2/preferences/coloring.py +++ b/src/calibre/gui2/preferences/coloring.py @@ -723,11 +723,15 @@ class RulesModel(QAbstractListModel): # {{{ conditions = [self.condition_to_html(c) for c in rule.conditions] + sample = '' if kind != 'color' else ( + _('(sample)') % rule.color) + return _('''\ -
Set the %(kind)s of %(col)s to %(color)s if the following - conditions are met:
+Set the %(kind)s of %(col)s to %(color)s %(sample)s + if the following conditions are met: