mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve marketplace package for traditional Chinese https://github.com/siyuan-note/siyuan/issues/8342
This commit is contained in:
parent
6de41eda82
commit
df7682384e
2 changed files with 16 additions and 0 deletions
|
|
@ -136,6 +136,10 @@ 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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue