Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

57.8 KB
Raw Blame
// Bot skills (profile panel 「记忆与技能」, import, chat proposal card, audit).
import {
  SKILL_IMPORT_FILE_MAX_BYTES,
  SKILL_IMPORT_MAX_BYTES,
  SKILL_IMPORT_MAX_FILES,
} from "@pibot/protocol-base";

// Limits live in protocol-base; taking them from there keeps the copy from outliving a change.
const mb = (bytes: number) => `${Math.round(bytes / (1024 * 1024))} MB`;
const zhFiles = `${SKILL_IMPORT_MAX_FILES / 10_000} 万`;
const enFiles = SKILL_IMPORT_MAX_FILES.toLocaleString("en-US");

export const skillsZh = {
  "skills.audit.downloaded": "从 {host} 下载技能来源",
  "skills.audit.downloadFailed": "下载失败",
  "skills.error.skill_link_size_changed": "来源大小超过刚才确认的大小,请重新解析并确认。",
  "skills.error.skill_link_ref_invalid": "链接中的版本引用无效,不能含点路径、控制或双向字符。",
  "skills.error.skill_link_subpath_invalid": "链接或清单中的技能子路径不安全。",
  "skills.error.skill_link_host_not_allowed":
    "来源重定向到未允许的主机,请明确提供目标主机的链接。",
  "skills.error.skill_link_private_address": "来源指向私有、本地或回环地址,不能下载。",
  "skills.error.skill_link_unsupported_url":
    "下载地址必须是不含凭据或查询参数的 HTTPS 链接,且只能使用 443 端口。",
  "skills.error.skill_link_redirect_limit": "来源重定向过多,无法下载。",
  "skills.error.skill_link_timeout": "下载或分析超时,请重试。",
  "skills.error.skill_link_cancelled": "已取消链接导入。",
  "skills.link.externalSources": "另有 {count} 个外部插件来源;请逐个确认来源和大小后下载。",
  "skills.error.skill_link_unsupported":
    "只支持公开的 GitHub 仓库、tree 链接或不含凭据与查询参数的 HTTPS ZIP 链接。",
  "skills.error.skill_link_private_unsupported": "暂不支持需要登录或凭据的私有仓库。",
  "skills.error.skill_link_private_or_missing": "公开来源不存在,或它是暂不支持的私有仓库。",
  "skills.error.skill_link_download_failed": "无法安全下载这个来源,请检查网络或重试。",
  "skills.error.skill_link_manifest_invalid": "插件或技能清单无效,无法导入。",
  "skills.error.skill_link_no_skills": "这个来源里没有找到支持的技能。",
  "skills.error.skill_link_too_many_skills": "单个来源最多列出 200 个技能。",
  "skills.error.skill_link_commit_unavailable":
    "无法确认仓库归档的提交号,请使用 GitHub codeload 链接重试。",
  "skills.error.skill_link_expired": "来源已过期,请重新解析链接。",
  "skills.error.skill_link_busy": "来源正在处理,或待处理来源过多,请稍后重试。",
  "skills.error.skill_link_candidate_missing": "请先下载来源,再选择其中的技能。",
  "skills.compatibility.title": "兼容性",
  "skills.compatibility.load": "检查兼容性",
  "skills.compatibility.unavailable": "不可用",
  "skills.compatibility.partial": "部分可用",
  "skills.compatibility.notice": "提示",
  "skills.compatibility.advisory": "根据技能文字和文件名识别,仅供参考,不影响导入,也不授予权限。",
  "skills.compatibility.standard_field": "识别到标准描述字段 {field}。",
  "skills.compatibility.ignored_field": "Pi Bot 不应用 {field} 扩展字段;相关行为需要改写。",
  "skills.compatibility.allowed_tools":
    "allowed-tools 不会授予工具权限;工具仍按 Pi Bot 的权限与审批规则执行。",
  "skills.compatibility.allowed_tools.values":
    "allowed-tools 写的是 {tools};这些名称不会授予工具权限,工具仍按 Pi Bot 的权限与审批规则执行。",
  "skills.compatibility.tool_mapping":
    "{tool} 可对应 Pi Bot 的 {replacement};参数和行为仍需核对。",
  "skills.compatibility.cli": "检测到 {tool} 命令行依赖;Pi Bot 不提供该命令,需要改写。",
  "skills.compatibility.slash_command":
    "检测到 /slash 命令;Pi Bot 不提供对应的命令机制,需要改写。",
  "skills.compatibility.subagent": "检测到 Task 或子代理机制;不能直接作为 Pi Bot 的子任务调用。",
  "skills.compatibility.claude_environment": "检测到 CLAUDE 环境变量依赖;Pi Bot 不提供这些变量。",
  "skills.compatibility.claude_path":
    "检测到 .claude 目录依赖;Pi Bot 不使用该目录作为技能运行目录。",
  "skills.compatibility.interpreter": "脚本文件可能需要 {runtime} 解释器;尚未检查本机是否安装。",
  "skills.compatibility.shell_windows":
    "包含 Shell 脚本但未发现 PowerShell 替代脚本;Windows 可能需要 Bash 或改写。",
  "skills.compatibility.files_unavailable": "文件列表未能读取,脚本与平台报告可能不完整。",
  "skills.memoryTitle": "记忆",
  "skills.teach": "教它做一次",
  "skills.import": "导入文件",
  "skills.importFolder": "导入文件夹",
  "skills.note": "在聊天里说一声就会用;停用的技能不会出现在{bot}的提示里。",
  "skills.empty": "还没有技能。可以教它做一次、从连接选择,或者在聊天里让{bot}把做过的事存成技能。",
  "skills.failed": "技能没能读取。",
  "skills.more": "更多技能",
  "skills.source.taught": "自添加",
  "skills.source.proposed": "它提议的",
  "skills.source.team": "团队模板",
  "skills.section.mine": "技能",
  "skills.section.plans": "常用计划",
  "skills.view": "查看",
  "skills.rowActions": "{name} 的更多操作",
  "skills.add": "添加",
  "skills.pick": "从连接选择",
  "skills.pick.title": "从连接选择 · {bot}",
  "skills.pick.intro": "勾选的技能和 MCP 给{bot}用;取消勾选就不再给它用。",
  "skills.pick.confirmGroup":
    "确认使用这个群的独立技能清单;首次保存会替代 Bot 的默认技能,不会自动追加默认技能。",
  "skills.pick.saving": "正在保存技能({done}/{total}),复制大型技能可能需要一些时间…",
  "skills.pick.introGroup":
    "勾选的技能给{bot}在这个群里用,勾选的 MCP 给这个群用;取消勾选就不再给。",
  "skills.pick.skills": "技能",
  "skills.pick.done": "完成",
  "skills.pick.mcp": "MCP",
  "skills.pick.builtin": "内置方法",
  "skills.pick.skillsEmpty": "连接页里还没有技能。",
  "skills.pick.mcpEmpty": "连接页里还没有 MCP。",
  "skills.pick.elsewhere": "要新建技能或添加 MCP,去「连接」页。",
  "skills.pick.openConnections": "打开连接页",
  "skills.meta.fromRole": "来自 {name}",
  "skills.meta.fromTeam": "来自 团队模板",
  "skills.plansEmpty":
    "还没有常用计划。群里一次全部步骤都通过的计划,可以在它的完成消息上「保存为常用计划」,下次直接运行。",
  "skills.plansFailed": "常用计划没能读取。",
  "skills.planActions": "{name} 的更多操作",
  "skills.rename": "改名",
  "skills.renameLabel": "新名字",
  "skills.source.imported": "导入的",
  "skills.usedNever": "没用过",
  "skills.usedAt": "{when} 用过",
  "skills.paramsShort": "要填:{params}",
  "skills.enable": "启用 {name}",
  "skills.back": "技能",
  "skills.detail.params": "每次要填",
  "skills.detail.noParams": "不用填",
  "skills.detail.default": "默认:{value}",
  "skills.detail.lastUsed": "上次用",
  "skills.detail.body": "技能内容",
  "skills.detail.allowedTools":
    "技能不能提升权限:里面写的 allowed-tools 会被忽略,每一步照常按权限设置判断。",
  "skills.source.title": "来源与版本",
  "skills.source.from": "来自",
  "skills.source.local": "本机导入",
  "skills.source.version": "版本",
  "skills.source.versionValue": "{version} · {digest} · {date} 导入",
  "skills.source.noVersion": "{digest} · {date} 导入",
  "skills.source.checked": "上次检查 {when}",
  "skills.update.check": "检查更新",
  "skills.update.checkFolder": "选文件夹…",
  "skills.update.checkFile": "选压缩包…",
  "skills.update.checking": "正在检查…",
  "skills.update.latest": "已是最新({version})",
  "skills.update.latestUnknown": "已是最新",
  "skills.update.available": "有可用更新({version})",
  "skills.update.availableUnknown": "有可用更新",
  "skills.update.rollback": "回退到上一版",
  "skills.update.dialog.title": "把 {name} 更新到 {version}?",
  "skills.update.dialog.titleUnversioned": "更新「{name}」?",
  "skills.update.dialog.fromTo": "版本",
  "skills.update.dialog.files": "文件",
  "skills.update.dialog.filesValue":
    "新增 {added} · 修改 {modified} · 删除 {removed}({before} → {after} 个)",
  "skills.update.dialog.skillMd": "SKILL.md",
  "skills.update.dialog.skillMdSame": "SKILL.md 没有变化。",
  "skills.update.dialog.truncated": "SKILL.md 太长,只对比了前 {chars} 个字。",
  "skills.update.dialog.runtimeChanged": "依赖变了:更新后需要重新准备运行环境。",
  "skills.update.dialog.runtimeSame": "依赖没变:更新后继续用已准备好的运行环境。",
  "skills.update.dialog.keep": "保持当前版本",
  "skills.update.dialog.apply": "更新",
  "skills.update.applied": "已更新到 {version}。",
  "skills.update.appliedUnknown": "已更新。",
  "skills.update.rolledBack": "已回退到上一版。",
  "skills.update.readonlyNote": "在「连接 › 技能」里检查更新和准备运行环境。",
  "skills.runtime.title": "运行环境",
  "skills.runtime.badge.not_required": "不需要",
  "skills.runtime.badge.not_prepared": "未准备",
  "skills.runtime.badge.preparing": "准备中",
  "skills.runtime.badge.ready": "已就绪",
  "skills.runtime.badge.failed": "失败",
  "skills.runtime.badge.needs_prepare": "需要重新准备",
  "skills.runtime.badge.unavailable": "读不到",
  "skills.runtime.loadFailed.timeout": "读取运行环境超时了。点「重试」再读一次。",
  "skills.runtime.loadFailed.verifying": "技能包还在核对,暂时读不到运行环境;核对完会自动再读。",
  "skills.runtime.loadFailed.other": "读取运行环境失败了。点「重试」再读一次。",
  "skills.runtime.notRequired": "这个技能不需要额外的运行环境。",
  "skills.runtime.needs": "需要 {what}。",
  "skills.runtime.python": "Python",
  "skills.runtime.node": "Node",
  "skills.runtime.packageCount": "{count} 个包",
  "skills.runtime.found": "这台电脑上找到了 {command} {version}。",
  "skills.runtime.notFound": "这台电脑上还没有找到{what}。",
  "skills.runtime.prepare": "准备运行环境",
  "skills.runtime.reprepare": "重新准备",
  "skills.runtime.remove": "删除环境",
  "skills.runtime.removeConfirm":
    "删除这个技能的环境?只删环境目录,技能和文件都还在;下次用时要重新准备。",
  "skills.runtime.removeDone": "环境已删除。",
  "skills.runtime.packages": "查看包列表",
  "skills.runtime.hidePackages": "收起包列表",
  "skills.runtime.noPackages": "依赖清单里没有列出包。",
  "skills.runtime.log": "查看日志",
  "skills.runtime.hideLog": "收起日志",
  "skills.runtime.logEmpty": "还没有日志。",
  "skills.runtime.cancel": "取消",
  "skills.runtime.retryInSkills": "到 {bot} 的技能页重试",
  "skills.runtime.retry": "重试",
  "skills.runtime.recheck": "重新检查",
  "skills.runtime.progress": "正在{phase} {done} / {total}",
  "skills.runtime.phase.create": "创建环境",
  "skills.runtime.phase.dependencies": "安装依赖",
  "skills.runtime.phase.verify": "检查环境",
  "skills.runtime.readyLine": "已就绪 · {interpreter} · {count} 个包 · {size}",
  "skills.runtime.needsPrepare": "需要重新准备:解释器不可用,或运行环境版本、依赖已变更。",
  "skills.runtime.notPrepared": "还没准备。准备好后,这个技能的命令可以用环境里的解释器。",
  "skills.runtime.preparing": "正在准备,完成后可以用。",
  "skills.runtime.nativeModules": "提示:{names} 可能需要编译工具;安装失败时看日志里的原因。",
  "skills.runtime.reason.uv_download_failed": "未能下载或安装 uv。",
  "skills.runtime.reason.uv_checksum_mismatch": "uv 下载包校验不符,已丢弃。",
  "skills.runtime.reason.uv_network_failed": "无法连接 uv 下载来源。请检查网络或代理后重试。",
  "skills.runtime.reason.uv_unsupported_platform": "此系统或处理器没有对应的 uv 下载包。",
  "skills.runtime.reason.uv_cleanup_unconfirmed": "安装进程尚未确认退出。请稍后重试。",
  "skills.runtime.reason.uv_isolation_unavailable":
    "此电脑无法提供准备 Python 环境所需的命令隔离。",
  "skills.runtime.reason.python_requirement_unsupported":
    "技能的 Python 版本范围或依赖声明暂不支持。",
  "skills.runtime.reason.python_workspace_boundary":
    "准备环境的固定目录校验失败。普通命令的工作区权限未改变。",
  "skills.runtime.reason.node_not_found": "没有找到 Node.js,请先安装。",
  "skills.runtime.reason.node_version_unsatisfied": "找到的 Node.js 版本不满足技能要求,请先升级。",
  "skills.runtime.reason.install_failed": "安装依赖时失败了,日志里有具体原因。",
  "skills.runtime.reason.cancelled": "准备被取消了。",
  "skills.runtime.reason.plan_changed": "运行环境方案变了(解释器或依赖),重新看一遍再准备。",
  "skills.runtime.approval.title": "为 {name} 准备运行环境?",
  "skills.runtime.approval.uses": "使用",
  "skills.runtime.approval.usesValue": "{interpreter}(这台电脑上已有的)",
  "skills.runtime.approval.runs": "将运行",
  "skills.runtime.approval.managedPython":
    "按需从 github.com/astral-sh/uv 下载 uv {version}(约 {size} MB),再由 uv 从 GitHub 下载托管 Python {python}(约 30–60 MB)。",
  "skills.runtime.approval.writesPython": "技能环境、托管 Python 和 uv 缓存目录",
  "skills.runtime.approval.runsPython": "uv venv · uv pip install({count} 个直接依赖)",
  "skills.runtime.approval.runsNode":
    "npm ci / npm install --ignore-scripts(有锁文件时用 npm ci)",
  "skills.runtime.approval.network": "联网",
  "skills.runtime.approval.networkPython":
    "只放行 PyPI(pypi.org、files.pythonhosted.org)和 GitHub 发行资产(github.com、objects.githubusercontent.com、release-assets.githubusercontent.com)",
  "skills.runtime.approval.networkNode": "只放行 registry.npmjs.org",
  "skills.runtime.approval.writes": "写入",
  "skills.runtime.approval.writesValue": "只写这个技能的环境目录",
  "skills.runtime.approval.risk":
    "安装包会执行包自带的安装代码。虽然在沙箱里进行,只有信任这个技能才继续。",
  "skills.runtime.approval.notNow": "先不",
  "skills.runtime.approval.confirm": "准备",
  "skills.runtime.error.planChanged": "运行环境方案变了(解释器或依赖),请重新打开准备卡片。",
  "skills.compatibility.counts": "{unavailable} 项不可用 · {partial} 项部分可用 · {notice} 条提示",
  "skills.compatibility.none": "没有发现兼容性问题。",
  "skills.error.skill_runtime_plan_changed":
    "运行环境方案变了(解释器或依赖),请重新打开准备卡片。",
  "skills.trial": "试运行一次",
  "skills.routine": "做成例行任务",
  "skills.edit": "编辑",
  "skills.delete": "删除",
  "skills.deleteMenu": "删除…",
  "skills.deleteConfirm": "删除技能「{name}」?删除后{bot}不会再用它,不能撤销。",
  "skills.trialSent": "已经在聊天里让{bot}试运行一次。",
  "skills.trialBlocked": "现在发不了消息,等当前任务结束或处理完审批再试。",
  "skills.trialUnavailable": "打开和{bot}的聊天后才能试运行。",
  "skills.editor.markdown": "SKILL.md",
  "skills.editor.markdownHint":
    "开头两行 --- 之间写 name(技能名)和 description(什么时候用,{bot}据此判断),下面写步骤。每次不同的值写成 {参数},默认值放在 metadata 下的 pibot-params。",
  "skills.editor.template":
    '---\nname: <技能名>\ndescription: <什么时候用:用户说什么、要做什么时用它,一行写完>\n---\n\n# <技能名>\n\n## 什么时候用\n<一两句话说清楚适用的情况,也可以写不该用的情况。>\n\n## 步骤\n1. <每步一行,按顺序写。每次不同的值写成 {参数},比如 {日期} 或 {date}。>\n2. <参数要默认值时,在开头两行 --- 之间加 metadata:,下一行缩进写 pibot-params: [{"name":"日期","default":"本周"}]。>\n\n## 注意\n- <要先确认的事、不能做的事。>\n',
  "skills.editor.issues": "还不能保存,先改好这些地方:",
  "skills.editor.issue.front_matter":
    "开头缺少 front matter:第一行写 ---,接着写 name 和 description,再用一行 --- 结束。",
  "skills.editor.issue.name_missing": "front matter 里缺少 name(技能名)。",
  "skills.editor.issue.name_too_long": "name 太长,最多 80 个字。",
  "skills.editor.issue.name_invalid": "name 里有不支持的字符。",
  "skills.editor.issue.description_missing": "front matter 里缺少 description(什么时候用)。",
  "skills.editor.issue.description_too_long": "description 太长,最多 1024 个字。",
  "skills.editor.issue.description_invalid": "description 里有不支持的字符。",
  "skills.editor.issue.body_missing": "正文是空的:在第二个 --- 下面写步骤。",
  "skills.editor.issue.body_too_large": "正文太长,最多 256 KB。",
  "skills.editor.issue.body_invalid": "正文里有不支持的字符。",
  "skills.editor.issue.params_invalid":
    "metadata 下的 pibot-params 格式不对:应是 JSON 数组,最多 20 项,每项有 name(字母、数字或下划线,不重复),可选 default 和 description。",
  "skills.editor.files": "技能文件",
  "skills.editor.newFile": "新建文件",
  "skills.editor.uploadFile": "上传文件",
  "skills.editor.uploadFolder": "上传文件夹",
  "skills.editor.newPath": "文件路径",
  "skills.editor.newPathHint":
    "从技能文件夹算起,可以带文件夹,比如 scripts/check.sh 或 reference/api.md。",
  "skills.editor.addFile": "添加",
  "skills.editor.pathInvalid":
    "这个路径不能用:不能有 ..、不能以 / 开头、不能有 Windows 不允许的字符或名字,也不能叫 SKILL.md。",
  "skills.editor.pathExists": "已经有同名的文件或文件夹(不分大小写)。",
  "skills.editor.fileText": "{path} 的内容",
  "skills.editor.deleteFile": "删除文件",
  "skills.editor.deleteFileConfirm": "从这个技能里删除「{path}」?点保存后才生效。",
  "skills.editor.binaryTag": "二进制",
  "skills.editor.binary": "二进制文件({size}),不能在这里编辑。可以删除,或上传同名文件替换它。",
  "skills.editor.scriptNote":
    "脚本只是技能里的一个文件:在这里不能运行,保存后也没有执行权限;{bot}要运行它时照常要经过审批。",
  "skills.write.noBots": "还没有可用的 Bot,先建一个 Bot 再写技能。",
  "skills.write.copyFailed": "已存给 {saved},但没能复制给 {bot}:",
  "skills.error.skill_name_exists": "已经有同名技能,换个名字。",
  "skills.error.skill_invalid":
    "内容不合要求:名字最多 80 字,描述一行最多 1024 字,步骤不能为空,参数最多 20 个且名字不重复。",
  "skills.error.skill_file_unavailable": "技能文件读不出来。",
  "skills.error.skill_not_found": "这个技能已经不在了。",
  "skills.error.skill_bot_unavailable": "这个 Bot 已归档,不能修改技能。",
  "skills.error.skill_import_invalid":
    "文件里没有可用的技能:需要一个 SKILL.md,开头写好 name 和 description,下面写步骤。",
  "skills.error.skill_import_unsupported":
    "只能导入 SKILL.md(或其他 .md、.txt 文本)、.zip 技能包,或一个技能文件夹。",
  "skills.error.skill_import_too_large": `技能包总共超过 ${mb(SKILL_IMPORT_MAX_BYTES)}。`,
  "skills.error.skill_import_file_too_large": `技能包里有单个文件超过 ${mb(SKILL_IMPORT_FILE_MAX_BYTES)},请把它去掉再导入。`,
  "skills.error.skill_import_too_many_files": `技能包里的文件超过 ${zhFiles}个。`,
  "skills.error.skill_import_unsafe":
    "技能包里有链接、特殊文件或不安全的文件名(如 ..、绝对路径、Windows 不允许的名字、只差大小写的重名),不能导入。",
  "skills.error.skill_import_unreadable": "读不了这个文件或文件夹。",
  "skills.error.skill_import_cancelled": "已取消导入,没有保存任何文件。",
  "skills.error.skill_import_timeout":
    "导入长时间没有进展,已停止;文件太慢(如网络盘)或已被其他程序占用。",
  "skills.error.skill_update_unavailable":
    "这个技能没有可以重新获取的来源,请重新选择文件夹或 zip 再检查更新。",
  "skills.error.skill_update_source_required":
    "这个技能还没有来源记录,先重新导入一次,之后才能检查更新和回退。",
  "skills.error.skill_update_none": "没有待安装的更新,也没有可以回退的上一版。",
  "skills.error.skill_update_expired": "上一版已超过 7 天保留期,内容已经清理,不能再回退。",
  "skills.error.skill_preview_expired": "预览已过期,请重新导入。",
  "skills.error.skill_picker_unavailable": "现在打不开选择文件的窗口,请打开 Pi Bot 窗口后再试。",
  "skills.error.skill_picker_busy": "已经有一个选择窗口开着。",
  "skills.error.skill_proposal_closed": "这张卡片已经处理过了。",
  "skills.error.skill_proposal_unavailable": "这个提议已经不可用。",
  "skills.error.skill_files_invalid":
    "有文件名不合要求(如 ..、Windows 不允许的名字、只差大小写的重名,或和文件夹同名),没有保存。",
  "skills.error.skill_upload_expired": "上传的文件已经过期,请重新上传后再保存。",
  "skills.error.skill_upload_empty": "这个文件夹里没有可以加进来的文件。",
  "skills.error.skill_upload_skill_file":
    "SKILL.md 直接在列表第一个文件里改;要换成整个别的技能,请用「导入」。",
  "skills.error.failed": "没能完成,请重试。",
  "skills.import.title": "导入技能 · {name}",
  "skills.import.from": "来自 {file}({size},{count} 个文件)。先看完全部内容再决定。",
  "skills.import.only":
    "只导入这一个 SKILL.md。要带上脚本和参考资料,请导入整个技能文件夹或 .zip。",
  "skills.import.skipped": "另有 {count} 个文件不在技能文件夹里,不会导入。",
  "skills.import.skillFile": "SKILL.md 全文",
  "skills.import.scripts": "脚本和程序 · {count}",
  "skills.import.files": "全部文件 · {count}",
  "skills.import.view": "查看",
  "skills.import.hide": "收起",
  "skills.import.binary": "二进制文件,不能按文本显示。",
  "skills.import.binaryProgram": "二进制程序,不能按文本显示。",
  "skills.import.scriptTag": "脚本",
  "skills.import.warn":
    "技能内容来自外部,不可信。里面的 allowed-tools 会被忽略,每一步照常按{bot}的权限判断。",
  "skills.import.scriptWarn":
    "里面有 {count} 个脚本或程序。它们不会自动运行:{bot}只能像普通命令一样运行它们,每次照常要经过审批,不会因为来自技能就放行。",
  "skills.import.confirm": "导入",
  "skills.import.done": "已导入「{name}」。",
  "skills.link.title": "从链接导入",
  "skills.link.subtitle": "支持公开 GitHub 仓库,和以 https 开头的 .zip 链接。",
  "skills.link.label": "链接",
  "skills.link.resolve": "解析链接",
  "skills.link.found": "找到来源",
  "skills.link.repo": "仓库",
  "skills.link.size": "下载约 {size}",
  "skills.link.sizeUnknown": `大小要下载时才知道;超过 ${mb(SKILL_IMPORT_MAX_BYTES)} 或 ${zhFiles}个文件会停下来。`,
  "skills.link.info": "只下载并分析,不运行其中的任何文件。",
  "skills.link.download": "下载并预览",
  "skills.link.downloading": "正在下载 · {size}",
  "skills.link.downloadingTotal": "正在下载 · {done} / 约 {total}({percent}%)",
  "skills.link.scanning": "正在分析来源…",
  "skills.link.picked": "已选 {count} 个 · {size}",
  "skills.link.next": "预览并导入",
  "skills.link.source": "链接",
  "skills.preview.source": "来源",
  "skills.preview.size": "大小",
  "skills.preview.sizeValue": "{size} · {count} 个文件",
  "skills.preview.largest": "最大文件夹",
  "skills.preview.largestValue": "{name} · {size}",
  "skills.preview.storage": "导入后保存到 Pi Bot 数据目录,只给分配给它的 Bot 用。",
  "skills.preview.runtime": "运行环境",
  "skills.preview.runtimeValue": "{name} {version}",
  "skills.preview.packages": "依赖:{names}",
  "skills.preview.environment": "可能读取的环境变量(仅名称):{names}",
  "skills.preview.noRuntime": "不需要额外的运行环境。",
  "skills.preview.licenseWarn": "这些文件带 GPL / AGPL 许可,使用前要先确认:{files}",
  "skills.preview.licenseOk": "未发现 GPL / AGPL 许可文件。",
  "skills.preview.assign": "分配给",
  "skills.preview.uncertain":
    "「{name}」的导入结果未知:可能已经成功。请关闭后重新检查技能列表,不要重复导入。",
  "skills.preview.progress": "已复制 {done}/{total} 个文件",
  "skills.preview.queue": "导入这个后还会依次预览 {count} 个。",
  "skills.preview.only": "这是最后一个。",
  "skills.preview.done": "已导入 {count} 个技能。",
  "skills.preview.existed": "「{name}」已存在,这次保存为「{saved}」。",
  "skills.preview.failed": "「{name}」没能导入,可以重试。",
  "skills.preview.local.file": "本机文件",
  "skills.preview.local.folder": "本机文件夹",
  "skills.preview.close": "完成",
  // Shown when the brain did not confirm that a stopped import or download was released.
  "skills.preview.stopUnconfirmed":
    "已请求停止,但没能确认后台已结束;未完成的导入不会自动重试。可以再关闭一次。",
  "skills.proposal.title": "{bot}想把这个做法存成技能",
  "skills.proposal.decline": "不用",
  "skills.proposal.accept": "存成技能",
  "skills.proposal.accepted": "已存成技能「{name}」",
  "skills.proposal.declined": "没有保存这个技能",
  "skills.proposal.expired": "这个提议已失效",
  "skills.proposal.view": "看技能",
  "skills.proposal.steps": "看步骤",
  "skills.tool.propose": "提议技能",
  "skills.teamPreview": "带 {count} 个技能:{names}",
  "skills.audit.created": "新建了技能「{name}」",
  "skills.audit.imported": "导入了技能「{name}」",
  "skills.audit.importedPackage": "导入了技能「{name}」({files} 个文件,其中 {scripts} 个脚本)",
  "skills.detail.files": "附带文件 · {count}",
  "skills.detail.loadFiles": "查看附带文件",
  "skills.detail.filesNote": "这些文件{bot}只能读、不能改;运行其中的脚本照常要经过审批。",
  "skills.detail.filesMore": "还有 {count} 个文件未显示",
  "skills.audit.updated": "修改了技能「{name}」",
  "skills.audit.removed": "删除了技能「{name}」",
  "skills.audit.enabled": "启用了技能「{name}」",
  "skills.audit.disabled": "停用了技能「{name}」",
  "skills.audit.proposed": "提议存成技能「{name}」",
  "skills.audit.drafted": "从一次运行起草了工作流「{name}」",
  "skills.audit.accepted": "确认存成技能「{name}」",
  "skills.audit.declined": "没有保存技能「{name}」",
  "skills.audit.changed": "技能「{name}」有变化",
  "skills.audit.builtin_merged": "把自带方法「{name}」的几份副本合成了一份",
  "skills.audit.builtin_archived": "「{name}」是自带方法的重复副本,已停用归档(没有删除)",
  "skills.audit.builtin_merge_skipped": "「{name}」和另一份改过的副本都像同一个自带方法,没有合并",
  "skills.audit.builtin_updated": "自带方法「{name}」随应用更新到了新版本",
  "skills.audit.builtin_renamed": "自带方法「{name}」恢复了自己的名字",
  // Past choices about built-in methods stay readable in the activity log.
  "skills.audit.builtin_replaced": "把自带方法「{name}」换成了新版",
  "skills.audit.builtin_kept": "保留了改过的自带方法「{name}」,不用新版",
  "skills.message.trial":
    "请按技能「{name}」试运行一次。{params}这是试运行:做完告诉我结果,以及技能里需要调整的地方。",
  "skills.message.params": "参数:{list}。",
  "skills.message.routine": "按技能「{name}」做。{params}",
  "skills.message.paramSeparator": ",",
  "skills.message.defaultValue": "用默认值",
} as const;

export const skillsEn: { [K in keyof typeof skillsZh]: string } = {
  "skills.audit.downloaded": "Download skill source from {host}",
  "skills.audit.downloadFailed": "Download failed",
  "skills.error.skill_link_size_changed":
    "The source exceeds the size you confirmed. Resolve it and confirm again.",
  "skills.error.skill_link_ref_invalid":
    "The version ref must not contain dot segments, control or bidirectional characters.",
  "skills.error.skill_link_subpath_invalid": "The skill subpath in the link or manifest is unsafe.",
  "skills.error.skill_link_host_not_allowed":
    "The source redirected to a host that is not allowed. Provide that host's link explicitly.",
  "skills.error.skill_link_private_address":
    "The source points to a private, local or loopback address and cannot be downloaded.",
  "skills.error.skill_link_unsupported_url":
    "Download URLs must use HTTPS on port 443 without credentials or query parameters.",
  "skills.error.skill_link_redirect_limit": "The source redirected too many times.",
  "skills.error.skill_link_timeout": "The download or scan timed out. Retry.",
  "skills.error.skill_link_cancelled": "Link import cancelled.",
  "skills.link.externalSources":
    "{count} external plugin sources require separate source and size confirmation before download.",
  "skills.error.skill_link_unsupported":
    "Use a public GitHub repository, tree link, or HTTPS ZIP link without credentials or query parameters.",
  "skills.error.skill_link_private_unsupported":
    "Private repositories requiring login or credentials are not supported.",
  "skills.error.skill_link_private_or_missing":
    "The public source was not found, or it is an unsupported private repository.",
  "skills.error.skill_link_download_failed":
    "The source could not be downloaded safely. Check the network or retry.",
  "skills.error.skill_link_manifest_invalid": "The plugin or skill manifest is invalid.",
  "skills.error.skill_link_no_skills": "No supported skills were found in this source.",
  "skills.error.skill_link_too_many_skills": "A source can list at most 200 skills.",
  "skills.error.skill_link_commit_unavailable":
    "The archive commit could not be resolved. Retry with a GitHub codeload link.",
  "skills.error.skill_link_expired": "The source expired. Resolve the link again.",
  "skills.error.skill_link_busy": "A source is busy or too many sources are pending. Retry later.",
  "skills.error.skill_link_candidate_missing": "Download the source first, then select a skill.",
  "skills.compatibility.title": "Compatibility",
  "skills.compatibility.load": "Check compatibility",
  "skills.compatibility.unavailable": "Unavailable",
  "skills.compatibility.partial": "Partially usable",
  "skills.compatibility.notice": "Notice",
  "skills.compatibility.advisory":
    "Inferred from skill text and filenames for guidance. This does not block import or grant permissions.",
  "skills.compatibility.standard_field": "Recognized standard descriptive field: {field}.",
  "skills.compatibility.ignored_field":
    "Pi Bot does not apply the {field} extension; related behavior needs adaptation.",
  "skills.compatibility.allowed_tools":
    "allowed-tools does not grant access. Pi Bot permissions and approvals still apply.",
  "skills.compatibility.allowed_tools.values":
    "allowed-tools lists {tools}. Those names grant nothing; Pi Bot permissions and approvals still apply.",
  "skills.compatibility.tool_mapping":
    "{tool} may correspond to Pi Bot's {replacement}; check arguments and behavior.",
  "skills.compatibility.cli":
    "Detected a {tool} CLI dependency. Pi Bot does not provide this command; adapt the skill.",
  "skills.compatibility.slash_command":
    "Detected a /slash command. Pi Bot does not provide this command mechanism; adapt the skill.",
  "skills.compatibility.subagent":
    "Detected Task or subagents; these cannot directly invoke Pi Bot subtasks.",
  "skills.compatibility.claude_environment":
    "Detected a dependency on CLAUDE environment variables. Pi Bot does not provide these variables.",
  "skills.compatibility.claude_path":
    "Detected a .claude directory dependency. Pi Bot does not use this as the skill runtime directory.",
  "skills.compatibility.interpreter":
    "Script files may require the {runtime} interpreter. Its availability has not been checked.",
  "skills.compatibility.shell_windows":
    "Shell scripts were found without a PowerShell alternative. Windows may require Bash or adaptation.",
  "skills.compatibility.files_unavailable":
    "The file list could not be read; script and platform findings may be incomplete.",
  "skills.memoryTitle": "Memory",
  "skills.teach": "Teach it once",
  "skills.import": "Import file",
  "skills.importFolder": "Import folder",
  "skills.note": "Mention it in chat and it is used; disabled skills stay out of {bot}'s prompt.",
  "skills.empty":
    "No skills yet. Teach it once, choose one from connections, or ask {bot} in chat to save what it did as a skill.",
  "skills.failed": "Skills could not be loaded.",
  "skills.more": "More skills",
  "skills.source.taught": "Added by you",
  "skills.source.proposed": "Proposed by the Bot",
  "skills.source.team": "Team template",
  "skills.section.mine": "Skills",
  "skills.section.plans": "Saved plans",
  "skills.view": "View",
  "skills.rowActions": "More for {name}",
  "skills.add": "Add",
  "skills.pick": "From connections",
  "skills.pick.title": "Choose from connections · {bot}",
  "skills.pick.intro": "Ticked skills and MCP are given to {bot}; untick one to take it away.",
  "skills.pick.confirmGroup":
    "Use a separate skill set for this group. The first save replaces the Bot’s defaults; defaults are not added automatically.",
  "skills.pick.saving": "Saving skills ({done}/{total}); copying large skills may take a while…",
  "skills.pick.introGroup":
    "Ticked skills are given to {bot} in this group and ticked MCP to this group; untick one to take it away.",
  "skills.pick.skills": "Skills",
  "skills.pick.done": "Done",
  "skills.pick.mcp": "MCP",
  "skills.pick.builtin": "Built-in method",
  "skills.pick.skillsEmpty": "The Connections page has no skills yet.",
  "skills.pick.mcpEmpty": "The Connections page has no MCP yet.",
  "skills.pick.elsewhere": "To make a new skill or add an MCP, go to the Connections page.",
  "skills.pick.openConnections": "Open Connections",
  "skills.meta.fromRole": "From {name}",
  "skills.meta.fromTeam": "From a team template",
  "skills.plansEmpty":
    "No saved plans yet. When every step of a group plan passes, use “Save as a reusable plan” on its completion message to run it again directly.",
  "skills.plansFailed": "Saved plans could not be loaded.",
  "skills.planActions": "More for {name}",
  "skills.rename": "Rename",
  "skills.renameLabel": "New name",
  "skills.source.imported": "Imported",
  "skills.usedNever": "Never used",
  "skills.usedAt": "Used {when}",
  "skills.paramsShort": "Fill in: {params}",
  "skills.enable": "Enable {name}",
  "skills.back": "Skills",
  "skills.detail.params": "Fill in each time",
  "skills.detail.noParams": "Nothing to fill in",
  "skills.detail.default": "Default: {value}",
  "skills.detail.lastUsed": "Last used",
  "skills.detail.body": "Skill content",
  "skills.detail.allowedTools":
    "Skills cannot raise permissions: any allowed-tools inside are ignored and every step follows the permission settings as usual.",
  "skills.source.title": "Source and version",
  "skills.source.from": "From",
  "skills.source.local": "Imported from this computer",
  "skills.source.version": "Version",
  "skills.source.versionValue": "{version} · {digest} · imported {date}",
  "skills.source.noVersion": "{digest} · imported {date}",
  "skills.source.checked": "Last checked {when}",
  "skills.update.check": "Check for update",
  "skills.update.checkFolder": "Pick a folder…",
  "skills.update.checkFile": "Pick a zip…",
  "skills.update.checking": "Checking…",
  "skills.update.latest": "Up to date ({version})",
  "skills.update.latestUnknown": "Up to date",
  "skills.update.available": "Update available ({version})",
  "skills.update.availableUnknown": "Update available",
  "skills.update.rollback": "Roll back to the previous version",
  "skills.update.dialog.title": "Update {name} to {version}?",
  "skills.update.dialog.titleUnversioned": "Update “{name}”?",
  "skills.update.dialog.fromTo": "Version",
  "skills.update.dialog.files": "Files",
  "skills.update.dialog.filesValue":
    "{added} new · {modified} changed · {removed} removed ({before} → {after} files)",
  "skills.update.dialog.skillMd": "SKILL.md",
  "skills.update.dialog.skillMdSame": "No changes in SKILL.md.",
  "skills.update.dialog.truncated":
    "SKILL.md is too long; only the first {chars} characters were compared.",
  "skills.update.dialog.runtimeChanged":
    "The requirements changed: the runtime will need preparing again after the update.",
  "skills.update.dialog.runtimeSame":
    "The requirements did not change: the prepared runtime stays usable.",
  "skills.update.dialog.keep": "Keep the current version",
  "skills.update.dialog.apply": "Update",
  "skills.update.applied": "Updated to {version}.",
  "skills.update.appliedUnknown": "Updated.",
  "skills.update.rolledBack": "Rolled back to the previous version.",
  "skills.update.readonlyNote":
    "Check for updates and prepare the runtime in Connections › Skills.",
  "skills.runtime.title": "Runtime",
  "skills.runtime.badge.not_required": "Not needed",
  "skills.runtime.badge.not_prepared": "Not prepared",
  "skills.runtime.badge.preparing": "Preparing",
  "skills.runtime.badge.ready": "Ready",
  "skills.runtime.badge.failed": "Failed",
  "skills.runtime.badge.needs_prepare": "Needs preparing",
  "skills.runtime.badge.unavailable": "Unavailable",
  "skills.runtime.loadFailed.timeout":
    "Reading the runtime timed out. Choose Retry to read it again.",
  "skills.runtime.loadFailed.verifying":
    "The skill package is still being verified, so the runtime cannot be read yet; it reads again on its own once that finishes.",
  "skills.runtime.loadFailed.other": "Reading the runtime failed. Choose Retry to read it again.",
  "skills.runtime.notRequired": "This skill needs no extra runtime.",
  "skills.runtime.needs": "Needs {what}.",
  "skills.runtime.python": "Python",
  "skills.runtime.node": "Node",
  "skills.runtime.packageCount": "{count} packages",
  "skills.runtime.found": "Found {command} {version} on this computer.",
  "skills.runtime.notFound": "No {what} found on this computer yet.",
  "skills.runtime.prepare": "Prepare runtime",
  "skills.runtime.reprepare": "Prepare again",
  "skills.runtime.remove": "Remove environment",
  "skills.runtime.removeConfirm":
    "Remove this skill's environment? Only the environment folder is deleted; the skill and its files stay, and it needs preparing again before use.",
  "skills.runtime.removeDone": "Environment removed.",
  "skills.runtime.packages": "View packages",
  "skills.runtime.hidePackages": "Hide packages",
  "skills.runtime.noPackages": "The dependency files list no packages.",
  "skills.runtime.log": "View log",
  "skills.runtime.hideLog": "Hide log",
  "skills.runtime.logEmpty": "No log yet.",
  "skills.runtime.cancel": "Cancel",
  "skills.runtime.retryInSkills": "Go to {bot}’s skill page to retry",
  "skills.runtime.retry": "Retry",
  "skills.runtime.recheck": "Check again",
  "skills.runtime.progress": "{phase} {done} / {total}",
  "skills.runtime.phase.create": "Creating the environment",
  "skills.runtime.phase.dependencies": "Installing dependencies",
  "skills.runtime.phase.verify": "Checking the environment",
  "skills.runtime.readyLine": "Ready · {interpreter} · {count} packages · {size}",
  "skills.runtime.needsPrepare":
    "Needs preparing: the interpreter is unavailable, or the runtime version or requirements changed.",
  "skills.runtime.notPrepared":
    "Not prepared yet. Once prepared, this skill's commands can use the environment's interpreter.",
  "skills.runtime.preparing": "Preparing; it can be used once done.",
  "skills.runtime.nativeModules":
    "Note: {names} may need build tools; see the log for the reason if installing fails.",
  "skills.runtime.reason.uv_download_failed": "Could not download or install uv.",
  "skills.runtime.reason.uv_checksum_mismatch":
    "The uv download failed its checksum and was discarded.",
  "skills.runtime.reason.uv_network_failed":
    "Could not reach the uv download source. Check your network or proxy and try again.",
  "skills.runtime.reason.uv_unsupported_platform":
    "There is no uv download for this system or processor.",
  "skills.runtime.reason.uv_cleanup_unconfirmed":
    "The installer has not confirmed it exited. Try again later.",
  "skills.runtime.reason.uv_isolation_unavailable":
    "This computer cannot provide the command isolation needed to prepare Python.",
  "skills.runtime.reason.python_requirement_unsupported":
    "The skill's Python version range or dependency declaration is unsupported.",
  "skills.runtime.reason.python_workspace_boundary":
    "The managed runtime root failed its workspace check. Ordinary command workspace permissions were not changed.",
  "skills.runtime.reason.node_not_found": "No Node.js found. Install Node.js first.",
  "skills.runtime.reason.node_version_unsatisfied":
    "The Node.js found does not meet the skill's requirement. Upgrade it first.",
  "skills.runtime.reason.install_failed":
    "Installing the dependencies failed; the log has the reason.",
  "skills.runtime.reason.cancelled": "Preparation was cancelled.",
  "skills.runtime.reason.plan_changed":
    "The runtime plan changed (interpreter or dependencies); review it before preparing.",
  "skills.runtime.approval.title": "Prepare a runtime for {name}?",
  "skills.runtime.approval.uses": "Uses",
  "skills.runtime.approval.usesValue": "{interpreter} (already on this computer)",
  "skills.runtime.approval.runs": "Runs",
  "skills.runtime.approval.managedPython":
    "Downloads uv {version} on demand from github.com/astral-sh/uv (about {size} MB). uv then downloads managed Python {python} from GitHub (about 30–60 MB).",
  "skills.runtime.approval.writesPython": "Skill environment, managed Python, and uv cache folders",
  "skills.runtime.approval.runsPython": "uv venv · uv pip install ({count} direct dependencies)",
  "skills.runtime.approval.runsNode":
    "npm ci / npm install --ignore-scripts (npm ci when a lockfile exists)",
  "skills.runtime.approval.network": "Network",
  "skills.runtime.approval.networkPython":
    "Only PyPI (pypi.org, files.pythonhosted.org) and GitHub release assets (github.com, objects.githubusercontent.com, release-assets.githubusercontent.com)",
  "skills.runtime.approval.networkNode": "Only registry.npmjs.org",
  "skills.runtime.approval.writes": "Writes",
  "skills.runtime.approval.writesValue": "Only this skill's environment folder",
  "skills.runtime.approval.risk":
    "Installing packages runs their install code. It happens in the sandbox, but only continue if you trust this skill.",
  "skills.runtime.approval.notNow": "Not now",
  "skills.runtime.approval.confirm": "Prepare",
  "skills.runtime.error.planChanged":
    "The runtime plan changed (interpreter or dependencies); open the preparation card again.",
  "skills.compatibility.counts":
    "{unavailable} unavailable · {partial} partly usable · {notice} notes",
  "skills.compatibility.none": "No compatibility issues found.",
  "skills.error.skill_runtime_plan_changed":
    "The runtime plan changed (interpreter or dependencies); open the preparation card again.",
  "skills.trial": "Try it once",
  "skills.routine": "Make it a routine",
  "skills.edit": "Edit",
  "skills.delete": "Delete",
  "skills.deleteMenu": "Delete…",
  "skills.deleteConfirm":
    'Delete the skill "{name}"? {bot} will no longer use it. This cannot be undone.',
  "skills.trialSent": "Asked {bot} in chat to try it once.",
  "skills.trialBlocked":
    "Messages cannot be sent right now. Try again after the current task or approval.",
  "skills.trialUnavailable": "Open the chat with {bot} to try it.",
  "skills.editor.markdown": "SKILL.md",
  "skills.editor.markdownHint":
    "Between the two --- lines, write name (the skill's name) and description (when to use it; {bot} decides from this); the steps go below. Values that change each time go in curly braces, with defaults in pibot-params under metadata.",
  "skills.editor.template":
    '---\nname: <Skill name>\ndescription: <When to use it: what the user says or wants done, in one line>\n---\n\n# <Skill name>\n\n## When to use\n<One or two sentences on when it applies; you can also say when it does not.>\n\n## Steps\n1. <One step per line, in order. Values that change each time go in braces, such as {date}.>\n2. <For a default value, add metadata: between the two --- lines, then an indented line pibot-params: [{"name":"date","default":"this week"}].>\n\n## Notes\n- <What to confirm first, and what not to do.>\n',
  "skills.editor.issues": "Not saved yet. Fix these first:",
  "skills.editor.issue.front_matter":
    "The front matter is missing: start with a --- line, then name and description, then close it with another --- line.",
  "skills.editor.issue.name_missing": "The front matter has no name (the skill's name).",
  "skills.editor.issue.name_too_long": "name is too long (80 characters at most).",
  "skills.editor.issue.name_invalid": "name contains characters that are not supported.",
  "skills.editor.issue.description_missing":
    "The front matter has no description (when to use it).",
  "skills.editor.issue.description_too_long": "description is too long (1024 characters at most).",
  "skills.editor.issue.description_invalid":
    "description contains characters that are not supported.",
  "skills.editor.issue.body_missing":
    "The body is empty: write the steps below the second --- line.",
  "skills.editor.issue.body_too_large": "The body is too long (256 KB at most).",
  "skills.editor.issue.body_invalid": "The body contains characters that are not supported.",
  "skills.editor.issue.params_invalid":
    "pibot-params under metadata is not valid: it should be a JSON array of at most 20 items, each with a unique name (letters, digits or underscores) and optional default and description.",
  "skills.editor.files": "Skill files",
  "skills.editor.newFile": "New file",
  "skills.editor.uploadFile": "Upload file",
  "skills.editor.uploadFolder": "Upload folder",
  "skills.editor.newPath": "File path",
  "skills.editor.newPathHint":
    "Relative to the skill folder; it can include folders, such as scripts/check.sh or reference/api.md.",
  "skills.editor.addFile": "Add",
  "skills.editor.pathInvalid":
    "This path cannot be used: no .., no leading /, no characters or names Windows does not allow, and it cannot be SKILL.md.",
  "skills.editor.pathExists": "A file or folder with this name already exists (ignoring case).",
  "skills.editor.fileText": "Contents of {path}",
  "skills.editor.deleteFile": "Delete file",
  "skills.editor.deleteFileConfirm":
    'Delete "{path}" from this skill? It takes effect when you save.',
  "skills.editor.binaryTag": "Binary",
  "skills.editor.binary":
    "Binary file ({size}); it cannot be edited here. Delete it, or upload a file with the same name to replace it.",
  "skills.editor.scriptNote":
    "A script is just a file in the skill: it cannot run here and is saved without execute permission; when {bot} wants to run it, the usual approval applies.",
  "skills.write.noBots": "There is no Bot to save it for yet. Create a Bot first.",
  "skills.write.copyFailed": "Saved for {saved}, but it could not be copied to {bot}:",
  "skills.error.skill_name_exists": "A skill with this name already exists. Choose another name.",
  "skills.error.skill_invalid":
    "This does not fit: name up to 80 characters, a one-line description up to 1024, non-empty steps, at most 20 uniquely named parameters.",
  "skills.error.skill_file_unavailable": "The skill file could not be read.",
  "skills.error.skill_not_found": "This skill no longer exists.",
  "skills.error.skill_bot_unavailable": "This Bot is archived; its skills cannot be changed.",
  "skills.error.skill_import_invalid":
    "No usable skill in this file: it needs a SKILL.md starting with name and description, followed by the steps.",
  "skills.error.skill_import_unsupported":
    "Only a SKILL.md (or another .md or .txt text file), a .zip skill package or a skill folder can be imported.",
  "skills.error.skill_import_too_large": `The skill package is larger than ${mb(SKILL_IMPORT_MAX_BYTES)} in total.`,
  "skills.error.skill_import_file_too_large": `One file in the skill package is larger than ${mb(SKILL_IMPORT_FILE_MAX_BYTES)}; remove it and import again.`,
  "skills.error.skill_import_too_many_files": `The skill package has more than ${enFiles} files.`,
  "skills.error.skill_import_unsafe":
    "The skill package contains links, special files or unsafe file names (such as .., absolute paths, names Windows does not allow, or names differing only in case), so it cannot be imported.",
  "skills.error.skill_import_unreadable": "This file or folder could not be read.",
  "skills.error.skill_import_cancelled": "Import cancelled; nothing was saved.",
  "skills.error.skill_import_timeout":
    "The import stopped after making no progress; the files are slow (a network drive, for example) or in use.",
  "skills.error.skill_update_unavailable":
    "This skill has no source that can be fetched again; pick its folder or zip again to check for updates.",
  "skills.error.skill_update_source_required":
    "This skill has no recorded source yet; import it once more before checking updates or rolling back.",
  "skills.error.skill_update_none":
    "There is no update to apply and no previous version to restore.",
  "skills.error.skill_update_expired":
    "The previous version is past its 7-day retention and has been cleaned up, so it cannot be restored.",
  "skills.error.skill_preview_expired": "The preview expired. Import again.",
  "skills.error.skill_picker_unavailable":
    "The file picker cannot open right now. Open the Pi Bot window and try again.",
  "skills.error.skill_picker_busy": "A file picker is already open.",
  "skills.error.skill_proposal_closed": "This card was already handled.",
  "skills.error.skill_proposal_unavailable": "This proposal is no longer available.",
  "skills.error.skill_files_invalid":
    "A file name is not allowed (such as .., a name Windows does not allow, names differing only in case, or a file named like a folder); nothing was saved.",
  "skills.error.skill_upload_expired": "The uploaded files expired. Upload them again, then save.",
  "skills.error.skill_upload_empty": "There are no files in this folder to add.",
  "skills.error.skill_upload_skill_file":
    "Edit SKILL.md in the first file of the list; to replace the whole skill with another one, use Import.",
  "skills.error.failed": "That did not work. Try again.",
  "skills.import.title": "Import skill · {name}",
  "skills.import.from": "From {file} ({size}, {count} files). Read all of it before deciding.",
  "skills.import.only":
    "Only this SKILL.md is imported. To bring its scripts and references along, import the whole skill folder or a .zip.",
  "skills.import.skipped": "{count} more files are outside the skill folder and are not imported.",
  "skills.import.skillFile": "Full SKILL.md",
  "skills.import.scripts": "Scripts and programs · {count}",
  "skills.import.files": "All files · {count}",
  "skills.import.view": "View",
  "skills.import.hide": "Hide",
  "skills.import.binary": "Binary file; it cannot be shown as text.",
  "skills.import.binaryProgram": "Binary program; it cannot be shown as text.",
  "skills.import.scriptTag": "Script",
  "skills.import.warn":
    "This skill comes from outside and is untrusted. Its allowed-tools are ignored; every step follows {bot}'s permissions as usual.",
  "skills.import.scriptWarn":
    "It contains {count} scripts or programs. They never run on their own: {bot} can only run them like any other command, each time with the usual approval, never allowed just because they come from a skill.",
  "skills.import.confirm": "Import",
  "skills.import.done": 'Imported "{name}".',
  "skills.link.title": "Import from link",
  "skills.link.subtitle": "Works with public GitHub repositories and https .zip links.",
  "skills.link.label": "Link",
  "skills.link.resolve": "Read link",
  "skills.link.found": "Source found",
  "skills.link.repo": "Repository",
  "skills.link.size": "About {size} to download",
  "skills.link.sizeUnknown": `Size is known only while downloading; it stops past ${mb(SKILL_IMPORT_MAX_BYTES)} or ${enFiles} files.`,
  "skills.link.info": "Downloaded and analyzed only; nothing in it is run.",
  "skills.link.download": "Download and preview",
  "skills.link.downloading": "Downloading · {size}",
  "skills.link.downloadingTotal": "Downloading · {done} / about {total} ({percent}%)",
  "skills.link.scanning": "Analyzing the source…",
  "skills.link.picked": "{count} selected · {size}",
  "skills.link.next": "Preview and import",
  "skills.link.source": "Link",
  "skills.preview.source": "Source",
  "skills.preview.size": "Size",
  "skills.preview.sizeValue": "{size} · {count} files",
  "skills.preview.largest": "Largest folder",
  "skills.preview.largestValue": "{name} · {size}",
  "skills.preview.storage":
    "Saved into Pi Bot's data folder and usable only by the Bot it is assigned to.",
  "skills.preview.runtime": "Runtime",
  "skills.preview.runtimeValue": "{name} {version}",
  "skills.preview.packages": "Needs: {names}",
  "skills.preview.environment": "Environment variables it may read (names only): {names}",
  "skills.preview.noRuntime": "No extra runtime needed.",
  "skills.preview.licenseWarn": "These files carry GPL / AGPL licences; check before use: {files}",
  "skills.preview.licenseOk": "No GPL / AGPL licence files found.",
  "skills.preview.assign": "Assigned to",
  "skills.preview.uncertain":
    "「{name}」 may or may not have been imported. Close this and check the skill list before importing again.",
  "skills.preview.progress": "Copied {done}/{total} files",
  "skills.preview.queue": "{count} more will be previewed after this one.",
  "skills.preview.only": "This is the last one.",
  "skills.preview.done": "Imported {count} skills.",
  "skills.preview.existed": '"{name}" already existed, so this copy was saved as "{saved}".',
  "skills.preview.failed": '"{name}" was not imported; you can retry.',
  "skills.preview.local.file": "A file on this Mac",
  "skills.preview.local.folder": "A folder on this Mac",
  "skills.preview.close": "Done",
  "skills.preview.stopUnconfirmed":
    "Stop was requested, but the background work did not confirm it finished. Unfinished imports are never retried automatically. Close again to dismiss.",
  "skills.proposal.title": "{bot} wants to save this as a skill",
  "skills.proposal.decline": "No thanks",
  "skills.proposal.accept": "Save as skill",
  "skills.proposal.accepted": 'Saved as the skill "{name}"',
  "skills.proposal.declined": "This skill was not saved",
  "skills.proposal.expired": "This proposal expired",
  "skills.proposal.view": "View skill",
  "skills.proposal.steps": "Show steps",
  "skills.tool.propose": "Skill proposal",
  "skills.teamPreview": "{count} skills: {names}",
  "skills.audit.created": 'Created the skill "{name}"',
  "skills.audit.imported": 'Imported the skill "{name}"',
  "skills.audit.importedPackage":
    'Imported the skill "{name}" ({files} files, {scripts} of them scripts)',
  "skills.detail.files": "Bundled files · {count}",
  "skills.detail.loadFiles": "View supporting files",
  "skills.detail.filesNote":
    "{bot} can read these files but not change them; running a script in them needs approval as usual.",
  "skills.detail.filesMore": "{count} more files not shown",
  "skills.audit.updated": 'Edited the skill "{name}"',
  "skills.audit.removed": 'Deleted the skill "{name}"',
  "skills.audit.enabled": 'Enabled the skill "{name}"',
  "skills.audit.disabled": 'Disabled the skill "{name}"',
  "skills.audit.proposed": 'Proposed saving the skill "{name}"',
  "skills.audit.drafted": 'Drafted the workflow "{name}" from a run',
  "skills.audit.accepted": 'Saved the proposed skill "{name}"',
  "skills.audit.declined": 'Did not save the skill "{name}"',
  "skills.audit.changed": 'The skill "{name}" changed',
  "skills.audit.builtin_merged": 'Merged the copies of the built-in method "{name}" into one',
  "skills.audit.builtin_archived":
    '"{name}" duplicated a built-in method and was disabled and archived (not deleted)',
  "skills.audit.builtin_merge_skipped":
    '"{name}" and another edited copy look like the same built-in method; not merged',
  "skills.audit.builtin_updated": 'The built-in method "{name}" was updated with the app',
  "skills.audit.builtin_renamed": 'The built-in method "{name}" got its own name back',
  "skills.audit.builtin_replaced": 'Replaced the built-in method "{name}" with the new version',
  "skills.audit.builtin_kept": 'Kept the edited built-in method "{name}" over the new version',
  "skills.message.trial":
    'Please try the skill "{name}" once. {params}This is a trial: tell me the result and anything the skill should change.',
  "skills.message.params": "Parameters: {list}. ",
  "skills.message.routine": 'Follow the skill "{name}". {params}',
  "skills.message.paramSeparator": ", ",
  "skills.message.defaultValue": "use the default",
};