-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
130 lines (130 loc) · 4.63 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "BGforge",
"description": "Schema for .bgforge.yml: Hive, Golem, and MLS settings.",
"type": "object",
"properties": {
"translation": {
"type": "object",
"description": "msg2po settings",
"properties": {
"encoding": {
"type": "string",
"default": "cp1252",
"description": "Default encoding."
},
"tra_dir": {
"type": "string",
"default": ".",
"description": "Directory with translations"
},
"src_lang": {
"type": "string",
"default": "english"
},
"simple_languages": {
"type": "boolean",
"default": true,
"description": "Extract into language name rather than language code (e.g. pt_BR.po -> portuguese/1.msg)."
},
"skip_files": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "List of files to skip, relative to $tra_dir/$src_lang"
},
"extract_format": {
"type": "string",
"default": "",
"description": "'sfall' - enables female strings extraction as supported by sfall"
},
"no_female": {
"type": "boolean",
"default": false,
"description": "Disable female lines extraction."
},
"extract_fuzzy": {
"type": "boolean",
"default": false,
"description": "Extract fuzzy translations as translated."
},
"all_utf8": {
"type": "boolean",
"default": false,
"description": "Process all files as utf-8."
},
"ansi_console": {
"type": "boolean",
"default": false,
"description": "Force ANSI encoding for console files (setup.tra, install.tra)."
}
},
"additionalProperties": false
},
"golem": {
"type": "object",
"description": "Golem configuration.",
"properties": {
"mod_dir": {
"type": "string",
"description": "Mod directory"
},
"platforms": {
"type": "array",
"description": "List of platforms.",
"items": {
"type": "string",
"enum": [
"tob",
"bgee",
"bg2ee",
"bgt",
"sod",
"eet"
]
},
"uniqueItems": true
},
"happy": {
"type": "boolean",
"description": "Enable Happy IE.",
"default": false
}
},
"required": [
"mod_dir",
"platforms"
],
"additionalProperties": false
},
"mls": {
"type": "object",
"description": "MLS configuration.",
"properties": {
"translation": {
"type": "object",
"description": "Translation hints settings.",
"properties": {
"directory": {
"type": "string",
"description": "Directory from which to draw translations."
},
"auto_tra": {
"type": "boolean",
"default": true,
"description": "Match files to translations using basename, like WeiDU AUTO_TRA."
}
},
"required": [
"directory"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}