Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dataease/SQLBot
/ getLocale
Function
getLocale
frontend/src/utils/utils.ts:57–59 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
return
language
56
}
57
export
const
getLocale = () => {
58
return
wsCache.get(
'user.language'
) || getBrowserLocale() ||
'zh-CN'
59
}
60
61
export
const
setSize = (size: any) => {
62
let
data =
''
Callers
1
setupInterceptors
Method · 0.90
Calls
2
getBrowserLocale
Function · 0.85
get
Method · 0.65
Tested by
no test coverage detected