mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 07:37:11 -05:00
Feat/Message at 100% progress for optimize (#4069)
This commit is contained in:
parent
fe750dba9f
commit
83131cb48e
2 changed files with 6 additions and 1 deletions
|
|
@ -483,6 +483,7 @@ deck-config-percent-of-reviews =
|
||||||
*[other] { $pct }% of { $reviews } reviews
|
*[other] { $pct }% of { $reviews } reviews
|
||||||
}
|
}
|
||||||
deck-config-percent-input = { $pct }%
|
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-optimizing-preset = Optimizing preset { $current_count }/{ $total_count }...
|
||||||
deck-config-fsrs-must-be-enabled = FSRS must be enabled first.
|
deck-config-fsrs-must-be-enabled = FSRS must be enabled first.
|
||||||
deck-config-fsrs-params-optimal = The FSRS parameters currently appear to be optimal.
|
deck-config-fsrs-params-optimal = The FSRS parameters currently appear to be optimal.
|
||||||
|
|
|
||||||
|
|
@ -283,7 +283,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
if (val instanceof ComputeRetentionProgress) {
|
if (val instanceof ComputeRetentionProgress) {
|
||||||
return `${pct}%`;
|
return `${pct}%`;
|
||||||
} else {
|
} 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