diff --git a/src/npc/generate/newChildIntro.js b/src/npc/generate/newChildIntro.js index fe7bff58d4e6a92303c584e7b05e9412f9298216..4c25206b346a413d3e87b67fb77f37faeb258743 100644 --- a/src/npc/generate/newChildIntro.js +++ b/src/npc/generate/newChildIntro.js @@ -229,7 +229,7 @@ App.UI.newChildIntro = function(slave) { naming.append(parentNaming(tempMom)); } if (tempDad && slave.father !== slave.mother) { - naming.append(parentNaming(tempDad, true)); + naming.append(parentNaming(tempDad)); } el.append(naming); @@ -787,7 +787,7 @@ App.UI.newChildIntro = function(slave) { return el; - function parentNaming(parent, father) { + function parentNaming(parent) { const el = new DocumentFragment(); ({ he2, his2, He2, wife2 @@ -865,7 +865,7 @@ App.UI.newChildIntro = function(slave) { "div", el, App.UI.DOM.link( - `Permit ${his} devoted ${father ? `father`:`mother`}, ${parent.slaveName}, to name ${his2} ${daughter}`, + `Permit ${his} devoted ${relativeTerm(slave, parent)}, ${parent.slaveName}, to name their ${daughter}`, () => { parentNames(parent, slave); slave.birthName = slave.slaveName;