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(locale): add credit balance low notification strings (#16242)

YuTengjingbd6e4d6778f2
diff --git a/locales/en-US/notification.json b/locales/en-US/notification.json
index bd1a1f3be58..891e784589b 100644
--- a/locales/en-US/notification.json
+++ b/locales/en-US/notification.json
@@ -5,6 +5,9 @@
"agent_cron_job_failed_title": "Scheduled task failed",
"billboard.learnMore": "Learn more",
"billboard.menuLabel": "Announcements",
+ "credit_balance_low": "Your credit balance is running low — about {{balance}} in credits remaining. Turn on auto top-up so your balance refills automatically and your work is never interrupted.",
+ "credit_balance_low_action": "Set up auto top-up",
+ "credit_balance_low_title": "Your credit balance is running low",
"image_generation_completed": "Your image \"{{prompt}}\" is ready.",
"image_generation_completed_title": "Image generation completed",
"inbox.archiveAll": "Archive all",
diff --git a/locales/en-US/setting.json b/locales/en-US/setting.json
index e6f08ccacfc..fa3b94a8658 100644
--- a/locales/en-US/setting.json
+++ b/locales/en-US/setting.json
@@ -502,6 +502,7 @@
"notification.inbox.desc": "Show notifications in the in-app inbox",
"notification.inbox.title": "Inbox Notifications",
"notification.item.agent_cron_job_failed": "Scheduled task failed",
+ "notification.item.credit_balance_low": "Credit balance running low",
"notification.item.image_generation_completed": "Image generation completed",
"notification.item.storage_overage_cap_reached": "Storage pay-as-you-go cap reached",
"notification.item.video_generation_completed": "Video generation completed",
diff --git a/locales/zh-CN/notification.json b/locales/zh-CN/notification.json
index fc632249d74..77a3250e51a 100644
--- a/locales/zh-CN/notification.json
+++ b/locales/zh-CN/notification.json
@@ -5,6 +5,9 @@
"agent_cron_job_failed_title": "定时任务执行失败",
"billboard.learnMore": "了解更多",
"billboard.menuLabel": "公告",
+ "credit_balance_low": "您的积分余额即将用尽,当前约剩余 {{balance}} 的积分。建议开启自动充值,余额不足时自动续费,让你的工作不被中断。",
+ "credit_balance_low_action": "开启自动充值",
+ "credit_balance_low_title": "您的积分余额即将用尽",
"image_generation_completed": "图片「{{prompt}}」已生成。",
"image_generation_completed_title": "图片生成完成",
"inbox.archiveAll": "全部归档",
diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.json
index 678f7f1b312..96c7ce9a4d1 100644
--- a/locales/zh-CN/setting.json
+++ b/locales/zh-CN/setting.json
@@ -502,6 +502,7 @@
"notification.inbox.desc": "在应用内收件箱中显示通知",
"notification.inbox.title": "站内通知",
"notification.item.agent_cron_job_failed": "计划任务失败",
+ "notification.item.credit_balance_low": "积分余额即将用尽",
"notification.item.image_generation_completed": "图片生成完成",
"notification.item.storage_overage_cap_reached": "存储按量付费上限已触达",
"notification.item.video_generation_completed": "视频生成完成",
diff --git a/packages/locales/src/default/notification.ts b/packages/locales/src/default/notification.ts
index 72544115ce2..07a970efd02 100644
--- a/packages/locales/src/default/notification.ts
+++ b/packages/locales/src/default/notification.ts
@@ -7,6 +7,10 @@ export default {
'agent_cron_job_failed_title': 'Scheduled task failed',
'billboard.learnMore': 'Learn more',
'billboard.menuLabel': 'Announcements',
+ 'credit_balance_low':
+ 'Your credit balance is running low — about {{balance}} in credits remaining. Turn on auto top-up so your balance refills automatically and your work is never interrupted.',
+ 'credit_balance_low_action': 'Set up auto top-up',
+ 'credit_balance_low_title': 'Your credit balance is running low',
'image_generation_completed': 'Your image "{{prompt}}" is ready.',
'image_generation_completed_title': 'Image generation completed',
'inbox.archiveAll': 'Archive all',
diff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.ts
index 0ccb8f89b4e..3d295e77a3a 100644
--- a/packages/locales/src/default/setting.ts
+++ b/packages/locales/src/default/setting.ts
@@ -563,6 +563,7 @@ export default {
'notification.category.schedule.title': 'Scheduled tasks',
'notification.category.workspace.title': 'Workspace',
'notification.item.agent_cron_job_failed': 'Scheduled task failed',
+ 'notification.item.credit_balance_low': 'Credit balance running low',
'notification.item.image_generation_completed': 'Image generation completed',
'notification.item.storage_overage_cap_reached': 'Storage pay-as-you-go cap reached',
'notification.item.video_generation_completed': 'Video generation completed',