forked from NermNermNerm/LocalizeFromSource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocalize-from-source.schema.json
28 lines (28 loc) · 1.15 KB
/
localize-from-source.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/NermNermNerm/LocalizeFromSource/blob/main/localize-from-source.schema.json",
"title": "NermNermNerm.Stardew.LocalizeFromSource configuration",
"description": "Settings for the LocalizeFromSource post-compile step",
"type": "object",
"properties": {
"isStrict": {
"description": "Specifies whether to report strings that may need localization as errors",
"type": "boolean"
},
"invariantStringPatterns": {
"description": ".Net regular expressions that identify strings as being not subject to translation (e.g. paths and identifiers).",
"type": "array",
"items": {
"type": "string"
}
},
"invariantMethods": {
"description": "Fully-qualified method names where the method often takes a constant string argument that is never localized.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["isStrict", "invariantStringPatterns", "invariantMethods"]
}