mirror of
https://gitlab.com/openlp/openlp.git
synced 2024-12-25 11:14:07 +00:00
Merge branch 'datasoul-transation-fix' into 'master'
Fix Datasoul translate strings See merge request openlp/openlp!624
This commit is contained in:
commit
97a3efbc47
@ -466,7 +466,7 @@ class SongFormat(object):
|
|||||||
'class': DatasoulImport,
|
'class': DatasoulImport,
|
||||||
'name': 'Datasoul',
|
'name': 'Datasoul',
|
||||||
'prefix': 'datasoul',
|
'prefix': 'datasoul',
|
||||||
'filter': '{text} (*.song)'.format(text=translate('SongsPlugin.ImportWizardForm', 'Dataoul Song Files'))
|
'filter': '{text} (*.song)'.format(text=translate('SongsPlugin.ImportWizardForm', 'Datasoul Song Files'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ class DatasoulImport(SongImport):
|
|||||||
self.log_error(
|
self.log_error(
|
||||||
file_path,
|
file_path,
|
||||||
translate('SongsPlugin.DatasoulImport',
|
translate('SongsPlugin.DatasoulImport',
|
||||||
'Invalid Dataoul song file. Missing Song tag.'))
|
'Invalid Datasoul song file. Missing Song tag.'))
|
||||||
continue
|
continue
|
||||||
if hasattr(song_xml, 'Title') and song_xml.Title.text:
|
if hasattr(song_xml, 'Title') and song_xml.Title.text:
|
||||||
self.title = str(song_xml.Title.text)
|
self.title = str(song_xml.Title.text)
|
||||||
|
Loading…
Reference in New Issue
Block a user