From 8f21fdfad5fb4b0c51d7d72778c798a2239388e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20K=C3=B6hler?= Date: Tue, 27 Mar 2012 21:48:10 +0200 Subject: [PATCH] fix bug in autocompleter from bible quicksearch. The option Application language now shows the correct language and not only English. --- openlp/plugins/bibles/lib/mediaitem.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/plugins/bibles/lib/mediaitem.py b/openlp/plugins/bibles/lib/mediaitem.py index 223229fd6..0a5f71fb2 100644 --- a/openlp/plugins/bibles/lib/mediaitem.py +++ b/openlp/plugins/bibles/lib/mediaitem.py @@ -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(