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.

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

export const zh = {
  chWeixin: "微信",
  chFeishu: "飞书",
  digestTasks: "{count} 个后台任务:",
  digestReminders: "{count} 条提醒:",
  digestMessages: "{count} 条消息:",
  listSep: "、",
  andMore: " 等",
  nudgeReminders: "接下来还有 {count} 条提醒要发给你({list}{more})。回个「ok」我就能继续按时提醒你。",
  nudgeResults: "接下来还有 {count} 条结果要发给你({list}{more})。回个「ok」我就能继续发给你。",
  nudgeMessages: "接下来还有 {count} 条消息要发给你({list}{more})。回个「ok」我就能继续发给你。",
  ackReminder: "好的,到时提醒你。",
  ackSend: "好的,到时发给你。",
  heldResults: { other: "{count} 条结果未送达{channel}" },
  heldMessages: { other: "{count} 条消息未送达{channel}" },
  failedResults: { other: "{count} 条结果没能发到{channel}" },
  failedMessages: { other: "{count} 条消息没能发到{channel}" },
  heldLine: "在{channel}里发条消息就能收到",
  // 「需要你」那一行的那一句:没送到的几条,和怎么办
  head: "{title},{line}",
  retrying: "还在重试",
  fileItem: "[文件 {name}]",
  goneTooLong: "等待太久,已不再发送",
  goneReplied: "对方已经发消息了",
  goneKeptFailing: "一直没能发出去({error})",
  goneFailed: "发送失败:{error}",
  today: "今天 {hm}",
  tonight: "今晚 {hm}",
  tomorrowMorning: "明早 {hm}",
  tomorrow: "明天 {hm}",
  weekday0: "周日 {hm}",
  weekday1: "周一 {hm}",
  weekday2: "周二 {hm}",
  weekday3: "周三 {hm}",
  weekday4: "周四 {hm}",
  weekday5: "周五 {hm}",
  weekday6: "周六 {hm}",
  date: "{month}{d}日 {hm}",
  month1: "1月",
  month2: "2月",
  month3: "3月",
  month4: "4月",
  month5: "5月",
  month6: "6月",
  month7: "7月",
  month8: "8月",
  month9: "9月",
  month10: "10月",
  month11: "11月",
  month12: "12月",
  recovered: "上次的消息{preview}因为应用重启没有处理完,请重新发送。",
  quoted: "「{text}」",
} satisfies Catalog;

export const en: Catalog<typeof zh> = {
  chWeixin: "WeChat",
  chFeishu: "Feishu",
  digestTasks: "{count} background tasks:",
  digestReminders: "{count} reminders:",
  digestMessages: "{count} messages:",
  listSep: ", ",
  andMore: " and more",
  nudgeReminders: "I have {count} more reminders for you ({list}{more}). Reply \"ok\" so I can keep reminding you on time.",
  nudgeResults: "I have {count} more results for you ({list}{more}). Reply \"ok\" so I can keep sending them.",
  nudgeMessages: "I have {count} more messages for you ({list}{more}). Reply \"ok\" so I can keep sending them.",
  ackReminder: "OK, I'll remind you then.",
  ackSend: "OK, I'll send it then.",
  heldResults: { one: "{count} result not delivered to {channel}", other: "{count} results not delivered to {channel}" },
  heldMessages: { one: "{count} message not delivered to {channel}", other: "{count} messages not delivered to {channel}" },
  failedResults: { one: "{count} result couldn't be sent to {channel}", other: "{count} results couldn't be sent to {channel}" },
  failedMessages: { one: "{count} message couldn't be sent to {channel}", other: "{count} messages couldn't be sent to {channel}" },
  heldLine: "Send a message in {channel} to receive them",
  head: "{title}. {line}",
  retrying: "Still retrying",
  fileItem: "[file {name}]",
  goneTooLong: "Waited too long; no longer sending",
  goneReplied: "They've already sent a message",
  goneKeptFailing: "Kept failing to send ({error})",
  goneFailed: "Sending failed: {error}",
  today: "today {hm}",
  tonight: "tonight {hm}",
  tomorrowMorning: "tomorrow morning {hm}",
  tomorrow: "tomorrow {hm}",
  weekday0: "Sun {hm}",
  weekday1: "Mon {hm}",
  weekday2: "Tue {hm}",
  weekday3: "Wed {hm}",
  weekday4: "Thu {hm}",
  weekday5: "Fri {hm}",
  weekday6: "Sat {hm}",
  date: "{month} {d} {hm}",
  month1: "Jan",
  month2: "Feb",
  month3: "Mar",
  month4: "Apr",
  month5: "May",
  month6: "Jun",
  month7: "Jul",
  month8: "Aug",
  month9: "Sep",
  month10: "Oct",
  month11: "Nov",
  month12: "Dec",
  recovered: "Your last message{preview} wasn't finished because the app restarted. Please send it again.",
  quoted: " \"{text}\"",
};