From d11b803b8847e508c43ba3f95808c5f3a2601216 Mon Sep 17 00:00:00 2001 From: Luc Mcgrady Date: Wed, 26 Nov 2025 17:36:43 +0000 Subject: [PATCH] Fix: Tooltips --- ftl/core/deck-config.ftl | 7 +++++-- ts/routes/deck-options/SimulatorModal.svelte | 2 +- ts/routes/graphs/simulator.ts | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ftl/core/deck-config.ftl b/ftl/core/deck-config.ftl index 608e9b078..acaa9802d 100644 --- a/ftl/core/deck-config.ftl +++ b/ftl/core/deck-config.ftl @@ -521,8 +521,8 @@ deck-config-save-options-to-preset-confirm = Overwrite the options in your curre # to show the total number of cards that can be recalled or retrieved on a # specific date. deck-config-fsrs-simulator-radio-memorized = Memorized -deck-config-fsrs-simulator-radio-ratio = Time / Memorized Ratio -deck-config-fsrs-simulator-ratio-tooltip = { $time } memorized cards per hour +deck-config-fsrs-simulator-radio-ratio2 = Memorized / Time Ratio +deck-config-fsrs-simulator-ratio-tooltip2 = { $time } memorized cards per hour ## Messages related to the FSRS scheduler’s health check. The health check determines whether the correlation between FSRS predictions and your memory is good or bad. It can be optionally triggered as part of the "Optimize" function. @@ -543,6 +543,9 @@ deck-config-fsrs-good-fit = Health Check: ## NO NEED TO TRANSLATE. This text is no longer used by Anki, and will be removed in the future. +deck-config-fsrs-simulator-radio-ratio = Time / Memorized Ratio +# $time here is pre-formatted e.g. "10 Seconds" +deck-config-fsrs-simulator-ratio-tooltip = { $time } per memorized card deck-config-plotted-on-x-axis = (Plotted on the X-axis) deck-config-a-100-day-interval = { $days -> diff --git a/ts/routes/deck-options/SimulatorModal.svelte b/ts/routes/deck-options/SimulatorModal.svelte index d88f5790d..50e5502ca 100644 --- a/ts/routes/deck-options/SimulatorModal.svelte +++ b/ts/routes/deck-options/SimulatorModal.svelte @@ -571,7 +571,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html value={SimulateWorkloadSubgraph.ratio} bind:group={simulateWorkloadSubgraph} /> - {tr.deckConfigFsrsSimulatorRadioRatio()} + {tr.deckConfigFsrsSimulatorRadioRatio2()}