[Feature Request] Waffo Pancake gateway — full integration with subscription support + admin catalog binding flow (#4935)

This commit is contained in:
Hill-waffo
2026-05-22 11:00:58 +08:00
committed by GitHub
parent 8e5e89bb5b
commit 19f1821fc8
45 changed files with 2432 additions and 1086 deletions
+41
View File
@@ -530,6 +530,7 @@
"Billing Process": "计费过程",
"Billing Source": "计费来源",
"Bind": "绑定",
"Bind a Pancake store + product": "绑定 Pancake 店铺 + 商品",
"Bind an email address to your account.": "将邮箱地址绑定到您的账户。",
"Bind Email": "绑定邮箱",
"Bind Telegram Account": "绑定 Telegram 账户",
@@ -556,6 +557,8 @@
"Bound": "已绑定",
"Bound Channels": "绑定渠道",
"Bound Only": "仅已绑定",
"Bound product:": "已绑定产品:",
"Bound store:": "已绑定店铺:",
"Bring channels back online after successful checks": "检查成功后使渠道恢复在线",
"Broadcast a global banner to users. Markdown is supported.": "向用户广播全局横幅。支持 Markdown。",
"Broadcast short system notices on the dashboard": "在仪表板上广播简短的系统通知",
@@ -1022,9 +1025,13 @@
"Create, revoke, and audit API tokens.": "创建、撤销和审计 API 令牌。",
"Created": "创建时间",
"Created At": "创建时间",
"Creating...": "创建中...",
"Creation failed": "创建失败",
"Credential generated": "凭据已生成",
"Credential refreshed": "凭据已刷新",
"Credentials": "凭证",
"Credentials verification failed": "凭证验证失败",
"Credentials verification failed — double-check Merchant ID and API private key.": "凭证验证失败——请仔细核对商户 ID 和 API 私钥。",
"Credit remaining": "剩余额度",
"Creem API key (leave blank unless updating)": "Creem API 密钥(除非更新,否则留空)",
"Creem Gateway": "Creem 网关",
@@ -1716,6 +1723,8 @@
"Fill Codex CLI / Claude CLI Templates": "填充 Codex CLI / Claude CLI 模板",
"Fill example (all channels)": "填充示例(全部频道)",
"Fill example (specific channels)": "填充示例(指定频道)",
"Fill in both Merchant ID and API Private Key before creating.": "请先填写商户 ID 和 API 私钥再进行创建。",
"Fill in the credentials above to begin.": "请先填写上方凭证。",
"Fill in the following info to create a new subscription plan": "填写以下信息创建新的订阅套餐",
"Fill Related Models": "填入相关模型",
"Fill Template": "填入模板",
@@ -2323,6 +2332,8 @@
"Minimum Trust Level": "最低信任级别",
"Minimum:": "最低:",
"Minor blips in the last 30 days": "近 30 天内有轻微抖动",
"Mint a fresh pair below — or pick an existing one further down. Click Save when ready.": "下方可新建一对——或继续下滑选择已有的。完成后点击保存。",
"Creates a Pancake product in the saved store using this plans title and price. Requires Waffo Pancake to be fully configured in Payment settings first.": "在已保存的店铺中用此套餐的标题和价格创建一个 Pancake 商品。需要先在支付设置中完成 Waffo Pancake 配置。",
"Minute": "分钟",
"minutes": "分钟",
"Missing code": "缺少代码",
@@ -2619,6 +2630,7 @@
"No rules yet. Add a group below to get started.": "暂无规则。请在下方添加分组以开始。",
"No separate media pricing configured.": "未单独配置多模态价格。",
"No status code mappings configured.": "未配置状态码映射。",
"No stores on this merchant yet. Set a return URL and click Create to mint your first pair.": "该商户暂无店铺。填写支付返回地址后点击「创建」生成第一对。",
"No subscription plans yet": "暂无订阅套餐",
"No subscription records": "暂无订阅记录",
"No Sync": "不同步",
@@ -2762,6 +2774,7 @@
"Opus Model": "Opus 模型",
"Or continue with": "或继续使用",
"Or enter this key manually:": "或手动输入此密钥:",
"or pick existing": "或选择已有",
"Order completed successfully": "订单已成功完成",
"Order History": "订单历史",
"Order Payment Method": "订单支付方式",
@@ -2796,6 +2809,7 @@
"Page {{current}} of {{total}}": "第 {{current}} 页,共 {{total}} 页",
"PaLM": "PaLM",
"Pan": "平移",
"Pancake": "煎饼",
"Param Override": "参数覆盖",
"Parameter": "参数",
"Parameter configuration error": "参数配置有误",
@@ -2859,6 +2873,7 @@
"Pay": "支付",
"Pay-as-you-go with real-time usage monitoring": "按量付费,实时监控使用情况",
"Payment": "支付",
"Payment aggregator mode — onboard with your own registered company (offshore entity). Built for Enterprise.": "支付聚合模式——使用你自己的注册公司(海外主体)来入驻,适合 Enterprise 企业",
"Payment Channel": "支付渠道",
"Payment Gateway": "支付网关",
"Payment initiated": "已发起支付",
@@ -2872,6 +2887,7 @@
"Payment page opened": "已打开支付页面",
"Payment request failed": "支付请求失败",
"Payment return URL": "支付返回地址",
"Payment return URL is empty. Create the product without a SuccessURL redirect?": "支付返回地址为空。是否在不绑定 SuccessURL 的情况下创建商品?",
"Payment, redemption codes, subscription plans, and invitation rewards are locked until the root administrator confirms the compliance terms.": "确认前,支付、兑换码、订阅计划和邀请返利功能将保持锁定。",
"Peak": "峰值",
"Peak throughput": "峰值吞吐",
@@ -2915,11 +2931,14 @@
"Personal use": "个人使用",
"Personal use mode": "个人使用模式",
"Pick a date": "选择日期",
"Pick or create both a store and a product before saving.": "保存前请先选择或新建店铺和商品。",
"Ping Interval (seconds)": "Ping 间隔(秒)",
"Plan": "套餐",
"Plan Name": "套餐名称",
"Plan price must be greater than zero": "套餐价格必须大于 0",
"Plan Subtitle": "套餐副标题",
"Plan Title": "套餐标题",
"Plan title is required": "请填写套餐标题",
"Planned maintenance on Friday at 22:00 UTC...": "计划于周五 22:00 UTC 进行维护...",
"Platform": "平台",
"Playground": "游乐场",
@@ -3225,6 +3244,7 @@
"Regex": "正则",
"Regex Pattern": "正则表达式",
"Regex Replace": "正则替换",
"Register each URL into the matching Test Mode / Production Mode webhook slot in the Pancake dashboard. Separate endpoints prevent test traffic from accidentally crediting production accounts.": "将上述 URL 分别注册到 Pancake 控制台的测试模式和生产模式 Webhook 槽位中。独立的端点可以防止测试流量误充值到生产账户。",
"Register Passkey": "注册 Passkey",
"Registration Enabled": "注册已启用",
"Registry (optional)": "注册表 (可选)",
@@ -3504,8 +3524,10 @@
"Select a group type": "选择分组类型",
"Select a model to edit pricing": "选择一个模型编辑定价",
"Select a preset...": "选择一个预设...",
"Select a product": "选择商品",
"Select a role": "选择角色",
"Select a rule to edit.": "请选择一条规则进行编辑。",
"Select a store": "选择店铺",
"Select a timestamp before clearing logs.": "清除日志前请选择一个时间戳。",
"Select a usage mode to continue": "选择使用模式以继续",
"Select a verification method first": "请先选择验证方式",
@@ -3700,6 +3722,7 @@
"Standard price": "标准价格",
"Start": "开始",
"Start a conversation to see messages here": "开始对话以在此处查看消息",
"Start collecting payments globally without registering a company. Built for indie developers, OPC sole proprietorships, and startups. Waffo Pancake acts as your Merchant of Record, taking on the compliance burden of global payment collection — consumption tax, invoicing, subscription management, refunds, and chargebacks. Solo developers can launch fast and stay focused on product instead of compliance. Onboard in minutes — one prompt to a full integration.": "无需注册公司即可开始全球收款,适合个人 / OPC 一人公司 / Startup。Waffo Pancake 作为你的 Merchant of Record,替你承担全球收款的合规责任:消费税、开票(Invoice)、订阅管理、退款与拒付处理。独立开发者可以直接上线,专注产品而非合规。极速入驻,一个 Prompt 完成集成。",
"Start for free with generous limits. No credit card required.": "免费开始使用,额度充足,无需绑定信用卡。",
"Start Time": "起始时间",
"Static page describing the platform.": "描述平台的静态页面。",
@@ -3720,6 +3743,8 @@
"Step": "步骤",
"Stop": "停止",
"Stop Retry": "停止重试",
"Store": "店铺",
"Store + product created": "店铺 + 商品已创建",
"Store ID": "商店 ID",
"Store ID is required": "商店 ID 为必填项",
"Stored value is not echoed back for security": "出于安全考虑,已存储的值不会回显",
@@ -3755,6 +3780,7 @@
"Subscription Only": "仅用订阅",
"Subscription plan creation and changes are locked until the administrator confirms compliance terms in Payment Gateway settings.": "订阅套餐创建和变更已锁定,管理员需先在支付设置中确认合规声明。",
"Subscription Plans": "订阅套餐",
"Subscription plans do NOT use the bound Product — each plan has its own dedicated Pancake product, set in the Subscriptions admin (or auto-minted via the \"+ Create\" button there).": "订阅套餐不使用这里绑定的商品 —— 每个套餐在「订阅」管理页有自己专属的 Pancake 商品,可以手动填写或点 \"+ 新建\" 一键创建。",
"Subtract": "减少",
"Success": "成功",
"Success rate": "成功率",
@@ -3879,8 +3905,11 @@
"The administrator has not configured a user agreement yet.": "管理员尚未配置用户协议。",
"The administrator has not configured any about content yet. You can set it in the settings page, supporting HTML or URL.": "管理员尚未配置任何关于内容。您可以在设置页面中进行设置,支持 HTML 或 URL。",
"The binding will complete automatically after authorization": "授权后绑定将自动完成",
"The bound Product powers wallet top-ups: when a user enters any amount, new-api runs the checkout against this single Pancake product and overrides the price per session — no need to pre-create $1 / $5 / $10 SKUs.": "绑定的商品用于钱包充值:用户输入任意金额时,new-api 用这一个 Pancake 商品发起结账并按用户输入动态设置价格 —— 不需要预先创建 $1 / $5 / $10 等一堆 SKU。",
"The bound Store is the parent container for every Pancake product new-api creates from this admin — both the wallet top-up product and any subscription-plan products. One store is enough; pin a different one only if you genuinely run separate Pancake catalogs.": "绑定的店铺是 new-api 从此处创建的所有 Pancake 商品(钱包充值商品 + 各订阅套餐商品)的父容器。一个店铺足够使用;只有在确实需要使用独立的 Pancake 商品目录时,才需要绑定到不同的店铺。",
"The effective domain for Passkey registration. Must match the current domain or be its parent domain.": "用于 Passkey 注册的有效域。必须与当前域匹配或为其父域。",
"The entered text does not match the required text.": "输入内容与要求文案不一致。",
"The environment (test vs production) is decided by the key you paste here — use the Test key while integrating, then swap to the Production key when going live.": "测试 / 生产环境由你粘进来的 API 私钥本身决定——集成阶段用 Test Key,正式上线时再换成 Production Key。",
"The exact model identifier as used in API requests.": "API 请求中使用的确切模型标识符。",
"The following models have billing type conflicts (fixed price vs ratio billing). Confirm to proceed with the changes.": "以下模型存在计费类型冲突(固定价格 vs 比例计费)。确认以继续更改。",
"The following models in the model redirect have not been added to the \"Models\" list and may fail during invocation due to missing available models:": "模型重定向里的下列模型尚未添加到\"模型\"列表,调用时会因为缺少可用模型而失败:",
@@ -4239,6 +4268,7 @@
"used": "已使用",
"Used": "已使用",
"Used / Remaining": "已使用 / 剩余",
"Used as SuccessURL on the new product. You'll be prompted to confirm if left blank.": "作为新商品的 SuccessURL。留空时会再次提示确认。",
"Used for load balancing. Higher weight = more requests": "用于负载均衡。权重越高 = 请求越多",
"Used in URLs and API routes": "用于URL和API路由",
"Used Quota": "消耗额度",
@@ -4313,6 +4343,7 @@
"Verify routing with Playground or your client": "使用 Playground 或你的客户端验证路由",
"Verify Setup": "验证设置",
"Verify your database connection": "验证数据库连接",
"Verifying credentials and pulling stores from your Pancake account...": "正在验证凭证并从你的 Pancake 账户拉取店铺...",
"Version Overrides": "版本覆盖",
"Vertex AI": "Vertex AI",
"Vertex AI does not support functionResponse.id. Enable this to remove the field automatically.": "Vertex AI 不支持 functionResponse.id 字段,开启后将自动移除该字段",
@@ -4362,7 +4393,14 @@
"Visual Parameter Override": "可视化参数覆盖",
"VolcEngine": "字节火山方舟、豆包通用",
"vs. previous": "相较上期",
"Waffo Aggregator Gateway": "Waffo 支付聚合网关",
"Waffo Pancake Dashboard": "Waffo Pancake 控制台",
"Waffo Pancake MoR": "Waffo Pancake MoR",
"Waffo Pancake Payment Gateway": "Waffo Pancake 支付网关",
"Waffo Pancake product created": "Waffo Pancake 产品已创建",
"Waffo Pancake product creation failed": "Waffo Pancake 产品创建失败",
"Waffo Pancake save failed": "Waffo Pancake 保存失败",
"Waffo Pancake settings saved": "Waffo Pancake 设置已保存",
"Waffo Payment": "Waffo 支付",
"Waffo Payment Gateway": "Waffo 支付网关",
"Waffo Public Key (Production)": "Waffo 公钥(生产)",
@@ -4393,6 +4431,8 @@
"Webhook Secret": "Webhook 密钥",
"Webhook signing secret (leave blank unless updating)": "Webhook 签名密钥(除非更新,否则留空)",
"Webhook URL": "Webhook 地址",
"Webhook URL (Production):": "Webhook URL(生产):",
"Webhook URL (Test):": "Webhook URL(测试):",
"Webhook URL:": "Webhook URL:",
"Website is under maintenance!": "网站正在维护中!",
"WeChat": "微信",
@@ -4432,6 +4472,7 @@
"Whitelist (Only allow listed domains)": "白名单(仅允许列出的域)",
"Whitelist (Only allow listed IPs)": "白名单(仅允许列出的 IP",
"whsec_xxx": "whsec_xxx",
"Why only one store + product?": "为什么只绑定一个店铺 + 商品?",
"Window:": "窗口:",
"Wire encoding for the embedding vectors": "向量传输的编码格式",
"with conflicts": "有冲突",