mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Improve FSRS invalid parameters error message
This commit is contained in:
parent
3890e12c9e
commit
53f6e58fba
3 changed files with 3 additions and 2 deletions
|
@ -243,6 +243,7 @@ Lee Doughty <32392044+leedoughty@users.noreply.github.com>
|
||||||
memchr <memchr@proton.me>
|
memchr <memchr@proton.me>
|
||||||
Max Romanowski <maxr777@proton.me>
|
Max Romanowski <maxr777@proton.me>
|
||||||
Aldlss <ayaldlss@gmail.com>
|
Aldlss <ayaldlss@gmail.com>
|
||||||
|
Amanda Sternberg <mandis.sternberg@gmail.com>
|
||||||
|
|
||||||
********************
|
********************
|
||||||
|
|
||||||
|
|
|
@ -382,7 +382,7 @@ deck-config-which-deck = Which deck would you like to display options for?
|
||||||
## Messages related to the FSRS scheduler
|
## Messages related to the FSRS scheduler
|
||||||
|
|
||||||
deck-config-updating-cards = Updating cards: { $current_cards_count }/{ $total_cards_count }...
|
deck-config-updating-cards = Updating cards: { $current_cards_count }/{ $total_cards_count }...
|
||||||
deck-config-invalid-parameters = The provided FSRS parameters are invalid. Leave them blank to use the default parameters.
|
deck-config-invalid-parameters = The provided FSRS parameters are invalid. Leave them blank to use the default values. See the Anki FAQ: https://faqs.ankiweb.net/fsrs-parameters.html.
|
||||||
deck-config-not-enough-history = Insufficient review history to perform this operation.
|
deck-config-not-enough-history = Insufficient review history to perform this operation.
|
||||||
deck-config-must-have-400-reviews =
|
deck-config-must-have-400-reviews =
|
||||||
{ $count ->
|
{ $count ->
|
||||||
|
|
|
@ -15,7 +15,7 @@ impl From<FSRSError> for AnkiError {
|
||||||
FSRSError::InvalidParameters => AnkiError::FsrsParamsInvalid,
|
FSRSError::InvalidParameters => AnkiError::FsrsParamsInvalid,
|
||||||
FSRSError::InvalidInput => AnkiError::InvalidInput {
|
FSRSError::InvalidInput => AnkiError::InvalidInput {
|
||||||
source: InvalidInputError {
|
source: InvalidInputError {
|
||||||
message: "invalid params provided".to_string(),
|
message: "The provided FSRS parameters are invalid. See: https://faqs.ankiweb.net/fsrs-parameters.html".to_string(),
|
||||||
source: None,
|
source: None,
|
||||||
backtrace: None,
|
backtrace: None,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue