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.

10.6 KB
Raw Blame
// Strings added when Settings went from six pages to five (page → section → card rows).
export const settingsPagesZh = {
  "settings.languageTheme": "语言和外观",
  "settings.themeNote": "浅色、深色,或者跟着系统切换。",
  "settings.versionLine": "Pi Bot {version} · pi 内核 {pi}",
  "network.localBypass":
    "所有模型厂商都走这个代理;只有本机地址(localhost、127.0.0.1)上的模型服务直接连接。",
  "models.contextShort": "上下文 {count} tokens",
  "search.keySaved": "已保存;要换就填新的",
  "search.removeShort": "移除",
  "settings.lead.general": "语言、外观、启动和本机数据。",
  "settings.lead.models": "内置的模型厂商,或接本机模型和你自己的网关。",
  "settings.lead.computer": "随时停止,哪些应用不能碰,截图留多久。",
  "settings.lead.routines": "按时间、文件变化或连接事件自动跑的任务。",
  "search.noteChoice":
    "选中的服务会收到查询词,选它就是同意;免 Key 服务第一次搜索时还会在聊天里请你确认。",
  "search.sends.keyless":
    "查询词发给 DuckDuckGo(duckduckgo.com),不通时发给 Microsoft Bing(bing.com)。",
  "search.sends.duckduckgo": "查询词发给 DuckDuckGo(duckduckgo.com)。",
  "search.sends.bing": "查询词发给 Microsoft Bing(bing.com)。",
  "search.sends.brave": "查询词发给 Brave Search(api.search.brave.com),用你的 API Key。",
  "search.sends.tavily": "查询词发给 Tavily(api.tavily.com),用你的 API Key。",
  "search.sends.searxng": "查询词只发给你填的 SearXNG 服务地址。",
  "search.rechoose": "查询词会发给 {provider};再点一次上面选中的这项即同意并启用。",
  "search.detail.keyless": "先试 DuckDuckGo,不通时换 Bing。",
  "search.detail.duckduckgo": "不用注册;可能被限流。",
  "search.detail.bing": "不用注册;可能被限流。",
  "search.detail.brave": "填好 API Key,离开输入框就保存。",
  "search.detail.tavily": "填好 API Key,离开输入框就保存。",
  "search.detail.searxng": "填好服务地址,离开输入框就保存;只放行这一个地址。",
  "permissions.isolationOn": "命令在隔离环境里运行(已开启)",
  "permissions.advanced": "高级",
  "permissions.advancedSummary": "命令搜索路径、本机 Docker、SSH 主机",
  "credentials.emptyTitle": "还没有保存的账号",
  "computerUse.blocklist.add": "添加应用",
  "computerUse.blocklist.alwaysNote":
    "密码管理、终端和系统安全类应用,不能截图、不能操作,也不能移出。",
  "computerUse.blocklist.mine": "你加的",
  "computerUse.blocklist.mineNote": "聊天、邮件类应用默认加上,可以移除。",
  "computerUse.settings.steps": "已做 {count} 步",
  "computerUse.settings.stop": "停止",
  "background.loginUnsupported": "这个系统暂不支持登录时启动后台服务。",
  // Lively settings (maintainers 2026-11-13).
  "settings.moreInfo": "说明",
  "startup.loginStart": "登录这台电脑时",
  "startup.loginStart.off": "不启动",
  "startup.loginStart.window": "打开窗口",
  "startup.loginStart.background": "只在后台运行",
  "startup.loginStart.offNote": "登录时不启动 Pi Bot;例行任务等你打开它以后再跑。",
  "startup.loginStart.windowNote": "登录后自动打开 Pi Bot 窗口。",
  "startup.loginStart.backgroundNote": "只在后台运行:例行任务照常跑,不打开窗口。",
  "permissions.short.read_file": "工作位置以外的文件会先问你",
  "permissions.short.write_file": "工作位置以外的写入逐次确认",
  "permissions.short.web": "每个网站第一次会问你",
  "permissions.short.computer": "每个任务先弹授权卡",
  "permissions.short.connector": "只读工具按权限调用,写入经过发送草稿",
  "permissions.short.send_out": "以你的身份发送时,每次都需要你确认",
  "permissions.short.read_ai_config": "每次单独批准,内容先脱敏",
  "permissions.short.read_messages": "自己的话题和所在群的获准记录",
  "permissions.short.docker": "高权限,默认关闭",
  "permissions.short.strictSandbox": "拦截时不提供「在沙箱外运行一次」",
  "permissions.short.yoloUnisolated": "打开前要确认;关闭时每条命令仍要你确认",
  "permissions.commandEnv": "命令环境",
  "permissions.pathsCount": "在默认 PATH 之外另加 {count} 个目录",
  "permissions.pathsNone": "只用默认 PATH",
  "permissions.edit": "编辑",
  "permissions.collapse": "收起",
  "permissions.domains": "允许的网站",
  "permissions.domainsCount": "允许的网站 · {count}",
  "permissions.domainsNote":
    "在这里添加 Bot 命令可访问的公网域名。关闭命令联网后,只开放这份清单;开启后,沙箱内自动执行的命令也只开放包仓库和清单中的公网网站。",
  "permissions.sandboxOutsideCount": "{list} · {count} 条",
  "permissions.sandboxOutsideNone": "还没有",
  "permissions.advancedSandbox": "严格沙箱 · 固定在沙箱外运行的命令",
  "ssh.summary": "已打开 {count} 台 · 不改你的 ~/.ssh/config",
  "network.short": "只用这里填的代理,不读系统代理",
} as const;

export const settingsPagesEn = {
  "settings.languageTheme": "Language & appearance",
  "settings.themeNote": "Light, dark, or follow the system.",
  "settings.versionLine": "Pi Bot {version} · pi engine {pi}",
  "network.localBypass":
    "Every model provider uses this proxy; only model servers on this computer (localhost, 127.0.0.1) connect directly.",
  "models.contextShort": "{count}-token context",
  "search.keySaved": "Saved; enter a new one to replace it",
  "search.removeShort": "Remove",
  "settings.lead.general": "Language, appearance, startup and data on this computer.",
  "settings.lead.models": "Built-in model providers, or local models and your own gateway.",
  "settings.lead.computer": "Stop any time, apps that are off limits, how long screenshots stay.",
  "settings.lead.routines":
    "Tasks that run on a schedule, on folder changes or on connection events.",
  "search.noteChoice":
    "The selected service receives your search terms, and choosing it is your consent; keyless services also ask in chat on the first search.",
  "search.sends.keyless":
    "Search terms go to DuckDuckGo (duckduckgo.com), or Microsoft Bing (bing.com) when it can't connect.",
  "search.sends.duckduckgo": "Search terms go to DuckDuckGo (duckduckgo.com).",
  "search.sends.bing": "Search terms go to Microsoft Bing (bing.com).",
  "search.sends.brave": "Search terms go to Brave Search (api.search.brave.com) with your API key.",
  "search.sends.tavily": "Search terms go to Tavily (api.tavily.com) with your API key.",
  "search.sends.searxng": "Search terms go only to the SearXNG address you enter.",
  "search.rechoose":
    "Search terms will go to {provider}; click the selected option above again to agree and turn it on.",
  "search.detail.keyless": "Tries DuckDuckGo first, then Bing if it can't connect.",
  "search.detail.duckduckgo": "No account needed; may be rate-limited.",
  "search.detail.bing": "No account needed; may be rate-limited.",
  "search.detail.brave": "Enter an API key; it saves when you leave the field.",
  "search.detail.tavily": "Enter an API key; it saves when you leave the field.",
  "search.detail.searxng":
    "Enter the service address; it saves when you leave the field. Only that address is allowed.",
  "permissions.isolationOn": "Commands run in an isolated environment (on)",
  "permissions.advanced": "Advanced",
  "permissions.advancedSummary": "Command search paths, local Docker, SSH hosts",
  "credentials.emptyTitle": "No saved accounts yet",
  "computerUse.blocklist.add": "Add app",
  "computerUse.blocklist.alwaysNote":
    "Password managers, terminals and system security apps can't be captured or operated, and can't be removed.",
  "computerUse.blocklist.mine": "Added by you",
  "computerUse.blocklist.mineNote": "Chat and mail apps are added by default; you can remove them.",
  "computerUse.settings.steps": "{count} steps so far",
  "computerUse.settings.stop": "Stop",
  "background.loginUnsupported": "This system can't start the background service at sign-in yet.",
  // Lively settings (maintainers 2026-11-13).
  "settings.moreInfo": "More info",
  "startup.loginStart": "When you sign in to this computer",
  "startup.loginStart.off": "Don't start",
  "startup.loginStart.window": "Open window",
  "startup.loginStart.background": "Background only",
  "startup.loginStart.offNote": "Pi Bot doesn't start at sign-in; routines wait until you open it.",
  "startup.loginStart.windowNote": "Opens the Pi Bot window after you sign in.",
  "startup.loginStart.backgroundNote":
    "Background only: routines run as usual and no window opens.",
  "permissions.short.read_file": "Files outside the work location ask first",
  "permissions.short.write_file": "Writes outside the work location are confirmed each time",
  "permissions.short.web": "Each website asks the first time",
  "permissions.short.computer": "Each task asks with an approval card first",
  "permissions.short.connector": "Read-only tools follow this level; writes go through a draft",
  "permissions.short.send_out": "Sending as you is confirmed every time",
  "permissions.short.read_ai_config": "Approved each time; contents are redacted first",
  "permissions.short.read_messages": "Its own topics and permitted group history",
  "permissions.short.docker": "High privilege; off by default",
  "permissions.short.strictSandbox": "A blocked command is never offered a run outside the sandbox",
  "permissions.short.yoloUnisolated": "Confirm before turning on; when off, every command asks",
  "permissions.commandEnv": "Command environment",
  "permissions.pathsCount": "{count} folders added to the default PATH",
  "permissions.pathsNone": "Default PATH only",
  "permissions.edit": "Edit",
  "permissions.collapse": "Done",
  "permissions.domains": "Allowed websites",
  "permissions.domainsCount": "Allowed websites · {count}",
  "permissions.domainsNote":
    "Add public domains that Bot commands may reach. With command networking off, only this list is open. With it on, automatic sandboxed commands can reach package registries and the public sites on this list.",
  "permissions.sandboxOutsideCount": "{list} · {count} rules",
  "permissions.sandboxOutsideNone": "None yet",
  "permissions.advancedSandbox": "Strict sandbox · Commands that always run outside",
  "ssh.summary": "{count} turned on · your ~/.ssh/config is never changed",
  "network.short": "Only the proxy entered here is used; the system proxy is ignored",
};