This commit is contained in:
lingdocs 2021-06-24 13:41:00 +04:00
parent 560b335abc
commit b0664cb38c
2 changed files with 54 additions and 53 deletions

View File

@ -23,6 +23,7 @@ import {
InlinePs, InlinePs,
Examples, Examples,
} from "@lingdocs/pashto-inflector"; } from "@lingdocs/pashto-inflector";
import psmd from "../../lib/psmd";
import EquativeFormChoice from "../../components/EquativeFormChoice"; import EquativeFormChoice from "../../components/EquativeFormChoice";
import Formula from "../../components/Formula"; import Formula from "../../components/Formula";
import Link from "../../components/Link"; import Link from "../../components/Link";
@ -74,28 +75,28 @@ This is used for:
#### Examples #### Examples
<Examples opts={opts}>{[ <Examples opts={opts}>{psmd([
{ {
p: "زه به په کور کې یم.", p: "زه **به** په کور کې **یم**.",
f: "zu ba pu kor ke yum.", f: "zu **ba** pu kor ke **yum**.",
e: "I will be at home.", e: "I **will be** at home.",
}, },
{ {
p: "مونږ به ستړي یو", p: "مونږ **به** ستړي **یو**",
f: "moonG ba stúRee yoo.", f: "moonG ba stúRee **yoo**.",
e: "We will be tired.", e: "We **will be** tired.",
}, },
{ {
p: "ډوډۍ به تیاره وي.", p: "ډوډۍ **به** تیاره **وي**.",
f: "DoDúy ba tayáara wee.", f: "DoDúy **ba** tayáara **wee**.",
e: "The food will be ready.", e: "The food **will be** ready.",
}, },
{ {
p: "تاسو به وږي یئ، که نه؟", p: "تاسو **به** وږي **یئ**، که نه؟",
f: "taaso ba wuGee yeyy, ku nu?", f: "taaso **ba** wuGee **yeyy**, ku nu?",
e: "You'll be hungry, won't you?", e: "You**'ll be** hungry, won't you?",
}, },
]}</Examples> ])}</Examples>
## Past Equative ## Past Equative
@ -132,33 +133,33 @@ It is usually used in the short form.
#### Examples #### Examples
<Examples opts={opts}>{[ <Examples opts={opts}>{psmd([
{ {
p: "ته چېرته وې؟", p: "ته چېرته **وې**؟",
f: "tu cherta we?", f: "tu cherta **we**?",
e: "Where were you?", e: "Where **were** you?",
}, },
{ {
p: "زه په کور کې وم.", p: "زه په کور کې **وم**.",
f: "zu pu kor ke wum.", f: "zu pu kor ke **wum**.",
e: "I was at home.", e: "I **was** at home.",
}, },
{ {
p: "هغه ډېر ستړی و.", p: "هغه ډېر ستړی **و**.",
f: "haghá Der stúRey wo.", f: "haghá Der stúRey **wo**.",
e: "He was very tired.", e: "He **was** very tired.",
}, },
{ {
p: "هغه ډېره ستړې وه.", p: "هغه ډېره ستړې **وه**.",
f: "haghá Déra stúRe wa.", f: "haghá Déra stúRe **wa**.",
e: "She was very tired.", e: "She **was** very tired.",
}, },
{ {
p: "مونږ خفه وو", p: "مونږ خفه **وو**",
f: "moonG khúfa woo.", f: "moonG khúfa **woo**.",
e: "We were sad.", e: "We **were** sad.",
}, },
]}</Examples> ])}</Examples>
## Affirmative Equative ## Affirmative Equative
@ -209,23 +210,23 @@ Like the <Link to="#past-equative">past equative</Link> that it's based on, it's
#### Examples #### Examples
<Examples opts={opts}>{[ <Examples opts={opts}>{psmd([
{ {
p: "ډوډۍ به تیاره وه.", p: "ډوډۍ **به** تیاره **وه**.",
f: "DoDúy ba tayáara wa.", f: "DoDúy **ba** tayáara **wa**.",
e: "The food will havve been ready.", e: "The food **will have been** ready.",
}, },
{ {
p: "ته به خبر وې", p: "ته **به** خبر **وې**",
f: "tu ba khabúr we.", f: "tu **ba** khabúr **we**.",
e: "Youwill have known.", e: "Youwill have known.",
}, },
{ {
p: "که خوب مې نه وای کړی، زه به ستړی وم.", p: "که خوب مې نه وای کړی، زه **به** ستړی **وم**.",
f: "ku khob me nu waay kúRey, zu ba stúRey wum.", f: "ku khob me nu waay kúRey, zu **ba** stúRey **wum**.",
e: "If I hadn't slept, I would have been tired.", e: "If I hadn't slept, I **would have been** tired.",
}, },
]}</Examples> ])}</Examples>
## Conterfactual / Past Subjunctive / Wish Equative ## Conterfactual / Past Subjunctive / Wish Equative
@ -279,20 +280,20 @@ export function WithTailChoice() {
<WithTailChoice /> <WithTailChoice />
<Examples opts={opts}>{[ <Examples opts={opts}>{psmd([
{ {
p: "کاشکې ته دلته وای!", p: "**کاشکې ته دلته **وای!",
f: "kaashke tu dălta waay!", f: "kaashke tu dălta **waay**!",
e: "If only you were here!", e: "If only you were here!",
}, },
{ {
p: "که زه ستا پلار نه وای...", p: "که زه ستا پلار نه **وای**...",
f: "ku zu staa plaar nu waay...", f: "ku zu staa plaar nu **waay**...",
e: "If I wasn't your father...", e: "If I wasn't your father...",
}, },
{ {
p: "که مونږ خبر وای، نه راتلو.", p: "که مونږ خبر **وای**، نه راتلو.",
f: "ku moonG khabúr waay, nú raatloo.", f: "ku moonG khabúr **waay**, nú raatloo.",
e: "I we had known, we wouldn't have come.", e: "I we had known, we wouldn't have come.",
}, },
]}</Examples> ])}</Examples>

View File

@ -1555,9 +1555,9 @@
chalk "^4.0.0" chalk "^4.0.0"
"@lingdocs/pashto-inflector@^0.4.0": "@lingdocs/pashto-inflector@^0.4.0":
version "0.4.5" version "0.4.6"
resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-0.4.5.tgz#3fa73a61a24cd109d9cc32341a5f06d4abcb9ab7" resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-0.4.6.tgz#02326f80333b181d62bb31b72922e37e6b7dcef5"
integrity sha512-Zjc5ERN9457vXh7fK6W/gcNnIDmyiTnxhT1Mrqj7u0+3GTWlmpJZlOI7dyffBg2j65OVNbVRJ2WaIhkS9Wz9Wg== integrity sha512-22AYH63kYoSMF2YOo4Pu9S631kvOLlsgCuVL41zHDMf9KzXgkoDOqfYO4ogorI5X/IlylfscSe50RSDvUnagQw==
dependencies: dependencies:
classnames "^2.2.6" classnames "^2.2.6"
pbf "^3.2.1" pbf "^3.2.1"