summaryrefslogtreecommitdiff
path: root/ext/js/language/es
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-06-03 19:25:51 +0200
committerGitHub <noreply@github.com>2024-06-03 17:25:51 +0000
commit7955fc85ac089d856b44bdea78eccd26ffbd690c (patch)
tree6a7cfc6464612f9f129b25fa59a46f9c7c0e72b5 /ext/js/language/es
parentd2fce502ecb00e3c9202295c93fbb8c554ddbd69 (diff)
display inflection rule descriptions (#1000)24.6.3.0
* load descriptions in deinflector * description functions in deinflectors * show descriptions in title * use toaster * use names without internal * css lint * reformat transform descriptors * fix merge errors * done? * rename method
Diffstat (limited to 'ext/js/language/es')
-rw-r--r--ext/js/language/es/spanish-transforms.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/js/language/es/spanish-transforms.js b/ext/js/language/es/spanish-transforms.js
index f2b503a6..54022fd5 100644
--- a/ext/js/language/es/spanish-transforms.js
+++ b/ext/js/language/es/spanish-transforms.js
@@ -73,8 +73,8 @@ export const spanishTransforms = {
isDictionaryForm: true,
},
},
- transforms: [
- {
+ transforms: {
+ 'plural': {
name: 'plural',
description: 'Plural form of a noun',
rules: [
@@ -85,14 +85,14 @@ export const spanishTransforms = {
...[...'aeiou'].map((v) => suffixInflection(`${v}nes`, `${addAccent(v)}n`, ['np'], ['ns'])), // 'canciones' -> canciĆ³n
],
},
- {
+ 'feminine adjective': {
name: 'feminine adjective',
description: 'feminine form of an adjective',
rules: [
suffixInflection('a', 'o', ['adj'], ['adj']),
],
},
- {
+ 'present indicative': {
name: 'present indicative',
description: 'Present indicative form of a verb',
rules: [
@@ -167,5 +167,5 @@ export const spanishTransforms = {
wholeWordInflection('han', 'haber', ['v'], ['v']),
],
},
- ],
+ },
};