feat(ui): 添加播客生成失败重试功能

添加了播客生成失败后的重试功能,包括:
- 在播客卡片中显示失败状态和重试按钮
- 保存失败任务的输入文本内容以便重试
- 实现重试事件系统,将失败内容回填到创建组件
- 更新多语言支持中的失败和重试文本

同时修复了TTS配置中的语音名称错误,调整了遮罩层透明度,
并改进了路径获取逻辑以处理根路径情况。
This commit is contained in:
hex2077
2025-10-05 22:40:49 +08:00
parent 4c46677c19
commit 13d552bb57
12 changed files with 130 additions and 13 deletions

View File

@@ -45,15 +45,15 @@
"audio": "https://podcasts.hubtoday.app/podcast/example/edgetts/zh-CN-Xiaoxiao:DragonHDFlashLatestNeural.wav"
},
{
"name": "Xiaoxiao2Flash",
"name": "XiaoxiaoFlash2",
"alias": "小笑-flash",
"code": "zh-CN-Xiaoxiao2:DragonHDFlashLatestNeural",
"code": "zh-CN-Xiaoxiao:DragonHDFlashLatestNeural2",
"locale": "zh-CN",
"gender": "Female",
"usedname": "小笑",
"volume_adjustment": 0,
"speed_adjustment": 0,
"audio": "https://podcasts.hubtoday.app/podcast/example/edgetts/zh-CN-Xiaoxiao2:DragonHDFlashLatestNeural.wav"
"audio": "https://podcasts.hubtoday.app/podcast/example/edgetts/zh-CN-Xiaoxiao:DragonHDFlashLatestNeural.wav"
},
{
"name": "YunxiaoFlash",