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(subscription): add workspace member budget chip copy (#23729)

Rdmclin2c6a9e5fa1857
diff --git a/locales/en-US/subscription.json b/locales/en-US/subscription.json
index d7fbbf90c22..d3135a68838 100644
--- a/locales/en-US/subscription.json
+++ b/locales/en-US/subscription.json
@@ -344,6 +344,7 @@
"creditsChip.balanceNote.limit": "Monthly limit reached. Requests now use your balance.",
"creditsChip.balanceNote.plan": "Plan limit reached. Requests now use your balance.",
"creditsChip.balanceNote.subscription": "Subscription usage has run out. Requests now use your balance.",
+ "creditsChip.memberBudget.tooltip": "Your budget in this workspace",
"creditsChip.rolling.topup": "Top up",
"creditsChip.rolling.usageTitle": "Plan usage",
"creditsChip.rolling.usageTooltip": "Plan usage toward the nearest limit",
@@ -351,6 +352,9 @@
"creditsChip.usageTooltip": "Usage in the current billing cycle",
"creditsChip.viewDetails": "View details",
"creditsChip.viewUsage": "View usage",
+ "creditsChip.workspace.sharedNote": "You have no budget limit of your own. Requests use the workspace's shared balance.",
+ "creditsChip.workspace.title": "Workspace balance",
+ "creditsChip.workspace.tooltip": "Workspace's shared balance",
"crossPlatform.desc": "This subscription was purchased through the mobile app and cannot be modified here. Please manage your subscription on your mobile device.",
"crossPlatform.manageOnMobile": "Manage on mobile device",
"crossPlatform.title": "Cross-platform subscription",
diff --git a/locales/zh-CN/subscription.json b/locales/zh-CN/subscription.json
index 4e901938414..a9defb766c9 100644
--- a/locales/zh-CN/subscription.json
+++ b/locales/zh-CN/subscription.json
@@ -344,6 +344,7 @@
"creditsChip.balanceNote.limit": "每月限额已用完,请求将使用余额。",
"creditsChip.balanceNote.plan": "套餐限额已用完,请求将使用余额。",
"creditsChip.balanceNote.subscription": "订阅额度已用完,请求将使用余额。",
+ "creditsChip.memberBudget.tooltip": "你在此工作区的预算",
"creditsChip.rolling.topup": "充值",
"creditsChip.rolling.usageTitle": "套餐用量",
"creditsChip.rolling.usageTooltip": "最接近上限的套餐用量",
@@ -351,6 +352,9 @@
"creditsChip.usageTooltip": "当前计费周期的额度用量",
"creditsChip.viewDetails": "查看详情",
"creditsChip.viewUsage": "查看用量",
+ "creditsChip.workspace.sharedNote": "你没有单独的预算上限,请求从工作区共享余额中扣除。",
+ "creditsChip.workspace.title": "工作区余额",
+ "creditsChip.workspace.tooltip": "工作区共享余额",
"crossPlatform.desc": "此订阅通过移动端应用购买,无法在此修改。请在移动设备上管理你的订阅。",
"crossPlatform.manageOnMobile": "前往移动端管理",
"crossPlatform.title": "跨平台订阅",
diff --git a/packages/locales/src/default/subscription.ts b/packages/locales/src/default/subscription.ts
index d6ddd39336e..cccb5f0632e 100644
--- a/packages/locales/src/default/subscription.ts
+++ b/packages/locales/src/default/subscription.ts
@@ -85,6 +85,11 @@ export default {
'creditsChip.balance': 'Balance {{amount}}',
'creditsChip.viewDetails': 'View details',
'creditsChip.viewUsage': 'View usage',
+ 'creditsChip.memberBudget.tooltip': 'Your budget in this workspace',
+ 'creditsChip.workspace.sharedNote':
+ "You have no budget limit of your own. Requests use the workspace's shared balance.",
+ 'creditsChip.workspace.title': 'Workspace balance',
+ 'creditsChip.workspace.tooltip': "Workspace's shared balance",
'creditsChip.balanceInUse': 'In use',
'creditsChip.balanceNote.limit': 'Monthly limit reached. Requests now use your balance.',
'creditsChip.balanceNote.plan': 'Plan limit reached. Requests now use your balance.',