Skip to content

Commit

Permalink
fix: arguments-builder.config.ts
Browse files Browse the repository at this point in the history
Update arguments-builder.config.ts
Update boxjs.settings.json
  • Loading branch information
VirgilClyne committed Nov 5, 2024
1 parent 7010ff4 commit 87284ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arguments-builder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig({
path: "./dist/DualSubs.Universal.sgmodule",
transformEgern: {
enable: true,
path: "./dist/BiliBili.Global.yaml",
path: "./dist/DualSubs.Universal.yaml",
},
},
loon: {
Expand All @@ -32,7 +32,7 @@ export default defineConfig({
},
boxjsSettings: {
path: "./template/boxjs.settings.json",
scope: "@DualSubs.YouTube.Settings",
scope: "@DualSubs.Universal.Settings",
},
},
args: [
Expand Down
2 changes: 1 addition & 1 deletion template/boxjs.settings.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"id":"@DualSubs.YouTube.Settings.Switch","name":"总功能开关","type":"boolean","val":true,"desc":"是否启用此APP修改"},{"id":"@DualSubs.YouTube.Settings.Types","name":"[字幕] 启用类型","type":"checkboxes","val":["Official","Translate"],"items":[{"key":"Official","label":"官方字幕(合成器)"},{"key":"Translate","label":"翻译字幕(翻译器)"}],"desc":"请选择要添加的字幕选项,如果为标准播放器,则会在字幕选项中新增勾选字幕选项。"},{"id":"@DualSubs.YouTube.Settings.Languages[0]","name":"[字幕] 主语言(源语言)","type":"selects","val":"AUTO","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 - 土耳其语"},{"key":"KM","label":"ភាសាខ្មែរ - 高棉语"}],"desc":"当“主语言”字幕存在时,将生成“主语言/副语言(翻译)”与“主语言(外挂)”的字幕或字幕选项。"},{"id":"@DualSubs.YouTube.Settings.Languages[1]","name":"[字幕] 副语言(目标语言)","type":"selects","val":"ZH","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":"ES","label":"Español - 西班牙语(自动)"},{"key":"ES-ES","label":"Español - 西班牙语"},{"key":"ES-419","label":"西班牙语(拉丁美洲)"},{"key":"JA","label":"日本語 - 日语"},{"key":"KO","label":"한국어 - 韩语"},{"key":"DE","label":"Deutsch - 德语"},{"key":"FR","label":"Français - 法语"},{"key":"TR","label":"Türkçe - 土耳其语"},{"key":"KM","label":"ភាសាខ្មែរ - 高棉语"}],"desc":"当“副语言”字幕存在时,将生成“副语言/主语言(官方)”的字幕或字幕选项。"},{"id":"@DualSubs.YouTube.Settings.Vendor","name":"[翻译器] 服务商API","type":"selects","val":"Google","items":[{"key":"Google","label":"Google Translate"},{"key":"Microsoft","label":"Microsoft Translator(需填写API)"}],"desc":"请选择翻译器所使用的服务商API,更多翻译选项请使用BoxJs。"},{"id":"@DualSubs.YouTube.Settings.ShowOnly","name":"[翻译器] 只显示翻译后字幕","type":"boolean","val":false,"desc":"开启后仅显示翻译字幕,不做字幕合并操作。"}]
[{"id":"@DualSubs.Universal.Settings.Switch","name":"总功能开关","type":"boolean","val":true,"desc":"是否启用此APP修改"},{"id":"@DualSubs.Universal.Settings.Types","name":"[字幕] 启用类型","type":"checkboxes","val":["Official","Translate"],"items":[{"key":"Official","label":"官方字幕(合成器)"},{"key":"Translate","label":"翻译字幕(翻译器)"}],"desc":"请选择要添加的字幕选项,如果为标准播放器,则会在字幕选项中新增勾选字幕选项。"},{"id":"@DualSubs.Universal.Settings.Languages[0]","name":"[字幕] 主语言(源语言)","type":"selects","val":"AUTO","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 - 土耳其语"},{"key":"KM","label":"ភាសាខ្មែរ - 高棉语"}],"desc":"当“主语言”字幕存在时,将生成“主语言/副语言(翻译)”与“主语言(外挂)”的字幕或字幕选项。"},{"id":"@DualSubs.Universal.Settings.Languages[1]","name":"[字幕] 副语言(目标语言)","type":"selects","val":"ZH","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":"ES","label":"Español - 西班牙语(自动)"},{"key":"ES-ES","label":"Español - 西班牙语"},{"key":"ES-419","label":"西班牙语(拉丁美洲)"},{"key":"JA","label":"日本語 - 日语"},{"key":"KO","label":"한국어 - 韩语"},{"key":"DE","label":"Deutsch - 德语"},{"key":"FR","label":"Français - 法语"},{"key":"TR","label":"Türkçe - 土耳其语"},{"key":"KM","label":"ភាសាខ្មែរ - 高棉语"}],"desc":"当“副语言”字幕存在时,将生成“副语言/主语言(官方)”的字幕或字幕选项。"},{"id":"@DualSubs.Universal.Settings.Vendor","name":"[翻译器] 服务商API","type":"selects","val":"Google","items":[{"key":"Google","label":"Google Translate"},{"key":"Microsoft","label":"Microsoft Translator(需填写API)"}],"desc":"请选择翻译器所使用的服务商API,更多翻译选项请使用BoxJs。"},{"id":"@DualSubs.Universal.Settings.ShowOnly","name":"[翻译器] 只显示翻译后字幕","type":"boolean","val":false,"desc":"开启后仅显示翻译字幕,不做字幕合并操作。"}]

0 comments on commit 87284ca

Please sign in to comment.