Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-05 09:37:05 +08:00
parent 6f9901e95f
commit ed95403480
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -157,10 +157,6 @@ func loadCode(petal *Petal) {
if !foundPreferredLang {
if foundEnUS {
preferredLang = "en_US.json"
if "zh_CHT" == Conf.Lang && foundZhCN {
// Improve marketplace package for traditional Chinese https://github.com/siyuan-note/siyuan/issues/8342
preferredLang = "zh_CN.json"
}
} else if foundZhCN {
preferredLang = "zh_CN.json"
} else {