summaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-11-13 21:53:56 -0800
committerAlex Yatskov <alex@foosoft.net>2016-11-13 21:53:56 -0800
commit72ed8be877133cee805f5995eee60f29c8450301 (patch)
tree5678d6a23499fc9af8f48e52d76826e3b8e51fc5 /ext/bg/js/translator.js
parent8ad217970f3b0c66c7020d30593cc0c61e1129e9 (diff)
WIP
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 01213bed..bff0082b 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -43,7 +43,7 @@ class Translator {
});
}
- findTerm(text, enableSoftKatakanaSearch, dictionaries) {
+ findTerm(text, dictionaries, enableSoftKatakanaSearch) {
return this.findTermGroups(text, dictionaries).then(groups => {
const textHiragana = wanakana._katakanaToHiragana(text);
if (text !== textHiragana && enableSoftKatakanaSearch) {