fix issue with shortest forms of verbs
This commit is contained in:
parent
2615e5f104
commit
24a245f41e
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/pashto-inflector",
|
"name": "@lingdocs/pashto-inflector",
|
||||||
"version": "0.3.9",
|
"version": "0.4.0",
|
||||||
"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",
|
||||||
|
|
|
@ -417,9 +417,10 @@ function makeOnlyMiniForm(
|
||||||
psRemove(beginning, concatPsString(baParticle, " ")),
|
psRemove(beginning, concatPsString(baParticle, " ")),
|
||||||
" ",
|
" ",
|
||||||
psStringContains(beginning, concatPsString(baParticle, " ")) ? concatPsString(baParticle, " ") : "",
|
psStringContains(beginning, concatPsString(baParticle, " ")) ? concatPsString(baParticle, " ") : "",
|
||||||
mini,
|
negative ? concatPsString(" ", nuParticle, " ") : " ",
|
||||||
negative ? concatPsString(" ", nuParticle) : " ",
|
(beginning.p || negative) ? concatPsString(mini, " ") : "",
|
||||||
end,
|
end,
|
||||||
|
(beginning.p || negative) ? "" : concatPsString(" ", mini),
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue