feat(translation): 添加非实时翻译功能用户界面组件

This commit is contained in:
himeditator
2025-09-04 23:41:22 +08:00
parent 14987cbfc5
commit 2b7ce06f04
15 changed files with 193 additions and 77 deletions

View File

@@ -92,6 +92,17 @@ Python 端监听到的音频流转换为的字幕数据。
Python 端打印的提示信息,会计入日志。
### `warn`
```js
{
command: "warn",
content: string
}
```
Python 端打印的警告信息,会计入日志。
### `error`
```js
@@ -101,7 +112,7 @@ Python 端打印的提示信息,会计入日志。
}
```
Python 端打印的错误信息,该错误信息需要在前端弹窗显示。
Python 端打印的错误信息,该错误信息在前端弹窗显示。
### `usage`