From af0e1270044377bf506b4dc7115920d765c33845 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 22 Jan 2020 11:01:19 +0530 Subject: [PATCH] Clearer labelling --- src/calibre/gui2/viewer/search.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/calibre/gui2/viewer/search.py b/src/calibre/gui2/viewer/search.py index 5e279343cd..762ae1736e 100644 --- a/src/calibre/gui2/viewer/search.py +++ b/src/calibre/gui2/viewer/search.py @@ -5,7 +5,6 @@ from __future__ import absolute_import, division, print_function, unicode_literals import json -import textwrap from collections import Counter from threading import Thread @@ -218,13 +217,15 @@ class SearchInput(QWidget): # {{{ l.addLayout(h) self.query_type = qt = QComboBox(self) qt.setFocusPolicy(Qt.NoFocus) - qt.addItem(_('Normal'), 'normal') + qt.addItem(_('Contains'), 'normal') qt.addItem(_('Whole words'), 'word') qt.addItem(_('Regex'), 'regex') - qt.setToolTip(textwrap.fill(_('Choose the type of search: Normal will search' - ' for the entered text, Whole words will search for whole words that' - ' equal the entered text and Regex will interpret the text as a' - ' regular expression.'))) + qt.setToolTip(('

' + _( + 'Choose the type of search: