fix bug in autocompleter from bible quicksearch. The option Application language now shows the correct language and not only English.

This commit is contained in:
Armin Köhler 2012-03-27 21:48:10 +02:00
parent 3820c18eda
commit 8f21fdfad5

View File

@ -509,7 +509,8 @@ class BibleMediaItem(MediaManagerItem):
for book in book_data:
data = BiblesResourcesDB.get_book_by_id(
book.book_reference_id)
books.append(data[u'name'] + u' ')
books.append(unicode(
booknames[data[u'abbreviation']]) + u' ')
elif language_selection == LanguageSelection.English:
for book in book_data:
data = BiblesResourcesDB.get_book_by_id(