chore: update payment config and intl message keys

This commit is contained in:
javayhu 2025-04-13 15:50:30 +08:00
parent c3e9b480bd
commit f1b2d39f1f
3 changed files with 64 additions and 64 deletions

View File

@ -59,43 +59,43 @@
"name": "Free",
"description": "Basic features for personal use",
"features": {
"projects": "Up to 3 projects",
"storage": "1 GB storage",
"analytics": "Basic analytics",
"support": "Community support"
"feature-1": "Up to 3 projects",
"feature-2": "1 GB storage",
"feature-3": "Basic analytics",
"feature-4": "Community support"
},
"limits": {
"domains": "Custom domains",
"brands": "Custom brands",
"updates": "Lifetime updates"
"limit-1": "Custom domains",
"limit-2": "Custom brands",
"limit-3": "Lifetime updates"
}
},
"pro": {
"name": "Pro",
"description": "Advanced features for professionals",
"features": {
"projects": "Unlimited projects",
"storage": "10 GB storage",
"analytics": "Advanced analytics",
"support": "Priority support",
"domains": "Custom domains"
"feature-1": "Unlimited projects",
"feature-2": "10 GB storage",
"feature-3": "Advanced analytics",
"feature-4": "Priority support",
"feature-5": "Custom domains"
},
"limits": {
"brands": "Custom brands",
"updates": "Lifetime updates"
"limit-1": "Custom brands",
"limit-2": "Lifetime updates"
}
},
"lifetime": {
"name": "Lifetime",
"description": "Premium features with one-time payment",
"features": {
"proFeatures": "All Pro features",
"storage": "100 GB storage",
"support": "Dedicated support",
"security": "Enterprise-grade security",
"integrations": "Advanced integrations",
"branding": "Custom branding",
"updates": "Lifetime updates"
"feature-1": "All Pro features",
"feature-2": "100 GB storage",
"feature-3": "Dedicated support",
"feature-4": "Enterprise-grade security",
"feature-5": "Advanced integrations",
"feature-6": "Custom branding",
"feature-7": "Lifetime updates"
}
}
},

View File

@ -59,44 +59,44 @@
"name": "免费版",
"description": "适用于个人使用的基本功能",
"features": {
"projects": "最多3个项目",
"storage": "1GB存储空间",
"analytics": "基础分析功能",
"support": "社区支持"
"feature-1": "最多3个项目",
"feature-2": "1GB存储空间",
"feature-3": "基础分析功能",
"feature-4": "社区支持"
},
"limits": {
"domains": "不支持自定义域名",
"brands": "不支持自定义品牌",
"updates": "不支持终身更新"
"limit-1": "不支持自定义域名",
"limit-2": "不支持自定义品牌",
"limit-3": "不支持终身更新"
}
},
"pro": {
"name": "专业版",
"description": "专业人士的高级功能",
"features": {
"projects": "无限项目",
"storage": "10GB存储空间",
"analytics": "高级分析功能",
"support": "优先支持",
"domains": "自定义域名"
"feature-1": "无限项目",
"feature-2": "10GB存储空间",
"feature-3": "高级分析功能",
"feature-4": "优先支持",
"feature-5": "自定义域名"
},
"limits": {
"brands": "不支持自定义品牌",
"updates": "不支持终身更新"
"limit-1": "不支持自定义品牌",
"limit-2": "不支持终身更新"
}
},
"lifetime": {
"name": "终身版",
"description": "一次性付款获得所有高级功能",
"features": {
"proFeatures": "所有专业版功能",
"storage": "100GB存储空间",
"support": "专属支持",
"security": "企业级安全",
"integrations": "高级集成",
"domains": "自定义域名",
"branding": "自定义品牌",
"updates": "终身更新"
"feature-1": "所有专业版功能",
"feature-2": "100GB存储空间",
"feature-3": "专属支持",
"feature-4": "企业级安全",
"feature-5": "高级集成",
"feature-6": "自定义域名",
"feature-7": "自定义品牌",
"feature-8": "终身更新"
}
}
},

View File

@ -25,15 +25,15 @@ export function getPricePlans(): Record<string, PricePlan> {
name: t('free.name'),
description: t('free.description'),
features: [
t('free.features.projects'),
t('free.features.analytics'),
t('free.features.support'),
t('free.features.storage')
t('free.features.feature-1'),
t('free.features.feature-2'),
t('free.features.feature-3'),
t('free.features.feature-4')
],
limits: [
t('free.limits.domains'),
t('free.limits.brands'),
t('free.limits.updates')
t('free.limits.limit-1'),
t('free.limits.limit-2'),
t('free.limits.limit-3')
]
};
}
@ -44,15 +44,15 @@ export function getPricePlans(): Record<string, PricePlan> {
name: t('pro.name'),
description: t('pro.description'),
features: [
t('pro.features.projects'),
t('pro.features.analytics'),
t('pro.features.support'),
t('pro.features.storage'),
t('pro.features.domains'),
t('pro.features.feature-1'),
t('pro.features.feature-2'),
t('pro.features.feature-3'),
t('pro.features.feature-4'),
t('pro.features.feature-5'),
],
limits: [
t('pro.limits.brands'),
t('pro.limits.updates')
t('pro.limits.limit-1'),
t('pro.limits.limit-2')
]
};
}
@ -63,13 +63,13 @@ export function getPricePlans(): Record<string, PricePlan> {
name: t('lifetime.name'),
description: t('lifetime.description'),
features: [
t('lifetime.features.proFeatures'),
t('lifetime.features.security'),
t('lifetime.features.support'),
t('lifetime.features.storage'),
t('lifetime.features.integrations'),
t('lifetime.features.branding'),
t('lifetime.features.updates')
t('lifetime.features.feature-1'),
t('lifetime.features.feature-2'),
t('lifetime.features.feature-3'),
t('lifetime.features.feature-4'),
t('lifetime.features.feature-5'),
t('lifetime.features.feature-6'),
t('lifetime.features.feature-7')
],
limits: []
};