Improved disabledLabelText for MediaShout

This commit is contained in:
Samuel Findlay 2012-07-09 18:12:29 +10:00
parent 9d73d37b94
commit 6089c89f8a

View File

@ -260,9 +260,10 @@ class SongFormat(object):
u'filter': u'%s (*.mdb)' % translate('SongsPlugin.ImportWizardForm', u'filter': u'%s (*.mdb)' % translate('SongsPlugin.ImportWizardForm',
'MediaShout Database'), 'MediaShout Database'),
u'disabledLabelText': translate('SongsPlugin.ImportWizardForm', u'disabledLabelText': translate('SongsPlugin.ImportWizardForm',
'The MediaShout importer has been disabled because the pyodbc ' 'The MediaShout importer is only supported on Windows. It has '
'module is not available. This importer is only available on ' 'been disabled due to a missing Python module. If you want to '
'Windows.') 'use this importer, you will need to install the "pyodbc" '
'module.')
}, },
OpenSong: { OpenSong: {
u'class': OpenSongImport, u'class': OpenSongImport,