Skip to content

Commit

Permalink
DEV: Move settings descriptions to locales/en.yml
Browse files Browse the repository at this point in the history
This makes translations of the descriptions of the settings with Crowdin possible.
Also updated setting description to Font Awesome 6
  • Loading branch information
moin-Jana committed Oct 21, 2024
1 parent 3f5be31 commit ce0c166
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions locales/en.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 0 additions & 4 deletions settings.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit ce0c166

Please sign in to comment.