forked from openlp/openlp
Song Import Wizard: disabledLabelTextfor default and MediaShout
This commit is contained in:
parent
f83d48293f
commit
9d73d37b94
@ -169,7 +169,8 @@ class SongFormat(object):
|
||||
u'selectMode': SongFormatSelect.MultipleFiles,
|
||||
u'filter': u'',
|
||||
u'comboBoxText': None,
|
||||
u'disabledLabelText': u'',
|
||||
u'disabledLabelText': translate('SongsPlugin.ImportWizardForm',
|
||||
'This importer has been disabled.'),
|
||||
u'getFilesTitle': None,
|
||||
u'invalidSourceMsg': None,
|
||||
u'descriptionText': None
|
||||
@ -257,7 +258,11 @@ class SongFormat(object):
|
||||
u'canDisable': True,
|
||||
u'selectMode': SongFormatSelect.SingleFile,
|
||||
u'filter': u'%s (*.mdb)' % translate('SongsPlugin.ImportWizardForm',
|
||||
'MediaShout Database')
|
||||
'MediaShout Database'),
|
||||
u'disabledLabelText': translate('SongsPlugin.ImportWizardForm',
|
||||
'The MediaShout importer has been disabled because the pyodbc '
|
||||
'module is not available. This importer is only available on '
|
||||
'Windows.')
|
||||
},
|
||||
OpenSong: {
|
||||
u'class': OpenSongImport,
|
||||
|
Loading…
Reference in New Issue
Block a user