-
Notifications
You must be signed in to change notification settings - Fork 1
/
DualSubs.BoxJs.json
884 lines (884 loc) · 23.1 KB
/
DualSubs.BoxJs.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
{
"id": "DualSubs.sub",
"name": "🍿️ DualSubs",
"author": "@DualSubs",
"description": "流媒体平台字幕增强及双语模块,适用于 0.8 版及以上版本",
"icon": "https://avatars.githubusercontent.com/u/100578089?&v=4",
"repo": "https://github.com/DualSubs",
"apps": [
{
"id": "DualSubs.Universal",
"name": "🍿️ DualSubs: 🎦 Universal",
"descs_html": [
"请参照<a href=\"https://github.com/DualSubs/Universal/wiki/🍿-DualSubs:-🎦-Universal\">🍿 DualSubs: 🎦 Universal</a>的使用说明进行配置",
"填写完成后别忘点击此页面底端右下角的\"保存\"。"
],
"keys": [
"@DualSubs.Universal.Settings",
"@DualSubs.Universal.Caches"
],
"settings": [
{
"id": "@DualSubs.Universal.Settings.Switch",
"name": "功能开关",
"val": true,
"type": "boolean",
"desc": "是否启用此平台修改功能"
},
{
"id": "@DualSubs.Universal.Settings.Types",
"name": "启用类型",
"val": [
"Official",
"Translate"
],
"type": "checkboxes",
"desc": "请选择要添加的字幕选项,如果为标准播放器,则会在字幕选项中新增勾选字幕选项",
"items": [
{
"key": "Official",
"label": "官方字幕(合成器)"
},
{
"key": "Translate",
"label": "翻译字幕(翻译器)"
}
]
},
{
"id": "@DualSubs.Universal.Settings.Languages[0]",
"name": "主字幕语言(源语言)",
"val": "AUTO",
"type": "selects",
"items": [
{
"key": "AUTO",
"label": "自动 - Automatic"
},
{
"key": "ZH",
"label": "中文(自动)"
},
{
"key": "ZH-HANS",
"label": "中文(简体)"
},
{
"key": "ZH-HK",
"label": "中文(香港)"
},
{
"key": "ZH-HANT",
"label": "中文(繁体)"
},
{
"key": "EN",
"label": "English - 英语(自动)"
},
{
"key": "ES",
"label": "Español - 西班牙语(自动)"
},
{
"key": "JA",
"label": "日本語 - 日语"
},
{
"key": "KO",
"label": "한국어 - 韩语"
},
{
"key": "DE",
"label": "Deutsch - 德语"
},
{
"key": "FR",
"label": "Français - 法语"
},
{
"key": "TR",
"label": "Türkçe - 土耳其语"
}
],
"desc": "当“主语言”字幕存在时,将生成“主语言/副语言(翻译)”与“主语言(外挂)”的字幕或字幕选项"
},
{
"id": "@DualSubs.Universal.Settings.Languages[1]",
"name": "副字幕语言(目标语言)",
"val": "ZH",
"type": "selects",
"items": [
{
"key": "ZH",
"label": "中文(自动)"
},
{
"key": "ZH-HANS",
"label": "中文(简体)"
},
{
"key": "ZH-HK",
"label": "中文(香港)"
},
{
"key": "ZH-HANT",
"label": "中文(繁体)"
},
{
"key": "EN",
"label": "English - 英语(自动)"
},
{
"key": "ES",
"label": "Español - 西班牙语(自动)"
},
{
"key": "JA",
"label": "日本語 - 日语"
},
{
"key": "KO",
"label": "한국어 - 韩语"
},
{
"key": "DE",
"label": "Deutsch - 德语"
},
{
"key": "FR",
"label": "Français - 法语"
},
{
"key": "TR",
"label": "Türkçe - 土耳其语"
}
],
"desc": "当“副语言”字幕存在时,将生成“副语言/主语言(官方)”的字幕或字幕选项"
}
],
"author": "@DualSubs",
"repo": "https://github.com/DualSubs/Universal",
"icons": [
"https://github.com/DualSubs/Universal/raw/main/src/assets/icon.png",
"https://github.com/DualSubs/Universal/raw/main/src/assets/icon.png"
]
},
{
"id": "DualSubs.YouTube",
"name": "🍿️ DualSubs: ▶ YouTube & 🎵 Music",
"descs_html": [
"请参照<a href=\"https://github.com/DualSubs/YouTube/wiki/🍿-DualSubs:-▶-YouTube\">🍿️ DualSubs: ▶ YouTube</a>的使用说明进行配置",
"填写完成后别忘点击此页面底端右下角的\"保存\"。"
],
"keys": [
"@DualSubs.YouTube.Settings",
"@DualSubs.YouTube.Caches"
],
"settings": [
{
"id": "@DualSubs.YouTube.Settings.Switch",
"name": "功能开关",
"val": true,
"type": "boolean",
"desc": "是否启用此平台修改功能"
},
{
"id": "@DualSubs.YouTube.Settings.Type",
"name": "[字幕] 启用类型",
"val": "Official",
"type": "selects",
"desc": "请选择要使用的字幕,双语字幕将使用您选择类型呈现",
"items": [
{
"key": "Official",
"label": "官方字幕(合成器)"
},
{
"key": "Translate",
"label": "翻译字幕(翻译器)"
}
]
},
{
"id": "@DualSubs.YouTube.Settings.Types",
"name": "[歌词] 启用类型",
"val": [
"Translate"
],
"type": "checkboxes",
"desc": "请选择要添加的歌词选项,如果为多选,则会自动决定提供的歌词类型",
"items": [
{
"key": "Translate",
"label": "翻译歌词(翻译器)"
}
]
},
{
"id": "@DualSubs.YouTube.Settings.AutoCC",
"name": "自动显示字幕",
"val": true,
"type": "boolean",
"desc": "开启后总是自动开启显示字幕"
},
{
"id": "@DualSubs.YouTube.Settings.ShowOnly",
"name": "只显示“自动翻译”字幕",
"val": false,
"type": "boolean",
"desc": "开启后仅显示“自动翻译”后的字幕,不显示源语言字幕"
}
],
"author": "@DualSubs",
"repo": "https://github.com/DualSubs/YouTube",
"icons": [
"https://github.com/DualSubs/YouTube/raw/main/src/assets/icon.png",
"https://github.com/DualSubs/YouTube/raw/main/src/assets/icon.png"
]
},
{
"id": "DualSubs.Netflix",
"name": "🍿️ DualSubs: 🇳 Netflix",
"descs_html": [
"请参照<a href=\"https://github.com/DualSubs/Netflix/wiki/🍿-DualSubs:-🎦-Netflix\">🍿 DualSubs: 🇳 Netflix</a>的使用说明进行配置",
"填写完成后别忘点击此页面底端右下角的\"保存\"。"
],
"keys": [
"@DualSubs.Netflix.Settings",
"@DualSubs.Netflix.Caches"
],
"settings": [
{
"id": "@DualSubs.Netflix.Settings.Switch",
"name": "功能开关",
"val": true,
"type": "boolean",
"desc": "是否启用此平台修改功能"
},
{
"id": "@DualSubs.Netflix.Settings.Type",
"name": "启用类型",
"val": "Translate",
"type": "selects",
"desc": "请选择要添加的字幕选项,如果为标准播放器,则会在字幕选项中新增勾选字幕选项",
"items": [
{
"key": "Translate",
"label": "翻译字幕(翻译器)"
}
]
},
{
"id": "@DualSubs.Netflix.Settings.Languages[0]",
"name": "主字幕语言(源语言)",
"val": "AUTO",
"type": "selects",
"items": [
{
"key": "AUTO",
"label": "自动 - Automatic"
},
{
"key": "ZH",
"label": "中文(自动)"
},
{
"key": "ZH-HANS",
"label": "中文(简体)"
},
{
"key": "ZH-HK",
"label": "中文(香港)"
},
{
"key": "ZH-HANT",
"label": "中文(繁体)"
},
{
"key": "EN",
"label": "English - 英语(自动)"
},
{
"key": "ES",
"label": "Español - 西班牙语(自动)"
},
{
"key": "JA",
"label": "日本語 - 日语"
},
{
"key": "KO",
"label": "한국어 - 韩语"
},
{
"key": "DE",
"label": "Deutsch - 德语"
},
{
"key": "FR",
"label": "Français - 法语"
},
{
"key": "TR",
"label": "Türkçe - 土耳其语"
}
],
"desc": "当“主语言”字幕存在时,将生成“主语言/副语言(翻译)”与“主语言(外挂)”的字幕或字幕选项"
},
{
"id": "@DualSubs.Netflix.Settings.Languages[1]",
"name": "副字幕语言(目标语言)",
"val": "ZH",
"type": "selects",
"items": [
{
"key": "ZH",
"label": "中文(自动)"
},
{
"key": "ZH-HANS",
"label": "中文(简体)"
},
{
"key": "ZH-HK",
"label": "中文(香港)"
},
{
"key": "ZH-HANT",
"label": "中文(繁体)"
},
{
"key": "EN",
"label": "English - 英语(自动)"
},
{
"key": "ES",
"label": "Español - 西班牙语(自动)"
},
{
"key": "JA",
"label": "日本語 - 日语"
},
{
"key": "KO",
"label": "한국어 - 韩语"
},
{
"key": "DE",
"label": "Deutsch - 德语"
},
{
"key": "FR",
"label": "Français - 法语"
},
{
"key": "TR",
"label": "Türkçe - 土耳其语"
}
],
"desc": "当“副语言”字幕存在时,将生成“副语言/主语言(官方)”的字幕或字幕选项"
}
],
"author": "@DualSubs",
"repo": "https://github.com/DualSubs/Netflix",
"icons": [
"https://github.com/DualSubs/Netflix/raw/main/src/assets/icon.png",
"https://github.com/DualSubs/Netflix/raw/main/src/assets/icon.png"
]
},
{
"id": "DualSubs.Spotify",
"name": "🍿️ DualSubs: 🎵 Spotify",
"descs_html": [
"请参照<a href=\"https://github.com/DualSubs/Spotify/wiki/🍿-DualSubs:-🎵-Spotify\">🍿 DualSubs: 🎵 Spotify</a>的使用说明进行配置",
"填写完成后别忘点击此页面底端右下角的\"保存\"。"
],
"keys": [
"@DualSubs.Spotify.Settings",
"@DualSubs.Spotify.Caches.Metadatas.Tracks"
],
"settings": [
{
"id": "@DualSubs.Spotify.Settings.Switch",
"name": "功能开关",
"val": true,
"type": "boolean",
"desc": "是否启用此平台修改功能"
},
{
"id": "@DualSubs.Spotify.Settings.Types",
"name": "启用类型",
"val": [
"Translate",
"External"
],
"type": "checkboxes",
"desc": "请选择要添加的歌词选项,如果为多选,则会自动决定提供的歌词类型",
"items": [
{
"key": "Translate",
"label": "翻译歌词(翻译器)"
},
{
"key": "External",
"label": "外部歌词(外部源)"
}
]
},
{
"id": "@DualSubs.Spotify.Settings.Languages[0]",
"name": "[翻译歌词] 主语言(源语言)",
"val": "AUTO",
"type": "selects",
"items": [
{
"key": "AUTO",
"label": "自动 - Automatic"
}
],
"desc": "主语言(源语言)为自动检测"
},
{
"id": "@DualSubs.Spotify.Settings.Languages[1]",
"name": "[翻译歌词] 副语言(目标语言)",
"val": "ZH",
"type": "selects",
"items": [
{
"key": "ZH",
"label": "中文(自动)"
},
{
"key": "ZH-HANS",
"label": "中文(简体)"
},
{
"key": "ZH-HK",
"label": "中文(香港)"
},
{
"key": "ZH-HANT",
"label": "中文(繁体)"
},
{
"key": "EN",
"label": "English - 英语(自动)"
},
{
"key": "EN-US",
"label": "英语(美国)"
},
{
"key": "EN-US SDH",
"label": "英语(美国)[CC]"
},
{
"key": "ES",
"label": "Español - 西班牙语(自动)"
},
{
"key": "ES-ES",
"label": "Español - 西班牙语"
},
{
"key": "ES-ES SDH",
"label": "西班牙语[CC]"
},
{
"key": "ES-419",
"label": "西班牙语(拉丁美洲)"
},
{
"key": "ES-419 SDH",
"label": "西班牙语(拉丁美洲)[CC]"
},
{
"key": "JA",
"label": "日本語 - 日语"
},
{
"key": "KO",
"label": "한국어 - 韩语"
},
{
"key": "DE",
"label": "Deutsch - 德语"
},
{
"key": "FR",
"label": "Français - 法语"
},
{
"key": "TR",
"label": "Türkçe - 土耳其语"
}
],
"desc": "副语言(目标语言)选项仅对翻译歌词生效"
}
],
"author": "@DualSubs",
"repo": "https://github.com/DualSubs/Spotify",
"icons": [
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Spotify.png",
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Spotify.png"
]
},
{
"id": "DualSubs.Composite",
"name": "🍿️ DualSubs: 合成器(官方&外挂字幕)",
"descs_html": [
"请参照<a href=\"https://github.com/DualSubs\">DualSubs</a>的使用说明进行配置",
"填写完成后别忘点击此页面底端右下角的\"保存\"。"
],
"keys": [
"@DualSubs.Composite.Settings",
"@DualSubs.Composite.Caches.Playlists.Master",
"@DualSubs.Composite.Caches.Playlists.Subtitle",
"@DualSubs.Composite.Caches.Subtitles"
],
"settings": [
{
"id": "@DualSubs.Composite.Settings.CacheSize",
"name": "播放记录缓存数量",
"val": 20,
"type": "number",
"placeholder": "20",
"desc": "此选项决定同网关、同平台、同时处理和播放的数量, 建议设置此数值不小于播放设备数,最大可用值为50"
},
{
"id": "@DualSubs.Composite.Settings.Position",
"name": "主语言(源语言)字幕位置",
"val": "Reverse",
"type": "selects",
"items": [
{
"key": "Forward",
"label": "上面(第一行)"
},
{
"key": "Reverse",
"label": "下面(第二行)"
}
],
"desc": "主语言(源语言)字幕的显示位置"
},
{
"id": "@DualSubs.Composite.Settings.Offset",
"name": "[合成器] 时间偏移量",
"val": 0,
"type": "number",
"placeholder": "0",
"desc": "单位:毫秒(ms),正负整数,不懂就别动"
},
{
"id": "@DualSubs.Composite.Settings.Tolerance",
"name": "[合成器] 时间戳公差",
"val": 1000,
"type": "number",
"placeholder": "1000",
"desc": "单位:毫秒(ms),正整数,字幕时间戳匹配时容许的误差范围,不懂就别动"
}
],
"author": "@DualSubs",
"icons": [
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/DomesticMedia.png",
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/DomesticMedia.png"
]
},
{
"id": "DualSubs.Translate",
"name": "🍿️ DualSubs: 翻译器(翻译字幕&歌词)",
"descs_html": [
"请参照<a href=\"https://github.com/DualSubs\">DualSubs</a>的使用说明进行配置",
"填写完成后别忘点击此页面底端右下角的\"保存\"。"
],
"keys": [
"@DualSubs.Translate.Settings",
"@DualSubs.Translate.Caches.Subtitles"
],
"settings": [
{
"id": "@DualSubs.Translate.Settings.Vendor",
"name": "服务商API",
"val": "Google",
"type": "selects",
"desc": "请选择字幕翻译功能所使用的翻译API",
"items": [
{
"key": "Google",
"label": "Google Translate"
},
{
"key": "GoogleCloud",
"label": "Google Cloud Translate(需填写API)"
},
{
"key": "Microsoft",
"label": "Microsoft Translator(需填写API)"
},
{
"key": "DeepL",
"label": "DeepL API(需填写API)"
}
]
},
{
"id": "@DualSubs.Translate.Settings.ShowOnly",
"name": "只显示翻译后字幕",
"val": false,
"type": "boolean",
"desc": "开启后仅显示翻译字幕,不做字幕合并操作"
},
{
"id": "@DualSubs.Translate.Settings.Position",
"name": "主语言(源语言)字幕位置",
"val": "Forward",
"type": "selects",
"items": [
{
"key": "Forward",
"label": "上面(第一行)"
},
{
"key": "Reverse",
"label": "下面(第二行)"
}
],
"desc": "主语言(源语言)字幕的显示位置"
},
{
"id": "@DualSubs.Translate.Settings.Method",
"name": "[翻译器] 翻译方式",
"val": "Part",
"type": "selects",
"items": [
{
"key": "Part",
"label": "逐段翻译(每50~128句文本合并发送一次翻译请求,对请求次数或频率限制型API友好)"
},
{
"key": "Row",
"label": "逐句翻译(每句文本都发送一次翻译请求,不限量API可选,但会导致翻译缺乏上下文语境)"
}
],
"desc": "翻译器工作方式,不懂就别动"
},
{
"id": "@DualSubs.Translate.Settings.Times",
"name": "[翻译器] 重试次数",
"val": "3",
"type": "number",
"placeholder": "3",
"desc": "单位:次,正整数"
},
{
"id": "@DualSubs.Translate.Settings.Interval",
"name": "[翻译器] 重试间隔时长",
"val": "500",
"type": "number",
"placeholder": "500",
"desc": "单位:毫秒(ms),正整数"
},
{
"id": "@DualSubs.Translate.Settings.Exponential",
"name": "[翻译器] 重试间隔时长递增",
"val": true,
"type": "boolean",
"desc": "例如,第一次重试间隔时长1000ms,第二次重试间隔时长2000ms,第三次重试间隔时长4000ms,以此类推"
}
],
"author": "@DualSubs",
"icons": [
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/ForeignMedia.png",
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/ForeignMedia.png"
]
},
{
"id": "DualSubs.External",
"name": "🍿️ DualSubs: 外部源(外部歌词)",
"descs_html": [
"请参照<a href=\"https://github.com/DualSubs\">DualSubs</a>的使用说明进行配置",
"填写完成后别忘点击此页面底端右下角的\"保存\"。"
],
"keys": [
"@DualSubs.External.Settings",
"@DualSubs.External.Caches.TrackInfo"
],
"settings": [
{
"id": "@DualSubs.External.Settings.LrcVendor",
"name": "[歌词] 服务商API",
"val": "NeteaseMusic",
"type": "selects",
"desc": "请选择外部字幕功能所使用的服务商API",
"items": [
{
"key": "NeteaseMusic",
"label": "网易云音乐(官方)"
},
{
"key": "QQMusic",
"label": "QQ音乐(官方)"
},
{
"key": "NeteaseMusicNodeJS",
"label": "网易云音乐 NodeJS API"
}
]
},
{
"id": "@DualSubs.External.Settings.CacheSize",
"name": "播放记录缓存数量",
"val": 50,
"type": "number",
"placeholder": "50",
"desc": "此选项决定同网关、同平台、同时处理和播放的数量, 建议设置此数值不小于播放设备数"
}
],
"author": "@DualSubs",
"icons": [
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Media.png",
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Media.png"
]
},
{
"id": "DualSubs.API.Translate",
"name": "🍿️ DualSubs: API(翻译器)",
"descs_html": [
"请参照<a href=\"https://github.com/DualSubs/DualSubs\">DualSubs</a>的使用说明进行配置",
"填写完成后别忘点击此页面底端右下角的\"保存\"。"
],
"keys": [
"@DualSubs.API.Settings"
],
"settings": [
{
"id": "@DualSubs.API.Settings.GoogleCloud.Version",
"name": "[Google Cloud] Translation API 版本",
"val": "v2",
"type": "selects",
"items": [
{
"key": "v2",
"label": "V2版"
},
{
"key": "v3",
"label": "V3版"
}
],
"desc": "选择版本"
},
{
"id": "@DualSubs.API.Settings.GoogleCloud.Mode",
"name": "[Google Cloud] Translation API 认证方式",
"val": "Key",
"type": "selects",
"items": [
{
"key": "Key",
"label": "密钥"
},
{
"key": "Token",
"label": "令牌(暂不支持,别选)"
}
],
"desc": "认证方式二选一"
},
{
"id": "@DualSubs.API.Settings.GoogleCloud.Auth",
"name": "[Google Cloud] Translation API 认证内容",
"val": "",
"type": "text",
"placeholder": "AIzaSyD6NNneoaqSTL2mE3_S1DNPvzrxwcFLIAY",
"desc": "请填写令牌(Token)或密钥(Key),未提供时不会启用此类型字幕"
},
{
"id": "@DualSubs.API.Settings.Microsoft.Version",
"name": "[Microsoft Translator] API 版本",
"val": "Azure",
"type": "selects",
"items": [
{
"key": "Azure",
"label": "国际版"
},
{
"key": "AzureCN",
"label": "中国世纪互联版"
},
{
"key": "AzureUS",
"label": "美国政府版"
}
],
"desc": "选择版本"
},
{
"id": "@DualSubs.API.Settings.Microsoft.Mode",
"name": "[Microsoft Translator] 认证方式",
"val": "Token",
"type": "selects",
"items": [
{
"key": "Token",
"label": "令牌 (Edge Translator)"
},
{
"key": "Key",
"label": "密钥 (Microsoft Azure)"
}
],
"desc": "认证方式二选一"
},
{
"id": "@DualSubs.API.Settings.Microsoft.Region",
"name": "[Microsoft Translator] Azure 区域代码 (Key/密钥模式必须)",
"val": "global",
"type": "text",
"placeholder": "global",
"desc": "如果开通Microsoft Azure Translator时没有选择全球global,则需要填写开通的地区代码,如chinanorth, chinaeast2等"
},
{
"id": "@DualSubs.API.Settings.Microsoft.Auth",
"name": "[Microsoft Translator] 认证内容",
"val": "",
"type": "text",
"placeholder": "c3639587ac214f2e917862c80a2b821b",
"desc": "请填写令牌(Token)或密钥(Key),未提供时不会启用此类型字幕"
},
{
"id": "@DualSubs.API.Settings.DeepL.Version",
"name": "[DeepL] API 版本",
"val": "Free",
"type": "selects",
"items": [
{
"key": "Free",
"label": "Free"
},
{
"key": "Pro",
"label": "Pro"
}
],
"desc": "选择版本"
},
{
"id": "@DualSubs.API.Settings.DeepL.Auth",
"name": "[DeepL] API 认证内容",
"val": "",
"type": "text",
"placeholder": "df4385c2-33de-e423-4134-ca1f7b3ea8b7",
"desc": "请填写令牌(Token)或密钥(Key),未提供时不会启用此类型字幕"
}
],
"author": "@DualSubs",
"icons": [
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Unlock.png",
"https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Unlock.png"
]
}
]
}