From 62c0d4dba354b431f99c8c7f23cb960e097c8cc3 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Sat, 31 Oct 2020 12:55:40 +0000 Subject: [PATCH] [Bug 1901456]: Slight text error in Column Icon rules --- src/calibre/gui2/preferences/coloring.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/preferences/coloring.py b/src/calibre/gui2/preferences/coloring.py index fed09e0b63..ad91f916b8 100644 --- a/src/calibre/gui2/preferences/coloring.py +++ b/src/calibre/gui2/preferences/coloring.py @@ -873,8 +873,9 @@ class RulesModel(QAbstractListModel): # {{{ _('
  • The condition using column %(col)s is invalid') % dict(col=c)) return ( - _('
  • If the %(col)s column %(action)s value: %(val)s') % dict( - col=c, action=action_name, val=prepare_string_for_xml(v))) + _('
  • If the %(col)s column %(action)s %(val_label)s%(val)s') % dict( + col=c, action=action_name, val=prepare_string_for_xml(v), + val_label=_('value: ') if v else '')) # }}}