This commit is contained in:
Kovid Goyal 2025-03-31 10:53:57 +05:30
parent 735830ef1a
commit 2d85dc02d7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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':