feat: user manual and help doc support i18n (#2199)

Co-authored-by: wangdan-fit2cloud <dan.wang@fit2cloud.com>
This commit is contained in:
shaohuzhang1 2025-02-10 13:59:37 +08:00 committed by GitHub
parent d6d8a9f178
commit fa7e544a15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 13 additions and 7 deletions

View File

@ -23,5 +23,7 @@ export default {
expired: 'expired', expired: 'expired',
expiringSoon: 'expiring soon' 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'
} }

View File

@ -21,7 +21,7 @@ export default {
}, },
APIKeyDialog: { APIKeyDialog: {
saveSettings: 'Save Settings', 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: msgConfirm2:
'This action is irreversible. Once deleted, the API Key cannot be recovered. Do you still want to proceed?', 'This action is irreversible. Once deleted, the API Key cannot be recovered. Do you still want to proceed?',
enabledSuccess: 'Enabled', enabledSuccess: 'Enabled',

View File

@ -23,5 +23,7 @@ export default {
expired: '已过期', expired: '已过期',
expiringSoon: '即将到期' expiringSoon: '即将到期'
}, },
copyright: '版权所有 © 2014-2025 杭州飞致云信息科技有限公司' copyright: '版权所有 © 2014-2025 杭州飞致云信息科技有限公司',
userManualUrl: 'https://maxkb.cn/docs/',
forumUrl: 'https://bbs.fit2cloud.com/c/mk/11'
} }

View File

@ -24,5 +24,7 @@ export default {
expired: '已過期', expired: '已過期',
expiringSoon: '即將到期' expiringSoon: '即將到期'
}, },
copyright: '版權所有 © 2014-2025 杭州飛致雲信息科技有限公司' copyright: '版權所有 © 2014-2025 杭州飛致雲信息科技有限公司',
userManualUrl:'https://maxkb.cn/docs/',
forumUrl: 'https://github.com/1Panel-dev/MaxKB/discussions'
} }

View File

@ -42,9 +42,9 @@ export const defaultSetting = {
export const defaultPlatformSetting = { export const defaultPlatformSetting = {
showUserManual: true, showUserManual: true,
userManualUrl: 'https://maxkb.cn/docs/', userManualUrl: t('layout.userManualUrl'),
showForum: true, showForum: true,
forumUrl: 'https://bbs.fit2cloud.com/c/mk/11', forumUrl: t('layout.forumUrl'),
showProject: true, showProject: true,
projectUrl: 'https://github.com/1Panel-dev/MaxKB' projectUrl: 'https://github.com/1Panel-dev/MaxKB'
} }

View File

@ -239,7 +239,7 @@ const dayOptions = [
{ {
value: 7, value: 7,
// @ts-ignore // @ts-ignore
label: t('views.applicationOverview.monitor.pastDayOptions.past7Days') // 使 t label: t('views.applicationOverview.monitor.pastDayOptions.past7Days')
}, },
{ {
value: 30, value: 30,