aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-29 18:32:41 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-24 20:15:25 -0500
commit9c5f1d4e596c691b02ad6931036111832cd362d1 (patch)
tree61ad95e4513e1a40ee5548d3022fabf05811194f /ext/bg/data
parentb5015264f25af6b81d13dfee869ea34db4317aaa (diff)
Update options schema
Diffstat (limited to 'ext/bg/data')
-rw-r--r--ext/bg/data/options-schema.json32
1 files changed, 32 insertions, 0 deletions
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": {