Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use tag button instead of input button
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
src/collective/texttospeech/browser/templates/texttospeech.pt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<div i18n:domain="collective.texttospeech" | ||
id="viewlet-texttospeech" | ||
data-label-stopped="🔊 Listen" | ||
data-label-playing="⏸ Pause" | ||
data-label-paused="▶ Resume" | ||
data-label-stopped="Listen" | ||
data-label-playing="Pause" | ||
data-label-paused="Resume" | ||
data-error-message="Could not load ResponsiveVoice library; Text-To-Speech feature is disabled or is not available." | ||
tal:attributes="data-voice view/voice; | ||
data-enabled view/enabled" | ||
i18n:attributes="data-label-stopped; | ||
data-label-playing; | ||
data-label-paused; | ||
data-error-message"> | ||
<input id="texttospeech-button" | ||
<button id="texttospeech-button" | ||
class="stopped" | ||
type="button" | ||
value="🔊 Listen" | ||
title="Speech synthesis control" | ||
tal:condition="view/enabled" | ||
i18n:attributes="value; title" /> | ||
i18n:attributes="title" | ||
i18n:translate="">Listen</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters