diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index 940db0062..a1b133d6b 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -2313,19 +2313,18 @@ class IndividualPage(BasePage): date = _dd.display(event.get_date_object()) - # TODO. This logic does not work for LTR languages. We should go - # back to what it was. (Sorry, I (keestux) messed up.) - text = '' + if date and place: + text = _("(%(date) s   at    %(place)s") % { 'date': date, 'place': place } + elif place: + text = _("at    %(place)s") % { 'place': place } + elif date: + text = date + else: + text = '' if descr: + if text: + text += "
" text += descr - if date: - if text: - text += ',  ' - text += date - if place: - if text: - text += '  ' - text += _('place|at') + '  ' + place text += self.get_citation_links(event.get_source_references())