← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~orangeshirt/openlp/bibles_fixes into lp:openlp

 

Armin Köhler has proposed merging lp:~orangeshirt/openlp/bibles_fixes into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)

For more details, see:
https://code.launchpad.net/~orangeshirt/openlp/bibles_fixes/+merge/99599

fix bug in autocompleter from bible quicksearch. The option Application language now shows the correct language and not only English.
-- 
https://code.launchpad.net/~orangeshirt/openlp/bibles_fixes/+merge/99599
Your team OpenLP Core is requested to review the proposed merge of lp:~orangeshirt/openlp/bibles_fixes into lp:openlp.
=== modified file 'openlp/plugins/bibles/lib/mediaitem.py'
--- openlp/plugins/bibles/lib/mediaitem.py	2012-03-15 06:15:21 +0000
+++ openlp/plugins/bibles/lib/mediaitem.py	2012-03-27 19:55:24 +0000
@@ -509,7 +509,8 @@
                     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(


Follow ups