mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 04:37:22 -05:00
Localize FSRS error message and update contributors (#4342)
Co-authored-by: Amanda Sternberg <mandis.sternberg@gmail.com>
This commit is contained in:
parent
1ba4512011
commit
1f9d943c8d
3 changed files with 3 additions and 8 deletions
|
|
@ -248,6 +248,7 @@ Elias Johansson Lara <elias.johanssonlara@gmail.com>
|
|||
Toby Penner <tobypenner01@gmail.com>
|
||||
Danilo Spillebeen <spillebeendanilo@gmail.com>
|
||||
Matbe766 <matildabergstrom01@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
|
||||
|
||||
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.
|
||||
deck-config-not-enough-history = Insufficient review history to perform this operation.
|
||||
deck-config-must-have-400-reviews =
|
||||
{ $count ->
|
||||
|
|
|
|||
|
|
@ -13,13 +13,7 @@ impl From<FSRSError> for AnkiError {
|
|||
FSRSError::OptimalNotFound => AnkiError::FsrsUnableToDetermineDesiredRetention,
|
||||
FSRSError::Interrupted => AnkiError::Interrupted,
|
||||
FSRSError::InvalidParameters => AnkiError::FsrsParamsInvalid,
|
||||
FSRSError::InvalidInput => AnkiError::InvalidInput {
|
||||
source: InvalidInputError {
|
||||
message: "invalid params provided".to_string(),
|
||||
source: None,
|
||||
backtrace: None,
|
||||
},
|
||||
},
|
||||
FSRSError::InvalidInput => AnkiError::FsrsParamsInvalid,
|
||||
FSRSError::InvalidDeckSize => AnkiError::InvalidInput {
|
||||
source: InvalidInputError {
|
||||
message: "no cards to simulate".to_string(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue