feat: Implement batch cancellation for audiobook processing with enhanced frontend progress display.

This commit is contained in:
2026-03-11 14:22:35 +08:00
parent a0047d5c29
commit b7b6f5ef8e
9 changed files with 146 additions and 10 deletions

View File

@@ -12,6 +12,7 @@
"characters_ready": "Awaiting Character Review",
"parsing": "Parsing Chapters",
"ready": "Ready",
"processing": "Processing",
"generating": "Generating",
"done": "Done",
"error": "Error"
@@ -63,6 +64,11 @@
"deleteSuccess": "Project deleted",
"allDoneToast": "\"{{title}}\" — all audio generation complete!",
"segmentsProgress": "{{done}} / {{total}} segments done",
"chaptersProgress": "Chapters parsed: {{parsed}} / {{total}}",
"chaptersParsing": "{{count}} parsing",
"chaptersError": "{{count}} error",
"cancelBatch": "✖ Cancel Batch",
"cancelledToast": "Cancel signal sent. Running tasks will finish then stop.",
"characters": {
"title": "Characters ({{count}})",

View File

@@ -12,6 +12,7 @@
"characters_ready": "キャラクター確認待ち",
"parsing": "章を解析中",
"ready": "生成待ち",
"processing": "処理中",
"generating": "生成中",
"done": "完了",
"error": "エラー"
@@ -63,6 +64,11 @@
"deleteSuccess": "プロジェクトを削除しました",
"allDoneToast": "「{{title}}」の音声生成がすべて完了しました!",
"segmentsProgress": "{{done}} / {{total}} セグメント完了",
"chaptersProgress": "章解析:{{parsed}} / {{total}} 章",
"chaptersParsing": "{{count}} 解析中",
"chaptersError": "{{count}} エラー",
"cancelBatch": "✖ バッチキャンセル",
"cancelledToast": "キャンセルシグナルを送信しました。実行中のタスクは完了後停止します。",
"characters": {
"title": "キャラクター({{count}} 人)",

View File

@@ -12,6 +12,7 @@
"characters_ready": "캐릭터 확인 대기",
"parsing": "챕터 파싱 중",
"ready": "생성 대기",
"processing": "처리 중",
"generating": "생성 중",
"done": "완료",
"error": "오류"
@@ -63,6 +64,11 @@
"deleteSuccess": "프로젝트가 삭제되었습니다",
"allDoneToast": "「{{title}}」 음성 생성이 모두 완료되었습니다!",
"segmentsProgress": "{{done}} / {{total}} 세그먼트 완료",
"chaptersProgress": "챕터 파싱: {{parsed}} / {{total}} 챕터",
"chaptersParsing": "{{count}} 파싱 중",
"chaptersError": "{{count}} 오류",
"cancelBatch": "✖ 일괄 취소",
"cancelledToast": "취소 신호가 전송되었습니다. 실행 중인 작업은 완료 후 중지됩니다.",
"characters": {
"title": "캐릭터 목록 ({{count}}명)",

View File

@@ -12,6 +12,7 @@
"characters_ready": "角色待确认",
"parsing": "解析章节",
"ready": "待生成",
"processing": "处理中",
"generating": "生成中",
"done": "已完成",
"error": "出错"
@@ -63,6 +64,11 @@
"deleteSuccess": "项目已删除",
"allDoneToast": "「{{title}}」音频全部生成完成!",
"segmentsProgress": "{{done}} / {{total}} 片段完成",
"chaptersProgress": "章节解析:{{parsed}} / {{total}} 章",
"chaptersParsing": "{{count}} 解析中",
"chaptersError": "{{count}} 出错",
"cancelBatch": "✖ 取消批量操作",
"cancelledToast": "已发送取消信号,当前正在运行的任务会完成后停止",
"characters": {
"title": "角色列表({{count}} 个)",

View File

@@ -12,6 +12,7 @@
"characters_ready": "角色待確認",
"parsing": "解析章節",
"ready": "待生成",
"processing": "處理中",
"generating": "生成中",
"done": "已完成",
"error": "出錯"
@@ -63,6 +64,11 @@
"deleteSuccess": "專案已刪除",
"allDoneToast": "「{{title}}」音訊全部生成完成!",
"segmentsProgress": "{{done}} / {{total}} 片段完成",
"chaptersProgress": "章節解析:{{parsed}} / {{total}} 章",
"chaptersParsing": "{{count}} 解析中",
"chaptersError": "{{count}} 出錯",
"cancelBatch": "✖ 取消批量操作",
"cancelledToast": "已發送取消信號,當前正在執行的任務會完成後停止",
"characters": {
"title": "角色列表({{count}} 個)",