mirror of
https://github.com/ankitects/anki.git
synced 2026-01-11 13:03:55 -05:00
Fix: Tooltips
This commit is contained in:
parent
b554556cc3
commit
d11b803b88
3 changed files with 7 additions and 4 deletions
|
|
@ -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 ->
|
||||
|
|
|
|||
|
|
@ -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()}
|
||||
</label>
|
||||
<label>
|
||||
<input
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ export function renderWorkloadChart(
|
|||
|
||||
const formatY: (value: number) => string = ({
|
||||
[SimulateWorkloadSubgraph.ratio]: (value: number) =>
|
||||
tr.deckConfigFsrsSimulatorRatioTooltip({ time: value.toFixed(2) }),
|
||||
tr.deckConfigFsrsSimulatorRatioTooltip2({ time: value.toFixed(2) }),
|
||||
[SimulateWorkloadSubgraph.time]: (value: number) =>
|
||||
tr.statisticsMinutesPerDay({ count: parseFloat((value / 60).toPrecision(2)) }),
|
||||
[SimulateWorkloadSubgraph.count]: (value: number) => tr.statisticsReviewsPerDay({ count: Math.round(value) }),
|
||||
|
|
|
|||
Loading…
Reference in a new issue