string changes

This commit is contained in:
Kovid Goyal 2025-09-04 19:27:51 +05:30
parent d6cb10d5da
commit d1ced81237
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -635,8 +635,8 @@ class BooksView(TableView): # {{{
db = self._model.db.new_api
tt_prefs = db.pref('column_tooltip_templates', {})
ans.addAction(QIcon.ic('edit_input.png'),
(_('Define column tooltip template for %s') if col not in tt_prefs
else _('Edit column tooltip template for %s')) % name,
(_('Define tooltip template for "%s"') if col not in tt_prefs
else _('Edit tooltip template for "%s"')) % name,
partial(handler, action='tt_template', ))
if self.is_library_view:
if self._model.db.field_metadata[col]['datatype'] == 'enumeration':