- remove extra/wrong '(' from translatable event date/place string
- it's not enough to have line breaks between notes, the notes themselves need to be separated from previous content too. I used page break for that too svn: r10705
This commit is contained in:
parent
9b2bfdf13e
commit
16e6246463
@ -2307,7 +2307,7 @@ class IndividualPage(BasePage):
|
||||
date = _dd.display(event.get_date_object())
|
||||
|
||||
if date and place:
|
||||
text = _("(%(date) s at %(place)s") % { 'date': date, 'place': place }
|
||||
text = _("%(date) s at %(place)s") % { 'date': date, 'place': place }
|
||||
elif place:
|
||||
text = _("at %(place)s") % { 'place': place }
|
||||
elif date:
|
||||
@ -2343,6 +2343,7 @@ class IndividualPage(BasePage):
|
||||
if format:
|
||||
text += u"<pre>%s</pre>" % note_text
|
||||
else:
|
||||
text += "<br />"
|
||||
text += u"<br />".join(note_text.split("\n"))
|
||||
return text
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user