update sandwiches

This commit is contained in:
lingdocs 2022-07-20 16:25:27 -05:00
parent 2aec8e1dfb
commit 9eb5529c9c
4 changed files with 21 additions and 3 deletions

View File

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

@ -272,7 +272,7 @@ function ComplementBlock({ opts, comp, script, inside }: {
</div>; </div>;
} }
return <div className="text-center"> return <div className="text-center">
<div>Comp.</div> <div>Complement</div>
{comp.type === "adjective" {comp.type === "adjective"
? <AdjectiveBlock opts={opts} adj={comp} /> ? <AdjectiveBlock opts={opts} adj={comp} />
: comp.type === "loc. adv." : comp.type === "loc. adv."

View File

@ -14,7 +14,7 @@ function LocativeAdverbPicker(props: {
props.onChange(makeLocativeAdverbSelection(entry)); props.onChange(makeLocativeAdverbSelection(entry));
} }
return <div style={{ maxWidth: "225px", minWidth: "125px" }}> return <div style={{ maxWidth: "225px", minWidth: "125px" }}>
<h6>Loc. Adverb</h6> <h6>Locative Adverb</h6>
<div> <div>
<EntrySelect <EntrySelect
value={props.adjective?.entry} value={props.adjective?.entry}

View File

@ -32,6 +32,24 @@ export const sandwiches: T.Sandwich[] = [
after: { p: "ته", f: "ta" }, after: { p: "ته", f: "ta" },
e: "to", e: "to",
}, },
{
type: "sandwich",
before: { p: "د", f: "du" },
after: { p: "لپاره", f: "lapaara" },
e: "for",
},
{
type: "sandwich",
before: { p: "د", f: "du" },
after: { p: "دپاره", f: "dupáara" },
e: "for",
},
{
type: "sandwich",
before: { p: "د", f: "du" },
after: { p: "دمخې", f: "dumúkhe" },
e: "before/in front of",
},
{ {
type: "sandwich", type: "sandwich",
before: { p: "د", f: "du" }, before: { p: "د", f: "du" },