Ensure there are always spaces around of even if the translation removes them

This commit is contained in:
Kovid Goyal 2017-05-11 00:55:10 +05:30
parent 6942a21229
commit 74e9b5de69
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -74,7 +74,7 @@ def create_item(book_id, metadata, create_image, show_book_details):
except Exception:
ival = 1.0
ival = fmt_sidx(ival, use_roman=interface_data.use_roman_numerals_for_series_number)
extra_data.appendChild(E.span(ival, _(' of '), E.i(metadata.series)))
extra_data.appendChild(E.span(ival, ' ' + _('of') + ' ', E.i(metadata.series)))
right = E.div(
class_='details-list-right',
E.div(style='display:flex; justify-content: space-between',