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

This commit is contained in:
Daniel 2023-05-24 11:03:31 +08:00
parent 2efa085bde
commit 826bcba394
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -51,7 +51,7 @@ func getChangelog(c *gin.Context) {
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")
changelogPath = filepath.Join(changelogsDir, "v"+util.Ver, "v"+util.Ver+".md")
if !gulu.File.IsExist(changelogPath) {
logging.LogErrorf("changelog not found: %s", changelogPath)
return