fix(desktop): translate the memory page's remaining labels and list its demo data

The memory page drew 参考, 用过, 生效, 范围, 低, 高 and 所有项目 without
an English entry, and its new demo facts were not on the English-window
guard's fixture list, so browser guards failed for every pull request.
This commit is contained in:
esengine committed 2026-11-02 18:56:49 -08:00
1 parent d88acbe67d
commit 715a9f11fb
2 files changed
+9

No files matched your search

@@ -9,6 +9,8 @@ const FIXTURE = [
/并行会话演示/, /上一次的会话/, /站点改版/, /数据管线/, /跑一遍评测/, /^中文$/, /^做游戏的小鱼$/, /^DeepSeek-Reasonix官方群$/,
/缓存命中率为什么会掉/, /Co-Authored-By/, /Generated with/, /^回复用中文$/, /^跟着用户每条消息的语言走$/, /v2 是从零重写的 Go 内核/,
/没有 web,桌面端重做/, /问题里提到了 main-v2/, /构建用 -tags legacy/, /^迁移前的构建方式$/,
/^发布流程$/, /^工作流$/, /^架构$/, /^用户偏好$/, /^发版前先确认合并队列$/, /^队列里有严重修复就先合进同一版$/, /^发版前先扫一遍待合并的修复/,
/^每天最多发一个版本$/, /^热修只在完全不可用时例外$/, /^北京日历日最多发一个版本/, /^测试都在 Windows 机器上跑$/, /^Mac 只改代码$/, /^所有 Go\/前端测试和 lint/,
];
const fails = [];
const browser = await chromium.launch();
@@ -26,4 +26,11 @@ export const EN_MEMORY: Record<string, string> = {
"没错": "That's right",
"agent 自动记录的内容:未经配置,但会据此执行。可以按类型和星系查找,刚记住的在「新的」里等你确认。":
"What the agent wrote down on its own: nobody configured it, yet it acts on it. Find facts by type or galaxy; ones it just learned wait under New for you to confirm.",
"参考": "Reference",
"用过": "Used",
"生效": "Applies",
"范围": "Scope",
"低": "Low",
"高": "High",
"所有项目": "All projects",
};