- 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:
Eero Tamminen 2008-05-11 19:19:38 +00:00
parent 9b2bfdf13e
commit 16e6246463

View File

@ -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