mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Another attempt at fixing rounding issue with optimal retention
Also use the previously-added translation.
(cherry picked from commit 3033b54890
)
This commit is contained in:
parent
88a67b700c
commit
1e50172caf
1 changed files with 2 additions and 2 deletions
|
@ -359,9 +359,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
{#if optimalRetention}
|
||||
{estimatedRetention(optimalRetention)}
|
||||
{#if parseFloat(optimalRetention.toFixed(2)) > $config.desiredRetention}
|
||||
{#if optimalRetention - $config.desiredRetention >= 0.01}
|
||||
<Warning
|
||||
warning="Your desired retention is below optimal. Increasing it is recommended."
|
||||
warning={tr.deckConfigDesiredRetentionBelowOptimal()}
|
||||
className="alert-warning"
|
||||
/>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue