fixed english issue with grammatically transitive verbs
This commit is contained in:
parent
34cadd4515
commit
3c0ef80de7
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/pashto-inflector",
|
"name": "@lingdocs/pashto-inflector",
|
||||||
"version": "0.5.1",
|
"version": "0.5.2",
|
||||||
"author": "lingdocs.com",
|
"author": "lingdocs.com",
|
||||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||||
"homepage": "https://verbs.lingdocs.com",
|
"homepage": "https://verbs.lingdocs.com",
|
||||||
|
|
|
@ -126,8 +126,8 @@ export default function addPronouns({ s, subject, object, info, displayForm, int
|
||||||
mini: miniPronoun,
|
mini: miniPronoun,
|
||||||
};
|
};
|
||||||
const english = (displayForm.englishBuilder && englishConjugation)
|
const english = (displayForm.englishBuilder && englishConjugation)
|
||||||
? displayForm.englishBuilder(subject, englishConjugation, negative).map(sen => (
|
? displayForm.englishBuilder(subject, englishConjugation, negative).map(baseS => (
|
||||||
intransitive ? sen : `${sen} ${engObj(object)}`
|
(intransitive || info.transitivity === "grammatically transitive") ? baseS : `${baseS} ${engObj(object)}`
|
||||||
)).join(" / ")
|
)).join(" / ")
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue