summaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-08-24 09:14:23 -0700
committerAlex Yatskov <alex@foosoft.net>2016-08-24 09:14:23 -0700
commit4bebe9215999e9983e47e3fc9a1e7d6d94d0a3bb (patch)
tree97981d8579082f3687407e0a6e45cc5e92291624 /ext/bg/js/translator.js
parentb2d9b613ad3a673abb20033808877962545644d4 (diff)
WIP
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 30045378..d1a92d08 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -43,6 +43,7 @@ class Translator {
} else {
this.dictionary.initDb();
return Promise.all([
+ this.dictionary.importKanjiDict('bg/data/kanjidic/index.json'),
this.dictionary.importTermDict('bg/data/edict/index.json'),
this.dictionary.importTermDict('bg/data/enamdict/index.json')
]);