hmm
This commit is contained in:
parent
ac88082d4e
commit
7275fbd73c
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "3.0.8",
|
||||
"version": "3.0.9",
|
||||
"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",
|
||||
|
|
|
@ -268,7 +268,7 @@ function compileEnglishVP(VP: T.VPRendered): string[] | undefined {
|
|||
: undefined;
|
||||
const engAPs = getEngAPs(VP.blocks);
|
||||
// require all English parts for making the English phrase
|
||||
const b = (VP.englishBase && engSubj && engObj !== undefined)
|
||||
return (VP.englishBase && engSubj && engObj !== undefined)
|
||||
? VP.englishBase.map(e => insertEWords(e, {
|
||||
// TODO: make sure we actually have the english
|
||||
subject: getEnglishFromRendered(engSubj) || "",
|
||||
|
@ -276,7 +276,6 @@ function compileEnglishVP(VP: T.VPRendered): string[] | undefined {
|
|||
APs: engAPs,
|
||||
})).map(capitalizeFirstLetter)
|
||||
: undefined;
|
||||
return b;
|
||||
}
|
||||
|
||||
function compileEnglishEP(EP: T.EPRendered): string[] | undefined {
|
||||
|
|
|
@ -28,6 +28,8 @@ import Hider from "./components/Hider";
|
|||
import EntrySelect from "./components/EntrySelect";
|
||||
import VerbInfo, { RootsAndStems } from "./components/verb-info/VerbInfo";
|
||||
import VPExplorer from "./components/vp-explorer/VPExplorer";
|
||||
import { vpsReducer } from "./components/vp-explorer/vps-reducer";
|
||||
import type { VpsReducerAction as VpsA } from "./components/vp-explorer/vps-reducer";
|
||||
import useStickyState from "./lib/useStickyState";
|
||||
import Block, { NPBlock, APBlock } from "./components/blocks/Block";
|
||||
import { roleIcon } from "./components/vp-explorer/VPExplorerExplanationModal";
|
||||
|
@ -232,6 +234,7 @@ export {
|
|||
renderAPSelection,
|
||||
getEnglishVerb,
|
||||
roleIcon,
|
||||
vpsReducer,
|
||||
// protobuf helpers
|
||||
readDictionary,
|
||||
writeDictionary,
|
||||
|
@ -272,4 +275,6 @@ export {
|
|||
genderColors,
|
||||
// TYPES
|
||||
Types,
|
||||
}
|
||||
}
|
||||
|
||||
export type VpsReducerAction = VpsA;
|
Loading…
Reference in New Issue