From 32a31916a7340258c3c09c542bfff5959171eefb Mon Sep 17 00:00:00 2001 From: Philipp Stadler <hello@phstadler.com> Date: Wed, 24 Jul 2024 19:15:49 +0200 Subject: [PATCH] fix: typo in English fieldname --- package.json | 2 +- src/templates/vocabulary/.template-spec.yaml | 2 +- src/templates/vocabulary/hear/front.html | 10 +++++----- src/templates/vocabulary/read_hanzi/back.html | 10 +++++----- .../vocabulary/read_hanzi_traditional/back.html | 10 +++++----- src/templates/vocabulary/read_pinyin/back.html | 10 +++++----- src/templates/vocabulary/speak/back.html | 10 +++++----- src/templates/vocabulary/write/back.html | 10 +++++----- src/templates/vocabulary/write_traditional/back.html | 10 +++++----- 9 files changed, 37 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index 62b60c1..86007af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kartenaale-card-templates", - "version": "4.0.2", + "version": "4.0.3", "description": "HTML and data for Anki cards", "repository": "https://gitlab.phaidra.org/kartenaale/card-templates", "author": "Philipp Stadler <hello@phstadler.com>", diff --git a/src/templates/vocabulary/.template-spec.yaml b/src/templates/vocabulary/.template-spec.yaml index 7d99ac5..12f4063 100644 --- a/src/templates/vocabulary/.template-spec.yaml +++ b/src/templates/vocabulary/.template-spec.yaml @@ -12,7 +12,7 @@ note_type: - Remarks - Remarks (front side) - Zhuyin - - Pronounciation + - Pronunciation - Audio recording - Lesson - Credits diff --git a/src/templates/vocabulary/hear/front.html b/src/templates/vocabulary/hear/front.html index b9dfd26..db0b062 100644 --- a/src/templates/vocabulary/hear/front.html +++ b/src/templates/vocabulary/hear/front.html @@ -1,4 +1,4 @@ -{{#Enable listen}}{{#Pronounciation}} +{{#Enable listen}}{{#Pronunciation}} <style> @import url(../../../components/global.css); </style> @@ -19,14 +19,14 @@ <dd id="t2s-player-container" class="t2s-player-container"> <div class="anki-droid-player"> <tts style="display: none" service="android" voice="zh_CN"> - {{text:Pronounciation}} + {{text:Pronunciation}} </tts> </div> <div class="anki-web-player"> - {{text:Pronounciation}} + {{text:Pronunciation}} </div> <div class="anki-builtin-player"> - {{tts zh_CN:Pronounciation}} + {{tts zh_CN:Pronunciation}} </div> </dd> <dt>Recording</dt> @@ -42,4 +42,4 @@ <script type="module"> import '../../../components/front' </script> -{{/Pronounciation}}{{/Enable listen}} \ No newline at end of file +{{/Pronunciation}}{{/Enable listen}} \ No newline at end of file diff --git a/src/templates/vocabulary/read_hanzi/back.html b/src/templates/vocabulary/read_hanzi/back.html index 2b4baa5..dd5bc2f 100644 --- a/src/templates/vocabulary/read_hanzi/back.html +++ b/src/templates/vocabulary/read_hanzi/back.html @@ -10,22 +10,22 @@ <dd>{{Pīnyīn}}</dd> <dt>English</dt> <dd>{{English}}</dd> - {{#Pronounciation}} + {{#Pronunciation}} <dt class="t2s-player-heading">汉语</dt> <dd id="t2s-player-container" class="t2s-player-container"> <div class="anki-droid-player"> <tts style="display: none" service="android" voice="zh_CN"> - {{text:Pronounciation}} + {{text:Pronunciation}} </tts> </div> <div class="anki-web-player"> - {{text:Pronounciation}} + {{text:Pronunciation}} </div> <div class="anki-builtin-player"> - {{tts zh_CN:Pronounciation}} + {{tts zh_CN:Pronunciation}} </div> </dd> - {{/Pronounciation}} + {{/Pronunciation}} <dt>Recording</dt> <dd>{{Audio recording}}</dd> <dt>Remarks</dt> diff --git a/src/templates/vocabulary/read_hanzi_traditional/back.html b/src/templates/vocabulary/read_hanzi_traditional/back.html index 581afc4..5afed32 100644 --- a/src/templates/vocabulary/read_hanzi_traditional/back.html +++ b/src/templates/vocabulary/read_hanzi_traditional/back.html @@ -10,22 +10,22 @@ <dd>{{Pīnyīn}}</dd> <dt>English</dt> <dd>{{English}}</dd> - {{#Pronounciation}} + {{#Pronunciation}} <dt class="t2s-player-heading">汉语</dt> <dd id="t2s-player-container" class="t2s-player-container"> <div class="anki-droid-player"> <tts style="display: none" service="android" voice="zh_CN"> - {{text:Pronounciation}} + {{text:Pronunciation}} </tts> </div> <div class="anki-web-player"> - {{text:Pronounciation}} + {{text:Pronunciation}} </div> <div class="anki-builtin-player"> - {{tts zh_CN:Pronounciation}} + {{tts zh_CN:Pronunciation}} </div> </dd> - {{/Pronounciation}} + {{/Pronunciation}} <dt>Recording</dt> <dd>{{Audio recording}}</dd> <dt>Remarks</dt> diff --git a/src/templates/vocabulary/read_pinyin/back.html b/src/templates/vocabulary/read_pinyin/back.html index bdbbd77..621ef13 100644 --- a/src/templates/vocabulary/read_pinyin/back.html +++ b/src/templates/vocabulary/read_pinyin/back.html @@ -15,22 +15,22 @@ {{text:简体字}} </div> </dd> - {{#Pronounciation}} + {{#Pronunciation}} <dt class="t2s-player-heading">汉语</dt> <dd id="t2s-player-container" class="t2s-player-container"> <div class="anki-droid-player"> <tts style="display: none" service="android" voice="zh_CN"> - {{text:Pronounciation}} + {{text:Pronunciation}} </tts> </div> <div class="anki-web-player"> - {{text:Pronounciation}} + {{text:Pronunciation}} </div> <div class="anki-builtin-player"> - {{tts zh_CN:Pronounciation}} + {{tts zh_CN:Pronunciation}} </div> </dd> - {{/Pronounciation}} + {{/Pronunciation}} <dt>Recording</dt> <dd>{{Audio recording}}</dd> <dt>Remarks</dt> diff --git a/src/templates/vocabulary/speak/back.html b/src/templates/vocabulary/speak/back.html index ba21ada..336a823 100644 --- a/src/templates/vocabulary/speak/back.html +++ b/src/templates/vocabulary/speak/back.html @@ -15,22 +15,22 @@ {{text:简体字}} </div> </dd> - {{#Pronounciation}} + {{#Pronunciation}} <dt class="t2s-player-heading">汉语</dt> <dd id="t2s-player-container" class="t2s-player-container"> <div class="anki-droid-player"> <tts style="display: none" service="android" voice="zh_CN"> - {{text:Pronounciation}} + {{text:Pronunciation}} </tts> </div> <div class="anki-web-player"> - {{text:Pronounciation}} + {{text:Pronunciation}} </div> <div class="anki-builtin-player"> - {{tts zh_CN:Pronounciation}} + {{tts zh_CN:Pronunciation}} </div> </dd> - {{/Pronounciation}} + {{/Pronunciation}} <dt>Recording</dt> <dd>{{Audio recording}}</dd> <dt>Remarks</dt> diff --git a/src/templates/vocabulary/write/back.html b/src/templates/vocabulary/write/back.html index 4f38470..51ebe90 100644 --- a/src/templates/vocabulary/write/back.html +++ b/src/templates/vocabulary/write/back.html @@ -15,22 +15,22 @@ </dd> <dt>Pīnyīn</dt> <dd>{{Pīnyīn}}</dd> - {{#Pronounciation}} + {{#Pronunciation}} <dt class="t2s-player-heading">汉语</dt> <dd id="t2s-player-container" class="t2s-player-container"> <div class="anki-droid-player"> <tts style="display: none" service="android" voice="zh_CN"> - {{text:Pronounciation}} + {{text:Pronunciation}} </tts> </div> <div class="anki-web-player"> - {{text:Pronounciation}} + {{text:Pronunciation}} </div> <div class="anki-builtin-player"> - {{tts zh_CN:Pronounciation}} + {{tts zh_CN:Pronunciation}} </div> </dd> - {{/Pronounciation}} + {{/Pronunciation}} <dt>Recording</dt> <dd>{{Audio recording}}</dd> <dt>Remarks</dt> diff --git a/src/templates/vocabulary/write_traditional/back.html b/src/templates/vocabulary/write_traditional/back.html index bbb9db0..63a7e32 100644 --- a/src/templates/vocabulary/write_traditional/back.html +++ b/src/templates/vocabulary/write_traditional/back.html @@ -15,22 +15,22 @@ </dd> <dt>Pīnyīn</dt> <dd>{{Pīnyīn}}</dd> - {{#Pronounciation}} + {{#Pronunciation}} <dt class="t2s-player-heading">汉语</dt> <dd id="t2s-player-container" class="t2s-player-container"> <div class="anki-droid-player"> <tts style="display: none" service="android" voice="zh_CN"> - {{text:Pronounciation}} + {{text:Pronunciation}} </tts> </div> <div class="anki-web-player"> - {{text:Pronounciation}} + {{text:Pronunciation}} </div> <div class="anki-builtin-player"> - {{tts zh_CN:Pronounciation}} + {{tts zh_CN:Pronunciation}} </div> </dd> - {{/Pronounciation}} + {{/Pronunciation}} <dt>Recording</dt> <dd>{{Audio recording}}</dd> <dt>Remarks</dt> -- GitLab