From 2d85dc02d7655be458d1ee51a3573829e45853ce Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 31 Mar 2025 10:53:57 +0530 Subject: [PATCH] ... --- src/calibre/gui2/viewer/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/viewer/search.py b/src/calibre/gui2/viewer/search.py index c3e573dd60..2ba55a8ad1 100644 --- a/src/calibre/gui2/viewer/search.py +++ b/src/calibre/gui2/viewer/search.py @@ -165,7 +165,7 @@ class Search: word_pats, full_pat = self.near_search_data if len(word_pats) < 2: error_dialog(gui, _('Invalid search expression'), _( - 'In Nearby words mode, you must specify at least two words and an optional trailing number of characters.' + 'In nearby words mode, you must specify at least two words and an optional trailing number of characters.' ' The expression: {} does not have at least two words.').format(self.text), show=True) return False elif self.mode == 'regex':