diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json index 3cb25218..c65a40df 100644 --- a/ext/bg/data/options-schema.json +++ b/ext/bg/data/options-schema.json @@ -65,6 +65,7 @@ "general", "audio", "scanning", + "translation", "dictionaries", "parsing", "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": { "type": "object", "additionalProperties": {