WIP
This commit is contained in:
parent
108a0b28e9
commit
b40f4a757f
@ -305,8 +305,10 @@ func convertKanjidicCharacter(kanjidicCharacter jmdict.KanjidicCharacter) charac
|
|||||||
|
|
||||||
character.Character = kanjidicCharacter.Literal
|
character.Character = kanjidicCharacter.Literal
|
||||||
for _, m := range kanjidicCharacter.ReadingMeaning.ReadingMeaning.Meanings {
|
for _, m := range kanjidicCharacter.ReadingMeaning.ReadingMeaning.Meanings {
|
||||||
|
if m.Language == "en" || m.Language == "" {
|
||||||
character.Meanings = append(character.Meanings, m.Meaning)
|
character.Meanings = append(character.Meanings, m.Meaning)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for _, r := range kanjidicCharacter.ReadingMeaning.ReadingMeaning.Readings {
|
for _, r := range kanjidicCharacter.ReadingMeaning.ReadingMeaning.Readings {
|
||||||
switch r.Type {
|
switch r.Type {
|
||||||
|
Loading…
Reference in New Issue
Block a user