diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-10-14 21:26:53 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-10-14 21:31:03 -0400 |
commit | 858fe7ae11850eaafb3e024289faf0c78e083abf (patch) | |
tree | 701390a05b3163199c06d7cf2482d13c6f61b1a2 /ext/display-templates.html | |
parent | f6c346136297c10389897b183db4f05c07d204fa (diff) |
String frequency support (#1989)
* Restore support for string frequency values
* Add support for {value, displayValue} frequencies
* Update test data
* Improve number parsing of string frequencies
* Improve reading detection
* Expose a displayValue property for frequency information
* Update docs
* Expose displayValue to Anki note data
* Fix translator
* Update display generation
* Update test data
* Update counts
Diffstat (limited to 'ext/display-templates.html')
-rw-r--r-- | ext/display-templates.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/display-templates.html b/ext/display-templates.html index 534ad704..c181a64e 100644 --- a/ext/display-templates.html +++ b/ext/display-templates.html @@ -71,13 +71,13 @@ <rt class="frequency-disambiguation-reading"></rt> </ruby></span> <span class="frequency-separator"></span> - <span class="frequency-value"></span> + <span class="frequency-value-list"></span> </span></span> </span></span></template> <template id="kanji-frequency-item-template" data-remove-whitespace-text="true"><span class="frequency-item"><span class="tag tag-has-body frequency-tag" data-category="frequency" data-frequency-type="kanji"> <span class="tag-label"><span class="tag-label-content"></span></span> <span class="tag-body"><span class="tag-body-content frequency-body"> - <span class="frequency-value"></span> + <span class="frequency-value-list"></span> </span></span> </span></span></template> |