Skip to content

Commit

Permalink
Add TTS Anki Warning (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvNC authored Nov 21, 2024
1 parent fd97f0b commit e50a50d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions ext/templates-modals.html
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,9 @@ <h1 class="modal-title">Pronunciation Dictionaries</h1>
<p>
A synthesized voice will speak the given text, using either the term text or the reading.
</p>
<p class="warning-text">
⚠️ Note: Audio generated with text-to-speech cannot be captured for use in Anki card creation.
</p>
<div class="horizontal-flex margin-above">
<input type="text" value="よみたん" id="text-to-speech-voice-test-text" autocomplete="off" lang="ja">
<button type="button" id="text-to-speech-voice-test">Test</button>
Expand Down
8 changes: 4 additions & 4 deletions ext/templates-settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@
<option value="jisho">Jisho.org</option>
<option value="lingua-libre">(Commons) Lingua Libre</option>
<option value="wiktionary">(Commons) Wiktionary</option>
<option value="text-to-speech">Text-to-speech</option>
<option value="text-to-speech-reading">Text-to-speech (Kana reading)</option>
<option value="text-to-speech" title="Not supported in Anki">Text-to-speech ⚠️</option>
<option value="text-to-speech-reading" title="Not supported in Anki">Text-to-speech (Kana reading) ⚠️</option>
<option value="custom">Custom URL</option>
<option value="custom-json">Custom URL (JSON)</option>
</select>
Expand Down Expand Up @@ -461,8 +461,8 @@
<option value="jisho">Jisho.org</option>
<option value="lingua-libre">Lingua Libre</option>
<option value="wiktionary">Wiktionary</option>
<option value="text-to-speech">Text-to-speech</option>
<option value="text-to-speech-reading">Text-to-speech (Kana reading)</option>
<option value="text-to-speech" title="Not supported in Anki">Text-to-speech ⚠️</option>
<option value="text-to-speech-reading" title="Not supported in Anki">Text-to-speech (Kana reading) ⚠️</option>
<option value="custom">Custom</option>
</select>
</div></template>
Expand Down

0 comments on commit e50a50d

Please sign in to comment.