From ce0c166be6befdda8be1a0c93a8c24f24585438b Mon Sep 17 00:00:00 2001 From: moin-Jana <172497896+moin-Jana@users.noreply.github.com> Date: Mon, 21 Oct 2024 21:51:28 +0200 Subject: [PATCH] DEV: Move settings descriptions to locales/en.yml This makes translations of the descriptions of the settings with Crowdin possible. Also updated setting description to Font Awesome 6 --- locales/en.yml | 4 ++++ settings.yml | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/locales/en.yml b/locales/en.yml index 487132c..e461b02 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -1,6 +1,10 @@ en: theme_metadata: settings: + add_whitespace: + description: "If checked, this will add some whitespace between the default Discourse header icons and the custom icons added via this component" + Svg_icons: + description: "Include FontAwesome 6 icon classes for each icon used in the list." header_links: description: Custom links to be displayed in the header schema: diff --git a/settings.yml b/settings.yml index 5ed7014..27392e0 100644 --- a/settings.yml +++ b/settings.yml @@ -1,14 +1,10 @@ add_whitespace: type: bool default: false - description: - en: "If checked, this will add some whitespace between the default Discourse header icons and the custom icons added via this component" Svg_icons: type: "list" list_type: "compact" default: "fab-facebook|fab-twitter" - description: - en: "Include FontAwesome 5 icon classes for each icon used in the list." header_links: type: objects default: