feat(panel): add Antigravity host UI localization and language packs

- Add standalone host-i18n language pack manager with GitHub/jsDelivr
  download, SHA-256 integrity checks, offline light/deep tier switching,
  and lossless DOM translation over the CDP window bridge
- Add Settings -> General host interface language controls, untranslated
  UI string collector, and loopback-only /api/host-i18n endpoints
- Include zh-CN layered language pack assets and source/audit/build scripts
  under host-i18n/ while keeping the Release ZIP runtime whitelist isolated
This commit is contained in:
fish
2026-11-25 13:38:23 +09:00
parent 5565133710
commit 8a01705e6f
48 changed files with 32522 additions and 38 deletions
+307
View File
@@ -0,0 +1,307 @@
{
"base": {
"? This action cannot be undone.": "?此操作无法撤销。",
"A primitive argument cannot be optional": "基本类型参数不能为可选",
"Accept": "接受",
"Accept All": "全部接受",
"Accept Step": "接受步骤",
"Accept all": "全部接受",
"Add them to allow future interactions": "添加它们以允许后续交互",
"Allow": "允许",
"Allow Always": "始终允许",
"Allow Google to collect and use your Interactions data, subject to the": "允许 Google 收集和使用您的交互数据,需遵守",
"Allow Once": "仅允许一次",
"Allow always": "始终允许",
"Allow command execution?": "允许执行此命令吗?",
"Allow creating issues and grant access to specific issues.": "允许创建议题并授予对特定议题的访问权限。",
"Allow for this session": "在本次会话中允许",
"Allow once": "仅允许一次",
"Always Allow": "始终允许",
"Always allow this command": "始终允许此命令",
"Amend and Upload Failed": "修订并上传失败",
"An error occurred while checking the port. Please try again.": "检查端口时出错,请重试。",
"An error occurred while submitting your feedback. Please try again.": "提交反馈时出错,请重试。",
"An error was thrown.": "抛出了一个错误。",
"An unexpected error occurred during creation": "创建过程中发生意外错误",
"Any error messages": "任何错误信息",
"Any error messages seen when trying to log in": "尝试登录时看到的任何错误信息",
"Approve": "批准",
"Approve and continue": "批准并继续",
"Are you sure you want to delete": "确定要删除",
"Are you sure you want to delete the": "确定要删除",
"Are you sure you want to delete this handler?": "确定要删除此处理程序吗?",
"Are you sure you want to delete this side question? This action cannot be undone.": "确定要删除此支线提问吗?此操作无法撤销。",
"Authentication expired": "身份验证已过期",
"Authentication failed": "身份验证失败",
"Auto-approve": "自动批准",
"BlockIdExtension: generateId returned %s ids in a row that were invalid or already in use": "BlockIdExtension: generateId 连续返回了 %s 个无效或已被占用的 ID",
"Cancel": "取消",
"Cancel (Ctrl+D)": "取消 (Ctrl+D)",
"Cancel All Tasks": "取消所有任务",
"Cancel Generation": "取消生成",
"Cancel Render Page Failed": "取消页面渲染失败",
"Cancel Render Thumbnail Failed": "取消缩略图渲染失败",
"Cancel Step": "取消步骤",
"Cancel Task": "取消任务",
"Cancel download": "取消下载",
"Cancel questionnaire": "取消问卷",
"Cancel recording": "取消录制",
"Cancel step": "取消步骤",
"Cancel task": "取消任务",
"Cannot add elements to a Range": "无法向 Range 添加元素",
"Cannot handle MDX estrees without `createEvaluater`": "缺少 `createEvaluater` 时无法处理 MDX estree",
"Cannot parse `style` attribute": "无法解析 `style` 属性",
"Cannot remove elements from a Range": "无法从 Range 移除元素",
"Cannot set elements in a Range": "无法在 Range 中设置元素",
"Cannot start best-of-N mode: background tasks are still running.": "无法启动多路择优模式:后台任务仍在运行中。",
"Command failed": "命令执行失败",
"Confirm": "确认",
"Confirm & Save": "确认并保存",
"Confirm Selection": "确认选择",
"Confirm Undo": "确认撤销",
"Confirm before running": "运行前确认",
"Copied error": "已复制错误",
"Copied error to clipboard": "已将错误复制到剪贴板",
"Copy error": "复制错误",
"Copy error messages": "复制错误消息",
"Copy error to clipboard": "复制错误到剪贴板",
"Could not clear site data for": "无法清除以下网站的站点数据:",
"Could not create canvas of type": "无法创建以下类型的画布:",
"Could not find match for route:": "找不到路由匹配项:",
"Could not load": "无法加载",
"Could not load the app view:": "无法加载应用视图:",
"Could not start.": "无法启动。",
"Couldn't delete cookies for": "无法删除以下网站的 Cookie:",
"Couldn't delete your data. Try again.": "无法删除您的数据。请重试。",
"Couldn't load older messages — retry": "无法加载更早的消息 — 重试",
"Couldn't load older messages, retry": "无法加载更早的消息,重试",
"DecoratorPastePlugin: resolve timeout": "DecoratorPastePlugin:解析超时",
"Delete": "删除",
"Delete All Data": "删除所有数据",
"Delete Group": "删除分组",
"Delete Handler": "删除处理程序",
"Delete Permanently": "永久删除",
"Delete Side Question": "删除侧边提问",
"Delete Task": "删除任务",
"Delete all": "全部删除",
"Delete all recordings?": "删除所有录制内容?",
"Delete command": "删除命令",
"Delete comment": "删除评论",
"Delete permanently": "永久删除",
"Delete server": "删除服务器",
"Delete side question": "删除侧边提问",
"Deny": "拒绝",
"Discard": "放弃",
"Discard Changes": "放弃更改",
"Discard changes": "放弃更改",
"Discard comment draft": "放弃评论草稿",
"Discard unstaged changes": "放弃未暂存的更改",
"Disconnect": "断开连接",
"Dismiss error": "关闭错误提示",
"Dismiss microphone warning": "关闭麦克风警告",
"Encountered an error": "遇到错误",
"Error": "错误",
"Error Details:": "错误详情:",
"Error ID:": "错误 ID:",
"Error during tool execution": "执行工具时出错",
"Error editing notebook": "编辑 Notebook 出错",
"Error generating stack:": "生成堆栈时出错:",
"Error occurred during import.": "导入期间发生错误。",
"Error parsing key-value for \\htmlData": "解析 \\\\htmlData 的键值对时出错",
"Error preloading route! ☝️": "预加载路由出错!☝️",
"Error reading notebook": "读取 Notebook 出错",
"Error rendering playback": "渲染回放出错",
"Error starting sign-in: this host can't start it": "启动登录出错: 此主机无法启动登录",
"Error while analyzing directory": "分析目录时出错",
"Error while editing": "编辑时出错",
"Error while editing notebook": "编辑 Notebook 时出错",
"Error while reading notebook": "读取 Notebook 时出错",
"Error while running command": "运行命令时出错",
"Error while searching": "搜索时出错",
"Error while searching filesystem": "搜索文件系统时出错",
"Error while searching the web": "搜索网页时出错",
"Error while semantic searching": "语义搜索时出错",
"Error while viewing": "查看时出错",
"Error:": "错误:",
"Every command requires approval.": "每条命令都需要批准。",
"Expected a notFound error": "预期为 notFound 错误",
"Expected a redirect error": "预期为重定向错误",
"Expired · Action not taken": "已过期 · 未执行操作",
"Failed": "失败",
"Failed target:": "失败目标:",
"Failed to Amend": "修订失败",
"Failed to Push": "推送失败",
"Failed to add bundle.": "添加捆绑包失败。",
"Failed to add bundle. Please try again.": "添加捆绑包失败,请重试。",
"Failed to capture screenshot": "截图失败",
"Failed to continue": "继续失败",
"Failed to delete side question": "删除侧边提问失败",
"Failed to edit": "编辑失败",
"Failed to establish connection.": "建立连接失败。",
"Failed to get all annotations": "获取所有批注失败",
"Failed to get annotations": "获取批注失败",
"Failed to load bundle. Please try again.": "加载捆绑包失败,请重试。",
"Failed to load image": "加载图片失败",
"Failed to load media": "加载媒体失败",
"Failed to load resources": "加载资源失败",
"Failed to load your customizations. Please try again.": "加载自定义配置失败,请重试。",
"Failed to parse trailer frame:": "解析尾部帧失败:",
"Failed to proceed": "继续操作失败",
"Failed to process image": "处理图片失败",
"Failed to read": "读取失败",
"Failed to refresh credentials": "刷新凭据失败",
"Failed to render diagram": "渲染图表失败",
"Failed to render math": "渲染数学公式失败",
"Failed to save changes.": "保存更改失败。",
"Failed to start Best of N mode": "启动 Best of N 模式失败",
"Failed to start side question": "发起侧边提问失败",
"Failed to submit comment. Please try again.": "提交评论失败,请重试。",
"Fork warning": "派生警告",
"Full Error": "完整错误",
"GoB Repository path cannot be empty": "GoB 仓库路径不能为空",
"Hide Error": "隐藏错误",
"Highlight After Accept": "采纳后高亮显示",
"ICE/DTLS failed": "ICE/DTLS 失败",
"Idle Guard Warning": "空闲保护警告",
"Internal Error:": "内部错误:",
"Internal error": "内部错误",
"Intersection results could not be merged": "无法合并交集结果",
"Invalid Base64 string": "无效的 Base64 字符串",
"Invalid CEL": "无效的 CEL",
"Invalid Media": "无效的媒体",
"Invalid argument number \"": "无效的参数编号 \"",
"Invalid base-": "无效的进制-",
"Invalid color: '": "无效的颜色:'",
"Invalid date": "无效的日期",
"Invalid embed:": "无效的嵌入项:",
"Invalid environment name": "无效的环境名称",
"Invalid function arguments": "无效的函数参数",
"Invalid function return type": "无效的函数返回类型",
"Invalid input": "无效输入",
"Invalid key: '": "无效的键:'",
"Invalid loopback URL": "无效的环回 URL",
"Invalid notebook JSON.": "无效的 Notebook JSON。",
"Invalid number of arguments:": "无效的参数数量:",
"Invalid parent node!": "无效的父节点!",
"Invalid separator type:": "无效的分隔符类型:",
"Invalid size: '": "无效的大小:'",
"Invalid tool call": "无效的工具调用",
"Invalid unit: '": "无效的单位:'",
"Invariant failed": "不变量检查失败",
"Lexical error on line": "词法错误,位于第",
"Manage and delete your data anytime": "随时管理和删除您的数据",
"Manager Error": "管理器错误",
"Manager Error:": "管理器错误:",
"Maximum total timeout exceeded": "已超过最大总超时时间",
"Media upload failed after 3 attempts.": "媒体上传在尝试 3 次后失败。",
"Microphone blocked. Allow mic access.": "麦克风已被阻止。请允许麦克风访问权限。",
"Microphone capture failed.": "麦克风采集失败。",
"NAVIGATION_BLOCKED: Opaque-origin subframe cannot be pierced without a verified parent origin": "NAVIGATION_BLOCKED: 未经验证父源的情况下无法穿透不透明源子框架",
"Needs Approval": "等待审批",
"Needs approval": "等待审批",
"Needs reconnect": "需要重新连接",
"Needs your approval": "需要您的批准",
"Offline": "离线",
"Optional reason for the cancellation (e.g., \"user action\", \"timeout\").": "可选的取消原因(例如 \"user action\"、\"timeout\")。",
"Owner graph is invalid!": "所有者图无效!",
"Owner graph manager is invalid!": "所有者图管理器无效!",
"PageAgent batch call failed": "PageAgent 批量调用失败",
"Parse error on line": "解析错误,位于第",
"Permanently delete": "永久删除",
"Preview unavailable due to a notebook parsing error.": "由于 Notebook 解析错误,无法预览。",
"Process Error": "进程错误",
"Process Error:": "进程错误:",
"Process exited with an error": "进程因错误退出",
"ProducerConsumer: cannot produce after final value has been set": "ProducerConsumer: 设置最终值后无法继续生成",
"Reconciliation: could not find DOM element for node key %s": "协调失败:找不到节点键 %s 对应的 DOM 元素",
"Reconnect": "重新连接",
"Redo": "重做",
"Reject": "拒绝",
"Reject All": "全部拒绝",
"Reject Step": "拒绝此步骤",
"Reject all": "全部拒绝",
"Remove": "移除",
"Remove All": "全部移除",
"Remove From Split": "从分栏中移除",
"Remove audio": "移除音频",
"Remove bundle": "移除扩展包",
"Remove from Group": "从分组中移除",
"Remove from Recent": "从最近列表中移除",
"Remove from Split": "从分栏中移除",
"Remove from list": "从列表中移除",
"Remove resource": "移除资源",
"Remove trigger": "移除触发器",
"Render failed": "渲染失败",
"Repository name cannot start with a dash": "仓库名称不能以短横线开头",
"Request failed": "请求失败",
"Retry": "重试",
"Revert": "回退",
"Revert and redo turn, best of N:": "撤销并重做本轮对话,取 N 次最佳结果:",
"Running processes are killed. This cannot be undone.": "正在运行的进程将被终止。此操作无法撤销。",
"Server returned an invalid API key or name": "服务器返回了无效的 API 密钥或名称",
"Setup script failed.": "初始化脚本运行失败。",
"Show Error": "显示错误",
"Sign-in failed:": "登录失败:",
"Source and/or target owner is invalid!": "源节点和/或目标节点的所有者无效!",
"Stream error": "流错误",
"Stream transport error": "流传输错误",
"Sync and Upload Failed": "同步并上传失败",
"Syntax error in text": "文本中存在语法错误",
"The certificate has expired or is not yet valid.": "证书已过期或尚未生效。",
"The color used for the problems error icon.": "问题错误图标使用的颜色。",
"The color used for the problems warning icon.": "问题警告图标使用的颜色。",
"The reader object cannot be used outside its compute function!": "reader 对象无法在其 compute 函数之外使用!",
"There was an error with your authentication. To log in, click": "您的身份验证出错。要登录,请点击",
"This action cannot be undone.": "此操作无法撤销。",
"This cannot be undone.": "此操作无法撤销。",
"This site cannot provide a secure connection.": "此网站无法提供安全连接。",
"This undo action will not make any code changes.": "此撤销操作不会更改任何代码。",
"This will permanently delete": "这将永久删除",
"Timeout must be a positive non-zero integer.": "超时时间必须为非零正整数。",
"Timeout:": "超时时间:",
"Toggle this on to allow creating new issues.": "开启此项以允许创建新议题。",
"True if the download failed (e.g., user cancelled or host denied).": "如果下载失败(例如用户取消或宿主拒绝),则为 true。",
"Unable to load PDF:": "无法加载 PDF:",
"Unable to resolve PDF source URL": "无法解析 PDF 源 URL",
"Unable to resolve audio source URL": "无法解析音频源 URL",
"Undo": "撤销",
"Undo to Here": "撤销到此处",
"Unknown error": "未知错误",
"Unknown error.": "未知错误。",
"Unknown execution error": "未知执行错误",
"Upload Chain Failed": "上传调用链失败",
"Using this option will attempt to revert all changes in this turn and redo the turn using N parallel trajectories. This will discard any changes made in this turn in order to redo it.": "使用此选项将尝试撤销本轮的所有更改,并使用 N 条并行路径重新执行本轮。为重新执行,本轮所做的任何更改都将被丢弃。",
"Validation failed. Please verify requirements and try again.": "验证失败。请核实要求后重试。",
"View could not be opened": "无法打开视图",
"Waiting for approval": "等待批准",
"Waiting for approval to grant administrator access": "正在等待批准授予管理员权限",
"Waiting for your approval": "正在等待您的批准",
"Warning": "警告",
"WebSocket RPC error": "WebSocket RPC 错误",
"Yes, allow": "是,允许",
"Yes, allow downloads from": "是,允许下载来自",
"Yes, allow for this task": "是,在此任务中允许",
"Yes, allow this download": "是,允许此下载",
"Yes, allow this time": "是,仅本次允许",
"Yes, always allow": "是,始终允许",
"Yes, always allow downloads from": "是,始终允许下载来自",
"Yes, and always allow": "是,且始终允许",
"Yes, and always allow '": "是,且始终允许 '",
"Your session has expired. Please log back in to continue.": "您的会话已过期。请重新登录以继续。",
"lint error": "Lint 错误",
"⚠️ Failed to render LaTeX:": "⚠️ 渲染 LaTeX 失败:",
"⚠️ Failed to render Mermaid diagram:": "⚠️ 渲染 Mermaid 图表失败:"
},
"light": {
"Allow opening pull requests and grant access to specific PRs.": "允许发起 Pull Request 并授予对特定 PR 的访问权限。",
"Allow reading workflow runs (list, view, watch) across the whole repository.": "允许在整个仓库中读取 Workflow 运行记录(列出、查看、监视)。",
"Allow sandboxed commands to make network requests.": "允许 Sandbox 中的命令发出网络请求。",
"Toggle this on to allow creating new pull requests.": "开启此项以允许创建新的 Pull Request。"
},
"deep": {
"Allow opening pull requests and grant access to specific PRs.": "允许发起拉取请求并授予对特定拉取请求的访问权限。",
"Allow reading workflow runs (list, view, watch) across the whole repository.": "允许在整个仓库中读取工作流运行记录(列出、查看、监视)。",
"Allow sandboxed commands to make network requests.": "允许沙箱中的命令发出网络请求。",
"Toggle this on to allow creating new pull requests.": "开启此项以允许创建新的拉取请求。"
}
}