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

@@ -53,8 +53,10 @@
"podcastCard": {
"podcastGenerationQueued": "Podcast generation queued...",
"podcastGenerating": "Podcast generating...",
"podcastGenerationFailed": "Podcast generation failed",
"moreOperations": "More operations",
"mostPopular": "Most Popular"
"mostPopular": "Most Popular",
"retry": "Retry"
},
"podcastContent": {
"speaker": "Speaker",

View File

@@ -53,8 +53,10 @@
"podcastCard": {
"podcastGenerationQueued": "ポッドキャスト生成キューに追加されました...",
"podcastGenerating": "ポッドキャスト生成中...",
"podcastGenerationFailed": "ポッドキャスト生成に失敗しました",
"moreOperations": "その他の操作",
"mostPopular": "最も人気"
"mostPopular": "最も人気",
"retry": "再試行"
},
"podcastContent": {
"speaker": "スピーカー",

View File

@@ -53,8 +53,10 @@
"podcastCard": {
"podcastGenerationQueued": "播客生成排队中...",
"podcastGenerating": "播客生成中...",
"podcastGenerationFailed": "播客生成失败",
"moreOperations": "更多操作",
"mostPopular": "最受欢迎"
"mostPopular": "最受欢迎",
"retry": "重试"
},
"podcastContent": {
"speaker": "说话人",