From efa0564ef13f93751ccd6001452c24c973de54c7 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 30 Jul 2022 10:22:46 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=9B=B4=E6=96=B0=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E5=AF=86=E9=92=A5=E4=B8=8D=E5=8C=B9=E9=85=8D=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/sync.go b/kernel/model/sync.go index a7d646037..8d1aabdf6 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") {