DEV: Move settings descriptions to locales/en.yml (#37)

This makes translations of the strings with Crowdin possible.
This commit is contained in:
moin-Jana 2024-07-25 04:03:19 +02:00 committed by GitHub
parent 7f44f9bc24
commit 12d3416b72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

6
locales/en.yml Normal file
View File

@ -0,0 +1,6 @@
en:
theme_metadata:
settings:
category_icon_list: 'Enter comma-delimited configuration for categories, in the format "slug,icon,color,match". Color can be in hex format (#123456) or left blank, then the default color for the category is used (same as the Badge color). If match is "partial" then the slug need only partially match the category-slug, otherwise an exact match is required'
svg_icons: "List of FontAwesome 5 icons used in this theme component"
category_lock_icon: "Enter the name of a FontAwesome 5 icon to display instead of the lock icon next to private categories."

View File

@ -2,12 +2,9 @@ category_icon_list:
default: "help,question-circle,#CC0000,partial|"
type: "list"
list_type: "simple"
description: 'Enter comma-delimited configuration for categories, in the format "slug,icon,color,match". Color can be in hex format (#123456) or left blank, then the default color for the category is used (same as the Badge color). If match is "partial" then the slug need only partially match the category-slug, otherwise an exact match is required'
svg_icons:
default: "question-circle"
type: "list"
list_type: "compact"
description: "List of FontAwesome 5 icons used in this theme component"
category_lock_icon:
default: ""
description: "Enter the name of a FontAwesome 5 icon to display instead of the lock icon next to private categories."