feat: 增加gummy更多语言支持

This commit is contained in:
himeditator
2025-06-22 02:51:03 +08:00
parent e23249bc54
commit f464005013
3 changed files with 9 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ export class CaptionEngine {
process: any | undefined
private getApp() {
if(controls.customized && controls.customizedCommand && controls.customizedApp){
if(controls.customized && controls.customizedApp){
this.appPath = controls.customizedApp
this.command = [ controls.customizedCommand ]
}

View File

@@ -10,9 +10,14 @@ export const useCaptionControlStore = defineStore('captionControl', () => {
languages: [
{ value: 'auto', label: '自动检测' },
{ value: 'en', label: '英语' },
{ value: 'zh', label: '简体中文' },
{ value: 'zh', label: '中文' },
{ value: 'ja', label: '日语' },
{ value: 'ko', label: '韩语' }
{ value: 'ko', label: '韩语' },
{ value: 'de', label: '德语' },
{ value: 'fr', label: '法语' },
{ value: 'ru', label: '俄语' },
{ value: 'es', label: '西班牙语' },
{ value: 'it', label: '意大利语' },
]
},
])