From 9718fa6c993f756b12897e9c50f82aa62bced19c Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Sat, 18 Jun 2016 12:31:28 +0200 Subject: [PATCH] Fix for #593910: column description for authors-like fields says they are comma separated. --- src/calibre/gui2/preferences/columns.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/preferences/columns.py b/src/calibre/gui2/preferences/columns.py index eacbd5c0da..1e06e654d6 100644 --- a/src/calibre/gui2/preferences/columns.py +++ b/src/calibre/gui2/preferences/columns.py @@ -125,8 +125,12 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form): else: dt = fm['datatype'] if fm['is_multiple']: - dt = '*' + dt - coltype = self.column_desc[dt] + if col == 'authors' or fm.get('display', {}).get('is_names', False): + coltype = _('Ampersand separated text, shown in the tag browser') + else: + coltype = self.column_desc['*' + dt] + else: + coltype = self.column_desc[dt] coltype_info = (coltype if oldkey is None else ' ' + _('(lookup name was {0}) {1}'.format(oldkey, coltype))) item = QTableWidgetItem(coltype_info)