From 1b0ccfd243f80b7d4b9c06ec322fa1fb880aebbe Mon Sep 17 00:00:00 2001 From: Gustaf-C <106698658+Gustaf-C@users.noreply.github.com> Date: Wed, 13 Dec 2023 07:03:05 +0800 Subject: [PATCH] Change link to manual in help screen from icon to text (#2886) * Change help screen link to manual from icon to text * Fix auto advance manual link (dae) --- ftl/core/help.ftl | 13 +++--- ts/components/HelpModal.svelte | 64 +++++++++++++++++------------- ts/components/icons.ts | 1 - ts/deck-options/AutoAdvance.svelte | 2 +- ts/lib/help-page.ts | 1 + 5 files changed, 44 insertions(+), 37 deletions(-) diff --git a/ftl/core/help.ftl b/ftl/core/help.ftl index ddb362e48..80a08703e 100644 --- a/ftl/core/help.ftl +++ b/ftl/core/help.ftl @@ -1,11 +1,15 @@ ### Text shown in Help pages +## Header/footer -## Header +# Link to more detailed information in the manual +help-for-more-info = For more information, see { $link } in the manual. # Tooltip for links to the manual help-open-manual-chapter = Open { $name } in the manual +help-ok = OK + ## Body # Newly introduced settings may not have an explanation yet @@ -13,10 +17,3 @@ help-no-explanation = Whoops! There doesn't seem to be an explanation for this setting yet. You can help us complete this help page on { $link }. - -## Footer - -# Link to more detailed information in the manual -help-for-more-info = For more information, see { $link } in the manual. - -help-ok = OK diff --git a/ts/components/HelpModal.svelte b/ts/components/HelpModal.svelte index ac840a11d..27d0dac65 100644 --- a/ts/components/HelpModal.svelte +++ b/ts/components/HelpModal.svelte @@ -4,6 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -->