Skip to content

Commit

Permalink
#13 df: Generator change
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Sep 7, 2023
1 parent fff6fe9 commit 3121aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/scenariotest/replacePlaceholders.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function replacePlaceholders(sentencePart, words, part) {
elementName = toTitleCase(elementName);
} else if (sentencePart.number_actor === "plural" && examiningElement.number === "singular" && examiningElement.is_proper_noun === false) {
elementName = pluralize(elementName);
} else if (examiningElement.type === "person" && examiningElement.is_proper_noun === false && examiningElement.number === "singular") {
} else if ((examiningElement.type === "person" || examiningElement.type === "system") && examiningElement.is_proper_noun === false && examiningElement.number === "singular") {
elementName = indefinite(elementName);
}
replacingStringList.push(elementName);
Expand Down

0 comments on commit 3121aa3

Please sign in to comment.