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

Replace all occurrences of よみちゃん / ヨミチャン with よみたん / ヨミタン #377

Merged
merged 1 commit into from
Dec 18, 2023
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
26 changes: 13 additions & 13 deletions docs/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>


Expand All @@ -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:
Expand Down Expand Up @@ -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
よみちゃん よみちゃん よみちゃん
よみちゃん よみちゃん よみちゃん
よみたん よみたん よみたん
よみたん よみたん よみたん
ろうま字
ろーま字
```
Expand All @@ -832,13 +832,13 @@ Converts hiragana text to katakana.
<summary>Example:</summary>

```handlebars
{{katakana "よみちゃん ヨミちゃん ヨミチャン"}}
{{#katakana}}よみちゃん ヨミちゃん ヨミチャン{{/katakana}}
{{katakana "よみたん ヨミたん ヨミタン"}}
{{#katakana}}よみたん ヨミたん ヨミタン{{/katakana}}
```

Output:
```html
ヨミチャン ヨミチャン ヨミチャン
ヨミチャン ヨミチャン ヨミチャン
ヨミタン ヨミタン ヨミタン
ヨミタン ヨミタン ヨミタン
```
</details>
2 changes: 1 addition & 1 deletion ext/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -2878,7 +2878,7 @@ <h1>Yomitan Settings</h1>
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>
Expand Down
10 changes: 5 additions & 5 deletions test/data/html/test-document1.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ <h1>Yomitan Tests</h1>
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
Expand All @@ -152,9 +152,9 @@ <h1>Yomitan Tests</h1>
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
Expand Down Expand Up @@ -352,4 +352,4 @@ <h1>Yomitan Tests</h1>
</div>

</body>
</html>
</html>