From 21966a37db02aea7156897a5c8d7ae4899733c9f Mon Sep 17 00:00:00 2001
From: DCoded <dcoded@live.com>
Date: Thu, 4 Jun 2020 14:40:50 -0400
Subject: [PATCH] Replaced hardcoded pronouns with pronoun calls

---
 src/facilities/nursery/widgets/utils/nurseryUtils.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/facilities/nursery/widgets/utils/nurseryUtils.js b/src/facilities/nursery/widgets/utils/nurseryUtils.js
index cacacfa1597..81ac40ec043 100644
--- a/src/facilities/nursery/widgets/utils/nurseryUtils.js
+++ b/src/facilities/nursery/widgets/utils/nurseryUtils.js
@@ -16,9 +16,9 @@ App.Facilities.Nursery.childList = function () {
 			child = cribs[i],
 			weeksOwned = V.week - child.weekAcquired,
 			weeksLeft = (V.targetAgeNursery * 52) - weeksOwned,
-			he = child.genes === "XX" ? `she` : `he`,
-			him = child.genes === "XX" ? `her` : 'him',
-			He = capFirstChar(he);
+			he = getPronouns(child).he,
+			him = getPronouns(child).him,
+			He = getPronouns(child).Him;
 
 		if (child.actualAge < 3) {
 			r += App.UI.passageLink(`${SlaveFullName(child)}`, "Infant Interact", `$activeChild = $cribs[${i}]`);
-- 
GitLab