增加语音对话功能

This commit is contained in:
yhy
2026-08-29 22:13:55 +08:00
parent 1ffa069151
commit 3a2438f566
51 changed files with 6207 additions and 3 deletions
+35
View File
@@ -58,3 +58,38 @@ cite-empty = No styles available
cite-copied = Bibliography copied
cite-exported = Bibliography exported
cite-export-cancel = Export cancelled
item-section-lecture-head = Voice lecture
item-section-lecture-sidenav = Voice lecture
lecture-loading = Loading voice lecture…
lecture-mode-label = Voice lecture · Prepare then listen
lecture-empty-title = AI lecture mode
lecture-empty-desc = One-click prep: overview and paragraph-by-paragraph listening, with typed Q&A and spoken answers.
lecture-start = Start preparation
lecture-status-idle = Click Start preparation — AI reads the full paper first
lecture-status-preparing = Preparing lecture…
lecture-status-ready = Lecture ready ✓
lecture-status-ready-phase1 = Preparation done (Phase 1: summary ready)
lecture-status-ready-step1 = Ready: { $count } segments — tap a segment or press Play
lecture-status-failed = Preparation incomplete
lecture-beat-list-title = Overview lecture
lecture-play-start = Play
lecture-play-pause = Pause
lecture-play-next = Next
lecture-play-prev = Previous
lecture-play-complete = Playback finished
lecture-beat-tts-pending = Synthesizing
lecture-beat-tts-failed = Failed
lecture-reprepare = Re-prepare
lecture-no-pdf = No PDF attachment on this item
lecture-attach-error = Cannot read PDF attachment
lecture-mount-error = Failed to load voice lecture pane
lecture-platform-hint-mac = macOS: set MinerU path under Preferences → ChatPapers → Voice lecture, or leave empty to use mineru on PATH.
lecture-platform-hint-win = Windows: set the full path to mineru.exe under Preferences → ChatPapers → Voice lecture.
lecture-platform-hint-other = Configure MinerU path in Preferences to enable structured PDF parsing.
lecture-tts-provider = TTS: { $provider }
lecture-tts-test = Test voice
lecture-tts-testing = Synthesizing test speech…
lecture-tts-test-done = Speech ready — playing
+8
View File
@@ -27,3 +27,11 @@ prefs-hint-cloud = Cloud provider: paper text is sent to the selected API endpoi
prefs-models-empty = No models returned.
prefs-models-pick = Enter a model id from the list (showing up to 30):
prefs-privacy = Privacy: ChatPapers only sends content when you click Send/Summarize, and only to the endpoint you configured. API keys are stored in local Zotero preferences.
prefs-section-lecture = Voice lecture
prefs-tts-provider = TTS engine
prefs-tts-voice = Voice (optional)
prefs-piper-path = Piper executable
prefs-piper-model = Piper model path (.onnx)
prefs-mineru-path = MinerU path
prefs-tts-hint-empty = Choose a TTS engine. Local engines are fully offline — no API key needed.
+34
View File
@@ -59,3 +59,37 @@ cite-copied = 参考文献已复制到剪贴板
cite-exported = 参考文献已导出
cite-export-cancel = 已取消导出
item-section-lecture-head = 语音伴读
item-section-lecture-sidenav = 语音伴读
lecture-loading = 正在加载语音伴读…
lecture-mode-label = 语音伴读 · 先备课再听
lecture-empty-title = AI 老师式伴读
lecture-empty-desc = 一键备课:整体讲解与逐段精读,随时文字提问并获得语音回答。
lecture-start = 开始备课
lecture-status-idle = 点击「开始备课」,AI 将先读完整篇论文
lecture-status-preparing = 正在备课…
lecture-status-ready = 老师已备课 ✓
lecture-status-ready-phase1 = 备课完成(Phase 1:摘要已生成)
lecture-status-ready-step1 = 备课完成:{ $count } 段讲解可播放,点击下方段落或播放按钮开始听课
lecture-status-failed = 备课未完成,请重试或检查 LLM 设置
lecture-beat-list-title = 整体讲解
lecture-play-start = 播放
lecture-play-pause = 暂停
lecture-play-next = 下一段
lecture-play-prev = 上一段
lecture-play-complete = 本轮讲解播放完毕
lecture-beat-tts-pending = 合成中
lecture-beat-tts-failed = 失败
lecture-reprepare = 重新备课
lecture-no-pdf = 当前条目没有可用的 PDF 附件
lecture-attach-error = 无法读取 PDF 附件
lecture-mount-error = 语音伴读面板加载失败
lecture-platform-hint-mac = macOSMinerU 路径可在偏好设置 → ChatPapers → 语音伴读 中配置;留空则尝试 PATH 中的 mineru。
lecture-platform-hint-win = Windows:请在偏好设置中填写 MinerU 可执行文件完整路径(如 mineru.exe)。
lecture-platform-hint-other = 请在偏好设置中配置 MinerU 路径以启用 PDF 结构化解析。
lecture-tts-provider = TTS 引擎:{ $provider }
lecture-tts-test = 试听语音
lecture-tts-testing = 正在合成测试语音…
lecture-tts-test-done = 语音合成完成,正在播放
+8
View File
@@ -27,3 +27,11 @@ prefs-hint-cloud = 云端 Provider:论文内容将发送到所选 API 端点
prefs-models-empty = 未返回任何模型。
prefs-models-pick = 从列表中输入模型 ID(最多显示 30 个):
prefs-privacy = 隐私说明:仅在你点击发送/总结时,向你配置的端点发送内容。API Key 仅保存在本地 Zotero 偏好设置中。
prefs-section-lecture = 语音伴读
prefs-tts-provider = TTS 引擎
prefs-tts-voice = 音色(可选)
prefs-piper-path = Piper 可执行文件
prefs-piper-model = Piper 模型路径 (.onnx)
prefs-mineru-path = MinerU 路径
prefs-tts-hint-empty = 请选择 TTS 引擎。本地引擎完全离线,无需 API Key。