Skip to content

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.

Restore the earlier wording for the second-pass button, the preview badge and the delete notice

Bowen Xue4bfaaf262290
diff --git a/web/library.js b/web/library.js
index 2cae758..6073271 100644
--- a/web/library.js
+++ b/web/library.js
@@ -296,7 +296,7 @@ export function openLibrary(t, {upscale = null, selectedWork = null, extend = nu
await upscale(row);
if (!disposed && selected === row.video) notice.textContent = t('Queued. It appears in "Creations" when done.', '已加入队列,完成后在“作品”里。');
} catch (error) {
- if (!disposed && selected === row.video) notice.textContent = t('Could not continue: ', '无法继续生成:') + error.message;
+ if (!disposed && selected === row.video) notice.textContent = t('Could not start the second pass: ', '无法继续二采:') + error.message;
throw error;
}
}
@@ -318,7 +318,7 @@ export function openLibrary(t, {upscale = null, selectedWork = null, extend = nu
: error.message === 'editor-in-use' ? t('Not deleted: these edits use it: ', '未删除:这些剪辑正在使用它:') + (value.kept || []).join(', ')
: error.message === 'editor-unavailable' ? t('Not deleted: saved edits could not be checked. Try again in a moment.', '未删除:暂时无法检查已保存的剪辑,请稍后再试。')
: error.message === 'continuation-in-use' ? t('Not deleted: a video continuing from it is running or queued. Try again after it finishes.', '未删除:接在这条视频后面的生成正在运行或排队,请等它完成后再试。')
- : error.message === 'in-use' ? t('Not deleted: it is still being generated or the video is open. Try again in a moment.', '未删除:它还在继续生成,或视频仍被占用,请稍后再试。')
+ : error.message === 'in-use' ? t('Not deleted: its second pass is running, or the video is still open. Try again in a moment.', '未删除:正在用它跑二采,或视频仍被占用,请稍后再试。')
: t('Could not delete this creation.', '无法删除这条作品。'));
}
// Other views of the library (the studio's Recent videos) drop it too.
@@ -630,7 +630,7 @@ export function openLibrary(t, {upscale = null, selectedWork = null, extend = nu
image.dataset.src = videoThumbnailURL(row);
image.onerror = () => { image.hidden = true; };
picture.append(image, el('span', '✓', 'fv-library-check'));
- if (row.preview) picture.append(el('span', t('Preview', '预览'), 'fv-preview-badge'));
+ if (row.preview) picture.append(el('span', t('First-pass preview', '一采预览'), 'fv-preview-badge'));
// Made by an AI agent: say so, with the name the agent gave the shot.
if (row.agent) {
const badge = el('span', 'Agent', 'fv-agent-badge');
diff --git a/web/result_actions.js b/web/result_actions.js
index f5f45ee..bfa1eb6 100644
--- a/web/result_actions.js
+++ b/web/result_actions.js
@@ -30,8 +30,8 @@ export function icon(name) {
export function previewBadge(record, t) {
const badge = document.createElement('span'); badge.className = 'fv-preview-badge';
const g = record.preview_geometry;
- badge.textContent = g?.width ? t(`Preview · ${g.width} × ${g.height}`, `预览 · ${g.width} × ${g.height}`)
- : t('Preview', '预览');
+ badge.textContent = g?.width ? t(`First-pass preview · ${g.width} × ${g.height}`, `一采预览 · ${g.width} × ${g.height}`)
+ : t('First-pass preview', '一采预览');
return badge;
}
@@ -60,7 +60,7 @@ function popover(menu, summary, onClose = () => {}) {
// The next step of a first-pass preview. `run` reports its own errors and throws.
export function secondPassAction(t, run) {
- const button = action('button', t('Continue', '继续生成'), 'expand', 'fv-action-primary fv-action-second-pass');
+ const button = action('button', t('Run second pass', '继续二采'), 'expand', 'fv-action-primary fv-action-second-pass');
const label = button.lastElementChild;
button.title = t('Continue from this preview to the full-resolution video.',
'从这个预览继续生成全分辨率视频。');
@@ -71,7 +71,7 @@ export function secondPassAction(t, run) {
try { await run(); label.textContent = button.title = t('Queued', '已加入队列'); }
catch {
button.disabled = false;
- label.textContent = button.title = t('Could not continue · Retry', '未能继续生成 · 重试');
+ label.textContent = button.title = t('Second pass did not start · Retry', '二采没有开始 · 重试');
} finally { button.removeAttribute('aria-busy'); }
};
return button;
diff --git a/web/studio.js b/web/studio.js
index b7ec140..e828131 100644
--- a/web/studio.js
+++ b/web/studio.js
@@ -640,8 +640,8 @@ export function openStudio(node, {extendFrom = null} = {}) {
option.onclick = () => choosePassMode(mode);
return option;
});
- passOptions[2].title = t('Stops at a half-resolution preview. Choose "Continue" in the result when it looks right; the video matches a direct run.',
- '先出半分辨率预览,满意后在结果里点“继续生成”,成片与直接生成一致。');
+ passOptions[2].title = t('Stops at a half-resolution preview. Choose "Run second pass" in the result when it looks right; the video matches a direct run.',
+ '先出半分辨率预览,满意后在结果里点“继续二采”,成片与直接生成一致。');
const previewPassHint = passOptions[2].title;
passMode.append(...passOptions);
passMode.addEventListener('keydown', event => {