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.

✨ feat: add limited offer & original price locale keys for top-up (#15415)

YuTengjingf9eb48feea2b
diff --git a/locales/zh-CN/subscription.json b/locales/zh-CN/subscription.json
index 68d52a8adb3..72d64747317 100644
--- a/locales/zh-CN/subscription.json
+++ b/locales/zh-CN/subscription.json
@@ -92,7 +92,9 @@
"credits.topUp.cancel": "取消",
"credits.topUp.custom": "自定义",
"credits.topUp.freeFeeHint": "免费计划充值每百万积分包含 {{fee}} 手续费。",
+ "credits.topUp.limitedOffer": "🔥 限时",
"credits.topUp.maxAmountError": "单次购买金额不能超过 ${{max}}",
+ "credits.topUp.originalPriceFormat": "原价 ${{price}}",
"credits.topUp.purchaseError": "购买失败,请稍后重试",
"credits.topUp.purchaseNow": "立即购买",
"credits.topUp.selectPackage": "选择积分包",
@@ -103,6 +105,7 @@
"credits.topUp.total": "总计",
"credits.topUp.unitPrice": "单价",
"credits.topUp.unitPriceFormat": "${{price}} / 每百万 {{creditLabel}}",
+ "credits.topUp.unitPriceSuffix": "/ 每百万 {{creditLabel}}",
"credits.topUp.upgradePrefix": "升级至",
"credits.topUp.upgradeSuffix": "可节省 ${{savings}}",
"credits.topUp.validityInfo": "有效期 {{months}} 个月",
diff --git a/src/locales/default/subscription.ts b/src/locales/default/subscription.ts
index 30e0c1ce804..282dc88f185 100644
--- a/src/locales/default/subscription.ts
+++ b/src/locales/default/subscription.ts
@@ -125,7 +125,9 @@ export default {
'credits.topUp.cancel': 'Cancel',
'credits.topUp.custom': 'Custom',
'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.selectPackage': 'Select Package',
@@ -136,6 +138,7 @@ export default {
'credits.topUp.total': 'Total',
'credits.topUp.unitPrice': 'Unit Price',
'credits.topUp.unitPriceFormat': '${{price}} / 1M {{creditLabel}}',
+ 'credits.topUp.unitPriceSuffix': '/ 1M {{creditLabel}}',
'credits.topUp.upgradePrefix': 'Upgrade to',
'credits.topUp.upgradeSuffix': 'to save ${{savings}}',
'credits.topUp.validityInfo': '{{months}} months validity',