Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style: add top-up receipt locale keys (#19499)

Innei23add81a94e3
diff --git a/locales/en-US/subscription.json b/locales/en-US/subscription.json
index 48b27caba53..4700e427621 100644
--- a/locales/en-US/subscription.json
+++ b/locales/en-US/subscription.json
@@ -194,12 +194,17 @@
"credits.topUp.bestValue.title": "Upgrade to {{plan}} annual — credits as low as ${{price}} / 1M {{creditLabel}}",
"credits.topUp.cancel": "Cancel",
"credits.topUp.custom": "Custom",
+ "credits.topUp.customHint": "Any amount from {{min}}M",
"credits.topUp.freeFeeHint": "Free plan top-ups include a {{fee}} service fee per 1M credits.",
"credits.topUp.limitedOffer": "🔥 Limited",
"credits.topUp.maxAmountError": "Single purchase amount cannot exceed ${{max}}",
"credits.topUp.originalPriceFormat": "Original ${{price}}",
"credits.topUp.purchaseError": "Purchase failed, please try again later",
"credits.topUp.purchaseNow": "Purchase Now",
+ "credits.topUp.receipt.bonus": "First top-up bonus",
+ "credits.topUp.receipt.bonusValue": "+{{quantity}}M free",
+ "credits.topUp.receipt.credits": "{{quantity}}M {{creditLabel}} × ${{price}}",
+ "credits.topUp.receipt.validity": "Valid for",
"credits.topUp.selectPackage": "Select Package",
"credits.topUp.subscribeFirst": "Subscribe first",
"credits.topUp.success.credits": "+{{quantity}} Credits",
diff --git a/locales/zh-CN/subscription.json b/locales/zh-CN/subscription.json
index e560b2d16a6..d1fedbb041d 100644
--- a/locales/zh-CN/subscription.json
+++ b/locales/zh-CN/subscription.json
@@ -194,12 +194,17 @@
"credits.topUp.bestValue.title": "升级 {{plan}} 年费,积分低至 ${{price}} / 每百万 {{creditLabel}}",
"credits.topUp.cancel": "取消",
"credits.topUp.custom": "自定义",
+ "credits.topUp.customHint": "{{min}}M 起任意数量",
"credits.topUp.freeFeeHint": "免费计划充值每百万积分包含 {{fee}} 手续费。",
"credits.topUp.limitedOffer": "🔥 限时优惠",
"credits.topUp.maxAmountError": "单次购买金额不能超过 ${{max}}",
"credits.topUp.originalPriceFormat": "原价 ${{price}}",
"credits.topUp.purchaseError": "购买失败,请稍后重试",
"credits.topUp.purchaseNow": "立即购买",
+ "credits.topUp.receipt.bonus": "首充赠送",
+ "credits.topUp.receipt.bonusValue": "+{{quantity}}M 赠送",
+ "credits.topUp.receipt.credits": "{{quantity}}M {{creditLabel}} × ${{price}}",
+ "credits.topUp.receipt.validity": "有效期",
"credits.topUp.selectPackage": "选择积分包",
"credits.topUp.subscribeFirst": "请先订阅",
"credits.topUp.success.credits": "+{{quantity}} 积分",
diff --git a/packages/locales/src/default/subscription.ts b/packages/locales/src/default/subscription.ts
index 3c3599ef4f5..649ac7959b9 100644
--- a/packages/locales/src/default/subscription.ts
+++ b/packages/locales/src/default/subscription.ts
@@ -256,12 +256,17 @@ export default {
'credits.packages.title': 'My Credit Packages',
'credits.topUp.cancel': 'Cancel',
'credits.topUp.custom': 'Custom',
+ 'credits.topUp.customHint': 'Any amount from {{min}}M',
'credits.topUp.freeFeeHint': 'Free plan top-ups include a {{fee}} service fee per 1M credits.',
'credits.topUp.limitedOffer': '🔥 Limited',
'credits.topUp.maxAmountError': 'Single purchase amount cannot exceed ${{max}}',
'credits.topUp.originalPriceFormat': 'Original ${{price}}',
'credits.topUp.purchaseError': 'Purchase failed, please try again later',
'credits.topUp.purchaseNow': 'Purchase Now',
+ 'credits.topUp.receipt.bonus': 'First top-up bonus',
+ 'credits.topUp.receipt.bonusValue': '+{{quantity}}M free',
+ 'credits.topUp.receipt.credits': '{{quantity}}M {{creditLabel}} × ${{price}}',
+ 'credits.topUp.receipt.validity': 'Valid for',
'credits.topUp.selectPackage': 'Select Package',
'credits.topUp.subscribeFirst': 'Subscribe first',
'credits.topUp.success.credits': '+{{quantity}} Credits',