mirror of
https://github.com/ankitects/anki.git
synced 2026-01-12 13:33:55 -05:00
Add translation strings
This commit is contained in:
parent
7608f3d35b
commit
b59ff02f8d
3 changed files with 14 additions and 5 deletions
|
|
@ -506,6 +506,8 @@ deck-config-desired-retention-below-optimal = Your desired retention is below op
|
|||
# diagram (Deck options -> FSRS) showing the total number of
|
||||
# cards that can be recalled or retrieved on a specific date.
|
||||
deck-config-fsrs-simulator-experimental = FSRS Simulator (Experimental)
|
||||
deck-config-fsrs-simulate-desired-retention-experimental = FSRS Desired Retention Simulator
|
||||
deck-config-fsrs-desired-retention-help-me-decide = Help Me Decide
|
||||
deck-config-additional-new-cards-to-simulate = Additional new cards to simulate
|
||||
deck-config-simulate = Simulate
|
||||
deck-config-clear-last-simulate = Clear Last Simulation
|
||||
|
|
@ -515,10 +517,14 @@ deck-config-smooth-graph = Smooth graph
|
|||
deck-config-suspend-leeches = Suspend leeches
|
||||
deck-config-save-options-to-preset = Save Changes to Preset
|
||||
deck-config-save-options-to-preset-confirm = Overwrite the options in your current preset with the options that are currently set in the simulator?
|
||||
deck-config-plotted-on-x-axis = (Plotted on the X-axis)
|
||||
# Radio button in the FSRS simulation diagram (Deck options -> FSRS) selecting
|
||||
# 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 = Memorized / Time Ratio
|
||||
# $time here is pre-formatted e.g. "10 Seconds"
|
||||
deck-config-fsrs-simulator-ratio-tooltip = { $time } per memorized card
|
||||
|
||||
## 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.
|
||||
|
||||
|
|
|
|||
|
|
@ -326,7 +326,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<div class="modal-header">
|
||||
<h5 class="modal-title">
|
||||
{#if workload}
|
||||
Desired Retention Simulation Graph
|
||||
{tr.deckConfigFsrsSimulateDesiredRetentionExperimental()}
|
||||
{:else}
|
||||
{tr.deckConfigFsrsSimulatorExperimental()}
|
||||
{/if}
|
||||
|
|
@ -383,7 +383,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<input
|
||||
type="text"
|
||||
disabled
|
||||
value="(Plotted on the X axis)"
|
||||
value={tr.deckConfigPlottedOnXAxis()}
|
||||
/>
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
@ -588,7 +588,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
value={SimulateWorkloadSubgraph.ratio}
|
||||
bind:group={simulateWorkloadSubgraph}
|
||||
/>
|
||||
{"Ratio"}
|
||||
{tr.deckConfigFsrsSimulatorRadioRatio()}
|
||||
</label>
|
||||
<label>
|
||||
<input
|
||||
|
|
|
|||
|
|
@ -65,11 +65,14 @@ export function renderWorkloadChart(
|
|||
})[subgraph];
|
||||
|
||||
const yTickFormat = (n: number): string => {
|
||||
return subgraph == SimulateWorkloadSubgraph.time ? timeSpan(n, true) : n.toString();
|
||||
return subgraph == SimulateWorkloadSubgraph.time || subgraph == SimulateWorkloadSubgraph.ratio
|
||||
? timeSpan(n, true)
|
||||
: n.toString();
|
||||
};
|
||||
|
||||
const formatY: (value: number) => string = ({
|
||||
[SimulateWorkloadSubgraph.ratio]: (value: number) => `${timeSpan(value)} per memorized card`,
|
||||
[SimulateWorkloadSubgraph.ratio]: (value: number) =>
|
||||
tr.deckConfigFsrsSimulatorRatioTooltip({ time: timeSpan(value) }),
|
||||
[SimulateWorkloadSubgraph.time]: timeSpan,
|
||||
[SimulateWorkloadSubgraph.count]: (value: number) => tr.statisticsReviews({ reviews: Math.round(value) }),
|
||||
[SimulateWorkloadSubgraph.memorized]: (value: number) =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue