forked from openlp/openlp
Oops in string format
This commit is contained in:
parent
828741ec84
commit
b84dbb15a2
@ -104,7 +104,7 @@ class Ui_EditBibleDialog(object):
|
||||
for book in BiblesResourcesDB.get_books():
|
||||
self.book_name_label[book['abbreviation']] = QtWidgets.QLabel(self.book_name_widget)
|
||||
self.book_name_label[book['abbreviation']].setObjectName(
|
||||
'book_name_label[{name}]'.format(book=book['abbreviation']))
|
||||
'book_name_label[{book}]'.format(book=book['abbreviation']))
|
||||
self.book_name_edit[book['abbreviation']] = QtWidgets.QLineEdit(self.book_name_widget)
|
||||
self.book_name_edit[book['abbreviation']].setObjectName(
|
||||
'book_name_edit[{name}]'.format(name=book['abbreviation']))
|
||||
|
@ -603,7 +603,7 @@ class SongMediaItem(MediaManagerItem):
|
||||
else:
|
||||
verse_index = VerseType.from_tag(verse[0]['type'])
|
||||
verse_tag = VerseType.translated_tags[verse_index]
|
||||
verse_def = '{tag}{label}'.format(tzg=verse_tag, text=verse[0]['label'])
|
||||
verse_def = '{tag}{text}'.format(tag=verse_tag, text=verse[0]['label'])
|
||||
service_item.add_from_text(verse[1], verse_def)
|
||||
service_item.title = song.title
|
||||
author_list = self.generate_footer(service_item, song)
|
||||
|
Loading…
Reference in New Issue
Block a user