mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 17:30:30 +00:00
[Update] 修改js默认语言为中文
This commit is contained in:
@@ -1396,8 +1396,8 @@ function showCeleryTaskLog(taskId) {
|
||||
}
|
||||
|
||||
function getUserLang(){
|
||||
let userLangZh = document.cookie.indexOf('django_language=zh');
|
||||
if (userLangZh !== -1){
|
||||
let userLangZh = document.cookie.indexOf('django_language=en');
|
||||
if (userLangZh === -1){
|
||||
return 'zh-CN'
|
||||
}
|
||||
else{
|
||||
|
Reference in New Issue
Block a user