-
Notifications
You must be signed in to change notification settings - Fork 0
/
vscode-app-localizer-schema.json
72 lines (72 loc) · 1.7 KB
/
vscode-app-localizer-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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"validator": {
"type": "object",
"description": "Validate locales (checking for missing labels)",
"required": [ "filePathPattern" ],
"properties": {
"multiFile": {
"type": "boolean",
"description": "Each locale is in separate file in the same folder.",
"default": "false"
},
"filePathPattern": {
"type": "string",
"description": "Pattern of locale files path",
"default": "**/locales.json"
},
"fileStructure": {
"type": "string",
"description": "Structure of locale file content",
"default": "polymer",
"enum": [
"polymer",
"angular.flat"
]
}
}
},
"pseudoLocale": {
"type": "object",
"description": "Pseudo localizer settings",
"properties": {
"expander": {
"type": "number",
"description": "Expand factor 0.3 = 30%",
"default": 0.3
},
"wordexpander": {
"type": "number",
"description": "Expand factor 0.5 = 50%",
"default": 0.5
},
"brackets": {
"type": "boolean",
"description": "Enclose in brackets"
},
"exclamations": {
"type": "boolean",
"description": "Enclose in exclamations"
},
"accents": {
"type": "boolean",
"description": "Convert letter to its accent version"
},
"rightToLeft": {
"type": "boolean",
"description": "Left-to-Right"
},
"forceException": {
"type": "boolean",
"description": "Force throwing syntax exception if any"
},
"escapeCharacters": {
"type": "boolean",
"description": "Escape special characters ('false' for json content)"
}
}
}
}
}