aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-09 21:25:04 -0500
committerGitHub <noreply@github.com>2021-01-09 21:25:04 -0500
commitda1e1e5c5b4dc20cc6aa46b51c55a496d094ed5c (patch)
tree63d60b93b85b063ff8c42d113083d3b732bb19f5 /ext/bg/data
parentd698911bc9bf7cb431bce939412131a90f24ee45 (diff)
Sentence parsing options (#1214)
* Rename options.anki.sentenceExt to options.sentenceParsing.scanExtent * Create sentence parsing icon * Create new sentence parsing section
Diffstat (limited to 'ext/bg/data')
-rw-r--r--ext/bg/data/options-schema.json22
1 files changed, 15 insertions, 7 deletions
diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json
index 12c4097d..9053ebb1 100644
--- a/ext/bg/data/options-schema.json
+++ b/ext/bg/data/options-schema.json
@@ -68,7 +68,8 @@
"translation",
"dictionaries",
"parsing",
- "anki"
+ "anki",
+ "sentenceParsing"
],
"properties": {
"general": {
@@ -732,7 +733,6 @@
"enable",
"server",
"tags",
- "sentenceExt",
"screenshot",
"terms",
"kanji",
@@ -758,11 +758,6 @@
"yomichan"
]
},
- "sentenceExt": {
- "type": "integer",
- "minimum": 0,
- "default": 200
- },
"screenshot": {
"type": "object",
"required": [
@@ -847,6 +842,19 @@
"default": null
}
}
+ },
+ "sentenceParsing": {
+ "type": "object",
+ "required": [
+ "scanExtent"
+ ],
+ "properties": {
+ "scanExtent": {
+ "type": "integer",
+ "minimum": 0,
+ "default": 200
+ }
+ }
}
}
}