-
Notifications
You must be signed in to change notification settings - Fork 1
/
translate.json
20 lines (20 loc) · 960 Bytes
/
translate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"version": "1.1.2",
"description": "Translate an existing song",
"output": "{{1}}",
"song": "{{1}}",
"copy": true,
"start_blank": 0,
"ignoreAudio": true,
"args": {
"1": {"resolve": true, "type": "song", "typeScope": "local", "description": "Path of the chart in Songs folder"},
"method": {"default": "ai", "values": ["ai", "dictionary"], "description": "Use AI or dictionary"},
"using": {"default": "gh+rb", "description": "AI or dictionary name"},
"overwrite": {"default": false, "description": "Overwrite hard/medium/easy tracks"}
},
"plugins": [
["aiTranslator", {"if": "{{eq method 'ai'}}", "path": "translations/{{using}}", "overwrite": "{{overwrite}}"}],
["dictionaryTranslator", {"if": "{{eq method 'dictionary'}}", "chart": "translations/{{using}}", "overwrite": "{{overwrite}}"}]
],
"parts": [{"start": 0, "event": true, "end": -1}]
}