better imperative
This commit is contained in:
parent
2053690875
commit
a0091929be
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0.3",
|
||||
"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",
|
||||
|
|
|
@ -274,7 +274,7 @@ function compileEnglishVP(VP: T.VPRendered): string[] | undefined {
|
|||
subject: getEnglishFromRendered(engSubj) || "",
|
||||
object: engObj ? getEnglishFromRendered(engObj) : "",
|
||||
APs: engAPs,
|
||||
}))
|
||||
})).map(capitalizeFirstLetter)
|
||||
: undefined;
|
||||
}
|
||||
|
||||
|
|
|
@ -238,10 +238,10 @@ export function renderEnglishVPBase({ subjectPerson, object, vs }: {
|
|||
(s: T.Person, v: T.EnglishVerbConjugationEc, n: boolean) => string[]
|
||||
> = {
|
||||
imperfectiveImperative: (s: T.Person, ec: T.EnglishVerbConjugationEc, n: boolean) => ([
|
||||
`${n ? "don't " : ""}${ec[0]}`,
|
||||
`$SUBJ ${n ? "don't " : ""}${ec[0]}! (command)`,
|
||||
]),
|
||||
perfectiveImperative: (s: T.Person, ec: T.EnglishVerbConjugationEc, n: boolean) => ([
|
||||
`${n ? "don't " : ""}${ec[0]}`,
|
||||
`$SUBJ ${n ? "don't " : ""}${ec[0]}! (command)`,
|
||||
]),
|
||||
};
|
||||
const base = (
|
||||
|
|
Loading…
Reference in New Issue