diff --git a/changelog.d/228-plain-language.changed.md b/changelog.d/228-plain-language.changed.md new file mode 100644 index 00000000..08ab4c2c --- /dev/null +++ b/changelog.d/228-plain-language.changed.md @@ -0,0 +1 @@ +The normal-user pages — dashboard, console, repository page and settings — now say workspace instead of FlyBot instance, and the start, stop and reinitialize controls are named for the workspace and each carry a one-line hint. The footer brand line and the stage-mode form values are unchanged. diff --git a/src/views/checklist.ts b/src/views/checklist.ts index e3a2667a..e521adff 100644 --- a/src/views/checklist.ts +++ b/src/views/checklist.ts @@ -140,7 +140,7 @@ export function setupChecklist(state: SetupState, t: Translate): SetupChecklist }, { key: 'instance', - title: t('启动 FlyBot 实例', 'Start the FlyBot instance'), + title: t('启动工作区', 'Start workspace'), done: state.instanceReady, action: { href: repoHref, label: t('打开仓库启动', 'Open the repository') }, blocked: !state.modelConfigured && !state.platformAvailable diff --git a/src/views/pages.ts b/src/views/pages.ts index f61540a2..41327734 100644 --- a/src/views/pages.ts +++ b/src/views/pages.ts @@ -584,7 +584,7 @@ export function inboxSection(locale: Locale, viewer: Viewer, questions: InboxQue
${escapeHtml(t('回答会直接发送给正在运行的团队,不需要进入仓库工作台。', 'Answers go straight to the running team; you do not need to open the repository console.'))}
${escapeHtml(instanceHealthStatus)} · ${escapeHtml(instanceHealthReason)}
${escapeHtml(t('最近检查', 'Last health check'))} ${escapeHtml(instanceLastHealth)}${advanced && instance !== undefined ? ` · ${escapeHtml(instance.container)}` : ''}${instanceReady && advanced ? ` · ${escapeHtml(t('任务先发给总控,再由负责人执行', 'jobs go to the Chief, then the Lead'))}` : ''}
${instance === undefined || instance.last_error === null ? '' : `${escapeHtml(instance.last_error)}${escapeHtml(t('FlyBot 实例就绪后可以和 Chief 沟通。', 'You can talk to the Chief after the FlyBot instance is ready.'))}
`} + ` : `${escapeHtml(t('工作区就绪后可以和 Chief 沟通。', 'You can talk to the Chief after the workspace is ready.'))}
`} ` const roleDescriptions: Record| PR | ${escapeHtml(t('状态', 'Status'))} | ${escapeHtml(t('核实', 'Verified'))} | ${escapeHtml(t('审核分', 'Review'))} | ${escapeHtml(t('成本', 'Cost'))} | ${escapeHtml(t('创建', 'Created'))} |
|---|
${escapeHtml(t('这里的操作只影响 Fledge 连接,不会删除 GitHub 仓库。停止调度会保留实例和历史;停止 FlyBot 会停止容器;删除会移除连接、实例、任务和 token。', 'These actions affect the Fledge connection only; the GitHub repository is not deleted. Stop scheduling keeps the instance and history; Stop FlyBot stops the container; Delete removes the connection, instance, jobs and tokens.'))}
+${escapeHtml(t('这里的操作只影响 Fledge 连接,不会删除 GitHub 仓库。停止调度会保留实例和历史;停止工作区会停止容器;删除会移除连接、实例、任务和 token。', 'These actions affect the Fledge connection only; the GitHub repository is not deleted. Stop scheduling keeps the instance and history; stopping the workspace stops the container; Delete removes the connection, instance, jobs and tokens.'))}
${reauthBanner}${escapeHtml(t( - `已用仓库 ${usage.repos}/${usage.reposCap === 0 ? '∞' : usage.reposCap},FlyBot 实例 ${usage.instances}/${usage.instancesCap === 0 ? '∞' : usage.instancesCap}`, - `Repositories used ${usage.repos}/${usage.reposCap === 0 ? '∞' : usage.reposCap}, FlyBot instances ${usage.instances}/${usage.instancesCap === 0 ? '∞' : usage.instancesCap}`, + `已用仓库 ${usage.repos}/${usage.reposCap === 0 ? '∞' : usage.reposCap},工作区 ${usage.instances}/${usage.instancesCap === 0 ? '∞' : usage.instancesCap}`, + `Repositories used ${usage.repos}/${usage.reposCap === 0 ? '∞' : usage.reposCap}, workspaces ${usage.instances}/${usage.instancesCap === 0 ? '∞' : usage.instancesCap}`, ))}
` // #471: a settings refusal names the field it refused (`?field=interval`). The // detail belongs beside that control and the banner keeps only the summary, so @@ -2383,7 +2383,7 @@ export function settingsPage(input: {${escapeHtml(t('给脚本或 FlyBot 调用的网关 token(flg_…)。它不是你的 GitHub token,也不是模型 key。', 'Gateway tokens (flg_…) for scripts or FlyBot. They are neither your GitHub token nor a model key.'))}
+${escapeHtml(t('给脚本或工作区调用的网关 token(flg_…)。它不是你的 GitHub token,也不是模型 key。', 'Gateway tokens (flg_…) for scripts or the workspace. They are neither your GitHub token nor a model key.'))}
${newToken === undefined ? '' : ``}| ${escapeHtml(t('前缀', 'Prefix'))} | ${escapeHtml(t('名称', 'Name'))} | ${escapeHtml(t('范围', 'Scope'))} | ${escapeHtml(t('有效期', 'Expires'))} | ${escapeHtml(t('最近使用', 'Last used'))} |
|---|