Skip to content

🤖 Open-source, local-first alternative to Grok Bot, OpenAI dots and Claude Duet. Your own AI bots on any model: GPT, Claude, Gemini, Grok, DeepSeek, Kimi, GLM and 70+ more through one Modelflare key. Reach them in the app, WeChat or Feishu; they remember you, work in the background, run commands and use your computer. Pay per use.

7.2 KB
Raw Blame
// tasks:zh 与 en 的键必须一一对应(en 的类型由 zh 推出,少一个多一个都过不了类型检查)。
import type { Catalog } from "../types.js";

export const zh = {
  stageStopped: "已停止",
  stageDelivery: "未送达",
  stageAnswer: "等你回答",
  stageApproval: "等你批准",
  stageBudget: "预算用完",
  stageFailed: "失败",
  stageReady: "已完成",
  stageQueued: "排队中",
  stageWorking: "进行中",
  stageAsking: "进行中,有个问题等你回答",
  recoverAppRestart: "应用重启",
  recoverAgentExit: "代理进程退出",
  stoppedNoFollowup: "「{title}」已停止,不能再追加;需要的话开个新任务。",
  stoppedShort: "「{title}」已停止",
  endStopped: "已停止",
  agentDidntStart: "代理没能启动",
  agentUnavailable: "代理不可用",
  modelKeptFailing: "模型一直出错",
  noResult: "没有给出结果",
  done: "「{title}」做好了。",
  notDone: "⚠️「{title}」没做完:{why}",
  withdrawAnswered: "已回答",
  withdrawHandled: "已处理",
  approvalTitle: "需批准(任务「{title}」)",
  questionTitle: "「{title}」想问你",
  continuing: "收到,「{title}」继续。",
  hintQuote: "引用这条消息可以继续问。",
  hintReply: "回复这条消息可以继续问。",
  none: "没有后台任务。",
  latestSuffix: ":{text}",
  listHead: "后台任务:",
  stopHint: "发 /stop 编号 可停止。",
  pausedLine: "后台工作已暂停,跟我说一声就恢复。",
  noSuchIndex: "没有第 {n} 个后台任务,发 /tasks 查看。",
  alreadyStage: "「{title}」{stage}。",
  stoppedTask: "已停止后台任务「{title}」。",
  chWeixin: "微信",
  chFeishu: "飞书",
  chWeb: "对话",
  notifyTitle: "{name} 需要你",
  trayTitle: { other: "{product} 有 {count} 件事需要你" },
  // 「需要你」那一行的那一句(不带机器人名):任务的、聊天里的
  headAnswer: "「{title}」在等你回答",
  headApproval: "「{title}」在等你批准",
  headBudget: "「{title}」预算用完了",
  headFailed: "「{title}」失败了",
  headChatAnswer: "{channel}里有个问题等你回答",
  headChatApproval: "{channel}里有个操作等你批准",
  // 花费与预算(3e)
  budgetAsk: "已用约 {spent},再给 {add} 继续?",
  budgetGo: "继续",
  budgetStop: "停止",
  badBudget: "金额不对",
  timeCap: "运行超过 {hours} 小时,已停下",
  reserveStep: "预算留给聊天",
  reserveSubject: "后台工作已停",
  reserveLine: "机器人预算只剩约 {remain}(共 {limit}),留给聊天",
  // 保留与清理(3f):归档了的任务
  archivedNoFollowup: "「{title}」已归档,不能再追加;需要的话开个新任务。",
  // 导出成 Markdown(3f,tasks/export.ts)
  exportedAt: "导出于 {time}",
  exportLog: "运行记录",
  exportNoRuns: "还没有运行过。",
  exportCost: "约 {spent}",
  exportMonth: "本月 约 {spent} / {budget}",
  exportBudget: "约 {spent} / {budget}",
  exportWould: "本会做",
  exportVersion: "第 {n} 版",
  exportStepFailed: "出错",
  exportMode_observe: "观察",
  exportMode_act: "执行",
  exportFrom: "来自",
  exportFolder: "文件夹",
  exportLatest: "最新进展",
  exportRun: "第 {n} 次",
  exportMinutes: { other: "{count} 分钟" },
  exportFailed: "失败:{why}",
  exportAsked: "问你:{question}",
  exportInterrupted: "中断:应用重启了",
  exportCause_launch: "开始",
  exportCause_followup: "追加后继续",
  exportCause_recover: "重启后继续",
  exportCause_retry: "重试",
  exportCause_continue: "继续",
  exportCause_answer: "回答后继续",
  exportCause_manual: "手动运行",
} satisfies Catalog;

export const en: Catalog<typeof zh> = {
  stageStopped: "Stopped",
  stageDelivery: "Not delivered",
  stageAnswer: "Waiting for your answer",
  stageApproval: "Waiting for your approval",
  stageBudget: "Budget used up",
  stageFailed: "Failed",
  stageReady: "Done",
  stageQueued: "Queued",
  stageWorking: "In progress",
  stageAsking: "In progress, with a question for you",
  recoverAppRestart: "the app restarted",
  recoverAgentExit: "the agent process exited",
  stoppedNoFollowup: "\"{title}\" has stopped and can't take follow-ups; start a new task if you need to.",
  stoppedShort: "\"{title}\" has stopped",
  endStopped: "Stopped",
  agentDidntStart: "the agent didn't start",
  agentUnavailable: "the agent isn't available",
  modelKeptFailing: "the model kept failing",
  noResult: "no result",
  done: "\"{title}\" is done.",
  notDone: "⚠️ \"{title}\" didn't finish: {why}",
  withdrawAnswered: "answered",
  withdrawHandled: "handled",
  approvalTitle: "Approval needed (task \"{title}\")",
  questionTitle: "\"{title}\" has a question",
  continuing: "Got it, \"{title}\" carries on.",
  hintQuote: "Quote this message to follow up.",
  hintReply: "Reply to this message to follow up.",
  none: "No background tasks.",
  latestSuffix: ": {text}",
  listHead: "Background tasks:",
  stopHint: "Send /stop <number> to stop one.",
  pausedLine: "Background work is paused; ask me to resume it.",
  noSuchIndex: "There's no background task {n}; send /tasks to see the list.",
  alreadyStage: "\"{title}\": {stage}.",
  stoppedTask: "Stopped the background task \"{title}\".",
  chWeixin: "WeChat",
  chFeishu: "Feishu",
  chWeb: "Chat",
  notifyTitle: "{name} needs you",
  trayTitle: { one: "{product} has {count} thing that needs you", other: "{product} has {count} things that need you" },
  headAnswer: "“{title}” is waiting for your answer",
  headApproval: "“{title}” is waiting for your approval",
  headBudget: "“{title}” used up its budget",
  headFailed: "“{title}” failed",
  headChatAnswer: "{channel} has a question for you",
  headChatApproval: "{channel} needs your approval",
  budgetAsk: "Used about {spent}. Add {add} and continue?",
  budgetGo: "Continue",
  budgetStop: "Stop",
  badBudget: "That amount doesn't work",
  timeCap: "ran for over {hours} hours and was stopped",
  reserveStep: "Budget kept for chat",
  reserveSubject: "Background work stopped",
  reserveLine: "The bot's budget is down to about {remain} of {limit}; the rest is kept for chat",
  archivedNoFollowup: "\"{title}\" is archived and can't take follow-ups; start a new task if you need one.",
  exportedAt: "Exported {time}",
  exportLog: "Run log",
  exportNoRuns: "No runs yet.",
  exportCost: "about {spent}",
  exportMonth: "This month about {spent} of {budget}",
  exportBudget: "about {spent} of {budget}",
  exportWould: "Would do",
  exportVersion: "Version {n}",
  exportStepFailed: "error",
  exportMode_observe: "Observe",
  exportMode_act: "Act",
  exportFrom: "From",
  exportFolder: "Folder",
  exportLatest: "Latest",
  exportRun: "Run {n}",
  exportMinutes: { one: "{count} min", other: "{count} min" },
  exportFailed: "Failed: {why}",
  exportAsked: "Asked you: {question}",
  exportInterrupted: "Interrupted: the app restarted",
  exportCause_launch: "Started",
  exportCause_followup: "Continued after a follow-up",
  exportCause_recover: "Resumed after a restart",
  exportCause_retry: "Retry",
  exportCause_continue: "Continued",
  exportCause_answer: "Continued after your answer",
  exportCause_manual: "Run manually",
};