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'))