aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language/de/german-transforms.js
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/de/german-transforms.js
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/de/german-transforms.js')
-rw-r--r--ext/js/language/de/german-transforms.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/js/language/de/german-transforms.js b/ext/js/language/de/german-transforms.js
index 27b13c6a..17ba7a44 100644
--- a/ext/js/language/de/german-transforms.js
+++ b/ext/js/language/de/german-transforms.js
@@ -64,8 +64,8 @@ export const germanTransforms = {
isDictionaryForm: true,
},
},
- transforms: [
- {
+ transforms: {
+ 'nominalization': {
name: 'nominalization',
description: 'Noun formed from a verb',
rules: [
@@ -73,7 +73,7 @@ export const germanTransforms = {
suffixInflection('lung', 'eln', [], []),
],
},
- {
+ '-bar': {
name: '-bar',
description: '-able adjective from a verb',
rules: [
@@ -81,26 +81,26 @@ export const germanTransforms = {
suffixInflection('bar', 'n', [], ['v']), // Lieferbar
],
},
- {
+ 'negative': {
name: 'negative',
description: 'Negation',
rules: [
prefixInflection('un', '', [], ['adj']),
],
},
- {
+ 'separated prefix': {
name: 'separated prefix',
description: 'Separable prefix',
rules: [
...separatedPrefixInflections,
],
},
- {
+ 'zu-infinitive': {
name: 'zu-infinitive',
description: 'zu-infinitive',
rules: [
...zuInfinitiveInflections,
],
},
- ],
+ },
};