Proposal for 2 small problems in Descendants Report
highlighter:
current situation
proposal and result
1) Problem: Evaluation of Gender for nato/nata, morto/morta (for Italian, French, Spanish ...)
3. Lucrezia Anna Lepore>2.3, nato il 25 Lug 1749 a Gemona del Friuli e morto il 19 Set 1797.
4. Pietro Lepore>2.4, nato il 21 Ott 1751 a Gemona del Friuli e morto il 7 Ott 1807 .
Proposal for a Change in Descendants.js to Line 427
// oWriter.insertLine(Util.FormatPhrase(Dic('PhBirthAndDeathTxt'),c.Gender.ID, cb.Date.ToString(''), cb.Place.Session("Locative"),cd.Date.ToString(''), cd.Place.Session("Locative")));
oWriter.insertLine(Util.FormatPhrase(DicMFU('PhBirthAndDeathTxt',c.Gender.ID), c.Gender.ID, cb.Date.ToString(''), cb.Place.Session("Locative"),cd.Date.ToString(''), cd.Place.Session("Locative")));
Result:
3. Lucrezia Anna Lepore>2.3, nata il 25 Lug 1749 a Gemona del Friuli e morta il 19 Set 1797.
4. Pietro Lepore>2.4, nato il 21 Ott 1751 a Gemona del Friuli e morto il 7 Ott 1807.
______________________________________________________________________
2) Problem: Alignment Names in Index
Venturini
Elisabetta (n.1873) 5.10
, Giovanni 6.1
, Maria (n.1785) 3.1
Visentin
Amabile (n.1897) 6.3
Zamolo
Antonia (n.1846) 5.17
, Elisabetta (n.1761) 2.5
, Elisabetta (n.1780) 3.7
Zampieri
Proposal for a Change in Descendants. js to Lines 848-856
// if (!( i.Session('NameRoot')+'' == sName)) {
// sName = i.Session('NameRoot');
// oWriter.newParagraph();
// oWriter.insertLine((sName ? sName : Dic('_NoName')) ,false, 'gnoNormal', 'gnoEmphasis');
// sSep='';
// }
//
// oWriter.insertText(Util.FormatPhrase(Dic('PhIndex'),i.Session('NameFirstAndMiddle'), sSep, i.Birth.Date.Year, i.Birth.Baptism.Date.Year, i.Death.Date.Year), null, 'gnoNormal', 'gnoSmall');
// oWriter.insertText(' ' + sRef, true, null,'gnoSuper');
// sSep = ',';
if (!( i.Session('NameRoot')+'' == sName)) {
sName = i.Session('NameRoot');
oWriter.newParagraph();
oWriter.insertLine(' ');
oWriter.insertText((sName ? sName : Dic('_NoName')) ,false, 'gnoNormal', 'gnoEmphasis');
sSep=' ';
}
oWriter.insertText(Util.FormatPhrase(Dic('PhIndex'),i.Session('NameFirstAndMiddle'), sSep, i.Birth.Date.Year, i.Birth.Baptism.Date.Year, i.Death.Date.Year), null, 'gnoNormal', 'gnoSmall');
oWriter.insertText(' ' + sRef, true, null,'gnoSuper');
sSep = ' ';
Result:
Venturini
Elisabetta (n.1873) 5.10
Giovanni 6.1
Maria (n.1785) 3.1
Visentin
Amabile (n.1897) 6.3
Zamolo
Antonia (n.1846) 5.17
Elisabetta (n.1761) 2.5
Elisabetta (n.1780) 3.7
Zampieri
…
I do not know JavaScript. The proposed amendments are only empirical, seeing the result.
Therefore any other solution, in the official version, will be appreciated.
Vittorino Lepore 
"Se non porti almeno una soluzione, anche tu fai parte del problema" or "If you don't bring at least a solution, even you're a part of the problem"
Edited: Friday, January 25, 2013 by
vlepore