Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.
Keep the original interface wording and drop only second-person and filler phrasing
Bowen Xue9ff60d0e6797
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlindex 93255e9..2ab676e 100644--- a/.github/ISSUE_TEMPLATE/feature_request.yml+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -1,9 +1,9 @@name: Suggestion / 建议-description: Tell us what would help / 说说你希望改进什么+description: Tell us what would help / 说说希望改进什么body:- type: textareaid: ideaattributes:- label: What would you like to do? / 你希望实现什么?+ label: What would you like to do? / 希望实现什么?validations:required: truediff --git a/freevideo_engine/agent/builtin_director.py b/freevideo_engine/agent/builtin_director.pyindex 6b28005..f530ad5 100644--- a/freevideo_engine/agent/builtin_director.py+++ b/freevideo_engine/agent/builtin_director.py@@ -369,7 +369,7 @@ def judge(shot_view, sheets, *, ask):return Decision('keep', shot['id'], '保留已选定的版本。')if shot.get('state') in ('waiting', 'shooting'):return Decision('wait', shot['id'], '等待这一镜的各版完成。')- uncertain = Decision('ask_user', shot['id'], '拿不准,请你挑一版。')+ uncertain = Decision('ask_user', shot['id'], '拿不准,请挑一版。')takes = _selectable(shot)if not takes:return uncertaindiff --git a/freevideo_engine/agent/guide.py b/freevideo_engine/agent/guide.pyindex e051ce2..d38780f 100644--- a/freevideo_engine/agent/guide.py+++ b/freevideo_engine/agent/guide.py@@ -481,7 +481,7 @@ def connection_guide(root, base, lang=None, offers=None, resumed=False):'连接后先调一次等待接口 GET ' + base + PREFIX + '/inbox?wait=50(MCP 用不带 id 的 freevideo_wait),''回应里的 session 就是用户现在所在的对话(用户新开或换到另一段对话时它会变,话总是发到最近一次等待给的那个 session);往 POST ' + base + PREFIX + '/sessions/{session}/events 发 ''{"type":"message","text":"…"}(MCP 用 freevideo_session_post)。在这里先只说一句话,不超过 20 个字,'- '不列条目、不举例(页面上已经有例句),例如“连上了。告诉我想做什么视频。”'+ '不列条目、不举例(页面上已经有例句),例如“连上了。请说明想做什么视频。”''你自己窗口里的那段介绍照常说,但它不是这一轮的结尾:说完紧接着去调等待接口。''然后守在这段对话里:再调等待接口,它最多约 50 秒返回;"again": true 表示用户还没说话,''马上再调下一次,一次接一次,不限次数。没有消息不是结束的理由:不要结束这一轮回复,'@@ -499,7 +499,7 @@ def connection_guide(root, base, lang=None, offers=None, resumed=False):'without id). Its "session" is the conversation the user is in (it changes when the user opens or returns to another one; always post to the session the latest wait named); POST ' + base + PREFIX + '/sessions/{session}/events ''with {"type":"message","text":"..."} (MCP: freevideo_session_post). Say only one short sentence ''there first, at most 12 words, no list and no examples (the page already shows examples), for example '- '"Connected. Tell me what video you want.", in the language the user writes to you in. Give the introduction in your own window as usual, but it '+ '"Connected. Describe the video you want.", in the language the user writes to you in. Give the introduction in your own window as usual, but it ''does not end your turn: right after it, call the wait. Then stay in this conversation: call the wait again; it answers within about 50 seconds, and ''"again": true means the user has not spoken yet, so call it again at once, time after time, with no ''limit. Nothing new is not a reason to finish: do not end your reply and do not stop to ask the '@@ -516,7 +516,7 @@ def connection_guide(root, base, lang=None, offers=None, resumed=False):'Stop only when the user clearly tells you to.',rules=RULES_ZH if zh else RULES,fallback='如果你无法执行命令、读取本地文件或连接到这台电脑,请如实告诉用户:'- '“我连接不到你电脑上的 FreeVideo,请改用安装在这台电脑上的 AI 助手。”'+ '“连接不到您电脑上的 FreeVideo,请改用安装在这台电脑上的 AI 助手。”''用中文说明;如果用户改用其他语言,就跟随用户。不要另装程序来绕过这个限制。' if zh else'If you cannot run commands, read local files, or reach this computer, tell the user honestly ''in their language: I cannot connect to FreeVideo on your computer; please use an AI assistant 'diff --git a/freevideo_engine/desktop.py b/freevideo_engine/desktop.pyindex a2e9dfc..3871693 100644--- a/freevideo_engine/desktop.py+++ b/freevideo_engine/desktop.py@@ -241,7 +241,7 @@ class Desktop:def generate_page(self, page):_, page = self.scrolled(page, 1)- self.label(page, 'Describe your video', '描述你想生成的视频').pack(anchor='w', pady=(0, 10))+ self.label(page, 'Describe your video', '描述想生成的视频').pack(anchor='w', pady=(0, 10))prompt_card = Card(page, padding=branding.space(3), radius=branding.RADIUS_MD)prompt_card.pack(fill='x')self.prompt = self.tk.Text(prompt_card.body, height=6, font=(branding.FAMILY, branding.STRONG),diff --git a/freevideo_engine/launcher/Main.qml b/freevideo_engine/launcher/Main.qmlindex 5b26d44..5095e38 100644--- a/freevideo_engine/launcher/Main.qml+++ b/freevideo_engine/launcher/Main.qml@@ -403,7 +403,7 @@ ApplicationWindow {Item { height: shortWindow ? 0 : 16 }ColumnLayout {Layout.fillWidth: true; spacing: 8; Layout.bottomMargin: shortWindow ? 0 : 10- FText { objectName: "pageHeading"; horizontalAlignment: Text.AlignHCenter; text: s.page === "launcher" ? t("Your workspace", "你的工作空间") : s.page === "comfy" ? t("Set up FreeVideo", "安装 FreeVideo") : s.page === "models" ? t("Set up your models", "准备模型") : s.status === "review" ? t("Ready to install", "确认安装") : s.busy ? t("Setting things up", "正在准备 FreeVideo") : t("Continue your setup", "继续安装"); font.pixelSize: win.compact ? 26 : theme.hero; font.weight: Font.DemiBold; font.letterSpacing: -0.6; Layout.fillWidth: true }+ FText { objectName: "pageHeading"; horizontalAlignment: Text.AlignHCenter; text: s.page === "launcher" ? t("Your workspace", "工作空间") : s.page === "comfy" ? t("Set up FreeVideo", "安装 FreeVideo") : s.page === "models" ? t("Set up your models", "准备模型") : s.status === "review" ? t("Ready to install", "确认安装") : s.busy ? t("Setting things up", "正在准备 FreeVideo") : t("Continue your setup", "继续安装"); font.pixelSize: win.compact ? 26 : theme.hero; font.weight: Font.DemiBold; font.letterSpacing: -0.6; Layout.fillWidth: true }FText { objectName: "actionNotice"; visible: !!s.action_notice; text: s.action_notice || ""; color: theme.muted; Layout.fillWidth: true; horizontalAlignment: Text.AlignHCenter }}@@ -890,7 +890,7 @@ ApplicationWindow {Layout.fillWidth: true; spacing: 6// A failed start stays failed while another task (an import, a cleanup) runs: the controller's own tasks clear it first.FText { objectName: "statusTitle"; text: s.status === "open" ? t("FreeVideo is ready", "FreeVideo 已就绪") : s.status === "failed" ? t("Startup interrupted", "启动未完成") : s.busy ? t("Starting ComfyUI", "正在启动 ComfyUI") : s.status === "restart-required" ? t("Restart ComfyUI", "请重启 ComfyUI") : t("Ready to launch", "准备就绪"); font.pixelSize: theme.section + 2; font.weight: Font.DemiBold; Layout.fillWidth: true }- FText { objectName: "statusDetail"; text: s.status === "open" ? s.url : s.status === "restart-required" ? t("Restart ComfyUI after the update, then select \"Connect again\".", "更新后需重启 ComfyUI,再点“重新连接”。") : s.status === "failed" ? t("ComfyUI did not start. See the message above.", "ComfyUI 未能启动,原因见上方。") : t("Your models and environment are connected.", "已连接你的模型与运行环境。"); color: theme.muted; Layout.fillWidth: true }+ FText { objectName: "statusDetail"; text: s.status === "open" ? s.url : s.status === "restart-required" ? t("Restart ComfyUI after the update, then select \"Connect again\".", "更新后需重启 ComfyUI,再点“重新连接”。") : s.status === "failed" ? t("ComfyUI did not start. See the message above.", "ComfyUI 未能启动,原因见上方。") : t("Your models and environment are connected.", "已连接模型与运行环境。"); color: theme.muted; Layout.fillWidth: true }FText { objectName: "portMovedNote"; visible: s.status === "open" && s.port_from > 0; text: t("Port %1 is in use by another program, so FreeVideo now uses port %2 and will keep using this address.", "端口 %1 已被其他程序占用,FreeVideo 改用端口 %2,以后也使用这个地址。").arg(s.port_from).arg(s.port_to); font.pixelSize: 13; color: theme.muted; wrapMode: Text.WordWrap; Layout.fillWidth: true; Layout.topMargin: -2 }FText { objectName: "pluginScopedNote"; visible: s.status === "open" && s.plugin_scoped; text: t("Some installed plugins are not compatible with FreeVideo, so only FreeVideo was loaded this time.", "部分已装的插件与 FreeVideo 不兼容,这次只载入了 FreeVideo。"); font.pixelSize: 13; color: theme.muted; wrapMode: Text.WordWrap; Layout.fillWidth: true; Layout.topMargin: -2 }}@@ -1706,7 +1706,7 @@ ApplicationWindow {spacing: 14FText { objectName: "updateActionNotice"; visible: !!s.action_notice; text: s.action_notice || ""; color: theme.muted; Layout.fillWidth: true }FText { text: s.update.candidate ? t("Update available", "有可用更新") : s.update.engine ? t("Engine update", "引擎更新") : t("Updates", "更新"); font.pixelSize: theme.section + 2; font.weight: Font.DemiBold }- FText { objectName: "updateDialogText"; text: s.update.phase === "waiting" ? t("A video is still generating. FreeVideo restarts and updates as soon as it finishes.", "还有视频正在生成,完成后会自动重启并更新。") : s.update.status === "ready" && s.update.candidate ? t("Downloaded. Restart to finish; models and settings are kept.", "下载完成,重启即可完成更新,模型和设置都会保留。") : s.update.candidate && s.update.manual ? t("FreeVideo ", "FreeVideo ") + releaseVersion(s.update.candidate) + t(" is available (current ", " 已发布(当前 ") + releaseVersion(currentRelease) + t("). Download it and replace this version; models and settings are kept.", ")。下载新版后替换当前版本,模型和设置会保留。") : s.update.candidate ? t("FreeVideo ", "FreeVideo ") + releaseVersion(s.update.candidate) + t(" is available (current ", " 已发布(当前 ") + releaseVersion(currentRelease) + t("). Updating keeps your models and settings. FreeVideo restarts after the download; running videos finish first.", ")。更新会保留模型和设置,下载完成后自动重启;正在生成的视频会先完成。") : s.update.engine ? t("This launcher already includes engine ", "启动器已带有新版引擎 ") + releaseVersion(currentRelease) + t(" (installed: ", "(已安装 ") + engineVersion + (s.status === "open" ? t("). Updating takes about a minute, restarts ComfyUI once and keeps your models and settings.", ")。更新约需 1 分钟,会重启一次 ComfyUI,模型和设置都会保留。") : t("). Updating takes about a minute, then FreeVideo starts; models and settings are kept.", ")。更新约需 1 分钟,完成后自动启动,模型和设置都会保留。")) : s.update.status === "current" ? t("You're up to date.", "已是最新版本。") : s.update.status === "development" ? t("Running from source. Update with Git.", "当前从源码运行,请通过 Git 更新。") : s.update.status === "error" ? t("Could not check for updates.", "暂时无法检查更新。") : t("Checking the latest release…", "正在检查最新版本…"); color: theme.muted; Layout.fillWidth: true }+ FText { objectName: "updateDialogText"; text: s.update.phase === "waiting" ? t("A video is still generating. FreeVideo restarts and updates as soon as it finishes.", "还有视频正在生成,完成后会自动重启并更新。") : s.update.status === "ready" && s.update.candidate ? t("Downloaded. Restart to finish; models and settings are kept.", "下载完成,重启可完成更新,模型和设置都会保留。") : s.update.candidate && s.update.manual ? t("FreeVideo ", "FreeVideo ") + releaseVersion(s.update.candidate) + t(" is available (current ", " 已发布(当前 ") + releaseVersion(currentRelease) + t("). Download it and replace this version; models and settings are kept.", ")。下载新版后替换当前版本,模型和设置会保留。") : s.update.candidate ? t("FreeVideo ", "FreeVideo ") + releaseVersion(s.update.candidate) + t(" is available (current ", " 已发布(当前 ") + releaseVersion(currentRelease) + t("). Updating keeps your models and settings. FreeVideo restarts after the download; running videos finish first.", ")。更新会保留模型和设置,下载完成后自动重启;正在生成的视频会先完成。") : s.update.engine ? t("This launcher already includes engine ", "启动器已带有新版引擎 ") + releaseVersion(currentRelease) + t(" (installed: ", "(已安装 ") + engineVersion + (s.status === "open" ? t("). Updating takes about a minute, restarts ComfyUI once and keeps your models and settings.", ")。更新约需 1 分钟,会重启一次 ComfyUI,模型和设置都会保留。") : t("). Updating takes about a minute, then FreeVideo starts; models and settings are kept.", ")。更新约需 1 分钟,完成后自动启动,模型和设置都会保留。")) : s.update.status === "current" ? t("You're up to date.", "已是最新版本。") : s.update.status === "development" ? t("Running from source. Update with Git.", "当前从源码运行,请通过 Git 更新。") : s.update.status === "error" ? t("Could not check for updates.", "暂时无法检查更新。") : t("Checking the latest release…", "正在检查最新版本…"); color: theme.muted; Layout.fillWidth: true }FText { visible: !!s.update.error; text: s.update.error || ""; color: theme.danger; Layout.fillWidth: true; font.pixelSize: theme.micro }FButton { objectName: "updateManualDownloadButton"; text: t("Download from the release page ↗", "去发布页手动下载 ↗"); flat: true; Layout.fillWidth: true; visible: s.update.status === "error" && !!s.update.release_page; onClicked: backend.link(s.update.release_page) }FButton { objectName: "updateDialogReport"; text: t("Report a problem", "提交问题"); flat: true; Layout.fillWidth: true; visible: s.update.status === "error" && !!s.update.error; onClicked: backend.reportProblem(s.update.error, t("Update", "更新")) }diff --git a/freevideo_engine/launcher_view.py b/freevideo_engine/launcher_view.pyindex 9ce1793..5342ca5 100644--- a/freevideo_engine/launcher_view.py+++ b/freevideo_engine/launcher_view.py@@ -257,7 +257,7 @@ def build(app):choices.columnconfigure((0, 1), weight=1, uniform='choices')app.mode_buttons = []for index, (value, title, detail) in enumerate((- ('existing', ('I have ComfyUI', '我已安装 ComfyUI'), ('Connect your installation.', '接入现有安装。')),+ ('existing', ('Use existing ComfyUI', '使用已有 ComfyUI'), ('Connect your installation.', '接入现有安装。')),('new', ('Install ComfyUI for me', '帮我安装 ComfyUI'), ('ComfyUI, Python and FreeVideo together.', '一并准备 ComfyUI、Python 和 FreeVideo。')))):choice = Choice(choices, app, value, title, detail)choice.grid(row=0, column=index, sticky='nsew', padx=(0, b.space(2)) if index == 0 else (b.space(2), 0))diff --git a/freevideo_engine/release_notes.json b/freevideo_engine/release_notes.jsonindex 069a80a..47b418c 100644--- a/freevideo_engine/release_notes.json+++ b/freevideo_engine/release_notes.json@@ -77,9 +77,9 @@"changes": ["生图:本机生成过的图片都保存在历史记录里,按时间从新到旧排列,可放到画布、用作参考图、删除或打开所在文件夹。空白画布可选“标准 / 高清”尺寸。","生图:6–8 GB 显存的显卡解码时占用的显存更少,速度更快。显存放得下整个模型的显卡,权重直接加载到显卡,不再在内存里留一份副本,加载后内存占用从约 15 GB 降到约 2 GB。",- "提交问题:生成、剪辑与导出、环境与模型、生图、智能体连接、作品库、提示词优化、分享、更新和启动器里,出现错误或失败提示的地方旁边都有“提交问题”按钮,点一下带上情况打开问题反馈。",+ "提交问题:生成、剪辑与导出、环境与模型、生图、智能体连接、作品库、提示词优化、分享、更新和启动器里,出现错误或失败提示的地方旁边都有“提交问题”按钮,点击后带上情况打开问题反馈。","AI 全自动:对话删不掉时会说明原因,并提供“停止并删除”;其他失败也会提示,并带“提交问题”按钮。",- "白模:现成场景只保留“橘猫跳上书架”,点一下直接开始。白模没做成时会说明原因和下一步,渲染中页面显示进度。问白模进度时会回答进度,不再当成新要求。",+ "白模:现成场景只保留“橘猫跳上书架”,点击直接开始。白模没做成时会说明原因和下一步,渲染中页面显示进度。问白模进度时会回答进度,不再当成新要求。","人物设定图:背面图里头和身体一起转向背后。","Mac:支持分段生成长视频。","启动器与更新:Windows 版在中国大陆更新更快。GitHub 慢时,启动器可以从国内镜像下载更新,镜像上的每个文件都先按发布签名校验。“确认安装”页适配窄窗口:侧栏收成图标,按钮始终可见。",diff --git a/web/editor_store.js b/web/editor_store.jsindex 896b11f..2690216 100644--- a/web/editor_store.js+++ b/web/editor_store.js@@ -391,7 +391,7 @@ export function createEditorStore(api, {t = en => en, notify = () => {}, onGenerxhr.upload.onprogress = event => { if (event.lengthComputable) progress(event.loaded / event.total); };xhr.onload = () => {release();- if (xhr.status === 404) { notice('import', 'Import is unavailable until you restart after updating.', '更新后重启即可导入素材。'); resolve(null); return; }+ if (xhr.status === 404) { notice('import', 'Import is unavailable until you restart after updating.', '更新后重启可导入素材。'); resolve(null); return; }if (xhr.status < 200 || xhr.status >= 300) { reject(errorFor(xhr)); return; }try { resolve(JSON.parse(xhr.responseText).import); } catch (error) { reject(error); }};diff --git a/web/first_run_guide.js b/web/first_run_guide.jsindex 1f8ce23..a18fb6a 100644--- a/web/first_run_guide.js+++ b/web/first_run_guide.js@@ -30,7 +30,7 @@ export const CHAPTERS = [en: 'For a longer video, enter a longer duration and it is made in parts automatically. You can also add parts one by one in "Edit".',zh: '填写更长的时长会自动分段生成,也可在“剪辑视图”中逐段接续。'},{id: 'agent', anchor: '[data-fv-guide="agent"]', added: true,- en: 'To have an AI agent such as Claude Code or Codex make videos for you, choose "Autopilot".', zh: '要让 Claude Code、Codex 等 Agent 替你生\u2060成\u2060视\u2060频,点“AI 全自动”。'},+ en: 'To have an AI agent such as Claude Code or Codex make videos for you, choose "Autopilot".', zh: '要让 Claude Code、Codex 等 Agent 生\u2060成\u2060视\u2060频,点“AI 全自动”。'},{id: 'editor-timeline', group: 'editor', anchor: '[data-fv-guide="editor-timeline"]', added: true,en: 'Drag a video here.', zh: '把视频拖到这里。'},{id: 'editor-trim', group: 'editor', anchor: '[data-fv-guide="editor-trim"]', added: true,diff --git a/web/image_editor.js b/web/image_editor.jsindex 4cd1efc..781e0a9 100644--- a/web/image_editor.js+++ b/web/image_editor.js@@ -538,7 +538,7 @@ export async function openImageEditor({source = null, name = source || '', targelet text = '';if (['eraser', 'heal', 'clone', 'blur'].includes(tool) && !rasterKinds.has(layer.kind)) text = t('Pick an image or paint layer to work on its pixels.', '请选择图片图层或绘画图层再处理像素。');else if (tool === 'clone' && !opts.clone.source) text = t('Alt-click to set the source, then paint.', '先按住 Alt 点击设置取样点,再涂抹。');- else if (tool === 'move' && layer.locked && doc.layers.length > 1) text = t('The original image is locked. Click another layer to move it.', '原图图层已锁定;点击其他图层即可移动。');+ else if (tool === 'move' && layer.locked && doc.layers.length > 1) text = t('The original image is locked. Click another layer to move it.', '原图图层已锁定;点击其他图层可移动。');else if (tool === 'lasso' && opts.lasso.type === 'polygon') text = t('Click to add corners; double-click or press Enter to close.', '单击添加顶点;双击或按 Enter 闭合。');hint.textContent = text; hint.hidden = !text;}diff --git a/web/library.js b/web/library.jsindex 957bc7d..bf1a63d 100644--- a/web/library.js+++ b/web/library.js@@ -93,7 +93,7 @@ export async function libraryPage(t, {limit = 24, before = null, signal} = {}) {const query = new URLSearchParams({limit: String(limit)});if (before) query.set('before', before);const response = await api.fetchApi('/freevideo/library?' + query, {signal});- if (response.status === 404) throw Object.assign(new Error(t('Restart ComfyUI to open your creations after updating.', '更新后重启 ComfyUI,即可打开作品。')), {restart: true});+ if (response.status === 404) throw Object.assign(new Error(t('Restart ComfyUI to open your creations after updating.', '更新后重启 ComfyUI,可打开作品。')), {restart: true});if (!response.ok) throw new Error(t('Could not load your creations. Try Refresh.', '作品暂时无法读取,请点击刷新。'));return response.json();}@@ -144,15 +144,15 @@ async function workflowBackfill(collection, t) {const result = value?.result || {};heading.textContent = result.embedded ? t(`Workflows added to ${result.embedded} videos`, `已为 ${result.embedded} 个视频补上工作流`) : t('No video was changed', '没有视频被改动');text.textContent = result.embedded- ? t('Drag them onto the canvas to restore their workflow. The originals are kept next to them as video.before-workflow.mp4.', '把它们拖到画布上即可还原工作流。原视频保留在各自目录,文件名为 video.before-workflow.mp4。')+ ? t('Drag them onto the canvas to restore their workflow. The originals are kept next to them as video.before-workflow.mp4.', '把它们拖到画布上可还原工作流。原视频保留在各自目录,文件名为 video.before-workflow.mp4。'): t('Videos that could not be checked safely were left as they were.', '无法安全确认的视频都保持原样。');if (result.failed) text.textContent += ' ' + t(`${result.failed} videos were left unchanged and will be offered again.`, `另有 ${result.failed} 个视频未改动,之后会再次提示。`);- actions.replaceChildren(button(t('Done', '好的'), () => box.remove(), 'fv-quiet'));+ actions.replaceChildren(button(t('Got it', '知道了'), () => box.remove(), 'fv-quiet'));}if (value.state === 'running') { follow(); return; }heading.textContent = t('Add workflows to earlier videos', '为之前的视频补上工作流');text.textContent = t(`${value.count} earlier videos can get the workflow they were made with, so dropping them on the canvas restores it. Nothing changes until you confirm, and each original is kept as a backup (about ${gb(value.bytes)} GB).`,- `有 ${value.count} 个之前生成的视频可以补上生成时的工作流,补写后拖到画布即可还原。确认前不会改动任何文件,每个原视频都会保留一份备份(约 ${gb(value.bytes)} GB)。`);+ `有 ${value.count} 个之前生成的视频可以补上生成时的工作流,补写后拖到画布可还原。确认前不会改动任何文件,每个原视频都会保留一份备份(约 ${gb(value.bytes)} GB)。`);const run = button(t('Add workflows', '补写工作流'), async () => {run.disabled = later.disabled = true;try { if (!(await post('run')).ok) throw new Error(); follow(); }diff --git a/web/prompt_enhance.js b/web/prompt_enhance.jsindex 3193315..4099f60 100644--- a/web/prompt_enhance.js+++ b/web/prompt_enhance.js@@ -125,8 +125,8 @@ export function createPromptEnhancer({node, input, editor, api, context, setTextbusy: t('Finish the current queue before enhancing this prompt.', '请等待当前队列完成后再改写。'),prompt_required: t('Type a prompt first; enhancement rewrites it before generating.', '请先输入提示词,生成前会自动改写。'),setup_required: t('Complete FreeVideo installation first.', '请先完成 FreeVideo 安装。'),- model_missing: t('Download the optional model to enable enhancement.', '下载可选模型后即可启用。'),- download_failed: t('Download paused. Retry to resume.', '下载已暂停,重试即可继续。'),+ model_missing: t('Download the optional model to enable enhancement.', '下载可选模型后可启用。'),+ download_failed: t('Download paused. Retry to resume.', '下载已暂停,重试可继续。'),disk_space: t('Not enough disk space for the optional model.', '可选模型的磁盘空间不足,请清理后重试。'),ram_space: t(`This model needs about ${gib(error?.ramBytes || ramBytes)} GiB of available RAM to load. You can keep using the original.`, `此模型加载需约 ${gib(error?.ramBytes || ramBytes)} GiB 可用内存,可先使用原文生成。`),unsupported_media: t('Use images added in Media for enhancement; connected nodes, video and audio are not supported yet.', '增强暂支持在素材中添加的图片;连接节点、视频和音频暂不支持。'),diff --git a/web/prompt_references.js b/web/prompt_references.jsindex 48cd4cd..1096c78 100644--- a/web/prompt_references.js+++ b/web/prompt_references.js@@ -203,7 +203,7 @@ export function attachReferencePicker(input, {items, t = en => en, view, host, aif (!matches.length) {const empty = document.createElement('div'); empty.className = 'fv-reference-empty';empty.textContent = invalid ? t('Check your media selection.', '请检查素材用途是否冲突。')- : available.length || everyone.length ? t('No matching characters or media', '没有匹配的角色或素材') : t('Add reference media to use @', '添加参考素材后即可使用 @');+ : available.length || everyone.length ? t('No matching characters or media', '没有匹配的角色或素材') : t('Add reference media to use @', '添加参考素材后可使用 @');list.append(empty);if (!available.length && !everyone.length && !invalid && addMedia) {const add = document.createElement('button'); add.type = 'button'; add.textContent = t('Add media', '添加素材');diff --git a/web/report_issue.js b/web/report_issue.jsindex a57fb8d..e93b314 100644--- a/web/report_issue.js+++ b/web/report_issue.js@@ -177,12 +177,12 @@ export function showReportTip(bar, anchor, t, {mode = 'invite', submit, onHide =title.textContent = t('Last step', '最后一步');lead.textContent = savedName?.endsWith('.zip')? t(`The report is large, so it was saved as ${savedName}. Please drag it into "Diagnostic report", then select Submit new issue.`,- `报告较大,已保存为 ${savedName}。请将它拖入「诊断报告」,再点击 Submit new issue 即可。`)+ `报告较大,已保存为 ${savedName}。请将它拖入「诊断报告」,再点击 Submit new issue。`): savedName? t(`Please drag ${savedName} into "Diagnostic report", then select Submit new issue.`,- `请将 ${savedName} 拖入「诊断报告」,再点击 Submit new issue 即可。`)+ `请将 ${savedName} 拖入「诊断报告」,再点击 Submit new issue。`): t('Please drag the downloaded report into "Diagnostic report", then select Submit new issue.',- '请将下载的诊断报告拖入「诊断报告」,再点击 Submit new issue 即可。');+ '请将下载的诊断报告拖入「诊断报告」,再点击 Submit new issue。');const link = el('a', null, t("Page didn't open? Go to GitHub", '页面没有打开?点此前往 GitHub'));link.href = address; link.target = '_blank'; link.rel = 'noopener';note.replaceChildren(link);diff --git a/web/setup.js b/web/setup.jsindex e775cfa..d9c3dbb 100644--- a/web/setup.js+++ b/web/setup.js@@ -287,7 +287,7 @@ export async function openSetup() {: planErrors ? t("Fix the problems marked in red above, then click Detect & review again.", "上面有标红的问题,处理后请重新点“检测并预览”。"): ready && !planId ? t(INSTALLED_HINT.en, INSTALLED_HINT.zh): !planId ? ""- : !accept.checked ? t("Tick the agreement above to enable Install / repair.", "勾选上方的同意选项后,即可点击“安装/修复”。") : "";+ : !accept.checked ? t("Tick the agreement above to enable Install / repair.", "勾选上方的同意选项后,可点击“安装/修复”。") : "";blocked.textContent = why; blocked.hidden = !why;};// A changed setting makes a shown plan outdated: clear it rather than leave it beside a disabled button.diff --git a/web/studio.js b/web/studio.jsindex ee0248b..c830fbf 100644--- a/web/studio.js+++ b/web/studio.js@@ -902,7 +902,7 @@ export function openStudio(node, {extendFrom = null} = {}) {let releaseExtendThumbnail = () => {};cleanup.push(() => releaseExtendThumbnail());if (mediaNode?.freevideoCreateMediaEditor) { cleanup.push(mediaNode.freevideoCreateMediaEditor(mediaMount)); mediaDetails.open = mediaFilled(); }- else mediaMount.append(el('p', t('Connect a FreeVideo Media panel in node view to upload here.', '在节点视图连接 FreeVideo 素材面板,即可在这里上传。'), 'fv-legacy'));+ else mediaMount.append(el('p', t('Connect a FreeVideo Media panel in node view to upload here.', '在节点视图连接 FreeVideo 素材面板,可在这里上传。'), 'fv-legacy'));paintMediaHint(); mediaDetails.addEventListener('toggle', paintMediaHint);controls.addEventListener('change', paintMediaHint, true); controls.addEventListener('input', paintMediaHint, true);const connectedLora = upstream(node, 'loras');diff --git a/web/view_navigation.js b/web/view_navigation.jsindex 2be364d..26ed284 100644--- a/web/view_navigation.js+++ b/web/view_navigation.js@@ -139,7 +139,7 @@ export function installNavigation(openStudio, agent = false, {openWorkflow = nulsettings.textContent = t('Settings', '设置'); settings.className = 'fv-view-settings'; settings.onclick = openSetup;row.append(grip, brand, viewSwitch('nodes', () => choose(node => { open?.(node); }, true), () => {}, () => choose(async (node, created) => {const handle = await openEditorView(node);- if (created) handle?.notify(t('Created an editing project for you.', '已为你新建一个剪辑工程'));+ if (created) handle?.notify(t('Created an editing project for you.', '已新建一个剪辑工程'));return handle;}, true), () => choose(node => openAutopilot(node), true)), createLanAccess(t, api).element, createVersionInfo(cn).element, feedbackButton(t, 'fv-view-settings'), settings); toolbar.append(row);toolbar.append(createUpdateNotice(cn).element);