Fixed a small bug where multiple translations of verses showed up incorrectly in the footer.

bzr-revno: 1415
This commit is contained in:
Raoul Snyman 2011-03-22 09:53:06 +02:00
commit b5eee3202c

View File

@ -71,7 +71,7 @@ class VerseReferenceList(object):
continue continue
prev = index - 1 prev = index - 1
if self.verse_list[prev][u'version'] != verse[u'version']: if self.verse_list[prev][u'version'] != verse[u'version']:
result = u'%s (%s)' % (result, verse[u'version']) result = u'%s (%s)' % (result, self.verse_list[prev][u'version'])
result = result + u', ' result = result + u', '
if self.verse_list[prev][u'book'] != verse[u'book']: if self.verse_list[prev][u'book'] != verse[u'book']:
result = u'%s%s %s:' % (result, verse[u'book'], result = u'%s%s %s:' % (result, verse[u'book'],