MCPcopy Create free account
hub / github.com/Monibuca/engine / Get

Function Get

lang/lang.go:21–29  ·  view source on GitHub ↗
(lang string)

Source from the content-addressed store, hash-verified

19}
20
21func Get(lang string) map[string]string {
22 if lang == "zh" {
23 if runtime.GOOS == "linux" && !IsTerminalSupportChinese() {
24 return nil
25 }
26 return zh
27 }
28 return nil
29}
30
31func Update(lang string, key string, value string) {
32 if lang == "zh" {

Callers 1

RunFunction · 0.92

Calls 1

IsTerminalSupportChineseFunction · 0.85

Tested by

no test coverage detected