Skip to content
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

perf: elfinder translate #1638

Merged
merged 1 commit into from
Feb 19, 2025
Merged

perf: elfinder translate #1638

merged 1 commit into from
Feb 19, 2025

Conversation

fit2bot
Copy link
Contributor

@fit2bot fit2bot commented Feb 19, 2025

perf: elfinder translate

@fit2bot fit2bot requested a review from a team February 19, 2025 02:20
@@ -55,8 +51,6 @@ declare module 'vue' {
NTree: typeof import('naive-ui')['NTree']
NUpload: typeof import('naive-ui')['NUpload']
NUploadDragger: typeof import('naive-ui')['NUploadDragger']
NUploadFileList: typeof import('naive-ui')['NUploadFileList']
NUploadTrigger: typeof import('naive-ui')['NUploadTrigger']
NWatermark: typeof import('naive-ui')['NWatermark']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can examine the code for specific issues but since you did not specify which parts of the code you want checked, I will need to review these parts manually or ask for more details. Please provide the exact codes where there are discrepancies or improvements needed, and I would be happy to help optimize them in English.

@@ -199,6 +199,9 @@
}else if ( kokoLang.startsWith("zh")) {
lng = 'zh_CN'
}
else if (kokoLang.startsWith('pt')) {
lng = 'pt_BR';
}
if (lng !== 'en') {
$.ajax({
url : '/koko/static/plugins/elfinder/i18n'+'/elfinder.'+lng+'.js',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The provided code contains some minor changes that aim to fix inconsistencies between locales. It is recommended to ensure these settings have been properly tested across different regions and cultures before moving forward, such as adjusting for potential localization issues.

@feng626 feng626 merged commit 8b39150 into dev Feb 19, 2025
6 of 7 checks passed
@feng626 feng626 deleted the pr@dev@elfinder branch February 19, 2025 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants