From c20716660faca35ea4f4ae656743e9a66ca293f7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 15 Aug 2021 16:15:14 +1000 Subject: [PATCH] fix inverted 'skip question when replaying answer' option I'd intended to add a new string but overlooked it. https://forums.ankiweb.net/t/bug-always-include-question-side-when-replaying-audio/12273/2 --- ftl/core/deck-config.ftl | 1 + ts/deck-options/AudioOptions.svelte | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ftl/core/deck-config.ftl b/ftl/core/deck-config.ftl index 58e25ca8a..ad70935c4 100644 --- a/ftl/core/deck-config.ftl +++ b/ftl/core/deck-config.ftl @@ -152,6 +152,7 @@ deck-config-show-answer-timer-tooltip = deck-config-audio-title = Audio deck-config-disable-autoplay = Don't play audio automatically +deck-config-skip-question-when-replaying = Skip question when replaying answer deck-config-always-include-question-audio-tooltip = Whether the question audio should be included when the Replay action is used while looking at the answer side of a card. diff --git a/ts/deck-options/AudioOptions.svelte b/ts/deck-options/AudioOptions.svelte index 3b678d542..9a8cc7ec9 100644 --- a/ts/deck-options/AudioOptions.svelte +++ b/ts/deck-options/AudioOptions.svelte @@ -32,7 +32,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html defaultValue={defaults.skipQuestionWhenReplayingAnswer} markdownTooltip={tr.deckConfigAlwaysIncludeQuestionAudioTooltip()} > - {tr.schedulingAlwaysIncludeQuestionSideWhenReplaying()} + {tr.deckConfigSkipQuestionWhenReplaying()}