Supports display license status (#10408)

Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
This commit is contained in:
NFish 2024-11-15 17:59:48 +08:00 • committed by GitHub
commit 1f87676d52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 187 additions and 53 deletions

View file

@ -591,6 +591,10 @@ const translation = {
created: 'Tag created successfully',
failed: 'Tag creation failed',
},
license: {
expiring: 'Expiring in one day',
expiring_plural: 'Expiring in {{count}} days',
},
}
export default translation

View file

@ -98,6 +98,12 @@ const translation = {
back: 'Back',
noLoginMethod: 'Authentication method not configured',
noLoginMethodTip: 'Please contact the system admin to add an authentication method.',
licenseExpired: 'License Expired',
licenseExpiredTip: 'The Dify Enterprise license for your workspace has expired. Please contact your administrator to continue using Dify.',
licenseLost: 'License Lost',
licenseLostTip: 'Failed to connect Dify license server. Please contact your administrator to continue using Dify.',
licenseInactive: 'License Inactive',
licenseInactiveTip: 'The Dify Enterprise license for your workspace is inactive. Please contact your administrator to continue using Dify.',
}
export default translation