修正windows下无法保存的问题
This commit is contained in:
@@ -177,6 +177,23 @@
|
||||
preference="mineruPath"
|
||||
></html:input>
|
||||
</hbox>
|
||||
|
||||
<hbox align="center">
|
||||
<html:label
|
||||
for="chatpapers-pref-lecture-data-dir"
|
||||
data-l10n-id="prefs-lecture-data-dir"
|
||||
></html:label>
|
||||
<html:input
|
||||
type="text"
|
||||
id="chatpapers-pref-lecture-data-dir"
|
||||
preference="lectureDataDir"
|
||||
></html:input>
|
||||
</hbox>
|
||||
<html:p
|
||||
id="chatpapers-pref-lecture-data-dir-hint"
|
||||
class="chatpapers-pref-hint"
|
||||
data-l10n-id="prefs-lecture-data-dir-hint"
|
||||
></html:p>
|
||||
</groupbox>
|
||||
|
||||
<groupbox>
|
||||
|
||||
@@ -135,3 +135,4 @@ lecture-tts-provider = TTS: { $provider }
|
||||
lecture-tts-test = Test voice
|
||||
lecture-tts-testing = Synthesizing test speech…
|
||||
lecture-tts-test-done = Speech ready — playing
|
||||
lecture-storage-write-failed = Cannot write voice lecture data to { $path }. { $detail } Set “Data directory” under Edit → Settings → ChatPapers → Voice lecture (must be writable).
|
||||
|
||||
@@ -34,4 +34,6 @@ prefs-tts-voice = Voice (optional)
|
||||
prefs-piper-path = Piper executable
|
||||
prefs-piper-model = Piper model path (.onnx)
|
||||
prefs-mineru-path = MinerU path
|
||||
prefs-lecture-data-dir = Data directory
|
||||
prefs-lecture-data-dir-hint = Leave empty to use chatpapers/lecture under your Zotero profile. If writes fail, set a writable absolute path, e.g. D:\ChatPapers\lecture-data
|
||||
prefs-tts-hint-empty = Choose a TTS engine. Local engines are fully offline — no API key needed.
|
||||
|
||||
@@ -135,3 +135,4 @@ lecture-tts-provider = TTS 引擎:{ $provider }
|
||||
lecture-tts-test = 试听语音
|
||||
lecture-tts-testing = 正在合成测试语音…
|
||||
lecture-tts-test-done = 语音合成完成,正在播放
|
||||
lecture-storage-write-failed = 无法写入语音伴读数据目录:{ $path }。{ $detail } 请在 编辑 → 设置 → ChatPapers → 语音伴读 中配置「数据存储目录」(需有写入权限)。
|
||||
|
||||
@@ -34,4 +34,6 @@ prefs-tts-voice = 音色(可选)
|
||||
prefs-piper-path = Piper 可执行文件
|
||||
prefs-piper-model = Piper 模型路径 (.onnx)
|
||||
prefs-mineru-path = MinerU 路径
|
||||
prefs-lecture-data-dir = 数据存储目录
|
||||
prefs-lecture-data-dir-hint = 留空则使用 Zotero 配置文件夹下的 chatpapers/lecture。若写入失败,请填写有写入权限的绝对路径,例如 D:\ChatPapers\lecture-data
|
||||
prefs-tts-hint-empty = 请选择 TTS 引擎。本地引擎完全离线,无需 API Key。
|
||||
|
||||
@@ -20,5 +20,6 @@ pref("lectureTeacherStyle", "balanced");
|
||||
pref("mineruPath", "");
|
||||
pref("piperPath", "");
|
||||
pref("piperModelPath", "");
|
||||
pref("lectureDataDir", "");
|
||||
pref("chatPaneAdaptiveHeight", true);
|
||||
pref("lecturePaneAdaptiveHeight", true);
|
||||
|
||||
Reference in New Issue
Block a user