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(i18n): denominate share spend cap in M credits with UTC reset (#19811)

AmAzing-c7968ebcebd6
diff --git a/locales/en-US/agent.json b/locales/en-US/agent.json
index d911bf22500..dfaf8d84564 100644
--- a/locales/en-US/agent.json
+++ b/locales/en-US/agent.json
@@ -315,8 +315,8 @@
"share.settings.limits.maxTopicsPerVisitorHint": "How many separate conversations each signed-in visitor can start.",
"share.settings.limits.maxTurnsPerTopic": "Turns per conversation",
"share.settings.limits.maxTurnsPerTopicHint": "How many messages a visitor can send inside one conversation.",
- "share.settings.limits.monthlySpendLimit": "Monthly spend cap",
- "share.settings.limits.monthlySpendLimitHint": "Visitor runs stop once this month’s spend on this Agent reaches the cap.",
+ "share.settings.limits.monthlySpendLimit": "Monthly spend cap (M credits)",
+ "share.settings.limits.monthlySpendLimitHint": "Visitor runs stop once this month’s spend on this Agent reaches the cap. Resets on the 1st of each month (UTC).",
"share.settings.limits.title": "Limits",
"share.settings.link.copied": "Link copied",
"share.settings.link.copy": "Copy link",
@@ -370,7 +370,7 @@
"share.settings.usage.fileStorageOff": "{{used}} · attachments off",
"share.settings.usage.loadFailed": "Usage could not be loaded",
"share.settings.usage.monthlySpend": "This month’s spend",
- "share.settings.usage.spendOfLimit": "${{spend}} of ${{limit}}",
+ "share.settings.usage.spendOfLimitCredits": "{{spend}} of {{limit}} credits",
"share.settings.usage.title": "Usage",
"share.settings.usage.views": "Visits",
"share.settings.usage.visitors": "Visitors",
diff --git a/locales/zh-CN/agent.json b/locales/zh-CN/agent.json
index 666d01a50dd..e9792123e77 100644
--- a/locales/zh-CN/agent.json
+++ b/locales/zh-CN/agent.json
@@ -315,8 +315,8 @@
"share.settings.limits.maxTopicsPerVisitorHint": "每位已登录访客最多能发起多少个独立会话。",
"share.settings.limits.maxTurnsPerTopic": "每个会话的轮次",
"share.settings.limits.maxTurnsPerTopicHint": "访客在一个会话里最多能发送多少条消息。",
- "share.settings.limits.monthlySpendLimit": "每月消耗上限",
- "share.settings.limits.monthlySpendLimitHint": "本月该助手的消耗达到上限后,访客将无法继续运行。",
+ "share.settings.limits.monthlySpendLimit": "每月消耗上限(M 积分)",
+ "share.settings.limits.monthlySpendLimitHint": "本月该助手的消耗达到上限后,访客将无法继续运行。按自然月统计,每月 1 日(UTC)重置。",
"share.settings.limits.title": "使用限制",
"share.settings.link.copied": "链接已复制",
"share.settings.link.copy": "复制链接",
@@ -370,7 +370,7 @@
"share.settings.usage.fileStorageOff": "{{used}} · 附件已关闭",
"share.settings.usage.loadFailed": "用量加载失败",
"share.settings.usage.monthlySpend": "本月消耗",
- "share.settings.usage.spendOfLimit": "${{spend}} / ${{limit}}",
+ "share.settings.usage.spendOfLimitCredits": "{{spend}} / {{limit}} 积分",
"share.settings.usage.title": "用量",
"share.settings.usage.views": "访问次数",
"share.settings.usage.visitors": "访客数",
diff --git a/packages/locales/src/default/agent.ts b/packages/locales/src/default/agent.ts
index 8062c9e8474..189a90d8371 100644
--- a/packages/locales/src/default/agent.ts
+++ b/packages/locales/src/default/agent.ts
@@ -405,9 +405,9 @@ export default {
'share.settings.limits.maxTurnsPerTopic': 'Turns per conversation',
'share.settings.limits.maxTurnsPerTopicHint':
'How many messages a visitor can send inside one conversation.',
- 'share.settings.limits.monthlySpendLimit': 'Monthly spend cap',
+ 'share.settings.limits.monthlySpendLimit': 'Monthly spend cap (M credits)',
'share.settings.limits.monthlySpendLimitHint':
- 'Visitor runs stop once this month’s spend on this Agent reaches the cap.',
+ 'Visitor runs stop once this month’s spend on this Agent reaches the cap. Resets on the 1st of each month (UTC).',
'share.settings.limits.title': 'Limits',
'share.settings.link.copied': 'Link copied',
'share.settings.link.copy': 'Copy link',
@@ -460,7 +460,7 @@ export default {
'share.settings.usage.fileStorageOff': '{{used}} · attachments off',
'share.settings.usage.loadFailed': 'Usage could not be loaded',
'share.settings.usage.monthlySpend': 'This month’s spend',
- 'share.settings.usage.spendOfLimit': '${{spend}} of ${{limit}}',
+ 'share.settings.usage.spendOfLimitCredits': '{{spend}} of {{limit}} credits',
'share.settings.usage.title': 'Usage',
'share.settings.usage.views': 'Visits',
'share.settings.usage.visitors': 'Visitors',