Supports display license status (#10408)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
This commit is contained in:
parent
c2ce2f88c7
commit
1f87676d52
11 changed files with 187 additions and 53 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -591,6 +591,10 @@ const translation = {
|
|||
created: '标签创建成功',
|
||||
failed: '标签创建失败',
|
||||
},
|
||||
license: {
|
||||
expiring: '许可证还有 1 天到期',
|
||||
expiring_plural: '许可证还有 {{count}} 天到期',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
|
|
@ -99,6 +99,12 @@ const translation = {
|
|||
back: '返回',
|
||||
noLoginMethod: '未配置身份认证方式',
|
||||
noLoginMethodTip: '请联系系统管理员添加身份认证方式',
|
||||
licenseExpired: '许可证已过期',
|
||||
licenseExpiredTip: '您所在空间的 Dify Enterprise 许可证已过期,请联系管理员以继续使用 Dify。',
|
||||
licenseLost: '许可证丢失',
|
||||
licenseLostTip: '无法连接 Dify 许可证服务器,请联系管理员以继续使用 Dify。',
|
||||
licenseInactive: '许可证未激活',
|
||||
licenseInactiveTip: '您所在空间的 Dify Enterprise 许可证尚未激活,请联系管理员以继续使用 Dify。',
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue