diff options
Diffstat (limited to 'ext/bg/data/options-schema.json')
-rw-r--r-- | ext/bg/data/options-schema.json | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json index a22ae8a1..12c4097d 100644 --- a/ext/bg/data/options-schema.json +++ b/ext/bg/data/options-schema.json @@ -592,7 +592,8 @@ "convertAlphabeticCharacters", "convertHiraganaToKatakana", "convertKatakanaToHiragana", - "collapseEmphaticSequences" + "collapseEmphaticSequences", + "textReplacements" ], "properties": { "convertHalfWidthCharacters": { @@ -624,6 +625,46 @@ "type": "string", "enum": ["false", "true", "full"], "default": "false" + }, + "textReplacements": { + "type": "object", + "required": [ + "searchOriginal", + "groups" + ], + "properties": { + "searchOriginal": { + "type": "boolean", + "default": true + }, + "groups": { + "type": "array", + "items": { + "type": "array", + "items": { + "required": [ + "pattern", + "ignoreCase", + "replacement" + ], + "properties": { + "pattern": { + "type": "string", + "default": "" + }, + "ignoreCase": { + "type": "boolean", + "default": false + }, + "replacement": { + "type": "string", + "default": "" + } + } + } + } + } + } } } }, |