mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 01:04:50 +01:00
[Bug 1901456]: Slight text error in Column Icon rules
This commit is contained in:
parent
a380227d24
commit
62c0d4dba3
1 changed files with 3 additions and 2 deletions
|
|
@ -873,8 +873,9 @@ def condition_to_html(self, condition):
|
|||
_('<li>The condition using column <b>%(col)s</b> is <b>invalid</b>')
|
||||
% dict(col=c))
|
||||
return (
|
||||
_('<li>If the <b>%(col)s</b> column <b>%(action)s</b> value: <b>%(val)s</b>') % dict(
|
||||
col=c, action=action_name, val=prepare_string_for_xml(v)))
|
||||
_('<li>If the <b>%(col)s</b> column <b>%(action)s</b> %(val_label)s<b>%(val)s</b>') % dict(
|
||||
col=c, action=action_name, val=prepare_string_for_xml(v),
|
||||
val_label=_('value: ') if v else ''))
|
||||
|
||||
# }}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue