Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TTS Anki Warning #1591

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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