mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00

* Add new `card_rendering` mod
Parses a text with av/tts tags and strips or extracts tags.
* Replace old `extract_av_tags` and `strip_av_tags`
... with new `card_rendering` mod
* ressource -> resource
* Add AV prettifier for use in browser table
* Accept String in av tag routines
... and avoid redundant writes if no changes need to be made.
* add benchmarking with criterion; make links test optional (dae)
cargo install cargo-criterion, then run ./bench.sh
* performance comparison: creating HashMap up front (dae)
the previous solution:
anki_tag_parse time: [1.8401 us 1.8437 us 1.8476 us]
this solution:
anki_tag_parse time: [2.2420 us 2.2447 us 2.2477 us]
change: [+21.477% +21.770% +22.066%] (p = 0.00 < 0.05)
Performance has regressed.
* Revert "performance comparison: creating HashMap up front" (dae)
This reverts commit f19126a2f1
.
* add missing header
* Write error message if tts lang is missing
* `Tag` -> `Directive`
16 lines
854 B
Text
16 lines
854 B
Text
errors-invalid-input-empty = Invalid input.
|
|
errors-invalid-input-details = Invalid input: { $details }
|
|
errors-parse-number-fail = A number was invalid or out of range.
|
|
errors-filtered-parent-deck = Filtered decks can not have child decks.
|
|
errors-filtered-deck-required = This action can only be used on a filtered deck.
|
|
errors-100-tags-max =
|
|
A maximum of 100 tags can be selected. Listing the
|
|
tags you want instead of the ones you don't want is usually simpler, and there
|
|
is no need to select child tags if you have selected a parent tag.
|
|
errors-multiple-notetypes-selected = Please select notes from only one notetype.
|
|
errors-please-check-database = Please use the Check Database action, then try again.
|
|
|
|
## Card Rendering
|
|
|
|
errors-bad-directive = Error in directive '{ $directive }': { $error }
|
|
errors-option-not-set = '{ $option }' not set
|