mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 14:03:55 -05:00
Feat/Message at 100% progress for optimize
This commit is contained in:
parent
ce6497cd2b
commit
d051df697a
2 changed files with 6 additions and 1 deletions
|
|
@ -483,6 +483,7 @@ deck-config-percent-of-reviews =
|
|||
*[other] { $pct }% of { $reviews } reviews
|
||||
}
|
||||
deck-config-percent-input = { $pct }%
|
||||
deck-config-checking-for-improvement = Checking for improvement...
|
||||
deck-config-optimizing-preset = Optimizing preset { $current_count }/{ $total_count }...
|
||||
deck-config-fsrs-must-be-enabled = FSRS must be enabled first.
|
||||
deck-config-fsrs-params-optimal = The FSRS parameters currently appear to be optimal.
|
||||
|
|
|
|||
|
|
@ -281,7 +281,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
if (val instanceof ComputeRetentionProgress) {
|
||||
return `${pct}%`;
|
||||
} else {
|
||||
return tr.deckConfigPercentOfReviews({ pct, reviews: val.reviews });
|
||||
if (val.current === val.total) {
|
||||
return tr.deckConfigCheckingForImprovement();
|
||||
} else {
|
||||
return tr.deckConfigPercentOfReviews({ pct, reviews: val.reviews });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue