summaryrefslogtreecommitdiff
path: root/ext/js/language/es
diff options
context:
space:
mode:
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']),
],
},
- ],
+ },
};