aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 8e0c522f..0a0a6109 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -62,9 +62,9 @@ class Translator {
};
return Promise.all([
- this.dictionary.importDb('bg/data/edict/index.json', bankCallback),
- this.dictionary.importDb('bg/data/enamdict/index.json', bankCallback),
- this.dictionary.importDb('bg/data/kanjidic/index.json', bankCallback),
+ this.dictionary.importDictionary('bg/data/edict/index.json', bankCallback),
+ this.dictionary.importDictionary('bg/data/enamdict/index.json', bankCallback),
+ this.dictionary.importDictionary('bg/data/kanjidic/index.json', bankCallback),
]).then(() => {
return this.dictionary.sealDb();
}).then(() => {