Update options schema

This commit is contained in:
toasted-nutbread 2019-12-29 18:32:41 -05:00
parent b5015264f2
commit 9c5f1d4e59

View File

@ -65,6 +65,7 @@
"general", "general",
"audio", "audio",
"scanning", "scanning",
"translation",
"dictionaries", "dictionaries",
"parsing", "parsing",
"anki" "anki"
@ -350,6 +351,37 @@
} }
} }
}, },
"translation": {
"type": "object",
"required": [
"convertKatakanaToHiragana",
"convertHalfWidthCharacters",
"convertNumericCharacters",
"convertAlphabeticCharacters"
],
"properties": {
"convertKatakanaToHiragana": {
"type": "string",
"enum": ["false", "true", "variant"],
"default": "variant"
},
"convertHalfWidthCharacters": {
"type": "string",
"enum": ["false", "true", "variant"],
"default": "false"
},
"convertNumericCharacters": {
"type": "string",
"enum": ["false", "true", "variant"],
"default": "false"
},
"convertAlphabeticCharacters": {
"type": "string",
"enum": ["false", "true", "variant"],
"default": "false"
}
}
},
"dictionaries": { "dictionaries": {
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {