migaku-official / Migaku-Dictionary-Addon

Migaku Dictionary allows users to lookup word definitions, export definitions to their cards in real-time, hear word audio and see word frequency, etc. If you have an issue please report it in the "Issues" tab. Reponses to issues can be slow on GitHub, for faster support consider joining our Discord server through our Patreon page.
GNU General Public License v3.0
64 stars 24 forks source link

Splitting up Term and glossary into separate fields #39

Open 511141 opened 4 years ago

511141 commented 4 years ago

Type:

Environment:

I'm going to open a PR to resolve the issue:

Description: When importing dictionary definitions into cards, the addon will put everything into the Glossary field. That includes the definition header and the description into the same field. Is it possible to split up the header and the description? According to the JSON files, there is Kanji-Kana header for every description so it should be possible. For terms with the same Kanji but different kana readings and descriptions, they are different entries, so this also should not be a problem.

The question is, should it be 2 fields, one for both Kanji/Kana and one for description, or should there be 3 fields Kanji/kana/description respectively.