mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: user manual and help doc support i18n (#2199)
Co-authored-by: wangdan-fit2cloud <dan.wang@fit2cloud.com>
This commit is contained in:
parent
d6d8a9f178
commit
fa7e544a15
|
|
@ -23,5 +23,7 @@ export default {
|
|||
expired: 'expired',
|
||||
expiringSoon: 'expiring soon'
|
||||
},
|
||||
copyright: 'Copyright © 2014-2025 FIT2CLOUD, All rights reserved.'
|
||||
copyright: 'Copyright © 2014-2025 FIT2CLOUD, All rights reserved.',
|
||||
userManualUrl: 'http://docs.maxkb.hk/',
|
||||
forumUrl: 'https://github.com/1Panel-dev/MaxKB/discussions'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export default {
|
|||
},
|
||||
APIKeyDialog: {
|
||||
saveSettings: 'Save Settings',
|
||||
msgConfirm1: 'Are you sure you want to delete the API Key?',
|
||||
msgConfirm1: 'Are you sure you want to delete the API Key',
|
||||
msgConfirm2:
|
||||
'This action is irreversible. Once deleted, the API Key cannot be recovered. Do you still want to proceed?',
|
||||
enabledSuccess: 'Enabled',
|
||||
|
|
|
|||
|
|
@ -23,5 +23,7 @@ export default {
|
|||
expired: '已过期',
|
||||
expiringSoon: '即将到期'
|
||||
},
|
||||
copyright: '版权所有 © 2014-2025 杭州飞致云信息科技有限公司'
|
||||
copyright: '版权所有 © 2014-2025 杭州飞致云信息科技有限公司',
|
||||
userManualUrl: 'https://maxkb.cn/docs/',
|
||||
forumUrl: 'https://bbs.fit2cloud.com/c/mk/11'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,5 +24,7 @@ export default {
|
|||
expired: '已過期',
|
||||
expiringSoon: '即將到期'
|
||||
},
|
||||
copyright: '版權所有 © 2014-2025 杭州飛致雲信息科技有限公司'
|
||||
copyright: '版權所有 © 2014-2025 杭州飛致雲信息科技有限公司',
|
||||
userManualUrl:'https://maxkb.cn/docs/',
|
||||
forumUrl: 'https://github.com/1Panel-dev/MaxKB/discussions'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ export const defaultSetting = {
|
|||
|
||||
export const defaultPlatformSetting = {
|
||||
showUserManual: true,
|
||||
userManualUrl: 'https://maxkb.cn/docs/',
|
||||
userManualUrl: t('layout.userManualUrl'),
|
||||
showForum: true,
|
||||
forumUrl: 'https://bbs.fit2cloud.com/c/mk/11',
|
||||
forumUrl: t('layout.forumUrl'),
|
||||
showProject: true,
|
||||
projectUrl: 'https://github.com/1Panel-dev/MaxKB'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ const dayOptions = [
|
|||
{
|
||||
value: 7,
|
||||
// @ts-ignore
|
||||
label: t('views.applicationOverview.monitor.pastDayOptions.past7Days') // 使用 t 方法来国际化显示文本
|
||||
label: t('views.applicationOverview.monitor.pastDayOptions.past7Days')
|
||||
},
|
||||
{
|
||||
value: 30,
|
||||
|
|
|
|||
Loading…
Reference in New Issue