include bundled plural

This commit is contained in:
adueck 2022-12-02 09:21:03 +05:00
parent f140e39f8b
commit da12287fb0
9 changed files with 30 additions and 25 deletions

View File

@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"@lingdocs/inflect": "5.2.1",
"@lingdocs/inflect": "5.3.0",
"base64url": "^3.0.1",
"bcryptjs": "^2.4.3",
"connect-redis": "^6.0.0",
@ -124,9 +124,9 @@
}
},
"node_modules/@lingdocs/inflect": {
"version": "5.2.1",
"resolved": "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.2.1.tgz",
"integrity": "sha512-A2Is03lIx8od0JfnHjAbreNeI1jsoRARRXnNhqaJ+Hw7DMPMXEkOlpZnY/luvTcUA7/E5FHKEEAtBOng//zcog==",
"version": "5.3.0",
"resolved": "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.3.0.tgz",
"integrity": "sha512-rFNys1HmgU1bL1cFFtUE3vAPiOTqbkYk7hq9n1KiDHo4slr/hSs28esnhgjyRRDIjX16lgEYpDkvr8j7Hac/TQ==",
"license": "MIT",
"dependencies": {
"pbf": "^3.2.1",
@ -2741,9 +2741,9 @@
}
},
"@lingdocs/inflect": {
"version": "5.2.1",
"resolved": "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.2.1.tgz",
"integrity": "sha512-A2Is03lIx8od0JfnHjAbreNeI1jsoRARRXnNhqaJ+Hw7DMPMXEkOlpZnY/luvTcUA7/E5FHKEEAtBOng//zcog==",
"version": "5.3.0",
"resolved": "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.3.0.tgz",
"integrity": "sha512-rFNys1HmgU1bL1cFFtUE3vAPiOTqbkYk7hq9n1KiDHo4slr/hSs28esnhgjyRRDIjX16lgEYpDkvr8j7Hac/TQ==",
"requires": {
"pbf": "^3.2.1",
"rambda": "^7.3.0"

View File

@ -11,7 +11,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@lingdocs/inflect": "5.2.1",
"@lingdocs/inflect": "5.3.0",
"base64url": "^3.0.1",
"bcryptjs": "^2.4.3",
"connect-redis": "^6.0.0",

View File

@ -45,10 +45,10 @@
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"
"@lingdocs/inflect@5.2.1":
"integrity" "sha512-A2Is03lIx8od0JfnHjAbreNeI1jsoRARRXnNhqaJ+Hw7DMPMXEkOlpZnY/luvTcUA7/E5FHKEEAtBOng//zcog=="
"resolved" "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.2.1.tgz"
"version" "5.2.1"
"@lingdocs/inflect@5.3.0":
"integrity" "sha512-rFNys1HmgU1bL1cFFtUE3vAPiOTqbkYk7hq9n1KiDHo4slr/hSs28esnhgjyRRDIjX16lgEYpDkvr8j7Hac/TQ=="
"resolved" "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.3.0.tgz"
"version" "5.3.0"
dependencies:
"pbf" "^3.2.1"
"rambda" "^7.3.0"

View File

@ -7,7 +7,7 @@
"name": "functions",
"dependencies": {
"@google-cloud/storage": "^5.8.1",
"@lingdocs/inflect": "5.2.1",
"@lingdocs/inflect": "5.3.0",
"@types/cors": "^2.8.10",
"@types/google-spreadsheet": "^3.0.2",
"@types/react": "^18.0.21",
@ -391,9 +391,9 @@
}
},
"node_modules/@lingdocs/inflect": {
"version": "5.2.1",
"resolved": "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.2.1.tgz",
"integrity": "sha512-A2Is03lIx8od0JfnHjAbreNeI1jsoRARRXnNhqaJ+Hw7DMPMXEkOlpZnY/luvTcUA7/E5FHKEEAtBOng//zcog==",
"version": "5.3.0",
"resolved": "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.3.0.tgz",
"integrity": "sha512-rFNys1HmgU1bL1cFFtUE3vAPiOTqbkYk7hq9n1KiDHo4slr/hSs28esnhgjyRRDIjX16lgEYpDkvr8j7Hac/TQ==",
"license": "MIT",
"dependencies": {
"pbf": "^3.2.1",
@ -3499,9 +3499,9 @@
}
},
"@lingdocs/inflect": {
"version": "5.2.1",
"resolved": "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.2.1.tgz",
"integrity": "sha512-A2Is03lIx8od0JfnHjAbreNeI1jsoRARRXnNhqaJ+Hw7DMPMXEkOlpZnY/luvTcUA7/E5FHKEEAtBOng//zcog==",
"version": "5.3.0",
"resolved": "https://npm.lingdocs.com/@lingdocs%2finflect/-/inflect-5.3.0.tgz",
"integrity": "sha512-rFNys1HmgU1bL1cFFtUE3vAPiOTqbkYk7hq9n1KiDHo4slr/hSs28esnhgjyRRDIjX16lgEYpDkvr8j7Hac/TQ==",
"requires": {
"pbf": "^3.2.1",
"rambda": "^7.3.0"

View File

@ -14,7 +14,7 @@
"main": "lib/functions/src/index.js",
"dependencies": {
"@google-cloud/storage": "^5.8.1",
"@lingdocs/inflect": "5.2.1",
"@lingdocs/inflect": "5.3.0",
"@types/cors": "^2.8.10",
"@types/google-spreadsheet": "^3.0.2",
"@types/react": "^18.0.21",

View File

@ -7,7 +7,7 @@
"private": true,
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.2",
"@lingdocs/ps-react": "5.2.1",
"@lingdocs/ps-react": "5.3.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",

View File

@ -105,4 +105,5 @@ export function displayFormResult(res: string[]): string {
.replace("ArabicPlural", "Arabic Plural")
.replace("Fem", "Fem.")
.replace("Masc", "Masc.")
.replace("BundledPlural", "Bundled Plural");
}

View File

@ -260,6 +260,10 @@ function IsolatedEntry({ state, dictionary, isolateEntry }: {
<h5>Plural</h5>
<InflectionsTable inf={inf.plural} textOptions={textOptions} />
</div>}
{"bundledPlural" in inf && inf.bundledPlural !== undefined && <div>
<h5>Bundled Plural</h5>
<InflectionsTable inf={inf.bundledPlural} textOptions={textOptions} />
</div>}
{"arabicPlural" in inf && inf.arabicPlural !== undefined && <div>
<h5>Arabic Plural</h5>
<InflectionsTable inf={inf.arabicPlural} textOptions={textOptions} />

View File

@ -2349,10 +2349,10 @@
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"
"@lingdocs/ps-react@5.2.1":
version "5.2.1"
resolved "https://npm.lingdocs.com/@lingdocs%2fps-react/-/ps-react-5.2.1.tgz#e483ced9d12a1913564831f8b37fdb843b912e80"
integrity sha512-2gG2GVNISgjgiyOjyt1rjCPeJ+Bd+FWKZMPXHV98KFSWuuUEX5Jhf8K2FXzv0CGdTOviI++V1O07y86iCSlaXA==
"@lingdocs/ps-react@5.3.0":
version "5.3.0"
resolved "https://npm.lingdocs.com/@lingdocs%2fps-react/-/ps-react-5.3.0.tgz#4c3a66e4192e14aede43a0a23b7e170bab2d4cb9"
integrity sha512-UnIDvUSbbJBHf2CYcBYAgAfLst9M+eVcZJfPDiMSV2tiZgLzueplNw5ykl5hlSR7+zxc9ExziEps1nobXkqGnw==
dependencies:
"@formkit/auto-animate" "^1.0.0-beta.3"
classnames "^2.2.6"