generated from Seekra/repository-template
add settings configuration parser #78
@@ -1,55 +0,0 @@
|
||||
{
|
||||
"contents": [
|
||||
{
|
||||
"name": "general",
|
||||
"type": "section",
|
||||
"i18n": "preferences.settings.sections.general.name",
|
||||
"description": "preferences.settings.sections.general.description",
|
||||
"content": [
|
||||
{
|
||||
"type": "bool",
|
||||
"name": "darkMode",
|
||||
"i18n": "preferences.darkMode",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"type": "selection",
|
||||
"name": "language",
|
||||
"i18n": "preferences.settings.language",
|
||||
"description": "preferences.settings.language.description",
|
||||
"default": "en",
|
||||
"allowMultiple": false,
|
||||
"options": [
|
||||
{
|
||||
"name": "en",
|
||||
"i18n": "preferences.locale.languages.en"
|
||||
},
|
||||
{
|
||||
"name": "de",
|
||||
"i18n": "preferences.locale.languages.de"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "section",
|
||||
"name": "exampleSection",
|
||||
"description": "preferences.settings.sections.exampleSection.description",
|
||||
"content": [
|
||||
{
|
||||
"type": "number",
|
||||
"name": "aNumber",
|
||||
"i18n": "preferences.settings.sections.exampleSection.content.aNumber",
|
||||
"default": 42
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "exampleStandaloneConfiguration",
|
||||
"type": "bool",
|
||||
"i18n": "preferences.settings.exampleStandalone.name",
|
||||
"default": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"contents": []
|
||||
}
|
||||
Reference in New Issue
Block a user