From 826bcba394a530ff9890177bb74e6a11fa35f3e7 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 24 May 2023 11:03:31 +0800 Subject: [PATCH] :art: Changelog supports Traditional Chinese https://github.com/siyuan-note/siyuan/issues/8333 --- kernel/api/system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/api/system.go b/kernel/api/system.go index 6c88e3185..66b5f3913 100644 --- a/kernel/api/system.go +++ b/kernel/api/system.go @@ -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