This commit is contained in:
lingdocs 2022-07-30 22:10:40 -05:00
parent 45e064e12b
commit 098cf9aced
4 changed files with 57 additions and 14 deletions

View File

@ -7,7 +7,7 @@
"@formkit/auto-animate": "^1.0.0-beta.1",
"@fortawesome/fontawesome-free": "^5.15.4",
"@lingdocs/lingdocs-main": "^0.3.1",
"@lingdocs/pashto-inflector": "^3.6.6",
"@lingdocs/pashto-inflector": "^3.6.8",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",

View File

@ -14,6 +14,8 @@ export function EditIcon() {
return <i className="fas fa-edit" />;
}
// TODO: Ability to show all variations
function EditableVPEx({ children, opts, formChoice, noEdit, length, mode, sub }: {
children: T.VPSelectionState,
opts: T.TextOptions,

View File

@ -333,7 +333,8 @@ This kind of sentence structure is likely *a direct influnce* of Farsi, and is p
<thead>
<tr>
<th scope="col">Tense</th>
<th scope="col">Opening Phrase</th>
<th scope="col">I can</th>
<th scope="col">I can't</th>
</tr>
</thead>
<tbody>
@ -343,7 +344,12 @@ This kind of sentence structure is likely *a direct influnce* of Farsi, and is p
</td>
<td>
<Examples opts={opts}>{[
{ p: "زه کولی شم", f: "zu kawúley shum", e: "" }
{ p: "زه کولی شم", f: "zu kawúley shum", e: "I can" },
]}</Examples>
</td>
<td>
<Examples opts={opts}>{[
{ p: "زه نه شم کولی", f: "zu nú shum kawúley", e: "I can't" },
]}</Examples>
</td>
</tr>
@ -353,7 +359,12 @@ This kind of sentence structure is likely *a direct influnce* of Farsi, and is p
</td>
<td>
<Examples opts={opts}>{[
{ p: "زه وکولی شم", f: "zu óokawúley shum", e: "" }
{ p: "زه وکولی شم", f: "zu óokawuley shum", e: "that I can" },
]}</Examples>
</td>
<td>
<Examples opts={opts}>{[
{ p: "زه ونه شم کولی", f: "zu oo-nú-shum kawuley", e: "that I can't" },
]}</Examples>
</td>
</tr>
@ -363,7 +374,12 @@ This kind of sentence structure is likely *a direct influnce* of Farsi, and is p
</td>
<td>
<Examples opts={opts}>{[
{ p: "زه به کولی شم", f: "zu ba kawúley shum", e: "" }
{ p: "زه به کولی شم", f: "zu ba kawúley shum", e: "I will be able to" },
]}</Examples>
</td>
<td>
<Examples opts={opts}>{[
{ p: "زه به نه شم کولی", f: "zu ba nú shum kawúley", e: "I won't be able to" },
]}</Examples>
</td>
</tr>
@ -373,7 +389,12 @@ This kind of sentence structure is likely *a direct influnce* of Farsi, and is p
</td>
<td>
<Examples opts={opts}>{[
{ p: "زه به وکولی شم", f: "zu ba óokawuley shum", e: "" }
{ p: "زه به وکولی شم", f: "zu ba óokawuley shum", e: "I will be able to" },
]}</Examples>
</td>
<td>
<Examples opts={opts}>{[
{ p: "زه به ونه شم کولی", f: "zu ba oo-nú shum kawuley", e: "I won't be able to" },
]}</Examples>
</td>
</tr>
@ -383,7 +404,12 @@ This kind of sentence structure is likely *a direct influnce* of Farsi, and is p
</td>
<td>
<Examples opts={opts}>{[
{ p: "ما کولی شو", f: "maa kawúley shoo", e: "" }
{ p: "ما کولی شو", f: "maa kawúley shoo", e: "I was able to (ongoing)" }
]}</Examples>
</td>
<td>
<Examples opts={opts}>{[
{ p: "ما نه شو کولی", f: "maa nú shoo kawúley", e: "I wasn't able to (ongoing)" }
]}</Examples>
</td>
</tr>
@ -393,7 +419,12 @@ This kind of sentence structure is likely *a direct influnce* of Farsi, and is p
</td>
<td>
<Examples opts={opts}>{[
{ p: "ما وکولی شو", f: "maa óokawuley shoo", e: "" }
{ p: "ما وکولی شو", f: "maa óokawuley shoo", e: "I was able to (one time)" }
]}</Examples>
</td>
<td>
<Examples opts={opts}>{[
{ p: "ما ونه شو وکولی", f: "maa oo-nú-shoo kawuley", e: "I wasn't able to (one time)" }
]}</Examples>
</td>
</tr>
@ -403,7 +434,12 @@ This kind of sentence structure is likely *a direct influnce* of Farsi, and is p
</td>
<td>
<Examples opts={opts}>{[
{ p: "ما به کولی شو", f: "maa ba kawúley shoo", e: "" }
{ p: "ما به کولی شو", f: "maa ba kawúley shoo", e: "I would be able to" }
]}</Examples>
</td>
<td>
<Examples opts={opts}>{[
{ p: "ما به نه شو کولی", f: "maa ba nú shoo kawúley", e: "I wouldn't be able to" }
]}</Examples>
</td>
</tr>
@ -413,7 +449,12 @@ This kind of sentence structure is likely *a direct influnce* of Farsi, and is p
</td>
<td>
<Examples opts={opts}>{[
{ p: "ما به وکولی شو", f: "maa ba óokawuley shoo", e: "" }
{ p: "ما به وکولی شو", f: "maa ba óokawuley shoo", e: "I would be able to" }
]}</Examples>
</td>
<td>
<Examples opts={opts}>{[
{ p: "ما به ونه شو کولی", f: "maa ba oo-nú-shoo kawúley", e: "I wouldn't be able to" }
]}</Examples>
</td>
</tr>

View File

@ -1803,10 +1803,10 @@
rambda "^6.7.0"
react-select "^5.2.2"
"@lingdocs/pashto-inflector@^3.6.6":
version "3.6.6"
resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-3.6.6.tgz#95810fdfe79fe069bf524609d0b98fa6b6a49b3a"
integrity sha512-MWGenqV9mMkEHc/IESGo4Xl+B+/3/4vbKLsQu1xjxFMJNjcS7UwrdmYUl4TcE+ZrIX3R0+J3eR8OeARYKwTY9g==
"@lingdocs/pashto-inflector@^3.6.8":
version "3.6.8"
resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-3.6.8.tgz#8e6cde1730d96458117f4efda9874b7ced329c36"
integrity sha512-wgS8AGad1fa+T4rEQRmbP9iV1jyRfLaT18fnFr1WjF4RC/B+U6Imr5ykKXV2pMQd/6yVi26yJFd8iFvRe3KybQ==
dependencies:
"@formkit/auto-animate" "^1.0.0-beta.1"
classnames "^2.2.6"