fixed english issue with grammatically transitive verbs
This commit is contained in:
parent
34cadd4515
commit
3c0ef80de7
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue