diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-04 20:13:03 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-10 14:02:43 -0500 |
commit | 58c099799940fce56c7a57ce566c522c7eb0eb12 (patch) | |
tree | 05bb5213d0de1fa67af93e157dc0a15fd1c1055e /ext/bg/js/translator.js | |
parent | af1662acadbfb7a96e06257a9dfad71ed6e2c478 (diff) |
Give findKanji the same API as findTerms
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r-- | ext/bg/js/translator.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index d33a2e27..1cdd79db 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -330,7 +330,8 @@ class Translator { return deinflections; } - async findKanji(text, dictionaries) { + async findKanji(text, options) { + const dictionaries = dictEnabledSet(options); const titles = Object.keys(dictionaries); const kanjiUnique = {}; const kanjiList = []; |