diff --git a/src/calibre/gui2/library/models.py b/src/calibre/gui2/library/models.py
index 875347837f..ce3cf405c7 100644
--- a/src/calibre/gui2/library/models.py
+++ b/src/calibre/gui2/library/models.py
@@ -1706,7 +1706,7 @@ class DeviceBooksModel(BooksModel): # {{{
text = self.headers[cname]
return '{}: {}'.format(
prepare_string_for_xml(text),
- prepare_string_for_xml(_('The lookup/search name is {0}').format(self.column_map[section])))
+ prepare_string_for_xml(_('The lookup/search name is')) + ' {}'.format(self.column_map[section]))
if DEBUG and role == Qt.ItemDataRole.ToolTipRole and orientation == Qt.Orientation.Vertical:
return (_('This book\'s UUID is "{0}"').format(self.db[self.map[section]].uuid))
if role != Qt.ItemDataRole.DisplayRole: