diff --git a/package.json b/package.json index 0e9fa6f..524ceba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "0.5.1", + "version": "0.5.2", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/lib/add-pronouns.ts b/src/lib/add-pronouns.ts index 8f5dea8..d5553af 100644 --- a/src/lib/add-pronouns.ts +++ b/src/lib/add-pronouns.ts @@ -126,8 +126,8 @@ export default function addPronouns({ s, subject, object, info, displayForm, int mini: miniPronoun, }; const english = (displayForm.englishBuilder && englishConjugation) - ? displayForm.englishBuilder(subject, englishConjugation, negative).map(sen => ( - intransitive ? sen : `${sen} ${engObj(object)}` + ? displayForm.englishBuilder(subject, englishConjugation, negative).map(baseS => ( + (intransitive || info.transitivity === "grammatically transitive") ? baseS : `${baseS} ${engObj(object)}` )).join(" / ") : undefined;