WIP
This commit is contained in:
parent
8ad217970f
commit
72ed8be877
@ -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) {
|
||||
|
@ -246,7 +246,7 @@ class Yomichan {
|
||||
}
|
||||
|
||||
promiseCallback(
|
||||
this.translator.findTerm(text, this.options.enableSoftKatakanaSearch, dictionaries),
|
||||
this.translator.findTerm(text, dictionaries, this.options.enableSoftKatakanaSearch),
|
||||
callback
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user