change jpod101 kana check to detect katakana
This commit is contained in:
parent
dd019ecf68
commit
02e0e24153
@ -22,7 +22,7 @@ const audioUrlBuilders = new Map([
|
|||||||
let kana = definition.reading;
|
let kana = definition.reading;
|
||||||
let kanji = definition.expression;
|
let kanji = definition.expression;
|
||||||
|
|
||||||
if (!kana && wanakana.isHiragana(kanji)) {
|
if (!kana && jpIsStringEntirelyKana(kanji)) {
|
||||||
kana = kanji;
|
kana = kanji;
|
||||||
kanji = null;
|
kanji = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user