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
// Conversation list and chat page (messages, composer, message actions).
export const chatZh = {
  search: "搜索 Bot 和群",
  listOffline: "电脑离线 · 显示上次同步的内容",
  listOfflinePhone: "电脑离线 · 显示上次同步的内容",
  previewRunning: "正在回复…",
  previewWaiting: "[等你审批]",
  previewFailed: "出错了",
  failProviderOverloaded: "模型厂商当前过载或暂时不可用。稍后重试,或换一个模型。",
  failProviderRejected:
    "模型厂商拒绝了这次请求(模型名或参数不被支持)。请在电脑上换一个模型或检查设置。",
  failProviderError: "模型厂商暂时无法完成请求,请稍后重试。",
  failRateLimited: "请求过于频繁,被模型服务暂时限制,请稍后重试。",
  failNetwork: "电脑连不上模型服务,请检查电脑的网络或代理。",
  failAuth: "模型的密钥无效或已过期,请在电脑上检查。",
  failQuota: "模型额度或余额不足。",
  failContext: "对话太长,超出了模型的上下文,请整理上下文后重试。",
  failBudget: "这次任务达到了预算上限。",
  failRepeatedOperation: "同一步骤重复了太多次,已停止。请看最近的步骤是否卡住",
  failImageTimeout: "图片服务 5 分钟没有返回,已停止等待。本次是否收费以服务商为准。",
  noChats: "还没有对话",
  noChatsHint: "在电脑上创建 Bot 或群后,这里会出现对话。",
  noMatch: "没有匹配的 Bot 或群",
  groupMembers: "{count} 个 Bot",
  idle: "空闲",
  replying: "正在回复…",
  untitledTopic: "新话题",
  chatOffline: "电脑离线。可以继续写,消息会排队,电脑上线后按顺序发出。",
  placeholder: "发消息",
  placeholderGroup: "发消息,@ 指定 Bot",
  mentionList: "可以 @ 的 Bot",
  mentionPick: "@{name}",
  placeholderOffline: "电脑离线,消息会排队",
  send: "发送",
  stop: "停止",
  stopped: "已停止",
  interrupted: "已中断",
  stopNotice: "它停下前可能已经改了文件或执行了命令。先看看「改动」,确认没问题再继续。",
  moreActions: "更多操作",
  queuedNote: "待发送 · 电脑上线后发出",
  steerNote: "已送到 · 它会在下一步之前看到",
  followUpQueued: "已排队,当前回复结束后处理",
  typing: "正在输入",
  activityWaiting: "等待模型 · {seconds} 秒",
  activityPreparing: "正在准备 {tool} · 约 {characters} 字 · {seconds} 秒",
  activityExecuting: "正在执行 {tool} · {seconds} 秒",
  activityGeneratingImage: "正在生成图片 · {seconds} 秒",
  emptyChat: "还没有消息。发一条开始吧。",
  suggest: "下一步建议:{text}",
  questionAnswered: "你选了「{answer}」",
  answered: "已回答",
  recommended: "推荐",
  approvalWaiting: "等你审批 · {kind}",
  view: "查看",
  allowOnce: "本次允许",
  allowed: "已允许",
  changesCard: "改动了 {count} 个文件",
  changesMore: "还有 {count} 个文件,在改动里查看",
  copy: "复制",
  copied: "已复制",
  quote: "引用回复",
  quoteDesktop: "引用回复暂时只能在电脑上用",
  retryFrom: "从这里重试",
  retryFromHint: "丢弃这之后的回复,从这条重新开始",
  retryGroup: "群里的重试在电脑上进行",
  retryTitle: "从这条重新开始?",
  retryDiscard: "这条之后的回复会被丢弃,Bot 从这条消息重新回答。",
  retryFiles: "还会把 {count} 个文件恢复到这条消息之前,恢复前用面容 ID 确认。",
  retryConfirm: "重新开始",
  retryStarted: "已从这条重新开始",
  unlockRetry: "验证后恢复文件并重试",
  // Desktop-style phone UI.
  listConnecting: "正在连接{name}… 先显示上次同步的内容。",
  unread: "未读",
  mainBot: "主 Bot",
  suggestFill: "填入",
  mentionTitle: "发给谁",
  liveNow: "进行中",
} as const;
export const chatEn: Record<keyof typeof chatZh, string> = {
  search: "Search Bots and groups",
  listOffline: "Computer offline · Showing the last synced content",
  listOfflinePhone: "Computer offline · Showing the last synced content",
  previewRunning: "Replying…",
  previewWaiting: "[Needs your approval]",
  previewFailed: "Something went wrong",
  failProviderOverloaded:
    "The model provider is overloaded or temporarily unavailable. Try again later or switch models.",
  failProviderRejected:
    "The model provider rejected this request (model or parameters not supported). Switch models or check settings on the computer.",
  failProviderError: "The model provider couldn’t complete the request. Try again later.",
  failRateLimited: "Too many requests; the model service is throttling. Try again later.",
  failNetwork: "The computer can’t reach the model service. Check its network or proxy.",
  failAuth: "The model key is invalid or expired. Check it on the computer.",
  failQuota: "The model quota or balance has run out.",
  failContext: "The conversation is longer than the model’s context. Compact it and retry.",
  failBudget: "This task reached its budget limit.",
  failRepeatedOperation:
    "The same step was repeated too many times, so this run stopped. Check whether the recent steps are stuck.",
  failImageTimeout:
    "The image service did not respond within 5 minutes, so waiting stopped. Whether this attempt is billed is up to the provider.",
  noChats: "No chats yet",
  noChatsHint: "Chats appear here after you create a Bot or group on your computer.",
  noMatch: "No matching Bot or group",
  groupMembers: "{count} Bots",
  idle: "Idle",
  replying: "Replying…",
  untitledTopic: "New topic",
  chatOffline:
    "Computer offline. Keep writing: messages are queued and sent in order once it is back.",
  placeholder: "Message",
  placeholderGroup: "Message, @ to pick a Bot",
  mentionList: "Bots to mention",
  mentionPick: "Mention {name}",
  placeholderOffline: "Computer offline, messages are queued",
  send: "Send",
  stop: "Stop",
  stopped: "Stopped",
  interrupted: "Interrupted",
  stopNotice:
    "It may have changed files or run commands before stopping. Check Changes before continuing.",
  moreActions: "More actions",
  queuedNote: "Pending · sends when the computer is online",
  steerNote: "Delivered · it sees this before its next step",
  followUpQueued: "Queued for after the current reply",
  typing: "Typing",
  activityWaiting: "Waiting for model · {seconds}s",
  activityPreparing: "Preparing {tool} · about {characters} chars · {seconds}s",
  activityExecuting: "Running {tool} · {seconds}s",
  activityGeneratingImage: "Generating image · {seconds}s",
  emptyChat: "No messages yet. Send one to start.",
  suggest: "Suggested next step: {text}",
  questionAnswered: "You chose “{answer}”",
  answered: "Answered",
  recommended: "Recommended",
  approvalWaiting: "Needs your approval · {kind}",
  view: "View",
  allowOnce: "Allow once",
  allowed: "Allowed",
  changesCard: "Changed {count} files",
  changesMore: "{count} more files — view in Changes",
  copy: "Copy",
  copied: "Copied",
  quote: "Reply with quote",
  quoteDesktop: "Quote replies are only available on the computer for now",
  retryFrom: "Retry from here",
  retryFromHint: "Discard the replies after this and start again from it",
  retryGroup: "Retry group messages on the computer",
  retryTitle: "Start again from this message?",
  retryDiscard: "Replies after this message are discarded and the Bot answers it again.",
  retryFiles:
    "{count} files are also restored to before this message. Confirm with Face ID before restoring.",
  retryConfirm: "Start again",
  retryStarted: "Started again from this message",
  unlockRetry: "Unlock to restore files and retry",
  listConnecting: "Connecting to {name}… Showing what was synced last.",
  unread: "Unread",
  mainBot: "Main Bot",
  suggestFill: "Fill in",
  mentionTitle: "Send to",
  liveNow: "In progress",
};