-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: user manual and help doc support i18n #2199
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No significant discrepancies were identified in the provided code snippet for Angular translation purposes. However, some small improvements can be made:
Here is the optimized version: @@ -23,5 +23,7 @@
expired: '已过期',
expiringSoon: '即将到期'
},
- copyright: '版权所有 © 2014-2025 杭州飞致云信息科技有限公司'
+ copyright: '版权所有 © 2014-2025 杭州飞致云信息科技有限公司',
+
+ userManualUrl: 'https://maxkb.cn/docs/',
+ forumUrl: 'https://bbs.fit2cloud.com/c/mk/11' Changes Made:
These changes enhance the code's structure and make it easier to read. If you have any specific requirements or want further modifications, feel free to let me know! |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is syntactically correct with no major flaws. However, you can suggest a few minor improvements:
:
).Here's an updated version of your code with these suggestions:
These changes maintain order consistency and enhance readability by adding necessary spaces around colons.