aboutsummaryrefslogtreecommitdiff
path: root/dev/translator-vm.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-04-04 16:22:35 -0400
committerGitHub <noreply@github.com>2021-04-04 16:22:35 -0400
commite14b52ef84be7feeab60167605fd10918a242cd3 (patch)
treeb9b124d9ed77806a7ad8b52c6e779da0f4844993 /dev/translator-vm.js
parentb8bedd5185869edb33a7657fff323f812444eed0 (diff)
Update dictionary entry terminology (#1592)
* Update terminology * Update terminology in display.js * Update terminology in display-audio.js * Update terminology in text-scanner.js * Update terminology in backend.js * Update terminology in mecab.js * Update terminology in audio-downloader.js * Update terminology in translator-vm.js * Update terminology in dictionary-data-util.js * Update terminology in dictionary-database.js * Update terminology in japanese-util.js * Change/upgrade {expression} to {term} * Update terminology in test-japanese.js * Update terminology in test-database.js * Update terminology in anki-templates-controller.js * Update terminology in anki-note-builder.js * Update terminology in backend.js * Update terminology in text-scanner.js * Update terminology in display.js * Update terminology in display.js
Diffstat (limited to 'dev/translator-vm.js')
-rw-r--r--dev/translator-vm.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/translator-vm.js b/dev/translator-vm.js
index b7760f4a..4b5403da 100644
--- a/dev/translator-vm.js
+++ b/dev/translator-vm.js
@@ -105,10 +105,10 @@ class TranslatorVM extends DatabaseVM {
this._ankiNoteDataCreator = new AnkiNoteDataCreator(this._japaneseUtil);
}
- createTestAnkiNoteData(definition, mode) {
+ createTestAnkiNoteData(dictionaryEntry, mode) {
const marker = '{marker}';
const data = {
- definition,
+ dictionaryEntry,
resultOutputMode: mode,
mode: 'mode',
glossaryLayoutMode: 'default',