Marriage day or only a year print in wrong position in reports with ltr/rtl texts - 1.5.2-dev

Bug #1265539 reported by meliza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webtrees
New
Undecided
Unassigned

Bug Description

On rtl pages with a ltr name or ltr pages with a rtl name, the marriage day or marriage year that are not preceded by ABT, CAL or a month are printed on the wrong side of the name in the ancestors report, the descendants report and in the related individuals report.

This could be solved for instance by adding translatable texts 'on ' or 'in ' between the names and the marriage dates in a similar way to what is printed in the Fancy tree view module. Another option might be to force the marriage dates to be printed in the page language direction no matter what is printed before the date. I considered an option to print only the main name in these reports. This would not solve the issue when the individual is defined with only a name not in the page language direction.

#. I18N: Note the space at the end of the string
#: modules_v3\fancy_treeview/module.php:1404
msgctxt "before dateformat mmm yyyy"
msgid "in "
msgstr " "

#. I18N: Note the space at the end of the string
#: modules_v3\fancy_treeview/module.php:1407
msgctxt "before dateformat yyyy"
msgid "in "
msgstr " "

#. I18N: Note the space at the end of the string
#: modules_v3\fancy_treeview/module.php:1401
msgctxt "before dateformat dd-mm-yyyy"
msgid "on "
msgstr " "

Samples for demo i1 in Hebrew looks now like
בנובמבר 194 Prince Philip, Duke of Edinburgh 20

My English page looks like
Mindel "Misse" Waprinsky מינדל ופרינסקי 23 May 1943
My Hebrew page looks like
במאי 1943 Mindel "Misse" Waprinsky 23 מינדל ופרינסקי

and
Irja Hartinen איריה הרטינן 1972

and OK because the date starts by a text in the page language
Liba Jarmowsky ליבה ירמובסקי before 20 November 1932
לפני 20 בנובמבר 1932 Liba Jarmowsky ליבה ירמובסקי
Leah Arlook לאה ארלוק July 1932
יולי 1935 Leah Arlook לאה ארלוק

Meliza

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.