Sfoglia il codice sorgente

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

Liang Ding 2 anni fa
parent
commit
efa0564ef1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      kernel/model/sync.go

+ 1 - 1
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") {