🎨 Changelog supports Traditional Chinese https://github.com/siyuan-note/siyuan/issues/8333

This commit is contained in:
Daniel 2023-05-23 20:28:52 +08:00
parent da0afd39a8
commit ee918f4a7b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
15 changed files with 12 additions and 9212 deletions

View file

@ -49,7 +49,7 @@ func getChangelog(c *gin.Context) {
return
}
changelogPath := filepath.Join(changelogsDir, "v"+util.Ver+"_"+model.Conf.Lang+".md")
changelogPath := filepath.Join(changelogsDir, "v"+util.Ver, "v"+util.Ver+"_"+model.Conf.Lang+".md")
if !gulu.File.IsExist(changelogPath) {
changelogPath = filepath.Join(changelogsDir, "v"+util.Ver+".md")
if !gulu.File.IsExist(changelogPath) {