🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style: use credit terminology in auto top-up tooltips (#13091)
YuTengjing7cd4b1942f3b
diff --git a/locales/en-US/subscription.json b/locales/en-US/subscription.jsonindex 88febe8c954..4ab7da76931 100644--- a/locales/en-US/subscription.json+++ b/locales/en-US/subscription.json@@ -46,9 +46,9 @@"credits.autoTopUp.saveSuccess": "Auto top-up settings saved","credits.autoTopUp.setupPaymentMethod": "Add Payment Method","credits.autoTopUp.targetBalance": "Target Balance",- "credits.autoTopUp.targetBalanceDesc": "The balance amount to restore to when auto top-up triggers",+ "credits.autoTopUp.targetBalanceDesc": "The credit level to restore to when auto top-up triggers","credits.autoTopUp.threshold": "Threshold",- "credits.autoTopUp.thresholdDesc": "Auto top-up triggers when your balance falls to or below this amount",+ "credits.autoTopUp.thresholdDesc": "Auto top-up triggers when your credits fall to or below this level","credits.autoTopUp.title": "Auto Top-Up","credits.autoTopUp.toggle": "Enable Auto Top-Up","credits.autoTopUp.upgradeHint": "Subscribe to a paid plan to enable auto top-up",diff --git a/locales/zh-CN/subscription.json b/locales/zh-CN/subscription.jsonindex e3d4689ddce..bdbbf82d1c2 100644--- a/locales/zh-CN/subscription.json+++ b/locales/zh-CN/subscription.json@@ -46,9 +46,9 @@"credits.autoTopUp.saveSuccess": "自动充值设置已保存","credits.autoTopUp.setupPaymentMethod": "添加支付方式","credits.autoTopUp.targetBalance": "目标余额",- "credits.autoTopUp.targetBalanceDesc": "自动充值后余额将恢复到此目标值",+ "credits.autoTopUp.targetBalanceDesc": "自动充值后积分将恢复到此目标值","credits.autoTopUp.threshold": "触发阈值",- "credits.autoTopUp.thresholdDesc": "余额低于或等于此值时自动触发充值",+ "credits.autoTopUp.thresholdDesc": "积分低于或等于此值时自动触发充值","credits.autoTopUp.title": "自动充值","credits.autoTopUp.toggle": "启用自动充值","credits.autoTopUp.upgradeHint": "订阅付费计划以启用自动充值",diff --git a/src/libs/pdfjs/index.tsx b/src/libs/pdfjs/index.tsxindex 2182f8273ef..3b2c3430e67 100644--- a/src/libs/pdfjs/index.tsx+++ b/src/libs/pdfjs/index.tsx@@ -1,12 +1,10 @@'use client';-import { type ComponentProps } from 'react';-import { type Page as PdfPage } from 'react-pdf';-import { Document as PdfDocument, pdfjs } from 'react-pdf';-// Use Vite's ?url import to get the correct hashed asset path (e.g. /spa/assets/pdf.worker-xxx.mjs)// This overrides react-pdf's auto-detected bare filename which breaks under SPA routing.import pdfjsWorkerUrl from 'pdfjs-dist/build/pdf.worker.min.mjs?url';+import { type ComponentProps } from 'react';+import { Document as PdfDocument, type Page as PdfPage, pdfjs } from 'react-pdf';pdfjs.GlobalWorkerOptions.workerSrc = pdfjsWorkerUrl;diff --git a/src/locales/default/subscription.ts b/src/locales/default/subscription.tsindex add21c565d1..0c48452f8f0 100644--- a/src/locales/default/subscription.ts+++ b/src/locales/default/subscription.ts@@ -71,11 +71,10 @@ export default {'credits.autoTopUp.saveError': 'Failed to save auto top-up settings','credits.autoTopUp.saveSuccess': 'Auto top-up settings saved','credits.autoTopUp.targetBalance': 'Target Balance',- 'credits.autoTopUp.targetBalanceDesc':- 'The balance amount to restore to when auto top-up triggers',+ 'credits.autoTopUp.targetBalanceDesc': 'The credit level to restore to when auto top-up triggers','credits.autoTopUp.threshold': 'Threshold','credits.autoTopUp.thresholdDesc':- 'Auto top-up triggers when your balance falls to or below this amount',+ 'Auto top-up triggers when your credits fall to or below this level','credits.autoTopUp.title': 'Auto Top-Up','credits.autoTopUp.toggle': 'Enable Auto Top-Up','credits.autoTopUp.upgradeHint': 'Subscribe to a paid plan to enable auto top-up',