This commit is contained in:
Kovid Goyal 2011-05-12 17:15:13 -06:00
parent 4eb3db3e42
commit 936a6892dc
4 changed files with 6 additions and 5 deletions

View File

@ -280,7 +280,7 @@ class Worker(Thread): # Get details {{{
class Amazon(Source): class Amazon(Source):
name = 'Amazon.com' name = 'Amazon.com'
description = _('Downloads metadata from Amazon') description = _('Downloads metadata and covers from Amazon')
capabilities = frozenset(['identify', 'cover']) capabilities = frozenset(['identify', 'cover'])
touched_fields = frozenset(['title', 'authors', 'identifier:amazon', touched_fields = frozenset(['title', 'authors', 'identifier:amazon',

View File

@ -157,7 +157,7 @@ def to_metadata(browser, log, entry_, timeout): # {{{
class GoogleBooks(Source): class GoogleBooks(Source):
name = 'Google' name = 'Google'
description = _('Downloads metadata from Google Books') description = _('Downloads metadata and covers from Google Books')
capabilities = frozenset(['identify', 'cover']) capabilities = frozenset(['identify', 'cover'])
touched_fields = frozenset(['title', 'authors', 'tags', 'pubdate', touched_fields = frozenset(['title', 'authors', 'tags', 'pubdate',

View File

@ -30,7 +30,7 @@ base_url = 'http://search.overdrive.com/'
class OverDrive(Source): class OverDrive(Source):
name = 'Overdrive' name = 'Overdrive'
description = _('Downloads metadata from Overdrive\'s Content Reserve') description = _('Downloads metadata and covers from Overdrive\'s Content Reserve')
capabilities = frozenset(['identify', 'cover']) capabilities = frozenset(['identify', 'cover'])
touched_fields = frozenset(['title', 'authors', 'tags', 'pubdate', touched_fields = frozenset(['title', 'authors', 'tags', 'pubdate',

View File

@ -71,9 +71,10 @@ class SourcesModel(QAbstractTableModel): # {{{
plugin.is_configured()): plugin.is_configured()):
return QIcon(I('list_remove.png')) return QIcon(I('list_remove.png'))
elif role == Qt.ToolTipRole: elif role == Qt.ToolTipRole:
base = plugin.description + '\n\n'
if plugin.is_configured(): if plugin.is_configured():
return _('This source is configured and ready to go') return base + _('This source is configured and ready to go')
return _('This source needs configuration') return base + _('This source needs configuration')
return NONE return NONE
def setData(self, index, val, role): def setData(self, index, val, role):