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.

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

export const zh = {
  // client.ts
  revoked: "Modelflare 授权已失效,请重新登录",
  unreachable: "连不上 Modelflare({reason})",
  // manager.ts
  already_signed_in: "已经登录了 Modelflare 账户",
  no_new_key: "Modelflare 没有返回新 Key",
  login_incomplete: "登录没有完成:{reason}",
  revoked_elsewhere: "Modelflare 授权已失效(可能在网页上撤销了),请重新登录",
  sign_in_first: "请先登录 Modelflare 账户",
  low_balance: "Modelflare 余额只剩 ${balance},低于提醒线 ${threshold}。充值:{url}",
  budget_needs_login: "给机器人设预算需要先登录 Modelflare 账户",
  key_reissued: "本机用的 Modelflare API Key 已被删除,已自动重新签发一把",
  bot_key_reissued: "机器人「{name}」的预算 Key 已被删除,已按 ${limit} 的预算重新签发(用量从零算起)",
  routing_invalid: "不认识的性价比选项",
  routing_unsupported: "Modelflare 暂不支持为应用签发的 Key 设置性价比",
  // oauth.ts
  host_unreachable: "连不上 {host}({reason})",
  discovery_failed: "读取登录配置失败(HTTP {status})",
  discovery_bad_endpoint: "登录配置里的 {key} 无效",
  discovery_issuer_mismatch: "登录配置的发行方不匹配",
  tokens_incomplete: "Modelflare 返回的令牌不完整",
  logout_failed: "退出登录失败(HTTP {status})",
  page_not_done_title: "没有完成登录",
  page_denied: "你取消了这次授权,可以回到 AnyModelBot 重新登录。",
  page_not_done: "授权没有完成,请回到 AnyModelBot 重试。",
  page_done_title: "登录完成",
  page_done: "可以关闭这个页面,回到 AnyModelBot。",
  denied: "你取消了授权",
  not_done: "授权没有完成",
  login_timeout: "登录等待超时,请重新开始",
  login_cancelled: "已取消登录",
  login_ended: "这次登录已经结束,请重新开始",
  login_link_invalid: "这个链接不是这次登录的。请复制登录完成后地址栏里的完整链接",
  pasted_key_retired: "AnyModelBot 现在改为登录后使用,之前填的 API Key 已从这台设备移除。登录 Modelflare 后,机器人和会话会继续工作。",
  // vault.ts
  vault_bad_version: "不认识的账户文件版本",
  vault_encrypted: "账户凭据由桌面版加密,当前运行方式无法读取",
  vault_incomplete: "账户文件不完整",
} satisfies Catalog;

export const en: Catalog<typeof zh> = {
  revoked: "Your Modelflare authorization has expired. Please sign in again",
  unreachable: "Can't reach Modelflare ({reason})",
  already_signed_in: "Already signed in to a Modelflare account",
  no_new_key: "Modelflare didn't return a new key",
  login_incomplete: "Sign-in didn't complete: {reason}",
  revoked_elsewhere: "Your Modelflare authorization has expired (it may have been revoked on the website). Please sign in again",
  sign_in_first: "Sign in to your Modelflare account first",
  low_balance: "Your Modelflare balance is down to ${balance}, below your ${threshold} alert threshold. Top up: {url}",
  budget_needs_login: "Sign in to your Modelflare account to set a bot budget",
  key_reissued: "This computer's Modelflare API key was deleted, so a new one was issued automatically",
  bot_key_reissued: "The budget key for bot \"{name}\" was deleted, so a new one was issued with the ${limit} budget (spending starts from zero)",
  routing_invalid: "Unknown value option",
  routing_unsupported: "Modelflare doesn't support this setting for app keys yet",
  host_unreachable: "Can't reach {host} ({reason})",
  discovery_failed: "Couldn't read the sign-in configuration (HTTP {status})",
  discovery_bad_endpoint: "Invalid {key} in the sign-in configuration",
  discovery_issuer_mismatch: "The sign-in configuration's issuer doesn't match",
  tokens_incomplete: "Modelflare returned incomplete tokens",
  logout_failed: "Sign-out failed (HTTP {status})",
  page_not_done_title: "Sign-in not completed",
  page_denied: "You cancelled the authorization. You can go back to AnyModelBot and sign in again.",
  page_not_done: "Authorization didn't complete. Please go back to AnyModelBot and try again.",
  page_done_title: "Signed in",
  page_done: "You can close this page and go back to AnyModelBot.",
  denied: "You cancelled the authorization",
  not_done: "Authorization didn't complete",
  login_timeout: "Sign-in timed out. Please start again",
  login_cancelled: "Sign-in cancelled",
  login_ended: "This sign-in has ended. Please start again",
  login_link_invalid: "That link isn't from this sign-in. Copy the full link from the address bar after signing in",
  pasted_key_retired: "AnyModelBot now works through sign-in, so the API key you entered earlier has been removed from this device. Sign in to Modelflare and your bots and conversations pick up where they left off.",
  vault_bad_version: "Unrecognized account file version",
  vault_encrypted: "Account credentials were encrypted by the desktop app and can't be read in this mode",
  vault_incomplete: "The account file is incomplete",
};