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.

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

export const zh = {
  image: "[图片]",
  model: "模型",
  calls: "调用 {list}",
  listSep: "、",
  thinkingOnly: "(只有思考,没有文字)",
  emptyReply: "(空回复)",
  thinkingTag: "[思考]",
  job: "后台命令",
  jobDone: "后台命令结束",
  steer: "追加消息",
  requestFailed: "请求失败",
  retryTitle: "模型请求失败,重试",
  retrySummary: "第 {n} 次,{s} 秒后:{why}",
  fallbackTitle: "改用 Chat Completions 重试",
  fallbackSummary: "{from} 被拒:{reason}",
  compact: "压缩上下文",
  serverCompact: "服务端压缩上下文",
  compactSummary: "约 {before} → {after} tokens",
  subagent: "子代理",
  turnError: "回合出错",
  stillRunning: "(回复时仍在后台运行)",
  stopped: "已中止",
  withSummary: ":{text}",
  descWaiting: "等待 {model} 回复",
  descReplied: "{model} 回复了{summary}",
  descRunning: "正在运行 {what}",
  descFailed: "{what}(失败)",
  descDone: "{what}(完成)",
  descRetry: "模型请求失败,正在重试({summary})",
  descSubagent: "子代理在工作",
  descSubagentDone: "子代理结束{summary}",
  descCompacting: "正在压缩上下文",
  descCompacted: "压缩了上下文",
  descJob: "后台命令在运行{summary}",
  descSteer: "收到追加消息{summary}",
  secs: "{s} 秒",
  minSecs: "{m} 分 {s} 秒",
  mins: "{m} 分钟",
} satisfies Catalog;

export const en: Catalog<typeof zh> = {
  image: "[image]",
  model: "model",
  calls: "calls {list}",
  listSep: ", ",
  thinkingOnly: "(thinking only, no text)",
  emptyReply: "(empty reply)",
  thinkingTag: "[thinking]",
  job: "Background command",
  jobDone: "Background command finished",
  steer: "Follow-up message",
  requestFailed: "request failed",
  retryTitle: "Model request failed, retrying",
  retrySummary: "attempt {n}, in {s}s: {why}",
  fallbackTitle: "Retrying with Chat Completions",
  fallbackSummary: "{from} was rejected: {reason}",
  compact: "Compacting context",
  serverCompact: "Server-side context compaction",
  compactSummary: "about {before} → {after} tokens",
  subagent: "Sub-agent",
  turnError: "Turn failed",
  stillRunning: "(still running in the background when the reply was sent)",
  stopped: "Stopped",
  withSummary: ": {text}",
  descWaiting: "waiting for {model}",
  descReplied: "{model} replied{summary}",
  descRunning: "running {what}",
  descFailed: "{what} (failed)",
  descDone: "{what} (done)",
  descRetry: "model request failed, retrying ({summary})",
  descSubagent: "a sub-agent is working",
  descSubagentDone: "sub-agent finished{summary}",
  descCompacting: "compacting the context",
  descCompacted: "compacted the context",
  descJob: "background command running{summary}",
  descSteer: "got a follow-up message{summary}",
  secs: "{s}s",
  minSecs: "{m} min {s}s",
  mins: "{m} min",
};