🎨 改进云端同步报错文案 https://ld246.com/article/1661774969054

This commit is contained in:
Liang Ding 2022-08-29 20:30:57 +08:00
parent bcbbb43059
commit 344f0bf483
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 7 additions and 5 deletions

View file

@ -800,7 +800,7 @@
"25": "The attribute name only supports English letters and digits",
"26": "Please initialize the data repo key first in [Settings - About - Data repo key]",
"27": "Uploading [%v]",
"28": "TODO",
"28": "The network is abnormal, please try again later",
"29": "This feature requires <a target='_blank' href='https://ld246.com/subscribe/siyuan'>paid subscription</a> (If you have subscribed, please refresh or log in again in settings - account)",
"30": "Failed to obtain cloud info",
"31": "Account authentication failed, please login again",

View file

@ -800,7 +800,7 @@
"25": "El nombre del atributo sólo admite letras y dígitos en inglés",
"26": "Por favor, inicialice primero la clave de repositorio de datos en [Configuración - Acerca de - Clave de repositorio de datos]",
"27": "Subiendo [%v]",
"28": "TODO",
"28": "La red es anómala, inténtalo de nuevo más tarde",
"29": "Esta función requiere una <a target='_blank' href='https://ld246.com/subscribe/siyuan'>suscripción de pago</a> (Si se ha suscrito, actualice o vuelva a conectarse en configuración - cuenta)",
"30": "No se pudo obtener la información de la nube",
"31": "Falló la autentificación de la cuenta, por favor, inicie sesión de nuevo",

View file

@ -800,7 +800,7 @@
"25": "Le nom de l'attribut ne supporte que les lettres et les chiffres anglais.",
"26": "Veuillez d'abord initialiser la clé du référentiel de données dans [Paramètres - À propos - Clé du référentiel de données]",
"27": "Téléchargement de [%v]",
"28": "TODO",
"28": "Le réseau est anormal, veuillez réessayer plus tard",
"29": "Cette fonctionnalité nécessite <a target='_blank' href='https://ld246.com/subscribe/siyuan'>un abonnement payant</a> (Si vous êtes déjà abonné, Rafraîchissez ou connectez - vous à nouveau dans Paramètres - compte)",
"30": "Échec de l'obtention des informations sur le cloud",
"31": "L'authentification du compte a échoué, veuillez vous reconnecter",

View file

@ -800,7 +800,7 @@
"25": "屬性名僅支援英文字母和阿拉伯數字",
"26": "請先在 [設置 - 關於 - 數據倉庫密鑰] 中初始化數據倉庫密鑰",
"27": "正在上傳 [%v]",
"28": "TODO",
"28": "網絡異常,請稍後再試",
"29": "該功能需要<a target='_blank' href='https://ld246.com/subscribe/siyuan'>付費訂閱</a>(如果你已經訂閱,請在設定-帳號中重繪或者重新登入)",
"30": "獲取雲端資訊失敗",
"31": "帳號鑒權失敗,請重新登入帳號",

View file

@ -801,7 +801,7 @@
"25": "属性名仅支持英文字母和阿拉伯数字",
"26": "请先在 [设置 - 关于 - 数据仓库密钥] 中初始化数据仓库密钥",
"27": "正在上传 [%v]",
"28": "TODO",
"28": "网络异常,请稍后再试",
"29": "该功能需要<a target='_blank' href='https://ld246.com/subscribe/siyuan'>付费订阅</a>(如果你已经订阅,请在 设置 - 账号中刷新或者重新登录)",
"30": "获取云端信息失败",
"31": "账号鉴权失败,请重新登录账号",

View file

@ -344,6 +344,8 @@ func formatErrorMsg(err error) string {
msg = Conf.Language(24)
} else if strings.Contains(msgLowerCase, "net/http: request canceled while waiting for connection") || strings.Contains(msgLowerCase, "exceeded while awaiting") || strings.Contains(msgLowerCase, "context deadline exceeded") {
msg = Conf.Language(24)
} else if strings.Contains(msgLowerCase, "connection was forcibly closed") {
msg = Conf.Language(28)
} else if strings.Contains(msgLowerCase, "cloud object not found") {
msg = Conf.Language(129)
}