diff options
-rw-r--r-- | docs/templates.md | 26 | ||||
-rw-r--r-- | ext/settings.html | 2 | ||||
-rw-r--r-- | test/data/html/test-document1.html | 10 |
3 files changed, 19 insertions, 19 deletions
diff --git a/docs/templates.md b/docs/templates.md index 18274ed5..ddab4390 100644 --- a/docs/templates.md +++ b/docs/templates.md @@ -523,16 +523,16 @@ Returns an array of the mora for a kana string. <summary>Example:</summary> ```handlebars - {{#each (getKanaMorae "よみちゃん")}}{{{.}}}<br>{{/each}} + {{#each (getKanaMorae "よみたん")}}{{{.}}}<br>{{/each}} ``` Output: ```html - よ<br>み<br>ちゃ<br>ん<br> + よ<br>み<br>た<br>ん<br> ``` Preview: - <pre>よ<br>み<br>ちゃ<br>ん<br></pre> + <pre>よ<br>み<br>た<br>ん<br></pre> </details> @@ -553,9 +553,9 @@ Returns the type of a value. `#typeof` in the block form will always return `'st <summary>Example:</summary> ```handlebars - {{typeof "よみちゃん"}} + {{typeof "よみたん"}} {{typeof 1}} - {{#typeof}}よみちゃん{{/typeof}} + {{#typeof}}よみたん{{/typeof}} ``` Output: @@ -799,16 +799,16 @@ Converts katakana text to hiragana. <summary>Example:</summary> ```handlebars - {{hiragana "よみちゃん ヨミちゃん ヨミチャン"}} - {{#hiragana}}よみちゃん ヨミちゃん ヨミチャン{{/hiragana}} + {{hiragana "よみたん ヨミたん ヨミタン"}} + {{#hiragana}}よみたん ヨミたん ヨミタン{{/hiragana}} {{#hiragana}}ローマ字{{/hiragana}} {{#hiragana keepProlongedSoundMarks=true}}ローマ字{{/hiragana}} ``` Output: ```html - よみちゃん よみちゃん よみちゃん - よみちゃん よみちゃん よみちゃん + よみたん よみたん よみたん + よみたん よみたん よみたん ろうま字 ろーま字 ``` @@ -832,13 +832,13 @@ Converts hiragana text to katakana. <summary>Example:</summary> ```handlebars - {{katakana "よみちゃん ヨミちゃん ヨミチャン"}} - {{#katakana}}よみちゃん ヨミちゃん ヨミチャン{{/katakana}} + {{katakana "よみたん ヨミたん ヨミタン"}} + {{#katakana}}よみたん ヨミたん ヨミタン{{/katakana}} ``` Output: ```html - ヨミチャン ヨミチャン ヨミチャン - ヨミチャン ヨミチャン ヨミチャン + ヨミタン ヨミタン ヨミタン + ヨミタン ヨミタン ヨミタン ``` </details> diff --git a/ext/settings.html b/ext/settings.html index 346cc1d7..323be708 100644 --- a/ext/settings.html +++ b/ext/settings.html @@ -2878,7 +2878,7 @@ A synthesized voice will speak the given text, using either the term text or the reading. </p> <div class="horizontal-flex margin-above"> - <input type="text" value="よみちゃん" id="text-to-speech-voice-test-text" autocomplete="off" lang="ja"> + <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> </div> </div> diff --git a/test/data/html/test-document1.html b/test/data/html/test-document1.html index ef47228f..964d12c0 100644 --- a/test/data/html/test-document1.html +++ b/test/data/html/test-document1.html @@ -136,9 +136,9 @@ data-end-offset="0" data-result-type="TextSourceElement" data-sentence-scan-extent="100" - data-sentence="よみちゃん" + data-sentence="よみたん" > - <button type="button" style="width: 100%; box-sizing: border-box; font-family: inherit; font-size: inherit; border: 1px solid #d8d8d8; background-color: #f0f0f0; padding: 0.2em;">よみちゃん</button> + <button type="button" style="width: 100%; box-sizing: border-box; font-family: inherit; font-size: inherit; border: 1px solid #d8d8d8; background-color: #f0f0f0; padding: 0.2em;">よみたん</button> </div> <div @@ -152,9 +152,9 @@ data-end-offset="0" data-result-type="TextSourceElement" data-sentence-scan-extent="100" - data-sentence="よみちゃん" + data-sentence="よみたん" > - <img src="data:image/gif;base64,R0lGODdhBwAHAIABAAAAAP///ywAAAAABwAHAAACDIRvEaC32FpCbEkKCgA7" alt="よみちゃん" title="よみちゃん" style="width: 70px; height: 70px; image-rendering: crisp-edges; image-rendering: pixelated; display: block;"> + <img src="data:image/gif;base64,R0lGODdhBwAHAIABAAAAAP///ywAAAAABwAHAAACDIRvEaC32FpCbEkKCgA7" alt="よみたん" title="よみたん" style="width: 70px; height: 70px; image-rendering: crisp-edges; image-rendering: pixelated; display: block;"> </div> <div @@ -352,4 +352,4 @@ </div> </body> -</html>
\ No newline at end of file +</html> |