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.

♻️ refactor(settings): unify page headers and rework about layout (#17667)

René Wang4ebe7983b53f
diff --git a/locales/en-US/setting.json b/locales/en-US/setting.json
index 257c89407ab..4a9849a1122 100644
--- a/locales/en-US/setting.json
+++ b/locales/en-US/setting.json
@@ -1887,15 +1887,15 @@
"workspace.billingPage.credits.autoTopUp.title": "Auto top-up",
"workspace.billingPage.credits.autoTopUp.validation.targetMustExceedThreshold": "Target balance must be greater than the trigger threshold.",
"workspace.billingPage.credits.balance.basicDesc": "Basic workspaces do not include subscription credits — top up below or upgrade to Pro.",
- "workspace.billingPage.credits.balance.creditBalance": "Top-up credits balance",
+ "workspace.billingPage.credits.balance.creditBalance": "Credit package",
"workspace.billingPage.credits.balance.freeDesc": "Free workspaces do not include subscription credits — top up below or upgrade to Pro.",
"workspace.billingPage.credits.balance.link.history": "Top-up history",
"workspace.billingPage.credits.balance.link.usage": "View usage",
- "workspace.billingPage.credits.balance.plansUsage": "Subscription credits",
+ "workspace.billingPage.credits.balance.plansUsage": "Included in plan",
"workspace.billingPage.credits.balance.plansUsageDesc": "Subscription credits are used first, then top-up credits",
"workspace.billingPage.credits.balance.sharedHint": "Shared by all workspace members",
"workspace.billingPage.credits.balance.sharedTag": "Workspace-shared",
- "workspace.billingPage.credits.balance.title": "Balance",
+ "workspace.billingPage.credits.balance.title": "Overview",
"workspace.billingPage.credits.breakdownCount": "Ops",
"workspace.billingPage.credits.breakdownSpend": "Spend",
"workspace.billingPage.credits.breakdownTitle": "Spend by category",
@@ -1920,19 +1920,23 @@
"workspace.billingPage.credits.packageId": "Package",
"workspace.billingPage.credits.packageLimit": "Allowance",
"workspace.billingPage.credits.packageSpend": "Used",
+ "workspace.billingPage.credits.packages.cost": "Cost",
"workspace.billingPage.credits.packages.empty.cta": "See Plans",
"workspace.billingPage.credits.packages.empty.title": "No add-on packages yet. Upgrade via Plans or contact sales for extra capacity.",
"workspace.billingPage.credits.packages.expired": "Expired",
+ "workspace.billingPage.credits.packages.expires": "Expires",
"workspace.billingPage.credits.packages.expiringIn_one": "in {{count}} day",
"workspace.billingPage.credits.packages.expiringIn_other": "in {{count}} days",
"workspace.billingPage.credits.packages.fallback": "Package #{{index}}",
+ "workspace.billingPage.credits.packages.loadMore": "Load more",
+ "workspace.billingPage.credits.packages.purchased": "Purchased",
"workspace.billingPage.credits.packages.remaining": "Remaining",
"workspace.billingPage.credits.packages.source": "Source",
"workspace.billingPage.credits.packages.sourceLabel.autoTopUp": "Auto top-up",
"workspace.billingPage.credits.packages.sourceLabel.systemGift": "System gift",
"workspace.billingPage.credits.packages.sourceLabel.userPurchase": "Sales add-on",
"workspace.billingPage.credits.packages.subtitle": "All credit packages owned by this workspace",
- "workspace.billingPage.credits.packages.title": "Workspace credit packages",
+ "workspace.billingPage.credits.packages.title": "Packages",
"workspace.billingPage.credits.packages.usedPercent": "Used",
"workspace.billingPage.credits.poolDesc": "Shared across all seats. Resets each billing cycle.",
"workspace.billingPage.credits.poolTitle": "Workspace credit pool",
@@ -2034,62 +2038,41 @@
"workspace.billingPage.usage.activity.viewAll": "View all",
"workspace.billingPage.usage.activity.viewAllTitle": "All recent activity",
"workspace.billingPage.usage.at": "When",
- "workspace.billingPage.usage.byMemberDesc": "Spend distribution across workspace members",
+ "workspace.billingPage.usage.breakdownTitle": "Credits Breakdown",
"workspace.billingPage.usage.byMemberTitle": "Spend by member",
- "workspace.billingPage.usage.byModelDesc": "Spend distribution across models",
- "workspace.billingPage.usage.byModelTitle": "Spend by model",
- "workspace.billingPage.usage.byTypeDesc": "Spend distribution across credit categories",
"workspace.billingPage.usage.byTypeTitle": "Spend by category",
"workspace.billingPage.usage.categories.chat": "Chat",
"workspace.billingPage.usage.categories.embedding": "Embedding",
"workspace.billingPage.usage.categories.imageGeneration": "Image generation",
"workspace.billingPage.usage.categories.tts": "Text to speech",
"workspace.billingPage.usage.categories.videoGeneration": "Video generation",
- "workspace.billingPage.usage.creditUsage.desc": "Credits usage for AI chat, image generation, speech synthesis",
- "workspace.billingPage.usage.creditUsage.resetDesc": "Quota resets in {{time}}",
- "workspace.billingPage.usage.creditUsage.title": "Computing Credits Usage",
- "workspace.billingPage.usage.cycleHint": "{{from}} → {{to}}",
"workspace.billingPage.usage.empty": "No spend yet",
- "workspace.billingPage.usage.hero.percentOfBudget": "{{percent}}% of {{total}}",
- "workspace.billingPage.usage.hero.resetsIn_one": "Resets in {{count}} day",
- "workspace.billingPage.usage.hero.resetsIn_other": "Resets in {{count}} days",
- "workspace.billingPage.usage.hero.resetsToday": "Resets today",
- "workspace.billingPage.usage.hero.usedLabel": "Used",
- "workspace.billingPage.usage.last30": "Last 30 days",
"workspace.billingPage.usage.logsTitle": "Recent activity",
"workspace.billingPage.usage.member": "Member",
"workspace.billingPage.usage.member.moreMembers_one": "{{count}} more member",
"workspace.billingPage.usage.member.moreMembers_other": "{{count}} more members",
"workspace.billingPage.usage.member.showLess": "Show less",
"workspace.billingPage.usage.members.adjustSeats": "Adjust seats",
- "workspace.billingPage.usage.members.desc": "Billable workspace seats in use",
- "workspace.billingPage.usage.members.includedSeats": "Plan-included seats",
- "workspace.billingPage.usage.members.purchasedSeats": "Purchased seats",
"workspace.billingPage.usage.members.title": "Members",
"workspace.billingPage.usage.members.unit_one": "{{count}} member",
"workspace.billingPage.usage.members.unit_other": "{{count}} members",
- "workspace.billingPage.usage.members.usedTitle": "Active members",
- "workspace.billingPage.usage.members.viewMembers": "View member list",
"workspace.billingPage.usage.messages": "Messages",
- "workspace.billingPage.usage.model.moreModels_one": "{{count}} more model",
- "workspace.billingPage.usage.model.moreModels_other": "{{count}} more models",
- "workspace.billingPage.usage.model.showLess": "Show less",
"workspace.billingPage.usage.model.unknown": "Unknown model",
"workspace.billingPage.usage.ops": "Operations",
"workspace.billingPage.usage.privateAgents": "Private agents",
"workspace.billingPage.usage.privateAgentsTooltip": "Number of private agents owned by this member. Owners can see the count for accounting, but not the agent content.",
+ "workspace.billingPage.usage.quota.credits": "Credits",
+ "workspace.billingPage.usage.quota.currentPlan": "You are on {{plan}} plan",
+ "workspace.billingPage.usage.quota.seats": "Member seats",
+ "workspace.billingPage.usage.quota.title": "Overview",
+ "workspace.billingPage.usage.quota.upgrade": "Upgrade",
"workspace.billingPage.usage.range.30d": "Last 30 days",
"workspace.billingPage.usage.range.all": "All time",
"workspace.billingPage.usage.range.cycle": "This cycle",
"workspace.billingPage.usage.rank": "Rank",
- "workspace.billingPage.usage.remaining": "Remaining: {{amount}}",
"workspace.billingPage.usage.selfTitle": "Your usage",
"workspace.billingPage.usage.spend": "Spend",
- "workspace.billingPage.usage.summaryCardTitle": "Credits usage statistics",
"workspace.billingPage.usage.summaryTitle": "Usage",
- "workspace.billingPage.usage.topSpender": "Top spender: {{name}} ({{amount}})",
- "workspace.billingPage.usage.trendTitle": "Daily spend trend",
- "workspace.billingPage.usage.trendTooltip": "{{date}}: {{value}}",
"workspace.billingPage.usage.type": "Type",
"workspace.create.descPlaceholder": "Describe what this workspace is for (optional)",
"workspace.create.namePlaceholder": "e.g. Acme Team",
diff --git a/locales/en-US/spend.json b/locales/en-US/spend.json
index 35c12af3f1e..c3ae3c98d09 100644
--- a/locales/en-US/spend.json
+++ b/locales/en-US/spend.json
@@ -10,7 +10,7 @@
"table.columns.duration": "Duration",
"table.columns.model": "Model",
"table.columns.spend": "Credits",
- "table.columns.startTime": "Created At",
+ "table.columns.time": "Time",
"table.columns.totalTokens": "Token Usage",
"table.columns.trigger.enums.agent_signal": "Agent Signal",
"table.columns.trigger.enums.api": "API Call",
@@ -43,6 +43,10 @@
"table.filters.reset": "Reset",
"table.filters.searchModel": "Search model",
"table.filters.startDate": "Start date",
+ "table.pagination.next": "Next page",
+ "table.pagination.perPage": "{{size}} / page",
+ "table.pagination.prev": "Previous page",
+ "table.pagination.range": "{{from}}-{{to}} of {{total}} items",
"table.title": "Breakdown",
"table.totalToken.input": "Input",
"table.totalToken.output": "Output",
diff --git a/locales/en-US/subscription.json b/locales/en-US/subscription.json
index e73e2ef2be2..328d1c6d7c2 100644
--- a/locales/en-US/subscription.json
+++ b/locales/en-US/subscription.json
@@ -121,7 +121,7 @@
"credits.memberBudget.status.inherit": "Inherits default",
"credits.memberBudget.status.unlimited": "Unlimited",
"credits.memberBudget.target.allMembers": "All members",
- "credits.memberBudget.title": "Member Budget Control",
+ "credits.memberBudget.title": "Budget",
"credits.memberBudget.unlimited": "Unlimited",
"credits.memberBudget.unlimitedMemberHint": "Set an all-members rule first before adding an unlimited override for a single member.",
"credits.memberBudget.upgradeCta": "View plans",
@@ -577,30 +577,22 @@
"upgradePlan": "Upgrade Plan",
"upgradePlans.desc": "Plan upgrade takes effect immediately after paying the difference. Start date inherits from previous plan.",
"upgradePlans.title": "Upgrade to {{plan}}",
- "usage.credit.addon.desc": "Quota resets in {{time}}",
"usage.credit.addon.used": "Top-up Credits",
"usage.credit.desc": "Credits usage for AI chat, image generation, speech synthesis",
- "usage.credit.free.desc": "Quota resets in {{time}}",
"usage.credit.free.expired": "Expired on {{date}}",
"usage.credit.free.used": "Free Credits",
- "usage.credit.referral.desc": "Reward credits from inviting friends",
"usage.credit.referral.used": "Referral Reward Credits",
- "usage.credit.subscription.desc": "Quota resets in {{time}}",
"usage.credit.subscription.used": "Subscription Credits",
- "usage.credit.time.days": "{{days}} days",
- "usage.credit.time.daysAndHours": "{{days}} days {{hours}} hours",
- "usage.credit.time.hours": "{{hours}} hours",
"usage.credit.title": "Credit",
"usage.overview.charge": "Charges",
+ "usage.overview.currentPlan": "You are on {{plan}} plan",
"usage.overview.included": "Plan Usage",
"usage.overview.onDemand": "On-demand",
"usage.overview.product": "Product Item",
- "usage.overview.title": "Usage Overview",
- "usage.storage.desc": "Data storage can be released by manual cleanup",
+ "usage.overview.title": "Overview",
+ "usage.remaining": "Remaining",
"usage.storage.embeddings.used": "Vector Storage",
"usage.storage.file.used": "File Usage",
- "usage.storage.title": "Storage",
- "usage.used": "Used",
"zarinpal.infoModal.desc": "Due to policy requirements, please complete the following personal information before placing an order:",
"zarinpal.infoModal.phone.label": "Phone Number",
"zarinpal.infoModal.phone.placeholder": "Please enter phone number",
diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.json
index 07526f890f9..526a2ec7e97 100644
--- a/locales/zh-CN/setting.json
+++ b/locales/zh-CN/setting.json
@@ -1887,15 +1887,15 @@
"workspace.billingPage.credits.autoTopUp.title": "自动充值",
"workspace.billingPage.credits.autoTopUp.validation.targetMustExceedThreshold": "目标余额必须大于触发阈值。",
"workspace.billingPage.credits.balance.basicDesc": "基础工作区不包含订阅额度 — 可在下方充值或升级到专业版。",
- "workspace.billingPage.credits.balance.creditBalance": "充值积分余额",
+ "workspace.billingPage.credits.balance.creditBalance": "积分包",
"workspace.billingPage.credits.balance.freeDesc": "免费版工作区不包含订阅积分——在下方充值或升级到专业版。",
"workspace.billingPage.credits.balance.link.history": "充值历史",
"workspace.billingPage.credits.balance.link.usage": "查看使用情况",
- "workspace.billingPage.credits.balance.plansUsage": "订阅积分",
+ "workspace.billingPage.credits.balance.plansUsage": "套餐包含",
"workspace.billingPage.credits.balance.plansUsageDesc": "订阅积分优先使用,然后是充值积分",
"workspace.billingPage.credits.balance.sharedHint": "由所有工作区成员共享",
"workspace.billingPage.credits.balance.sharedTag": "工作区共享",
- "workspace.billingPage.credits.balance.title": "余额",
+ "workspace.billingPage.credits.balance.title": "概览",
"workspace.billingPage.credits.breakdownCount": "操作",
"workspace.billingPage.credits.breakdownSpend": "支出",
"workspace.billingPage.credits.breakdownTitle": "按类别支出",
@@ -1920,19 +1920,23 @@
"workspace.billingPage.credits.packageId": "套餐",
"workspace.billingPage.credits.packageLimit": "配额",
"workspace.billingPage.credits.packageSpend": "已使用",
+ "workspace.billingPage.credits.packages.cost": "费用",
"workspace.billingPage.credits.packages.empty.cta": "查看计划",
"workspace.billingPage.credits.packages.empty.title": "尚无附加套餐。通过计划升级或联系销售以获取额外容量。",
"workspace.billingPage.credits.packages.expired": "已过期",
+ "workspace.billingPage.credits.packages.expires": "到期时间",
"workspace.billingPage.credits.packages.expiringIn_one": "{{count}} 天后",
"workspace.billingPage.credits.packages.expiringIn_other": "{{count}} 天后",
"workspace.billingPage.credits.packages.fallback": "套餐 #{{index}}",
+ "workspace.billingPage.credits.packages.loadMore": "加载更多",
+ "workspace.billingPage.credits.packages.purchased": "购买时间",
"workspace.billingPage.credits.packages.remaining": "剩余",
"workspace.billingPage.credits.packages.source": "来源",
"workspace.billingPage.credits.packages.sourceLabel.autoTopUp": "自动充值",
"workspace.billingPage.credits.packages.sourceLabel.systemGift": "系统赠送",
"workspace.billingPage.credits.packages.sourceLabel.userPurchase": "销售附加",
"workspace.billingPage.credits.packages.subtitle": "此工作区拥有的所有积分套餐",
- "workspace.billingPage.credits.packages.title": "工作区积分套餐",
+ "workspace.billingPage.credits.packages.title": "积分包",
"workspace.billingPage.credits.packages.usedPercent": "已使用",
"workspace.billingPage.credits.poolDesc": "所有席位共享。每个计费周期重置。",
"workspace.billingPage.credits.poolTitle": "工作区积分池",
@@ -2034,62 +2038,41 @@
"workspace.billingPage.usage.activity.viewAll": "查看全部",
"workspace.billingPage.usage.activity.viewAllTitle": "所有最近活动",
"workspace.billingPage.usage.at": "时间",
- "workspace.billingPage.usage.byMemberDesc": "工作区成员的支出分布",
+ "workspace.billingPage.usage.breakdownTitle": "积分明细",
"workspace.billingPage.usage.byMemberTitle": "按成员支出",
- "workspace.billingPage.usage.byModelDesc": "模型的支出分布",
- "workspace.billingPage.usage.byModelTitle": "按模型支出",
- "workspace.billingPage.usage.byTypeDesc": "积分类别的支出分布",
"workspace.billingPage.usage.byTypeTitle": "按类别支出",
"workspace.billingPage.usage.categories.chat": "聊天",
"workspace.billingPage.usage.categories.embedding": "嵌入",
"workspace.billingPage.usage.categories.imageGeneration": "图像生成",
"workspace.billingPage.usage.categories.tts": "文本转语音",
"workspace.billingPage.usage.categories.videoGeneration": "视频生成",
- "workspace.billingPage.usage.creditUsage.desc": "AI 聊天、图像生成、语音合成的积分使用情况",
- "workspace.billingPage.usage.creditUsage.resetDesc": "配额将在 {{time}} 后重置",
- "workspace.billingPage.usage.creditUsage.title": "计算积分使用情况",
- "workspace.billingPage.usage.cycleHint": "{{from}} → {{to}}",
"workspace.billingPage.usage.empty": "尚无支出",
- "workspace.billingPage.usage.hero.percentOfBudget": "{{percent}}% 的 {{total}}",
- "workspace.billingPage.usage.hero.resetsIn_one": "重置于 {{count}} 天后",
- "workspace.billingPage.usage.hero.resetsIn_other": "重置于 {{count}} 天后",
- "workspace.billingPage.usage.hero.resetsToday": "今天重置",
- "workspace.billingPage.usage.hero.usedLabel": "已使用",
- "workspace.billingPage.usage.last30": "过去 30 天",
"workspace.billingPage.usage.logsTitle": "最近活动",
"workspace.billingPage.usage.member": "成员",
"workspace.billingPage.usage.member.moreMembers_one": "还有 {{count}} 位成员",
"workspace.billingPage.usage.member.moreMembers_other": "还有 {{count}} 位成员",
"workspace.billingPage.usage.member.showLess": "显示更少",
"workspace.billingPage.usage.members.adjustSeats": "调整席位",
- "workspace.billingPage.usage.members.desc": "正在使用的工作区计费席位",
- "workspace.billingPage.usage.members.includedSeats": "套餐内席位数量",
- "workspace.billingPage.usage.members.purchasedSeats": "已购席位数量",
"workspace.billingPage.usage.members.title": "成员",
"workspace.billingPage.usage.members.unit_one": "{{count}} 位成员",
"workspace.billingPage.usage.members.unit_other": "{{count}} 位成员",
- "workspace.billingPage.usage.members.usedTitle": "活跃成员",
- "workspace.billingPage.usage.members.viewMembers": "查看成员列表",
"workspace.billingPage.usage.messages": "消息",
- "workspace.billingPage.usage.model.moreModels_one": "还有 {{count}} 个模型",
- "workspace.billingPage.usage.model.moreModels_other": "还有 {{count}} 个模型",
- "workspace.billingPage.usage.model.showLess": "显示更少",
"workspace.billingPage.usage.model.unknown": "未知模型",
"workspace.billingPage.usage.ops": "操作",
"workspace.billingPage.usage.privateAgents": "私人助理",
"workspace.billingPage.usage.privateAgentsTooltip": "该成员创建的私人助理数量。所有者可看到数量用于核算,但看不到助理内容。",
+ "workspace.billingPage.usage.quota.credits": "积分",
+ "workspace.billingPage.usage.quota.currentPlan": "当前方案:{{plan}}",
+ "workspace.billingPage.usage.quota.seats": "成员席位",
+ "workspace.billingPage.usage.quota.title": "总览",
+ "workspace.billingPage.usage.quota.upgrade": "升级",
"workspace.billingPage.usage.range.30d": "过去 30 天",
"workspace.billingPage.usage.range.all": "所有时间",
"workspace.billingPage.usage.range.cycle": "本周期",
"workspace.billingPage.usage.rank": "排名",
- "workspace.billingPage.usage.remaining": "剩余:{{amount}}",
"workspace.billingPage.usage.selfTitle": "您的使用情况",
"workspace.billingPage.usage.spend": "支出",
- "workspace.billingPage.usage.summaryCardTitle": "积分使用统计",
"workspace.billingPage.usage.summaryTitle": "使用情况",
- "workspace.billingPage.usage.topSpender": "最高支出者:{{name}} ({{amount}})",
- "workspace.billingPage.usage.trendTitle": "每日支出趋势",
- "workspace.billingPage.usage.trendTooltip": "{{date}}: {{value}}",
"workspace.billingPage.usage.type": "类型",
"workspace.create.descPlaceholder": "描述此工作区的用途(可选)",
"workspace.create.namePlaceholder": "例如:Acme 团队",
diff --git a/locales/zh-CN/spend.json b/locales/zh-CN/spend.json
index 072df0de779..1a7b7af23a3 100644
--- a/locales/zh-CN/spend.json
+++ b/locales/zh-CN/spend.json
@@ -10,7 +10,7 @@
"table.columns.duration": "耗时",
"table.columns.model": "模型",
"table.columns.spend": "消耗积分",
- "table.columns.startTime": "创建时间",
+ "table.columns.time": "时间",
"table.columns.totalTokens": "Token 使用量",
"table.columns.trigger.enums.agent_signal": "代理信号",
"table.columns.trigger.enums.api": "API 调用",
@@ -43,6 +43,10 @@
"table.filters.reset": "重置",
"table.filters.searchModel": "搜索模型",
"table.filters.startDate": "开始日期",
+ "table.pagination.next": "下一页",
+ "table.pagination.perPage": "{{size}} 条/页",
+ "table.pagination.prev": "上一页",
+ "table.pagination.range": "第 {{from}}-{{to}} 条,共 {{total}} 条",
"table.title": "明细",
"table.totalToken.input": "输入",
"table.totalToken.output": "输出",
diff --git a/locales/zh-CN/subscription.json b/locales/zh-CN/subscription.json
index f8687549803..d28666a1cdf 100644
--- a/locales/zh-CN/subscription.json
+++ b/locales/zh-CN/subscription.json
@@ -121,7 +121,7 @@
"credits.memberBudget.status.inherit": "继承默认",
"credits.memberBudget.status.unlimited": "不限制",
"credits.memberBudget.target.allMembers": "所有成员",
- "credits.memberBudget.title": "成员预算管控",
+ "credits.memberBudget.title": "预算",
"credits.memberBudget.unlimited": "不限制",
"credits.memberBudget.unlimitedMemberHint": "请先设置所有成员规则,再为单个成员添加不限制覆盖。",
"credits.memberBudget.upgradeCta": "查看套餐",
@@ -577,30 +577,22 @@
"upgradePlan": "升级计划",
"upgradePlans.desc": "升级计划将在支付差价后立即生效,起始日期继承原计划。",
"upgradePlans.title": "升级至 {{plan}}",
- "usage.credit.addon.desc": "配额将在 {{time}} 后重置",
"usage.credit.addon.used": "充值积分",
"usage.credit.desc": "用于 AI 聊天、图像生成、语音合成的积分使用情况",
- "usage.credit.free.desc": "配额将在 {{time}} 后重置",
"usage.credit.free.expired": "已于 {{date}} 过期",
"usage.credit.free.used": "免费积分",
- "usage.credit.referral.desc": "通过邀请好友获得的返利积分",
"usage.credit.referral.used": "返利积分",
- "usage.credit.subscription.desc": "配额将在 {{time}} 后重置",
"usage.credit.subscription.used": "订阅积分",
- "usage.credit.time.days": "{{days}} 天",
- "usage.credit.time.daysAndHours": "{{days}} 天 {{hours}} 小时",
- "usage.credit.time.hours": "{{hours}} 小时",
"usage.credit.title": "积分",
"usage.overview.charge": "按量计费",
+ "usage.overview.currentPlan": "当前方案:{{plan}}",
"usage.overview.included": "计划内使用",
"usage.overview.onDemand": "按需使用",
"usage.overview.product": "产品项目",
- "usage.overview.title": "使用概览",
- "usage.storage.desc": "可通过手动清理释放数据存储空间",
+ "usage.overview.title": "总览",
+ "usage.remaining": "剩余",
"usage.storage.embeddings.used": "向量存储",
"usage.storage.file.used": "文件使用量",
- "usage.storage.title": "存储",
- "usage.used": "已使用",
"zarinpal.infoModal.desc": "根据政策要求,请在下单前填写以下个人信息:",
"zarinpal.infoModal.phone.label": "手机号",
"zarinpal.infoModal.phone.placeholder": "请输入手机号",
diff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.ts
index 367fe08da4a..b11dbdfd1c2 100644
--- a/packages/locales/src/default/setting.ts
+++ b/packages/locales/src/default/setting.ts
@@ -1723,17 +1723,21 @@ When I am ___, I need ___
'workspace.billingPage.credits.packages.empty.cta': 'See Plans',
'workspace.billingPage.credits.packages.empty.title':
'No add-on packages yet. Upgrade via Plans or contact sales for extra capacity.',
+ 'workspace.billingPage.credits.packages.cost': 'Cost',
'workspace.billingPage.credits.packages.expired': 'Expired',
+ 'workspace.billingPage.credits.packages.expires': 'Expires',
'workspace.billingPage.credits.packages.expiringIn_one': 'in {{count}} day',
'workspace.billingPage.credits.packages.expiringIn_other': 'in {{count}} days',
'workspace.billingPage.credits.packages.fallback': 'Package #{{index}}',
+ 'workspace.billingPage.credits.packages.loadMore': 'Load more',
+ 'workspace.billingPage.credits.packages.purchased': 'Purchased',
'workspace.billingPage.credits.packages.remaining': 'Remaining',
'workspace.billingPage.credits.packages.source': 'Source',
'workspace.billingPage.credits.packages.sourceLabel.autoTopUp': 'Auto top-up',
'workspace.billingPage.credits.packages.sourceLabel.systemGift': 'System gift',
'workspace.billingPage.credits.packages.sourceLabel.userPurchase': 'Sales add-on',
'workspace.billingPage.credits.packages.subtitle': 'All credit packages owned by this workspace',
- 'workspace.billingPage.credits.packages.title': 'Workspace credit packages',
+ 'workspace.billingPage.credits.packages.title': 'Packages',
'workspace.billingPage.credits.packages.usedPercent': 'Used',
'workspace.billingPage.credits.poolDesc': 'Shared across all seats. Resets each billing cycle.',
'workspace.billingPage.credits.poolTitle': 'Workspace credit pool',
@@ -1741,19 +1745,19 @@ When I am ___, I need ___
'workspace.billingPage.credits.status.cancelledCta': 'Resume subscription',
'workspace.billingPage.credits.status.cancelledDesc':
'Subscription is scheduled to end on {{date}}. Credits will stop refreshing after that.',
- 'workspace.billingPage.credits.balance.creditBalance': 'Top-up credits balance',
+ 'workspace.billingPage.credits.balance.creditBalance': 'Credit package',
'workspace.billingPage.credits.balance.basicDesc':
'Basic workspaces do not include subscription credits — top up below or upgrade to Pro.',
'workspace.billingPage.credits.balance.freeDesc':
'Free workspaces do not include subscription credits — top up below or upgrade to Pro.',
'workspace.billingPage.credits.balance.link.history': 'Top-up history',
'workspace.billingPage.credits.balance.link.usage': 'View usage',
- 'workspace.billingPage.credits.balance.plansUsage': 'Subscription credits',
+ 'workspace.billingPage.credits.balance.plansUsage': 'Included in plan',
'workspace.billingPage.credits.balance.plansUsageDesc':
'Subscription credits are used first, then top-up credits',
'workspace.billingPage.credits.balance.sharedHint': 'Shared by all workspace members',
'workspace.billingPage.credits.balance.sharedTag': 'Workspace-shared',
- 'workspace.billingPage.credits.balance.title': 'Balance',
+ 'workspace.billingPage.credits.balance.title': 'Overview',
'workspace.billingPage.credits.title': 'Credits',
'workspace.billingPage.credits.topUp.custom': 'Custom',
'workspace.billingPage.credits.topUp.maxAmountError':
@@ -1889,64 +1893,42 @@ When I am ___, I need ___
'workspace.billingPage.usage.activity.viewAll': 'View all',
'workspace.billingPage.usage.activity.viewAllTitle': 'All recent activity',
'workspace.billingPage.usage.at': 'When',
- 'workspace.billingPage.usage.byMemberDesc': 'Spend distribution across workspace members',
+ 'workspace.billingPage.usage.breakdownTitle': 'Credits Breakdown',
'workspace.billingPage.usage.byMemberTitle': 'Spend by member',
- 'workspace.billingPage.usage.byModelDesc': 'Spend distribution across models',
- 'workspace.billingPage.usage.byTypeDesc': 'Spend distribution across credit categories',
- 'workspace.billingPage.usage.creditUsage.desc':
- 'Credits usage for AI chat, image generation, speech synthesis',
- 'workspace.billingPage.usage.creditUsage.resetDesc': 'Quota resets in {{time}}',
- 'workspace.billingPage.usage.creditUsage.title': 'Computing Credits Usage',
- 'workspace.billingPage.usage.byModelTitle': 'Spend by model',
'workspace.billingPage.usage.byTypeTitle': 'Spend by category',
'workspace.billingPage.usage.categories.chat': 'Chat',
'workspace.billingPage.usage.categories.embedding': 'Embedding',
'workspace.billingPage.usage.categories.imageGeneration': 'Image generation',
'workspace.billingPage.usage.categories.tts': 'Text to speech',
'workspace.billingPage.usage.categories.videoGeneration': 'Video generation',
- 'workspace.billingPage.usage.cycleHint': '{{from}} → {{to}}',
'workspace.billingPage.usage.empty': 'No spend yet',
- 'workspace.billingPage.usage.hero.percentOfBudget': '{{percent}}% of {{total}}',
- 'workspace.billingPage.usage.hero.resetsIn_one': 'Resets in {{count}} day',
- 'workspace.billingPage.usage.hero.resetsIn_other': 'Resets in {{count}} days',
- 'workspace.billingPage.usage.hero.resetsToday': 'Resets today',
- 'workspace.billingPage.usage.hero.usedLabel': 'Used',
- 'workspace.billingPage.usage.last30': 'Last 30 days',
'workspace.billingPage.usage.logsTitle': 'Recent activity',
'workspace.billingPage.usage.member': 'Member',
'workspace.billingPage.usage.member.moreMembers_one': '{{count}} more member',
'workspace.billingPage.usage.member.moreMembers_other': '{{count}} more members',
'workspace.billingPage.usage.member.showLess': 'Show less',
- 'workspace.billingPage.usage.members.desc': 'Billable workspace seats in use',
'workspace.billingPage.usage.members.adjustSeats': 'Adjust seats',
- 'workspace.billingPage.usage.members.includedSeats': 'Plan-included seats',
- 'workspace.billingPage.usage.members.purchasedSeats': 'Purchased seats',
'workspace.billingPage.usage.members.title': 'Members',
'workspace.billingPage.usage.members.unit_one': '{{count}} member',
'workspace.billingPage.usage.members.unit_other': '{{count}} members',
- 'workspace.billingPage.usage.members.usedTitle': 'Active members',
- 'workspace.billingPage.usage.members.viewMembers': 'View member list',
'workspace.billingPage.usage.messages': 'Messages',
- 'workspace.billingPage.usage.model.moreModels_one': '{{count}} more model',
- 'workspace.billingPage.usage.model.moreModels_other': '{{count}} more models',
- 'workspace.billingPage.usage.model.showLess': 'Show less',
'workspace.billingPage.usage.model.unknown': 'Unknown model',
'workspace.billingPage.usage.ops': 'Operations',
'workspace.billingPage.usage.privateAgents': 'Private agents',
'workspace.billingPage.usage.privateAgentsTooltip':
'Number of private agents owned by this member. Owners can see the count for accounting, but not the agent content.',
+ 'workspace.billingPage.usage.quota.credits': 'Credits',
+ 'workspace.billingPage.usage.quota.currentPlan': 'You are on {{plan}} plan',
+ 'workspace.billingPage.usage.quota.seats': 'Member seats',
+ 'workspace.billingPage.usage.quota.title': 'Overview',
+ 'workspace.billingPage.usage.quota.upgrade': 'Upgrade',
'workspace.billingPage.usage.range.30d': 'Last 30 days',
'workspace.billingPage.usage.range.all': 'All time',
'workspace.billingPage.usage.range.cycle': 'This cycle',
'workspace.billingPage.usage.rank': 'Rank',
- 'workspace.billingPage.usage.remaining': 'Remaining: {{amount}}',
'workspace.billingPage.usage.selfTitle': 'Your usage',
'workspace.billingPage.usage.spend': 'Spend',
- 'workspace.billingPage.usage.summaryCardTitle': 'Credits usage statistics',
'workspace.billingPage.usage.summaryTitle': 'Usage',
- 'workspace.billingPage.usage.topSpender': 'Top spender: {{name}} ({{amount}})',
- 'workspace.billingPage.usage.trendTitle': 'Daily spend trend',
- 'workspace.billingPage.usage.trendTooltip': '{{date}}: {{value}}',
'workspace.billingPage.usage.type': 'Type',
'workspace.apiKey.upgrade.benefits.integration.desc':
'Call workspace agents and resources from your own systems via the LobeHub API.',
diff --git a/packages/locales/src/default/spend.ts b/packages/locales/src/default/spend.ts
index f32d7153444..c4b7d039ccf 100644
--- a/packages/locales/src/default/spend.ts
+++ b/packages/locales/src/default/spend.ts
@@ -10,7 +10,7 @@ export default {
'table.columns.duration': 'Duration',
'table.columns.model': 'Model',
'table.columns.spend': 'Credits',
- 'table.columns.startTime': 'Created At',
+ 'table.columns.time': 'Time',
'table.columns.totalTokens': 'Token Usage',
'table.columns.trigger.enums.agent_signal': 'Agent Signal',
'table.columns.trigger.enums.api': 'API Call',
@@ -43,6 +43,10 @@ export default {
'table.filters.reset': 'Reset',
'table.filters.searchModel': 'Search model',
'table.filters.startDate': 'Start date',
+ 'table.pagination.next': 'Next page',
+ 'table.pagination.perPage': '{{size}} / page',
+ 'table.pagination.prev': 'Previous page',
+ 'table.pagination.range': '{{from}}-{{to}} of {{total}} items',
'table.title': 'Breakdown',
'table.totalToken.input': 'Input',
'table.totalToken.output': 'Output',
diff --git a/packages/locales/src/default/subscription.ts b/packages/locales/src/default/subscription.ts
index 8d45fa75aef..4bc20148364 100644
--- a/packages/locales/src/default/subscription.ts
+++ b/packages/locales/src/default/subscription.ts
@@ -166,7 +166,7 @@ export default {
'credits.memberBudget.status.inherit': 'Inherits default',
'credits.memberBudget.status.unlimited': 'Unlimited',
'credits.memberBudget.target.allMembers': 'All members',
- 'credits.memberBudget.title': 'Member Budget Control',
+ 'credits.memberBudget.title': 'Budget',
'credits.memberBudget.unlimited': 'Unlimited',
'credits.memberBudget.upgradeCta': 'View plans',
'credits.memberBudget.userPanel.exhaustedDesc':
@@ -681,30 +681,22 @@ export default {
'upgradePlans.desc':
'Plan upgrade takes effect immediately after paying the difference. Start date inherits from previous plan.',
'upgradePlans.title': 'Upgrade to {{plan}}',
- 'usage.credit.addon.desc': 'Quota resets in {{time}}',
'usage.credit.addon.used': 'Top-up Credits',
'usage.credit.desc': 'Credits usage for AI chat, image generation, speech synthesis',
- 'usage.credit.free.desc': 'Quota resets in {{time}}',
'usage.credit.free.expired': 'Expired on {{date}}',
'usage.credit.free.used': 'Free Credits',
- 'usage.credit.referral.desc': 'Reward credits from inviting friends',
'usage.credit.referral.used': 'Referral Reward Credits',
- 'usage.credit.subscription.desc': 'Quota resets in {{time}}',
'usage.credit.subscription.used': 'Subscription Credits',
- 'usage.credit.time.days': '{{days}} days',
- 'usage.credit.time.daysAndHours': '{{days}} days {{hours}} hours',
- 'usage.credit.time.hours': '{{hours}} hours',
'usage.credit.title': 'Credit',
'usage.overview.charge': 'Charges',
'usage.overview.included': 'Plan Usage',
'usage.overview.onDemand': 'On-demand',
'usage.overview.product': 'Product Item',
- 'usage.overview.title': 'Usage Overview',
- 'usage.storage.desc': 'Data storage can be released by manual cleanup',
+ 'usage.overview.currentPlan': 'You are on {{plan}} plan',
+ 'usage.overview.title': 'Overview',
'usage.storage.embeddings.used': 'Vector Storage',
'usage.storage.file.used': 'File Usage',
- 'usage.storage.title': 'Storage',
- 'usage.used': 'Used',
+ 'usage.remaining': 'Remaining',
'zarinpal.infoModal.desc':
'Due to policy requirements, please complete the following personal information before placing an order:',
'zarinpal.infoModal.phone.label': 'Phone Number',
diff --git a/src/business/client/features/WorkspaceSpendInsights.tsx b/src/business/client/features/WorkspaceSpendInsights.tsx
new file mode 100644
index 00000000000..ad2283d91fb
--- /dev/null
+++ b/src/business/client/features/WorkspaceSpendInsights.tsx
@@ -0,0 +1,3 @@
+export default function WorkspaceSpendInsights() {
+ return null;
+}
diff --git a/src/routes/(main)/[workspaceSlug]/settings/stats/index.tsx b/src/routes/(main)/[workspaceSlug]/settings/stats/index.tsx
index e1020004766..5c70e728e8f 100644
--- a/src/routes/(main)/[workspaceSlug]/settings/stats/index.tsx
+++ b/src/routes/(main)/[workspaceSlug]/settings/stats/index.tsx
@@ -4,6 +4,7 @@ import { Flexbox } from '@lobehub/ui';
import { useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
+import WorkspaceSpendInsights from '@/business/client/features/WorkspaceSpendInsights';
import { useFetchWorkspaceMembers } from '@/business/client/hooks/useFetchWorkspaceMembers';
import Page from '@/routes/(main)/settings/stats';
import WorkspaceWelcome from '@/routes/(main)/settings/stats/features/overview/WorkspaceWelcome';
@@ -54,6 +55,7 @@ const WorkspaceStatsSetting = () => {
resolveUser={resolveUser}
showSettingHeader={false}
/>
+ <WorkspaceSpendInsights />
</Flexbox>
);
};
diff --git a/src/routes/(main)/settings/about/features/About.tsx b/src/routes/(main)/settings/about/features/About.tsx
index 3d498fec14c..0427f5f97b5 100644
--- a/src/routes/(main)/settings/about/features/About.tsx
+++ b/src/routes/(main)/settings/about/features/About.tsx
@@ -8,7 +8,7 @@ import { createStaticStyles } from 'antd-style';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
-import { BLOG, mailTo,OFFICIAL_SITE, PRIVACY_URL, TERMS_URL } from '@/const/url';
+import { BLOG, mailTo, OFFICIAL_SITE, PRIVACY_URL, TERMS_URL } from '@/const/url';
import AboutList from './AboutList';
import ItemCard from './ItemCard';
@@ -35,32 +35,8 @@ const About = memo<{ mobile?: boolean }>(({ mobile }) => {
variant={'filled'}
>
<Flexbox gap={20} paddingBlock={20} width={'100%'}>
- <div className={styles.title}>{t('version')}</div>
<Version mobile={mobile} />
<Divider style={{ marginBlock: 0 }} />
- <div className={styles.title}>{t('contact')}</div>
- <AboutList
- ItemRender={ItemLink}
- items={[
- {
- href: OFFICIAL_SITE,
- label: t('officialSite'),
- value: 'officialSite',
- },
- {
- href: mailTo(BRANDING_EMAIL.support),
- label: t('mail.support'),
- value: 'support',
- },
- {
- href: mailTo(BRANDING_EMAIL.business),
- label: t('mail.business'),
- value: 'business',
- },
- ]}
- />
- <Divider style={{ marginBlock: 0 }} />
- <div className={styles.title}>{t('information')}</div>
<AboutList
grid
ItemRender={ItemCard}
@@ -99,6 +75,28 @@ const About = memo<{ mobile?: boolean }>(({ mobile }) => {
]}
/>
<Divider style={{ marginBlock: 0 }} />
+ <div className={styles.title}>{t('contact')}</div>
+ <AboutList
+ ItemRender={ItemLink}
+ items={[
+ {
+ href: OFFICIAL_SITE,
+ label: t('officialSite'),
+ value: 'officialSite',
+ },
+ {
+ href: mailTo(BRANDING_EMAIL.support),
+ label: t('mail.support'),
+ value: 'support',
+ },
+ {
+ href: mailTo(BRANDING_EMAIL.business),
+ label: t('mail.business'),
+ value: 'business',
+ },
+ ]}
+ />
+ <Divider style={{ marginBlock: 0 }} />
<div className={styles.title}>{t('legal')}</div>
<AboutList
ItemRender={ItemLink}
diff --git a/src/routes/(main)/settings/about/features/AboutList.tsx b/src/routes/(main)/settings/about/features/AboutList.tsx
index 685a466b6f8..1a385abb78b 100644
--- a/src/routes/(main)/settings/about/features/AboutList.tsx
+++ b/src/routes/(main)/settings/about/features/AboutList.tsx
@@ -15,7 +15,14 @@ interface AboutListProps {
const AboutList = memo<AboutListProps>(({ grid, items, ItemRender }) => {
const content = items.map((item) => <ItemRender key={item.value} {...item} />);
- if (!grid) return <Flexbox gap={8}>{content}</Flexbox>;
+ // Link rows (Contact / Legal) read as one line of links rather than a stacked
+ // list; wrap keeps them intact on narrow viewports.
+ if (!grid)
+ return (
+ <Flexbox horizontal align={'center'} gap={24} wrap={'wrap'}>
+ {content}
+ </Flexbox>
+ );
return (
<Grid gap={8} maxItemWidth={160} rows={5} width={'100%'}>
diff --git a/src/routes/(main)/settings/features/SettingsContent.tsx b/src/routes/(main)/settings/features/SettingsContent.tsx
index 05b3d68da0d..786daf3659c 100644
--- a/src/routes/(main)/settings/features/SettingsContent.tsx
+++ b/src/routes/(main)/settings/features/SettingsContent.tsx
@@ -30,7 +30,9 @@ const COMPACT_HEADER_TABS = [
SettingsTabs.Credits,
SettingsTabs.Devices,
SettingsTabs.Hotkey,
+ SettingsTabs.Labs,
SettingsTabs.Memory,
+ SettingsTabs.Messenger,
SettingsTabs.Notification,
SettingsTabs.Plans,
SettingsTabs.Profile,
@@ -46,7 +48,7 @@ interface SettingsContentProps {
}
const SettingsContent = ({ mobile, activeTab }: SettingsContentProps) => {
- const { t } = useTranslation(['auth', 'setting', 'subscription']);
+ const { t } = useTranslation(['auth', 'labs', 'setting', 'subscription']);
const enableBusinessFeatures = useServerConfigStore(serverConfigSelectors.enableBusinessFeatures);
const navigate = useWorkspaceAwareNavigate();
@@ -58,7 +60,10 @@ const SettingsContent = ({ mobile, activeTab }: SettingsContentProps) => {
[SettingsTabs.Credits]: t('subscription:tab.credits'),
[SettingsTabs.Devices]: t('setting:devices.title'),
[SettingsTabs.Hotkey]: t('setting:tab.hotkey'),
+ // Labs has no `setting:tab.*` entry — the nav label comes from the labs namespace.
+ [SettingsTabs.Labs]: t('labs:title'),
[SettingsTabs.Memory]: t('setting:tab.memory'),
+ [SettingsTabs.Messenger]: t('setting:tab.messenger'),
[SettingsTabs.Notification]: t('setting:tab.notification'),
[SettingsTabs.Plans]: t('subscription:tab.plans'),
[SettingsTabs.Profile]: t('auth:profile.title'),
diff --git a/src/routes/(main)/settings/labs/index.test.tsx b/src/routes/(main)/settings/labs/index.test.tsx
index a88567ec826..1eda724451b 100644
--- a/src/routes/(main)/settings/labs/index.test.tsx
+++ b/src/routes/(main)/settings/labs/index.test.tsx
@@ -36,6 +36,8 @@ vi.mock('react-i18next', () => ({
}));
vi.mock('@lobehub/ui', () => ({
+ Alert: ({ title }: { title: ReactNode }) => <div role={'note'}>{title}</div>,
+ Flexbox: ({ children }: { children: ReactNode }) => <div>{children}</div>,
Form: ({
items,
}: {
@@ -99,10 +101,20 @@ afterEach(() => {
});
describe('Labs settings page', () => {
- it('explains that Labs features are experimental', () => {
+ it('explains that Labs features are experimental in a banner, not the header subtitle', () => {
renderPage();
- expect(screen.getByText('description')).toBeDefined();
+ // The page title comes from the settings shell header (like Plans / Storage),
+ // so the experimental notice has to carry itself as a standalone banner.
+ expect(screen.getByRole('note').textContent).toBe('description');
+ });
+
+ it('hides its own setting header when the shell renders a compact one', () => {
+ useUserStore.setState({ isUserStateInit: true, updateLab: vi.fn() });
+ render(<Page showSettingHeader={false} />, { wrapper: createWrapper() });
+
+ expect(screen.queryByRole('heading', { level: 1 })).toBeNull();
+ expect(screen.getByRole('note').textContent).toBe('description');
});
it('splits experiments into General and Desktop groups', () => {
diff --git a/src/routes/(main)/settings/labs/index.tsx b/src/routes/(main)/settings/labs/index.tsx
index 8a44fe689ea..5f9819137b4 100644
--- a/src/routes/(main)/settings/labs/index.tsx
+++ b/src/routes/(main)/settings/labs/index.tsx
@@ -2,9 +2,10 @@
import { isDesktop } from '@lobechat/const';
import { type FormGroupItemType, type FormItemProps } from '@lobehub/ui';
-import { Form, Skeleton } from '@lobehub/ui';
+import { Alert, Flexbox, Form, Skeleton } from '@lobehub/ui';
import { Switch } from '@lobehub/ui/base-ui';
import { createStaticStyles } from 'antd-style';
+import { FlaskConicalIcon } from 'lucide-react';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
@@ -23,7 +24,7 @@ const styles = createStaticStyles(({ css }) => ({
`,
}));
-const Page = memo(() => {
+const LabsForm = memo(() => {
const { t: tLabs } = useTranslation('labs');
const [
@@ -252,18 +253,39 @@ const Page = memo(() => {
});
}
+ return (
+ <Form
+ collapsible={false}
+ items={items}
+ itemsType={'group'}
+ variant={'filled'}
+ {...FORM_STYLE}
+ />
+ );
+});
+
+interface PageProps {
+ showSettingHeader?: boolean;
+}
+
+const Page = ({ showSettingHeader = true }: PageProps) => {
+ const { t: tLabs } = useTranslation('labs');
+
return (
<>
- <SettingHeader description={tLabs('description')} title={tLabs('title')} />
- <Form
- collapsible={false}
- items={items}
- itemsType={'group'}
- variant={'filled'}
- {...FORM_STYLE}
- />
+ {showSettingHeader && <SettingHeader title={tLabs('title')} />}
+ <Flexbox gap={16}>
+ <Alert
+ showIcon
+ icon={FlaskConicalIcon}
+ title={tLabs('description')}
+ type={'info'}
+ variant={'filled'}
+ />
+ <LabsForm />
+ </Flexbox>
</>
);
-});
+};
export default Page;
diff --git a/src/routes/(main)/settings/messenger/index.tsx b/src/routes/(main)/settings/messenger/index.tsx
index 5f1b864f5d6..7073653dd0f 100644
--- a/src/routes/(main)/settings/messenger/index.tsx
+++ b/src/routes/(main)/settings/messenger/index.tsx
@@ -3,11 +3,15 @@ import { useTranslation } from 'react-i18next';
import MessengerSettings from '@/features/Messenger';
import SettingHeader from '@/routes/(main)/settings/features/SettingHeader';
-const Page = () => {
+interface PageProps {
+ showSettingHeader?: boolean;
+}
+
+const Page = ({ showSettingHeader = true }: PageProps) => {
const { t } = useTranslation('setting');
return (
<>
- <SettingHeader title={t('tab.messenger')} />
+ {showSettingHeader && <SettingHeader title={t('tab.messenger')} />}
<MessengerSettings />
</>
);
diff --git a/src/routes/(main)/settings/stats/features/overview/WorkspaceWelcome.tsx b/src/routes/(main)/settings/stats/features/overview/WorkspaceWelcome.tsx
index 6ced4478419..b05c2badb48 100644
--- a/src/routes/(main)/settings/stats/features/overview/WorkspaceWelcome.tsx
+++ b/src/routes/(main)/settings/stats/features/overview/WorkspaceWelcome.tsx
@@ -1,6 +1,6 @@
import { Flexbox, Skeleton } from '@lobehub/ui';
import dayjs from 'dayjs';
-import { Clock3Icon, ClockArrowUp, UsersIcon } from 'lucide-react';
+import { Clock3Icon, UsersIcon } from 'lucide-react';
import { memo } from 'react';
import { Trans, useTranslation } from 'react-i18next';
@@ -66,11 +66,6 @@ const WorkspaceWelcome = memo<{ mobile?: boolean }>(({ mobile }) => {
icon={Clock3Icon}
title={t('stats.createdAt')}
/>
- <TimeLabel
- date={dayjs(workspace.updatedAt).format('YYYY-MM-DD')}
- icon={ClockArrowUp}
- title={t('stats.updatedAt')}
- />
</Flexbox>
</Flexbox>
);
diff --git a/src/routes/(mobile)/settings/_layout/Header.tsx b/src/routes/(mobile)/settings/_layout/Header.tsx
index d11f3c8e2af..fd22f8a996a 100644
--- a/src/routes/(mobile)/settings/_layout/Header.tsx
+++ b/src/routes/(mobile)/settings/_layout/Header.tsx
@@ -20,6 +20,7 @@ import { mobileHeaderSticky } from '@/styles/mobileHeader';
const TAB_TITLE_KEY: Partial<Record<SettingsTabs, string>> = {
[SettingsTabs.Billing]: 'subscription:tab.billing',
[SettingsTabs.Credits]: 'subscription:tab.credits',
+ [SettingsTabs.Labs]: 'labs:title',
[SettingsTabs.Plans]: 'subscription:tab.plans',
[SettingsTabs.Profile]: 'auth:profile.title',
[SettingsTabs.Referral]: 'subscription:tab.referral',
@@ -34,7 +35,7 @@ const WORKSPACE_TAB_TITLE_KEY: Record<string, string> = {
};
const Header = memo(() => {
- const { t } = useTranslation(['setting', 'auth', 'subscription']);
+ const { t } = useTranslation(['setting', 'auth', 'labs', 'subscription']);
const showMobileWorkspace = useShowMobileWorkspace();
const navigate = useWorkspaceAwareNavigate();
const params = useParams<{ providerId?: string; tab?: string }>();