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