mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Feat/90% desired retention warning
This commit is contained in:
parent
5080451829
commit
37b932f032
2 changed files with 2 additions and 1 deletions
|
|
@ -475,6 +475,7 @@ deck-config-a-100-day-interval =
|
|||
[one] A 100 day interval will become { $days } day.
|
||||
*[other] A 100 day interval will become { $days } days.
|
||||
}
|
||||
deck-config-90-percent-desired-retention-warning = The higher the desired retention, the shorter the intervals between reviews.
|
||||
deck-config-percent-of-reviews =
|
||||
{ $reviews ->
|
||||
[one] { $pct }% of { $reviews } review
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
(stability / factor) * (Math.pow(retention, 1 / decay) - 1),
|
||||
);
|
||||
if (days === 100) {
|
||||
return "";
|
||||
return tr.deckConfig90PercentDesiredRetentionWarning();
|
||||
}
|
||||
return tr.deckConfigA100DayInterval({ days });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue