diff --git a/ftl/core/deck-config.ftl b/ftl/core/deck-config.ftl index 426c33667..03eb04ea7 100644 --- a/ftl/core/deck-config.ftl +++ b/ftl/core/deck-config.ftl @@ -371,6 +371,7 @@ deck-config-learning-step-above-graduating-interval = The graduating interval sh deck-config-good-above-easy = The easy interval should be at least as long as the graduating interval. deck-config-relearning-steps-above-minimum-interval = The minimum lapse interval should be at least as long as your final relearning step. deck-config-maximum-answer-secs-above-recommended = Anki can schedule your reviews more efficiently when you keep each question short. +deck-config-too-short-maximum-interval = A maximum interval less than 6 months is not recommended. ## Selecting a deck diff --git a/qt/aqt/about.py b/qt/aqt/about.py index ec5352c4d..18a7b2427 100644 --- a/qt/aqt/about.py +++ b/qt/aqt/about.py @@ -215,6 +215,7 @@ def show(mw: aqt.AnkiQt) -> QDialog: "Danika_Dakika", "Marcelo Vasconcelos", "Mumtaz Hajjo Alrifai", + "Luc Mcgrady", "Brayan Oliveira", ) ) diff --git a/ts/routes/deck-options/AdvancedOptions.svelte b/ts/routes/deck-options/AdvancedOptions.svelte index a505e5e06..93cfd41e3 100644 --- a/ts/routes/deck-options/AdvancedOptions.svelte +++ b/ts/routes/deck-options/AdvancedOptions.svelte @@ -20,6 +20,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import SpinBoxFloatRow from "./SpinBoxFloatRow.svelte"; import SpinBoxRow from "./SpinBoxRow.svelte"; import DateInput from "./DateInput.svelte"; + import Warning from "./Warning.svelte"; export let state: DeckOptionsState; export let api: Record; @@ -83,6 +84,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html }; const helpSections: HelpItem[] = Object.values(settings); + $: maxIntervalWarningClass = + $config.maximumReviewInterval < 50 ? "alert-danger" : "alert-warning"; + $: maxIntervalWarning = + $config.maximumReviewInterval < 180 + ? tr.deckConfigTooShortMaximumInterval() + : ""; + let modal: Modal; let carousel: Carousel; @@ -121,6 +129,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html + + + + {#if !$fsrs}