mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Localize FSRS error message and update contributors
This commit is contained in:
parent
969c2b43b5
commit
6826541a6e
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>
|
Toby Penner <tobypenner01@gmail.com>
|
||||||
Danilo Spillebeen <spillebeendanilo@gmail.com>
|
Danilo Spillebeen <spillebeendanilo@gmail.com>
|
||||||
Matbe766 <matildabergstrom01@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
|
## 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.
|
||||||
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 ->
|
||||||
|
|
|
||||||
|
|
@ -13,13 +13,7 @@ impl From<FSRSError> for AnkiError {
|
||||||
FSRSError::OptimalNotFound => AnkiError::FsrsUnableToDetermineDesiredRetention,
|
FSRSError::OptimalNotFound => AnkiError::FsrsUnableToDetermineDesiredRetention,
|
||||||
FSRSError::Interrupted => AnkiError::Interrupted,
|
FSRSError::Interrupted => AnkiError::Interrupted,
|
||||||
FSRSError::InvalidParameters => AnkiError::FsrsParamsInvalid,
|
FSRSError::InvalidParameters => AnkiError::FsrsParamsInvalid,
|
||||||
FSRSError::InvalidInput => AnkiError::InvalidInput {
|
FSRSError::InvalidInput => AnkiError::FsrsParamsInvalid,
|
||||||
source: InvalidInputError {
|
|
||||||
message: "invalid params provided".to_string(),
|
|
||||||
source: None,
|
|
||||||
backtrace: None,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
FSRSError::InvalidDeckSize => AnkiError::InvalidInput {
|
FSRSError::InvalidDeckSize => AnkiError::InvalidInput {
|
||||||
source: InvalidInputError {
|
source: InvalidInputError {
|
||||||
message: "no cards to simulate".to_string(),
|
message: "no cards to simulate".to_string(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue