Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:memo: 更新同步密钥不匹配提示文案

Liang Dingefa0564ef13f
diff --git a/kernel/model/sync.go b/kernel/model/sync.go
index a7d6460376..8d1aabdf6a 100644
--- a/kernel/model/sync.go
+++ b/kernel/model/sync.go
@@ -329,7 +329,7 @@ func formatErrorMsg(err error) string {
} else if strings.Contains(msgLowerCase, "device or resource busy") || strings.Contains(msg, "is being used by another") {
msg = fmt.Sprintf(Conf.Language(85), err)
} else if strings.Contains(msgLowerCase, "cipher: message authentication failed") {
- msg = Conf.Language(172) + " " + err.Error()
+ msg = Conf.Language(135) + " " + err.Error()
} else if strings.Contains(msgLowerCase, "repo fatal error") {
msg = Conf.Language(23) + " " + err.Error()
} else if strings.Contains(msgLowerCase, "no such host") || strings.Contains(msgLowerCase, "connection failed") || strings.Contains(msgLowerCase, "hostname resolution") {