diff options
| -rw-r--r-- | docs/anki-integration.md | 6 | ||||
| -rw-r--r-- | ext/settings.html | 2 | ||||
| -rw-r--r-- | img/btn-add-duplicate-expression.png | bin | 0 -> 893 bytes | |||
| -rw-r--r-- | img/btn-add-duplicate-reading.png | bin | 0 -> 475 bytes | 
4 files changed, 6 insertions, 2 deletions
| diff --git a/docs/anki-integration.md b/docs/anki-integration.md index 37c7faf8..65c86939 100644 --- a/docs/anki-integration.md +++ b/docs/anki-integration.md @@ -103,8 +103,12 @@ icons next to term definitions:  - Clicking  adds the current expression as kanji (e.g. 食べる).  - Clicking  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:  +- Adding as hiragana or katakana:  +  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. diff --git a/ext/settings.html b/ext/settings.html index 773d7cb2..ae559f4a 100644 --- a/ext/settings.html +++ b/ext/settings.html @@ -1619,7 +1619,7 @@              <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 turn red and change appearance.</div>                  </div>                  <div class="settings-item-right">                      <label class="toggle"><input type="checkbox" data-setting="anki.checkForDuplicates" diff --git a/img/btn-add-duplicate-expression.png b/img/btn-add-duplicate-expression.pngBinary files differ new file mode 100644 index 00000000..05673cbb --- /dev/null +++ b/img/btn-add-duplicate-expression.png diff --git a/img/btn-add-duplicate-reading.png b/img/btn-add-duplicate-reading.pngBinary files differ new file mode 100644 index 00000000..421d5ee0 --- /dev/null +++ b/img/btn-add-duplicate-reading.png |