From ee04cf6de3037a92524bad5c65349ca1e7b4174f Mon Sep 17 00:00:00 2001 From: rhgg2 Date: Tue, 21 May 2024 11:58:06 +1000 Subject: Add onyomi-hiragana handlebars (#960) * Add onyomi-hiragana handlebars * Add onyomi-hiragana handlebars * Add docs * Fix typo in documentation of kunyomi/onyomi handlebars * Update ext/data/templates/anki-field-templates-upgrade-v36.handlebars Co-authored-by: StefanVukovic99 Signed-off-by: rhgg2 * Update tests for onyomi-hiragana handlebars * Update tests for onyomi-hiragana handlebars * Fix typo in code --------- Signed-off-by: rhgg2 Co-authored-by: StefanVukovic99 --- docs/anki-integration.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/anki-integration.md b/docs/anki-integration.md index f12c1268..5aa9e10c 100644 --- a/docs/anki-integration.md +++ b/docs/anki-integration.md @@ -87,8 +87,9 @@ Flashcard fields can be configured with the following steps: | `{frequency-average-rank}` | The average of frequency data for the current kanji. Defaults to rank 9999999 when frequency data is not found, indicating extremely low rank-based kanji usage. | | `{frequency-average-occurrence}` | The average of frequency data for the current kanji. Defaults to 0 occurrences when frequency data is not found, the lowest possible occurrence-based kanji usage. | | `{glossary}` | List of definitions for the kanji. | - | `{kunyomi}` | Kunyomi (Japanese reading) for the kanji expressed as katakana. | - | `{onyomi}` | Onyomi (Chinese reading) for the kanji expressed as hiragana. | + | `{kunyomi}` | Kunyomi (Japanese reading) for the kanji expressed as hiragana. | + | `{onyomi}` | Onyomi (Chinese reading) for the kanji expressed as katakana. | + | `{onyomi-hiragana}` | Onyomi (Chinese reading) for the kanji expressed as hiragana. | | `{screenshot}` | Screenshot of the web page taken at the time the kanji was added. | | `{search-query}` | The full search query shown on the search page. | | `{selection-text}` | The selected text on the search page or popup. | -- cgit v1.2.3