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.

7.8 KB
Raw Blame
// Desktop chat controls carried to the phone: strip, topic/folder/plan/changes/YOLO/
// send-mode sheets, the "+" and "···" menus and run information.
export const controlsZh = {
  folderHome: "Bot 自己的目录",
  folderOther: "电脑上记录的文件夹",
  folderRunnerOffline: "{name} · 执行端离线",
  folderTitle: "工作位置",
  folderHint: "Bot 在哪个文件夹里读写。下一条消息开始生效,正在进行的回复不受影响。",
  folderAddDesktop: "添加新文件夹要在电脑上选择。",
  folderChanged: "下一条消息起在新位置工作",
  folderDefault: "默认,只在这里读写",
  folderWritable: "可读写",
  folderReadonly: "只读参考",
  folderGroup: "群的工作位置在电脑上设置。",
  planChip: "计划 {done}/{total}",
  planTitle: "计划",
  planHint: "{name} 正在按这个计划回答。只规划模式下它只更新计划,不动文件。",
  changesChip: "改动",
  changesChipCount: "改动 {count}",
  changesTitle: "改动",
  changesHint: "这个话题里 Bot 改过的文件。撤回会把文件恢复到改动前。",
  changesEmpty: "这个话题里还没有改动文件。",
  changesDesktop: "点文件看逐行差异和文件内容;撤回前先用面容 ID 确认。",
  restore: "撤回",
  restoreTitle: "撤回 {name} 的改动?",
  restoreHint: "文件会恢复到 Bot 改动前。撤回前用面容 ID 确认。",
  restoreConfirm: "验证并撤回",
  restored: "已撤回",
  restorePartial: "撤回没有全部完成,请在电脑上查看。",
  restoreUnavailable: "这个文件不能撤回",
  unlockRestore: "验证后撤回文件改动",
  yoloOffChip: "YOLO 关",
  yoloOnChip: "YOLO · 不再询问",
  yoloOnTitle: "YOLO 已打开",
  yoloOnHint: "这个话题里,除了危险操作和不能自动允许的项,Bot 不再逐个询问。",
  yoloTurnOff: "关闭 YOLO",
  yoloAskTitle: "在这个话题打开 YOLO?",
  yoloAskHint:
    "打开后,这个话题里 Bot 的读写文件、运行命令、联网会直接执行,不再逐个询问。危险操作、对外发送和登录仍然要你确认。随时可以在这里或电脑上关掉。",
  yoloTurnOn: "验证并打开",
  yoloEnabled: "这个话题已打开 YOLO",
  yoloDisabled: "YOLO 已关闭",
  unlockYolo: "验证后打开 YOLO",
  modeTitle: "怎么处理这条消息",
  modeExecute: "执行",
  modeExecuteHint: "按权限读写文件、运行命令",
  modePlan: "只规划",
  modePlanHint: "只看和分析、列计划,不改任何东西",
  modeGroup: "群里的执行方式在电脑上设置。",
  busyLabel: "BOT 正在忙时",
  busySteer: "插话",
  busySteerHint: "送到后它会在下一步之前看到",
  busyQueue: "排队",
  busyQueueHint: "等当前回复结束再处理",
  sendMode: "发送方式",
  sendModeSummary: "{mode} · Bot 忙时{busy}",
  plusTitle: "更多",
  newTopic: "新话题",
  newTopicHint: "在同一个 Bot 下开一个干净的上下文",
  newTopicDone: "已开新话题",
  topicsTitle: "话题",
  topicCurrent: "当前",
  topicSwitched: "已切换话题",
  switchTopic: "切换话题",
  compact: "整理上下文",
  compactHint: "话题很长或上次整理失败时用",
  compactCancel: "取消整理",
  compacting: "正在整理上下文…",
  compacted: "上下文已整理",
  compactCancelled: "已取消整理",
  runInfo: "运行信息",
  runInfoHint: "请求次数、用时和费用",
  runInfoEmpty: "这个话题还没有运行记录。",
  runRequests: "模型请求",
  runRequestsValue: "{count} 次",
  runTime: "运行时间",
  runCost: "费用",
  runCostValue: "约 USD {cost}",
  runUnknown: "未知",
  runModel: "模型",
  statsLine: "{requests} 次请求 · {time} · 约 USD {cost}",
  statsLineNoCost: "{requests} 次请求 · {time}",
  moreDesktop: "话题改名、归档和导出在电脑上操作。",
  groupDesktop: "群里的整理上下文和运行信息在电脑上查看。",
} as const;
export const controlsEn: Record<keyof typeof controlsZh, string> = {
  folderHome: "Bot's own folder",
  folderOther: "A folder recorded on the computer",
  folderRunnerOffline: "{name} · runner offline",
  folderTitle: "Working folder",
  folderHint:
    "Where the Bot reads and writes. Applies from the next message; a reply in progress is not affected.",
  folderAddDesktop: "Add new folders on the computer.",
  folderChanged: "The next message works in the new folder",
  folderDefault: "Default, reads and writes only here",
  folderWritable: "Read and write",
  folderReadonly: "Read-only reference",
  folderGroup: "Set the group's working folder on the computer.",
  planChip: "Plan {done}/{total}",
  planTitle: "Plan",
  planHint:
    "{name} is following this plan. In plan-only mode it only updates the plan and changes no files.",
  changesChip: "Changes",
  changesChipCount: "Changes {count}",
  changesTitle: "Changes",
  changesHint: "Files the Bot changed in this topic. Restoring puts a file back as it was before.",
  changesEmpty: "No files changed in this topic yet.",
  changesDesktop:
    "Tap a file for its line-by-line diff and contents; restoring asks for Face ID first.",
  restore: "Restore",
  restoreTitle: "Restore {name}?",
  restoreHint:
    "The file goes back to how it was before the Bot changed it. Confirm with Face ID first.",
  restoreConfirm: "Verify and restore",
  restored: "Restored",
  restorePartial: "The restore did not finish completely. Check it on the computer.",
  restoreUnavailable: "This file cannot be restored",
  unlockRestore: "Unlock to restore file changes",
  yoloOffChip: "YOLO off",
  yoloOnChip: "YOLO · no asking",
  yoloOnTitle: "YOLO is on",
  yoloOnHint:
    "In this topic the Bot no longer asks one by one, except for dangerous steps and items that cannot be allowed automatically.",
  yoloTurnOff: "Turn off YOLO",
  yoloAskTitle: "Turn on YOLO in this topic?",
  yoloAskHint:
    "The Bot then reads and writes files, runs commands and goes online in this topic without asking each time. Dangerous steps, sending outside and sign-ins still need you. Turn it off here or on the computer at any time.",
  yoloTurnOn: "Verify and turn on",
  yoloEnabled: "YOLO is on in this topic",
  yoloDisabled: "YOLO is off",
  unlockYolo: "Unlock to turn on YOLO",
  modeTitle: "How to handle this message",
  modeExecute: "Execute",
  modeExecuteHint: "Read and write files and run commands within permissions",
  modePlan: "Plan only",
  modePlanHint: "Look, analyze and plan without changing anything",
  modeGroup: "Set the group's mode on the computer.",
  busyLabel: "While the Bot is busy",
  busySteer: "Steer",
  busySteerHint: "It sees the message before its next step",
  busyQueue: "Queue",
  busyQueueHint: "Handled after the current reply ends",
  sendMode: "Send mode",
  sendModeSummary: "{mode} · while busy: {busy}",
  plusTitle: "More",
  newTopic: "New topic",
  newTopicHint: "A clean context with the same Bot",
  newTopicDone: "New topic started",
  topicsTitle: "Topics",
  topicCurrent: "Current",
  topicSwitched: "Topic switched",
  switchTopic: "Switch topic",
  compact: "Compact context",
  compactHint: "For long topics, or when the last compaction failed",
  compactCancel: "Cancel compaction",
  compacting: "Compacting context…",
  compacted: "Context compacted",
  compactCancelled: "Compaction cancelled",
  runInfo: "Run info",
  runInfoHint: "Requests, time and cost",
  runInfoEmpty: "No runs in this topic yet.",
  runRequests: "Model requests",
  runRequestsValue: "{count}",
  runTime: "Run time",
  runCost: "Cost",
  runCostValue: "about USD {cost}",
  runUnknown: "Unknown",
  runModel: "Model",
  statsLine: "{requests} requests · {time} · about USD {cost}",
  statsLineNoCost: "{requests} requests · {time}",
  moreDesktop: "Rename, archive and export topics on the computer.",
  groupDesktop: "Compaction and run info for groups are on the computer.",
};