FooSoft / yomichan

Japanese pop-up dictionary extension for Chrome and Firefox.
https://foosoft.net/projects/yomichan
Other
1.06k stars 213 forks source link

Kanji entries incorrectly added to Terms deck #1203

Closed lukeburns closed 3 years ago

lukeburns commented 3 years ago

Description When I click to add a Kanji entry to Anki, it is added to the Terms deck I've assigned to Terms, rather than the Kanji deck to which it has been assigned. I've noticed some weird behavior trying to get the configuration to save properly with the v2 settings page, but that's not the problem here, because the exported JSON (below) is the correct configuration.

Screen Shot 2021-01-05 at 3 39 52 PM Screen Shot 2021-01-05 at 3 39 30 PM

Browser version Firefox 84.0.1

Yomichan version 20.12.6.2

Exported settings file

{ 
...
    "terms": {
        "deck": "Terms", 
        ...
    },
    "kanji": {
        "deck": "Kanji",  
        ...
    }
... 
}
toasted-nutbread commented 3 years ago

The definition is still a "term" definition; it's just that the term is made up of a single kanji. To add a kanji definition, you need to click on the kanji character, which shows some different info about the character.

I have also fixed the other issue you mentioned about the settings v2 page.

lukeburns commented 3 years ago

Oh! I see. I misunderstood. Thank you.