fix: naming

This commit is contained in:
Simon Ding
2024-09-03 10:04:56 +08:00
parent ba1be8f279
commit 3e5e20e933
3 changed files with 5 additions and 5 deletions

View File

@@ -119,7 +119,7 @@ func (c *Client) GetLanguage() string {
lang := c.GetSetting(SettingLanguage)
log.Infof("get application language: %s", lang)
if lang == "" {
return "zh-CN"
return LanguageCN
}
return lang
}