diff --git a/src/calibre/gui2/library/annotations.py b/src/calibre/gui2/library/annotations.py index 4a2e6cd6ae..8da1df5ed8 100644 --- a/src/calibre/gui2/library/annotations.py +++ b/src/calibre/gui2/library/annotations.py @@ -564,7 +564,7 @@ class BrowsePanel(QWidget): except FTSQueryError as err: return error_dialog(self, _('Invalid search expression'), '

' + _( 'The search expression: {0} is invalid. The search syntax used is the' - 'SQLite Full text Search Query syntax, described here.').format( + ' SQLite Full text Search Query syntax, described here.').format( err.query, 'https://www.sqlite.org/fts5.html#full_text_query_syntax'), det_msg=str(err), show=True)