-
Notifications
You must be signed in to change notification settings - Fork 207
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
perf: elfinder translate #1638
Conversation
@@ -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'] |
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.
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', |
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 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.
|
perf: elfinder translate