sg abbrev

This commit is contained in:
lingdocs 2022-06-15 00:03:18 -04:00
parent 36078c2433
commit 560387d969
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "2.9.7", "version": "2.9.8",
"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

@ -155,7 +155,7 @@ export function getEnglishPersonInfo(person: T.Person, version?: "short" | "long
: "3rd") + (version !== "short" ? " pers." : ""); : "3rd") + (version !== "short" ? " pers." : "");
const number = personIsPlural(person) ? "plur" : "sing"; const number = personIsPlural(person) ? "plur" : "sing";
const n = version === "short" const n = version === "short"
? (number === "plur" ? "pl" : "sn") : number; ? (number === "plur" ? "pl" : "sg") : number;
const gender = personGender(person); const gender = personGender(person);
const g = version === "short" const g = version === "short"
? (gender === "masc" ? "m" : "f") ? (gender === "masc" ? "m" : "f")