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.

2.7 KB
Raw Blame
// Approvals list and detail.
export const approvalsZh = {
  approvalsOffline: "电脑离线,暂时不能审批。电脑上线后这里会自动刷新。",
  approvalDetailOffline: "电脑离线,暂时不能审批。",
  approvalsCount: "{count} 项等你处理",
  byTime: "按时间",
  approvalsEmpty: "没有待审批",
  approvalsEmptyHint: "Bot 需要你允许时,这里会出现卡片,手机也会收到通知。",
  approvalsFoot: "没处理的审批到时间会自动拒绝,Bot 会换别的办法。",
  danger: "危险",
  dangerOp: "危险操作",
  approvalBar: "审批",
  why: "为什么要审批:{reason}",
  showSteps: "查看判定步骤",
  hideSteps: "收起判定步骤",
  remember: "以后允许这类操作",
  rememberDanger: "危险操作不能记住",
  rememberNo: "这项授权只能逐次允许",
  deny: "拒绝",
  autoDeny: "还剩 {time} 自动拒绝",
  openContext: "在对话里查看上下文",
  allowedToast: "已允许,Bot 继续执行",
  deniedToast: "已拒绝,Bot 会换别的办法",
  approvalGone: "这项审批已处理或已过期。",
  desktopOnly: "这类审批需要在电脑上处理",
  faceTitle: "用面容 ID 确认",
  faceHint: "这是危险操作:{fact}",
  faceConfirm: "验证并允许",
  unlockApproval: "解锁以批准危险操作",
} as const;
export const approvalsEn: Record<keyof typeof approvalsZh, string> = {
  approvalsOffline:
    "Computer offline. Approvals are unavailable for now and refresh when it is back.",
  approvalDetailOffline: "Computer offline. Approvals are unavailable for now.",
  approvalsCount: "{count} waiting for you",
  byTime: "By time",
  approvalsEmpty: "Nothing to approve",
  approvalsEmptyHint:
    "When a Bot needs your permission, a card appears here and the phone gets a notification.",
  approvalsFoot:
    "Unanswered approvals are denied when time runs out, and the Bot tries another way.",
  danger: "Dangerous",
  dangerOp: "Dangerous",
  approvalBar: "Approval",
  why: "Why approval is needed: {reason}",
  showSteps: "Show decision steps",
  hideSteps: "Hide decision steps",
  remember: "Allow this kind of action from now on",
  rememberDanger: "Dangerous actions cannot be remembered",
  rememberNo: "This can only be allowed one time at a time",
  deny: "Deny",
  autoDeny: "Denied automatically in {time}",
  openContext: "See context in the chat",
  allowedToast: "Allowed, the Bot continues",
  deniedToast: "Denied, the Bot will try another way",
  approvalGone: "This approval was already handled or has expired.",
  desktopOnly: "Handle this kind of approval on the computer",
  faceTitle: "Confirm with Face ID",
  faceHint: "This is a dangerous action: {fact}",
  faceConfirm: "Verify and allow",
  unlockApproval: "Unlock to approve a dangerous operation",
};