mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Another attempt at fixing rounding issue with optimal retention
Also use the previously-added translation.
This commit is contained in:
parent
690866b090
commit
3033b54890
1 changed files with 2 additions and 2 deletions
|
@ -360,9 +360,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