This commit is contained in:
lingdocs 2021-07-05 18:01:31 +03:00
parent b16967e5ce
commit 96b8ccf32c
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "0.5.5", "version": "0.5.6",
"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",

View File

@ -89,6 +89,7 @@ export default function addPronouns({ s, subject, object, info, displayForm, int
const addRest = (s: string) => ( const addRest = (s: string) => (
`${s}${noObject ? "" : ` ${engObj(object)}`}${englishConjugation.ep ? ` ${englishConjugation.ep}` : ""}` `${s}${noObject ? "" : ` ${engObj(object)}`}${englishConjugation.ep ? ` ${englishConjugation.ep}` : ""}`
); );
console.log(englishConjugation);
return englishBuilder(subject, englishConjugation.ec, negative) return englishBuilder(subject, englishConjugation.ec, negative)
.map(addRest); .map(addRest);
} }