Skip to content

Commit

Permalink
Update docs for new add duplicate buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
eloyrobillard committed Mar 23, 2024
1 parent 2c5af21 commit b264f81
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/anki-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,12 @@ icons next to term definitions:
- Clicking ![](../img/btn-add-expression.png) adds the current expression as kanji (e.g. 食べる).
- Clicking ![](../img/btn-add-reading.png) adds the current expression as hiragana or katakana (e.g. たべる).

If "Check for card duplicates" is on, and a card for the current definition already exists in the deck, you will see the following icons instead:

- Adding the current expression: ![](../img/btn-add-duplicate-expression.png)
- Adding as hiragana or katakana: ![](../img/btn-add-duplicate-reading.png)

Below are some troubleshooting tips you can try if you are unable to create new flashcards:

- Individual icons will appear grayed out if a flashcard cannot be created for the current definition (e.g. it already exists in the deck).
- If all of the buttons appear grayed out, then you should double-check your deck and model configuration settings.
- If no icons appear at all, make sure that Anki is running in the background and that [AnkiConnect](https://foosoft.net/projects/anki-connect) has been installed.
2 changes: 1 addition & 1 deletion ext/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,7 @@ <h1>Yomitan Settings</h1>
<div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">Check for card duplicates</div>
<div class="settings-item-description">When a card is detected as a duplicate, the add buttons will be disabled.</div>
<div class="settings-item-description">When a card is detected as a duplicate, the add buttons will change appearance.</div>
</div>
<div class="settings-item-right">
<label class="toggle"><input type="checkbox" data-setting="anki.checkForDuplicates"
Expand Down
Binary file added img/btn-add-duplicate-expression.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/btn-add-duplicate-reading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b264f81

Please sign in to comment.