fix up masc inflection of demonstratives

This commit is contained in:
adueck 2024-12-06 15:06:14 +05:00
parent 73eb04d7e0
commit 0ade410698
5 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "pashto-inflector-website",
"version": "7.7.1",
"version": "7.7.2",
"type": "module",
"scripts": {
"patch": "npm version patch --no-git-tag-version && cd src/lib && npm version patch --no-git-tag-version && cd ../components && npm version patch --no-git-tag-version",
@ -46,4 +46,4 @@
"typescript-eslint": "^8.0.0",
"vite": "^5.4.0"
}
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@lingdocs/ps-react",
"version": "7.7.1",
"version": "7.7.2",
"description": "Pashto inflector library module with React components",
"main": "dist/components/library.js",
"module": "dist/components/library.js",

View File

@ -1,6 +1,6 @@
{
"name": "@lingdocs/inflect",
"version": "7.7.1",
"version": "7.7.2",
"description": "Pashto inflector library",
"main": "dist/lib/library.cjs",
"module": "dist/lib/library.js",

View File

@ -8,6 +8,8 @@ import * as tp from "../type-predicates";
import memoize from "micro-memoize";
import { pashtoConsonants } from "../pashto-consonants";
// TODO: و ارزول
// TODO: کول verbs!
// check that aawu stuff is working
// check oo`azmooy -

View File

@ -178,7 +178,7 @@ function renderDeterminer({
? number === "plural"
? { p: "دغو", f: "dágho" }
: gender === "masc"
? { p: "دغه", f: "dághu" }
? { p: "دغه", f: "dágha" }
: { p: "دغې", f: "dághe" }
: { p: "دغه", f: "dágha" };
return {
@ -196,7 +196,7 @@ function renderDeterminer({
? number === "plural"
? { p: "هغو", f: "hágho" }
: gender === "masc"
? { p: "هغه", f: "hághu" }
? { p: "هغه", f: "hágha" }
: { p: "هغې", f: "hághe" }
: { p: "هغه", f: "hágha" };
return {