forked from openlp/openlp
parent
6b73c842cb
commit
7ba44af92a
@ -90,7 +90,7 @@ class MediaManagerItem(QtGui.QWidget):
|
|||||||
"""
|
"""
|
||||||
Constructor to create the media manager item.
|
Constructor to create the media manager item.
|
||||||
"""
|
"""
|
||||||
QtGui.QWidget.__init__(self, parent)
|
QtGui.QWidget.__init__(self)
|
||||||
self.hide()
|
self.hide()
|
||||||
self.whitespace = re.compile(r'[\W_]+', re.UNICODE)
|
self.whitespace = re.compile(r'[\W_]+', re.UNICODE)
|
||||||
self.plugin = plugin
|
self.plugin = plugin
|
||||||
|
@ -683,17 +683,17 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
verse.book.book_reference_id)
|
verse.book.book_reference_id)
|
||||||
if not db_book:
|
if not db_book:
|
||||||
log.debug(u'Passage "%s %d:%d" not found in Second '
|
log.debug(u'Passage "%s %d:%d" not found in Second '
|
||||||
u'Bible' % (verse.book.name, verse.chapter,
|
u'Bible' % (verse.book.name, verse.chapter,
|
||||||
verse.verse))
|
verse.verse))
|
||||||
passage_not_found = True
|
passage_not_found = True
|
||||||
count += 1
|
count += 1
|
||||||
continue
|
continue
|
||||||
new_search_results.append(verse)
|
new_search_results.append(verse)
|
||||||
text.append((verse.book.book_reference_id, verse.chapter,
|
text.append((verse.book.book_reference_id, verse.chapter,
|
||||||
verse.verse, verse.verse))
|
verse.verse, verse.verse))
|
||||||
if passage_not_found:
|
if passage_not_found:
|
||||||
QtGui.QMessageBox.information(self,
|
QtGui.QMessageBox.information(self,
|
||||||
translate('BiblePlugin.MediaItem', 'Information'),
|
translate('BiblePlugin.MediaItem', 'Information'),
|
||||||
unicode(translate('BiblePlugin.MediaItem',
|
unicode(translate('BiblePlugin.MediaItem',
|
||||||
'The second Bibles does not contain all the verses '
|
'The second Bibles does not contain all the verses '
|
||||||
'that are in the main Bible. Only verses found in both '
|
'that are in the main Bible. Only verses found in both '
|
||||||
|
Loading…
Reference in New Issue
Block a user