Skip to content

Commit

Permalink
Add TTS Anki Warning
Browse files Browse the repository at this point in the history
<rikaitan.link>ZTUwYTUwZDMwYTEyZjQ2MDkxYTI5MzNlMWE5MWJjMzVjOWIwMjA3Mwo=</rikaitan.link>
  • Loading branch information
jason-ojisan committed Nov 22, 2024
1 parent e2aa067 commit ae1e767
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 @@ -702,6 +702,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 ae1e767

Please sign in to comment.