cleanup plurals for ي

This commit is contained in:
adueck 2024-06-26 15:52:55 -04:00
parent 1a0e1922d8
commit c5295db7c6
7 changed files with 9 additions and 18 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "pashto-inflector", "name": "pashto-inflector",
"version": "7.1.4", "version": "7.1.5",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "pashto-inflector", "name": "pashto-inflector",
"version": "7.1.4", "version": "7.1.5",
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "pashto-inflector", "name": "pashto-inflector",
"version": "7.1.4", "version": "7.1.5",
"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

@ -1,12 +1,12 @@
{ {
"name": "@lingdocs/ps-react", "name": "@lingdocs/ps-react",
"version": "7.1.4", "version": "7.1.5",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lingdocs/ps-react", "name": "@lingdocs/ps-react",
"version": "7.1.4", "version": "7.1.5",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@formkit/auto-animate": "^1.0.0-beta.3", "@formkit/auto-animate": "^1.0.0-beta.3",

View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/inflect", "name": "@lingdocs/inflect",
"version": "7.1.4", "version": "7.1.5",
"description": "Pashto inflector library", "description": "Pashto inflector library",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/lib/library.d.ts", "types": "dist/lib/library.d.ts",

View File

@ -1394,14 +1394,8 @@ const nouns: {
out: { out: {
plural: { plural: {
fem: [ fem: [
[ [{ p: "دوستیانې", f: "dostiyáane" }],
{ p: "دوستیانې", f: "dostiyáane" }, [{ p: "دوستیانو", f: "dostiyáano" }],
{ p: "دوستیګانې", f: "dosteegáane" },
],
[
{ p: "دوستیانو", f: "dostiyáano" },
{ p: "دوستیګانو", f: "dosteegáano" },
],
], ],
}, },
inflections: { inflections: {

View File

@ -607,9 +607,6 @@ function makePlural(
{ p: "یان", f: "iyáan" }, { p: "یان", f: "iyáan" },
gender === "fem" ? { p: "ې", f: "e" } : "" gender === "fem" ? { p: "ې", f: "e" } : ""
), ),
...(gender === "fem"
? [concatPsString(base, { p: "یګانې", f: "eegáane" })]
: []),
]; ];
return [ return [
firstInf, firstInf,