From dea427ce8c2eec80f24a8605e4a08b6772e61948 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Mon, 6 Mar 2023 20:00:14 +0000 Subject: [PATCH] I forgot the tooltip --- src/calibre/gui2/preferences/create_custom_column.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/calibre/gui2/preferences/create_custom_column.py b/src/calibre/gui2/preferences/create_custom_column.py index 61ec4bd297..8bb0de93cd 100644 --- a/src/calibre/gui2/preferences/create_custom_column.py +++ b/src/calibre/gui2/preferences/create_custom_column.py @@ -458,13 +458,17 @@ class CreateCustomColumn(QDialog): add_row(None, l) l = QHBoxLayout() self.composite_in_comments_box = cmc = QCheckBox(_("Show with comments in book details")) - cmc.setToolTip('Tooltip') + cmc.setToolTip('

' + _('If you check this box then the column contents ' + 'will show in the Comments section in book details, ' + 'which is on the right hand side. The output of the ' + 'column template must be plain text or html.') + '

') l.addWidget(cmc) self.composite_heading_position = chp = QComboBox(self) for k, text in ( ('hide', _('No heading')), - ('above', _('Show heading above the text')), - ('side', _('Show heading to the side of the text')) + ('above', _('Show heading above the text')) + # we don't offer 'side' because that is what you get if you don't + # check the box. ): chp.addItem(text, k) chp.setToolTip(_('Choose whether or not the column heading is shown in the Book\n'