Fix: new upgrade page (#12417)

This commit is contained in:
NFish
2025-03-06 10:27:13 +08:00
committed by GitHub
parent a4b2c10fb8
commit 9962118dbd
50 changed files with 3958 additions and 607 deletions

View File

@@ -1,5 +1,14 @@
const translation = {
currentPlan: 'Current Plan',
usagePage: {
teamMembers: 'Team Members',
buildApps: 'Build Apps',
annotationQuota: 'Annotation Quota',
documentsUploadQuota: 'Documents Upload Quota',
vectorSpace: 'Knowledge Data Storage',
vectorSpaceTooltip: 'Documents with the High Quality indexing mode will consume Knowledge Data Storage resources. When Knowledge Data Storage reaches the limit, new documents will not be uploaded.',
},
teamMembers: 'Team Members',
upgradeBtn: {
plain: 'Upgrade Plan',
encourage: 'Upgrade Now',
@@ -8,9 +17,14 @@ const translation = {
viewBilling: 'Manage billing and subscriptions',
buyPermissionDeniedTip: 'Please contact your enterprise administrator to subscribe',
plansCommon: {
title: 'Choose a plan thats right for you',
yearlyTip: 'Get 2 months for free by subscribing yearly!',
mostPopular: 'Most Popular',
title: 'Pricing that powers your AI journey',
freeTrialTipPrefix: 'Sign up and get a ',
freeTrialTip: 'free trial of 200 OpenAI calls. ',
freeTrialTipSuffix: 'No credit card required',
yearlyTip: 'Pay for 10 months, enjoy 1 Year!',
mostPopular: 'Popular',
cloud: 'Cloud Service',
self: 'Self-Hosted',
planRange: {
monthly: 'Monthly',
yearly: 'Yearly',
@@ -19,33 +33,38 @@ const translation = {
year: 'year',
save: 'Save ',
free: 'Free',
annualBilling: 'Annual Billing',
comparePlanAndFeatures: 'Compare plans & features',
priceTip: 'per workspace/',
currentPlan: 'Current Plan',
contractSales: 'Contact sales',
contractOwner: 'Contact team manager',
startForFree: 'Start for free',
getStartedWith: 'Get started with ',
startForFree: 'Start for Free',
getStarted: 'Get Started',
contactSales: 'Contact Sales',
talkToSales: 'Talk to Sales',
modelProviders: 'Model Providers',
teamMembers: 'Team Members',
modelProviders: 'Support OpenAI/Anthropic/Llama2/Azure OpenAI/Hugging Face/Replicate',
teamWorkspace: '{{count,number}} Team Workspace',
teamMember_one: '{{count,number}} Team Member',
teamMember_other: '{{count,number}} Team Members',
annotationQuota: 'Annotation Quota',
buildApps: 'Build Apps',
vectorSpace: 'Vector Space',
vectorSpaceBillingTooltip: 'Each 1MB can store about 1.2million characters of vectorized data(estimated using OpenAI Embeddings, varies across models).',
vectorSpaceTooltip: 'Vector Space is the long-term memory system required for LLMs to comprehend your data.',
documentsUploadQuota: 'Documents Upload Quota',
documentProcessingPriority: 'Document Processing Priority',
documentProcessingPriorityTip: 'For higher document processing priority, please upgrade your plan.',
documentProcessingPriorityUpgrade: 'Process more data with higher accuracy at faster speeds.',
buildApps: '{{count,number}} Apps',
documents: '{{count,number}} Knowledge Documents',
documentsTooltip: 'Quota on the number of documents imported from the Knowledge Data Source.',
vectorSpace: '{{size}} Knowledge Data Storage',
vectorSpaceTooltip: 'Documents with the High Quality indexing mode will consume Knowledge Data Storage resources. When Knowledge Data Storage reaches the limit, new documents will not be uploaded.',
documentsRequestQuota: '{{count,number}}/min Knowledge Request Rate Limit',
documentsRequestQuotaTooltip: 'Specifies the total number of actions a workspace can perform per minute within the knowledge base, including dataset creation, deletion, updates, document uploads, modifications, archiving, and knowledge base queries. This metric is used to evaluate the performance of knowledge base requests. For example, if a Sandbox user performs 10 consecutive hit tests within one minute, their workspace will be temporarily restricted from performing the following actions for the next minute: dataset creation, deletion, updates, and document uploads or modifications. ',
documentProcessingPriority: ' Document Processing',
priority: {
'standard': 'Standard',
'priority': 'Priority',
'top-priority': 'Top Priority',
},
logsHistory: 'Logs history',
logsHistory: '{{days}} Log history',
customTools: 'Custom Tools',
unavailable: 'Unavailable',
days: 'days',
days: 'Days',
unlimited: 'Unlimited',
support: 'Support',
supportItems: {
@@ -68,12 +87,13 @@ const translation = {
member: 'Member',
memberAfter: 'Member',
messageRequest: {
title: 'Message Credits',
tooltip: 'Message invocation quotas for various plans using OpenAI models (except gpt4).Messages over the limit will use your OpenAI API Key.',
title: '{{count,number}} messages',
titlePerMonth: '{{count,number}} messages/month',
tooltip: 'Message invocation quotas for various plans using OpenAl models. Messages over the limit will use your OpenAI API Key.',
},
annotatedResponse: {
title: 'Annotation Quota Limits',
tooltip: 'Manual editing and annotation of responses provides customizable high-quality question-answering abilities for apps. (Applicable only in chat apps)',
title: '{{count,number}} Annotation Quota Limits',
tooltip: 'Manual editing and annotation of responses provides customizable high-quality question-answering abilities for apps. (Applicable only in Chat apps)',
},
ragAPIRequestTooltip: 'Refers to the number of API calls invoking only the knowledge base processing capabilities of Dify.',
receiptInfo: 'Only team owner and team admin can subscribe and view billing information',
@@ -81,23 +101,61 @@ const translation = {
plans: {
sandbox: {
name: 'Sandbox',
description: '200 times GPT free trial',
includesTitle: 'Includes:',
description: 'Free Trial of Core Capabilities',
},
professional: {
name: 'Professional',
description: 'For individuals and small teams to unlock more power affordably.',
includesTitle: 'Everything in free plan, plus:',
description: 'For Independent Developers/Small Teams',
},
team: {
name: 'Team',
description: 'Collaborate without limits and enjoy top-tier performance.',
includesTitle: 'Everything in Professional plan, plus:',
description: 'For Medium-sized Teams',
},
community: {
name: 'Community',
description: 'For Individual Users, Small Teams, or Non-commercial Projects',
price: 'Free',
btnText: 'Get Started with Community',
includesTitle: 'Free Features:',
features: [
'All Core Features Released Under the Public Repository',
'Single Workspace',
'Complies with Dify Open Source License',
],
},
premium: {
name: 'Premium',
description: 'For Mid-sized Organizations and Teams',
price: 'Scalable',
priceTip: 'Based on Cloud Marketplace',
btnText: 'Get Premium in',
includesTitle: 'Everything from Community, plus:',
comingSoon: 'Microsoft Azure & Google Cloud Support Coming Soon',
features: [
'Self-managed Reliability by Various Cloud Providers',
'Single Workspace',
'WebApp Logo & Branding Customization',
'Priority Email & Chat Support',
],
},
enterprise: {
name: 'Enterprise',
description: 'Get full capabilities and support for large-scale mission-critical systems.',
includesTitle: 'Everything in Team plan, plus:',
description: 'For Enterprise Require Organization-wide Security, Compliance, Scalability, Control and More Advanced Features',
price: 'Custom',
priceTip: 'Annual Billing Only',
btnText: 'Contact Sales',
includesTitle: 'Everything from Premium, plus:',
features: [
'Enterprise-grade Scalable Deployment Solutions',
'Commercial License Authorization',
'Exclusive Enterprise Features',
'Multiple Workspaces & Enterprise Management',
'SSO',
'Negotiated SLAs by Dify Partners',
'Advanced Security & Controls',
'Updates and Maintenance by Dify Officially',
'Professional Technical Support',
],
},
},
vectorSpace: {