From cd9f8d883c50dd11b9de34353fd6ee1ca6c5a5d8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 24 Jul 2021 21:45:09 +1000 Subject: [PATCH] clarify deck description message + drop the reference to overview screen --- ftl/core/deck-config.ftl | 7 +++++-- qt/aqt/deckdescription.py | 7 ++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ftl/core/deck-config.ftl b/ftl/core/deck-config.ftl index fb545a9d2..58e25ca8a 100644 --- a/ftl/core/deck-config.ftl +++ b/ftl/core/deck-config.ftl @@ -205,8 +205,11 @@ deck-config-revert-button-tooltip = Restore this setting to its default value. ## These strings are shown via the Description button at the bottom of the ## overview screen. -deck-config-description-markdown = Enable markdown+clean HTML -deck-config-description-markdown-hint = Will appear as text on Anki 2.1.40 and below. +deck-config-description-new-handling = Anki 2.1.41+ handling +deck-config-description-new-handling-hint = + Treats input as markdown, and cleans HTML input. When enabled, the + description will also be shown on the congratulations screen. + Markdown will appear as text on Anki 2.1.40 and below. ## Warnings shown to the user diff --git a/qt/aqt/deckdescription.py b/qt/aqt/deckdescription.py index ce87ad7ee..064883613 100644 --- a/qt/aqt/deckdescription.py +++ b/qt/aqt/deckdescription.py @@ -48,11 +48,8 @@ class DeckDescriptionDialog(QDialog): box = QVBoxLayout() - label = QLabel(tr.scheduling_description_to_show_on_overview_screen()) - box.addWidget(label) - - self.enable_markdown = QCheckBox(tr.deck_config_description_markdown()) - self.enable_markdown.setToolTip(tr.deck_config_description_markdown_hint()) + self.enable_markdown = QCheckBox(tr.deck_config_description_new_handling()) + self.enable_markdown.setToolTip(tr.deck_config_description_new_handling_hint()) self.enable_markdown.setChecked(self.deck.get("md", False)) box.addWidget(self.enable_markdown)