From 1965bbfee76c6a6fd5feeb86dd1b558b6cb4133c Mon Sep 17 00:00:00 2001 From: himeditator Date: Tue, 8 Jul 2025 01:44:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(docs):=20=E4=BF=AE=E5=A4=8D=E4=BB=85?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E5=8E=9F=E6=96=87=E6=97=B6=E7=9A=84bug?= =?UTF-8?q?=EF=BC=8C=E6=9B=B4=E6=96=B0=20TODO.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/TODO.md | 6 ++++-- src/renderer/src/components/CaptionLog.vue | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/TODO.md b/docs/TODO.md index e4b5841..65b4da3 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -5,13 +5,15 @@ - [x] 优化长字幕显示效果 *2025/07/05* - [x] 修复字幕引擎空置报错的问题 *2025/07/05* - [x] 增强字幕窗口顶置优先级 *2025/07/07* +- [x] 添加对自带字幕引擎的详细规格说明 *2025/07/07* +- [x] 添加复制字幕到剪贴板功能 *2025/07/08* ## 待完成 -- [ ] 添加复制字幕到剪贴板功能 - [ ] 添加字幕文字描边 - [ ] 添加本地字幕引擎 -- [ ] 添加对自带字幕引擎的详细规格说明 + - [ ] 添加基于 Vosk 的字幕引擎 + - [ ] 验证 / 添加基于 FunASR 的字幕引擎 - [ ] 减小软件不必要的体积 ## 遥远的未来 diff --git a/src/renderer/src/components/CaptionLog.vue b/src/renderer/src/components/CaptionLog.vue index e9d3fed..4f549d4 100644 --- a/src/renderer/src/components/CaptionLog.vue +++ b/src/renderer/src/components/CaptionLog.vue @@ -139,7 +139,7 @@ function copyCaptions() { if(copyTime.value) content += `${item.time_s} --> ${item.time_t}\n`.replace(/\./g, ',') if(copyOption.value === 'both') content += `${item.text}\n${item.translation}\n\n` else if(copyOption.value === 'source') content += `${item.text}\n\n` - else if(copyOption.value === 'translation') content += `${item.translation}\n\n` + else content += `${item.translation}\n\n` } navigator.clipboard.writeText(content) message.success(t('log.copySuccess'))