mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
This commit is contained in:
parent
02b0c553e3
commit
cb206b9a64
5 changed files with 11 additions and 6 deletions
|
|
@ -768,7 +768,7 @@
|
|||
"23": "Backup failed: %s",
|
||||
"24": "Failed to obtain cloud sync info: %s",
|
||||
"25": "The attribute name only supports English letters and digits",
|
||||
"26": "Generate auth key failed",
|
||||
"26": "Please initialize the data repo key first in [Settings - About - Data repo key]",
|
||||
"27": "Data integrity check failed",
|
||||
"28": "Incorrect end-to-end encryption password, unable to decrypt data",
|
||||
"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)",
|
||||
|
|
|
|||
|
|
@ -768,7 +768,7 @@
|
|||
"23": "La sauvegarde a échoué : %s",
|
||||
"24": "Impossible d'obtenir les informations de synchronisation du Cloud : %s",
|
||||
"25": "Le nom de l'attribut ne supporte que les lettres et les chiffres anglais.",
|
||||
"26": "La génération de la clé d'authentification a échoué",
|
||||
"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": "La vérification de l'intégrité des données a échoué",
|
||||
"28": "Mot de passe de cryptage de bout en bout incorrect, impossible de décrypter les données",
|
||||
"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)",
|
||||
|
|
|
|||
|
|
@ -768,7 +768,7 @@
|
|||
"23": "備份失敗:%s",
|
||||
"24": "獲取雲端同步資訊失敗:%s",
|
||||
"25": "屬性名僅支援英文字母和阿拉伯數字",
|
||||
"26": "生成認證金鑰失敗",
|
||||
"26": "請先在 [設置 - 關於 - 數據倉庫密鑰] 中初始化數據倉庫密鑰",
|
||||
"27": "數據完整性校驗失敗",
|
||||
"28": "端到端加密密碼不正確,無法解密數據",
|
||||
"29": "該功能需要<a target='_blank' href='https://ld246.com/subscribe/siyuan'>付費訂閱</a>(如果你已經訂閱,請在設定-帳號中重繪或者重新登入)",
|
||||
|
|
|
|||
|
|
@ -769,7 +769,7 @@
|
|||
"23": "备份失败:%s",
|
||||
"24": "获取云端同步信息失败:%s",
|
||||
"25": "属性名仅支持英文字母和阿拉伯数字",
|
||||
"26": "生成认证密钥失败",
|
||||
"26": "请先在 [设置 - 关于 - 数据仓库密钥] 中初始化数据仓库密钥",
|
||||
"27": "数据完整性校验失败",
|
||||
"28": "端到端加密密码不正确,无法解密数据",
|
||||
"29": "该功能需要<a target='_blank' href='https://ld246.com/subscribe/siyuan'>付费订阅</a>(如果你已经订阅,请在 设置 - 账号中刷新或者重新登录)",
|
||||
|
|
|
|||
|
|
@ -31,6 +31,11 @@ import (
|
|||
)
|
||||
|
||||
func GetRepoIndexLogs(page int) (logs []*dejavu.Log, pageCount, totalCount int, err error) {
|
||||
if 1 > len(Conf.Repo.Key) {
|
||||
err = errors.New(Conf.Language(26))
|
||||
return
|
||||
}
|
||||
|
||||
repo, err := dejavu.NewRepo(util.DataDir, util.RepoDir, Conf.Repo.Key)
|
||||
if nil != err {
|
||||
util.LogErrorf("init repo failed: %s", err)
|
||||
|
|
@ -109,7 +114,7 @@ var checkoutCallbacks = map[string]dejavu.Callback{
|
|||
|
||||
func CheckoutRepo(id string) (err error) {
|
||||
if 1 > len(Conf.Repo.Key) {
|
||||
err = errors.New("repo key is nil")
|
||||
err = errors.New(Conf.Language(26))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +146,7 @@ var indexCallbacks = map[string]dejavu.Callback{
|
|||
|
||||
func IndexRepo(memo string) (err error) {
|
||||
if 1 > len(Conf.Repo.Key) {
|
||||
err = errors.New("repo key is nil")
|
||||
err = errors.New(Conf.Language(26))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue