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(subscription): remove deprecated Zarinpal locale keys (#18295)

YuTengjing1080c89f7694
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 32d587d499a..76fb403b5dc 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -20,6 +20,18 @@
// support mdx
"mdx"
],
+ "files.watcherExclude": {
+ "**/.git/objects/**": true,
+ "**/.git/subtree-cache/**": true,
+ "**/.next/**": true,
+ "**/coverage/**": true,
+ "**/dist/**": true,
+ "**/logs/**": true,
+ "**/node_modules/*/**": true,
+ "**/public/_spa-auth/**": true,
+ "**/public/_spa-workbench/**": true,
+ "**/public/_spa/**": true
+ },
"js/ts.tsdk.path": "node_modules/typescript/lib",
"npm.packageManager": "pnpm",
"search.exclude": {
diff --git a/locales/en-US/subscription.json b/locales/en-US/subscription.json
index 947a043ec72..5bf008ca653 100644
--- a/locales/en-US/subscription.json
+++ b/locales/en-US/subscription.json
@@ -363,7 +363,6 @@
"plans.btn.noAction": "Plan Locked",
"plans.btn.payment": "Purchase",
"plans.btn.paymentDesc": "Supports credit card / Alipay / WeChat Pay",
- "plans.btn.paymentDescForZarinpal": "Supports credit card",
"plans.btn.soon": "Coming Soon",
"plans.cancelDowngrade": "Cancel Scheduled Downgrade",
"plans.cancelDowngradeSuccess": "Scheduled downgrade has been cancelled",
@@ -633,11 +632,5 @@
"usage.overview.title": "Overview",
"usage.remaining": "Remaining",
"usage.storage.embeddings.used": "Vector Storage",
- "usage.storage.file.used": "File Usage",
- "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",
- "zarinpal.infoModal.phone.rule": "Please enter a valid phone number",
- "zarinpal.infoModal.submit": "Purchase",
- "zarinpal.infoModal.title": "Fill in Required Information"
+ "usage.storage.file.used": "File Usage"
}
diff --git a/locales/zh-CN/subscription.json b/locales/zh-CN/subscription.json
index 8a3db056138..360a12c77fb 100644
--- a/locales/zh-CN/subscription.json
+++ b/locales/zh-CN/subscription.json
@@ -363,7 +363,6 @@
"plans.btn.noAction": "计划已锁定",
"plans.btn.payment": "立即购买",
"plans.btn.paymentDesc": "支持信用卡 / 支付宝 / 微信支付",
- "plans.btn.paymentDescForZarinpal": "支持信用卡",
"plans.btn.soon": "即将上线",
"plans.cancelDowngrade": "取消降级预约",
"plans.cancelDowngradeSuccess": "降级预约已取消",
@@ -633,11 +632,5 @@
"usage.overview.title": "总览",
"usage.remaining": "剩余",
"usage.storage.embeddings.used": "向量存储",
- "usage.storage.file.used": "文件使用量",
- "zarinpal.infoModal.desc": "根据政策要求,请在下单前填写以下个人信息:",
- "zarinpal.infoModal.phone.label": "手机号",
- "zarinpal.infoModal.phone.placeholder": "请输入手机号",
- "zarinpal.infoModal.phone.rule": "请输入有效的手机号",
- "zarinpal.infoModal.submit": "立即购买",
- "zarinpal.infoModal.title": "填写必要信息"
+ "usage.storage.file.used": "文件使用量"
}
diff --git a/packages/locales/src/default/subscription.ts b/packages/locales/src/default/subscription.ts
index f4b281be185..74c4e688165 100644
--- a/packages/locales/src/default/subscription.ts
+++ b/packages/locales/src/default/subscription.ts
@@ -426,7 +426,6 @@ export default {
'plans.btn.noAction': 'Plan Locked',
'plans.btn.payment': 'Purchase',
'plans.btn.paymentDesc': 'Supports credit card / Alipay / WeChat Pay',
- 'plans.btn.paymentDescForZarinpal': 'Supports credit card',
'plans.btn.soon': 'Coming Soon',
'plans.changePlan': 'Choose Plan',
'plans.cloud.history': 'Unlimited conversation history',
@@ -742,11 +741,4 @@ export default {
'usage.storage.embeddings.used': 'Vector Storage',
'usage.storage.file.used': 'File Usage',
'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',
- 'zarinpal.infoModal.phone.placeholder': 'Please enter phone number',
- 'zarinpal.infoModal.phone.rule': 'Please enter a valid phone number',
- 'zarinpal.infoModal.submit': 'Purchase',
- 'zarinpal.infoModal.title': 'Fill in Required Information',
};