Chore/Simulator modal i18n (#3927)

* Chore: Simulator i18n

* Buttons should be Title Case (dae)
This commit is contained in:
Luc Mcgrady 2025-04-24 10:17:04 +01:00 committed by GitHub
parent 7bebcad864
commit a2e0060470
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 6 deletions

View file

@ -499,8 +499,12 @@ deck-config-desired-retention-below-optimal = Your desired retention is below op
deck-config-fsrs-simulator-experimental = FSRS simulator (experimental) deck-config-fsrs-simulator-experimental = FSRS simulator (experimental)
deck-config-additional-new-cards-to-simulate = Additional new cards to simulate deck-config-additional-new-cards-to-simulate = Additional new cards to simulate
deck-config-simulate = Simulate deck-config-simulate = Simulate
deck-config-clear-last-simulate = Clear last simulation deck-config-clear-last-simulate = Clear Last Simulation
deck-config-fsrs-simulator-radio-count = Reviews deck-config-fsrs-simulator-radio-count = Reviews
deck-config-advanced-settings = Advanced Settings
deck-config-smooth-graph = Smooth graph
deck-config-suspend-leeches = Suspend leeches
deck-config-save-options-to-preset = Save Changes to Preset
# Radio button in the FSRS simulation diagram (Deck options -> FSRS) selecting # 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 # to show the total number of cards that can be recalled or retrieved on a
# specific date. # specific date.

View file

@ -253,7 +253,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</details> </details>
<details> <details>
<summary>{"Advanced settings"}</summary> <summary>{tr.deckConfigAdvancedSettings()}</summary>
<SpinBoxRow <SpinBoxRow
bind:value={simulateFsrsRequest.maxInterval} bind:value={simulateFsrsRequest.maxInterval}
defaultValue={$config.maximumReviewInterval} defaultValue={$config.maximumReviewInterval}
@ -296,7 +296,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<SettingTitle <SettingTitle
on:click={() => openHelpModal("simulateFsrsReview")} on:click={() => openHelpModal("simulateFsrsReview")}
> >
{"Smooth Graph"} {tr.deckConfigSmoothGraph()}
</SettingTitle> </SettingTitle>
</SwitchRow> </SwitchRow>
@ -308,7 +308,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<SettingTitle <SettingTitle
on:click={() => openHelpModal("simulateFsrsReview")} on:click={() => openHelpModal("simulateFsrsReview")}
> >
{"Suspend Leeches"} {tr.deckConfigSuspendLeeches()}
</SettingTitle> </SettingTitle>
</SwitchRow> </SwitchRow>
@ -363,8 +363,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
onPresetChange(); onPresetChange();
}} }}
> >
<!-- {tr.deckConfigApplyChanges()} --> {tr.deckConfigSaveOptionsToPreset()}
{"Save to Preset Options"}
</button> </button>
{#if simulating} {#if simulating}