forked from openlp/openlp
Song Import Wizard:
* corrected default disabledLabelText * added disabledLabelText for MediaShout bzr-revno: 2025
This commit is contained in:
commit
8acd4435ea
@ -169,7 +169,8 @@ class SongFormat(object):
|
|||||||
u'selectMode': SongFormatSelect.MultipleFiles,
|
u'selectMode': SongFormatSelect.MultipleFiles,
|
||||||
u'filter': u'',
|
u'filter': u'',
|
||||||
u'comboBoxText': None,
|
u'comboBoxText': None,
|
||||||
u'disabledLabelText': u'',
|
u'disabledLabelText': translate('SongsPlugin.ImportWizardForm',
|
||||||
|
'This importer has been disabled.'),
|
||||||
u'getFilesTitle': None,
|
u'getFilesTitle': None,
|
||||||
u'invalidSourceMsg': None,
|
u'invalidSourceMsg': None,
|
||||||
u'descriptionText': None
|
u'descriptionText': None
|
||||||
@ -257,7 +258,12 @@ class SongFormat(object):
|
|||||||
u'canDisable': True,
|
u'canDisable': True,
|
||||||
u'selectMode': SongFormatSelect.SingleFile,
|
u'selectMode': SongFormatSelect.SingleFile,
|
||||||
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',
|
||||||
|
'The MediaShout importer is only supported on Windows. It has '
|
||||||
|
'been disabled due to a missing Python module. If you want to '
|
||||||
|
'use this importer, you will need to install the "pyodbc" '
|
||||||
|
'module.')
|
||||||
},
|
},
|
||||||
OpenSong: {
|
OpenSong: {
|
||||||
u'class': OpenSongImport,
|
u'class': OpenSongImport,
|
||||||
|
Loading…
Reference in New Issue
Block a user