From 894f495f2e72da1b9abc191efbe2ec45c2a006cd Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Thu, 7 Mar 2024 15:43:48 +0000 Subject: [PATCH] Improve the tooltip for template search in the advanced dialog. --- src/calibre/gui2/dialogs/search.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/calibre/gui2/dialogs/search.py b/src/calibre/gui2/dialogs/search.py index a6aa2d69a4..9b9fce0b6f 100644 --- a/src/calibre/gui2/dialogs/search.py +++ b/src/calibre/gui2/dialogs/search.py @@ -273,9 +273,10 @@ def create_template_tab(self): "in the calibre documentation. For example, with Number " "comparisons you can use the relational operators like '>=' etc. " "With Text comparisons you can use contains (T), exact (=T), " - "or regular expression matches (~T). With Date you can use " - "today, yesterday, etc. Set/not set takes 'true' for set " - "and 'false' for not set.") + '

') + "or regular expression matches (~T), where T is your text. " + "With Date you can use today, yesterday, etc. When checking for " + "Set use 'true' or 'yes'. When checking for Not Set use 'false' " + "or 'no'") + '

') l.addRow(_('Template &value:'), le) self.template_test_type_box = le = QComboBox(w)