From c5295db7c6a8fc5e42408c59e4428043733a7db3 Mon Sep 17 00:00:00 2001 From: adueck Date: Wed, 26 Jun 2024 15:52:55 -0400 Subject: [PATCH] =?UTF-8?q?cleanup=20plurals=20for=20=D9=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 4 ++-- package.json | 2 +- src/components/package-lock.json | 4 ++-- src/components/package.json | 2 +- src/lib/package.json | 2 +- src/lib/src/pashto-inflector.test.ts | 10 ++-------- src/lib/src/pashto-inflector.ts | 3 --- 7 files changed, 9 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index d1a174e..8f6651c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pashto-inflector", - "version": "7.1.4", + "version": "7.1.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pashto-inflector", - "version": "7.1.4", + "version": "7.1.5", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index ae9310f..74f61c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pashto-inflector", - "version": "7.1.4", + "version": "7.1.5", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/components/package-lock.json b/src/components/package-lock.json index 4601aa1..d6fedd3 100644 --- a/src/components/package-lock.json +++ b/src/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lingdocs/ps-react", - "version": "7.1.4", + "version": "7.1.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lingdocs/ps-react", - "version": "7.1.4", + "version": "7.1.5", "license": "MIT", "dependencies": { "@formkit/auto-animate": "^1.0.0-beta.3", diff --git a/src/components/package.json b/src/components/package.json index 1055b42..7616993 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/ps-react", - "version": "7.1.4", + "version": "7.1.5", "description": "Pashto inflector library module with React components", "main": "dist/components/library.js", "module": "dist/components/library.js", diff --git a/src/lib/package.json b/src/lib/package.json index 3e4a653..9111a2b 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/inflect", - "version": "7.1.4", + "version": "7.1.5", "description": "Pashto inflector library", "main": "dist/index.js", "types": "dist/lib/library.d.ts", diff --git a/src/lib/src/pashto-inflector.test.ts b/src/lib/src/pashto-inflector.test.ts index e80e338..46b7cfa 100644 --- a/src/lib/src/pashto-inflector.test.ts +++ b/src/lib/src/pashto-inflector.test.ts @@ -1394,14 +1394,8 @@ const nouns: { out: { plural: { fem: [ - [ - { p: "دوستیانې", f: "dostiyáane" }, - { p: "دوستیګانې", f: "dosteegáane" }, - ], - [ - { p: "دوستیانو", f: "dostiyáano" }, - { p: "دوستیګانو", f: "dosteegáano" }, - ], + [{ p: "دوستیانې", f: "dostiyáane" }], + [{ p: "دوستیانو", f: "dostiyáano" }], ], }, inflections: { diff --git a/src/lib/src/pashto-inflector.ts b/src/lib/src/pashto-inflector.ts index db1af77..5643640 100644 --- a/src/lib/src/pashto-inflector.ts +++ b/src/lib/src/pashto-inflector.ts @@ -607,9 +607,6 @@ function makePlural( { p: "یان", f: "iyáan" }, gender === "fem" ? { p: "ې", f: "e" } : "" ), - ...(gender === "fem" - ? [concatPsString(base, { p: "یګانې", f: "eegáane" })] - : []), ]; return [ firstInf,