summaryrefslogtreecommitdiff
path: root/ext/js/language/dictionary-database.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-04-08 19:59:55 -0400
committerGitHub <noreply@github.com>2021-04-08 19:59:55 -0400
commitc73ee1308612517374ee17fcfbb20b84492b020f (patch)
tree989f6fdd272443627ba99052167dcfd34f189fdb /ext/js/language/dictionary-database.js
parente444141511b6d06c4bfe370febc5e3c5bff30e3d (diff)
More terminology updates (#1600)
* Update terminology * Update display * Rename expression-list to headword-list * Rename expression-current-indicator * Rename expression classes * Update dictionary entry container * Rename glossary => gloss * Rename heading * Rename gloss classes to gloss-content
Diffstat (limited to 'ext/js/language/dictionary-database.js')
-rw-r--r--ext/js/language/dictionary-database.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/language/dictionary-database.js b/ext/js/language/dictionary-database.js
index 98f56986..6b235fb6 100644
--- a/ext/js/language/dictionary-database.js
+++ b/ext/js/language/dictionary-database.js
@@ -392,7 +392,7 @@ class DictionaryDatabase {
definitionTags: this._splitField(row.definitionTags || row.tags || ''),
termTags: this._splitField(row.termTags || ''),
rules: this._splitField(row.rules),
- glossary: row.glossary,
+ definitions: row.glossary,
score: row.score,
dictionary: row.dictionary,
id: row.id,
@@ -407,7 +407,7 @@ class DictionaryDatabase {
onyomi: this._splitField(row.onyomi),
kunyomi: this._splitField(row.kunyomi),
tags: this._splitField(row.tags),
- glossary: row.meanings,
+ definitions: row.meanings,
stats: row.stats,
dictionary: row.dictionary
};