- Wishlish fix: Make the song-footer text "Written by" optional

This commit is contained in:
Olli Suutari 2016-09-15 21:32:25 +03:00
parent 25631152ad
commit a6f043ff20
1 changed files with 4 additions and 1 deletions

View File

@ -646,7 +646,10 @@ class SongMediaItem(MediaManagerItem):
item.raw_footer = []
item.raw_footer.append(song.title)
if authors_none:
item.raw_footer.append("{text}: {authors}".format(text=translate('OpenLP.Ui', 'Written by'),
if Settings().value('core/auto unblank'):
item.raw_footer.append("{authors}".format(authors=create_separated_list(authors_none)))
else:
item.raw_footer.append("{text}: {authors}".format(text=translate('OpenLP.Ui', 'Written by'),
authors=create_separated_list(authors_none)))
if authors_words_music:
item.raw_footer.append("{text}: {authors}".format(text=AuthorType.Types[AuthorType.WordsAndMusic],