mirror of
https://github.com/HiMeditator/auto-caption.git
synced 2026-02-15 12:24:48 +08:00
- 在 ControlWindow 中添加了 'control.engine.forceKill' 事件处理,允许强制终止引擎。 - 在 CaptionEngine 中实现了启动超时机制,若引擎启动超时,将自动强制停止并发送错误消息。 - 更新了国际化文件,添加了与启动超时相关的提示信息。 - 在 EngineControl 组件中添加了启动超时的输入选项,允许用户设置超时时间。 - 更新了相关类型定义以支持新的启动超时配置。
10 lines
717 B
TypeScript
10 lines
717 B
TypeScript
export default {
|
|
"gummy.key.missing": "API KEY is not set, and the DASHSCOPE_API_KEY environment variable is not detected. To use the gummy engine, you need to obtain an API KEY from the Alibaba Cloud Bailian platform and add it to the settings or configure it in the local environment variables.",
|
|
"platform.unsupported": "Unsupported platform: ",
|
|
"engine.start.error": "Caption engine failed to start: ",
|
|
"engine.output.parse.error": "Unable to parse caption engine output as a JSON object: ",
|
|
"engine.error": "Caption engine error: ",
|
|
"engine.shutdown.error": "Failed to shut down the caption engine process: ",
|
|
"engine.start.timeout": "Caption engine startup timeout, automatically force stopped"
|
|
}
|