Alan Guo Xiang Tan 41ddbb8c11
DEV: Move settings descriptions into translation file (#48)
This commit moves the description for the theme's settings into
`locales/en.yml`. This follows our theme's best practice listed in
https://meta.discourse.org/t/add-localizable-strings-to-themes-and-theme-components/109867
2024-04-09 14:18:34 +08:00

56 lines
1004 B
YAML

show_description:
default: true
show_mobile:
default: true
show_subcategory:
default: true
hide_if_no_description:
default: true
show_category_logo:
default: false
align_text:
default: center
type: "enum"
choices:
- center
- left
- right
exceptions:
default: ""
type: list
list_type: simple
categories:
default: ""
type: list
description: |
Banner will only show for these categories. Format as <code>name:target</code> (e.g., <code>staff:all</code>).
Accepted targets:
<ul>
<li> all - named category and subcategories (default);
<li> no_sub - only the named category;
<li> only_sub - only subcategories of the named category.
</ul>
plugin_outlet:
default: "below-site-header"
type: "enum"
choices:
- "below-site-header"
- "above-site-header"
- "above-main-container"
- "header-list-container-bottom"
refresh: true
show_category_icon:
default: false
override_category_icon_color:
default: false