🎨 为同步状态添加对应的图标 https://github.com/siyuan-note/siyuan/issues/7041

This commit is contained in:
Liang Ding 2023-01-24 12:00:32 +08:00
parent a8bab8ce62
commit 85a6c5e85d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 9 additions and 5 deletions

View file

@ -928,7 +928,7 @@
"50": "Resolving reference [%s]",
"51": "Cache content block [%d]",
"52": "Every time you open the user guide notebook data will be reset, so please do not save any data in it",
"53": "TODO",
"53": "Data synchronization has not been enabled",
"54": "Indexing references...",
"55": "Indexed references of [%d] documents",
"56": "TODO",

View file

@ -928,7 +928,7 @@
"50": "Resolviendo referencia [%s]",
"51": "Bloque de contenido de la caché [%d]",
"52": "Cada vez que abra la guía del usuario se restablecerán los datos del cuaderno, así que no guarde ningún dato en ella",
"53": "TODO",
"53": "No se ha habilitado la sincronizacion de datos",
"54": "Indexando referencias...",
"55": "Referencias indexadas de [%d] documentos",
"56": "TODO",

View file

@ -928,7 +928,7 @@
"50": "Résolution des référence [%s]",
"51": "Blocage du contenu du cache [%d]",
"52": "Chaque fois que vous ouvrez le guide de l'utilisateur, les données du notebook seront réinitialisées, veuillez donc ne pas y enregistrer de données.",
"53": "TODO",
"53": "La synchronisation des données n'a pas été activée",
"54": "Indexation des références...",
"55": "Références indexées de [%d] documents",
"56": "TODO",

View file

@ -928,7 +928,7 @@
"50": "正在解析引用 [%s]",
"51": "正在快取內容塊 [%d]",
"52": "每次打開使用者指南筆記本資料都會被重置,所以請勿在其中保存任何資料",
"53": "TODO",
"53": "數據同步尚未啟用",
"54": "正在索引引用關係...",
"55": "已完成索引 [%d] 篇文檔的引用關係",
"56": "TODO",

View file

@ -928,7 +928,7 @@
"50": "正在解析引用 [%s]",
"51": "正在缓存内容块 [%d]",
"52": "每次打开用户指南笔记本数据都会被重置,所以请勿在其中保存任何数据",
"53": "TODO",
"53": "数据同步尚未启用",
"54": "正在索引引用关系...",
"55": "已完成索引 [%d] 篇文档的引用关系",
"56": "TODO",

View file

@ -153,6 +153,10 @@ func getConf(c *gin.Context) {
return
}
if !maskedConf.Sync.Enabled || (0 == maskedConf.Sync.Provider && !model.IsSubscriber()) {
maskedConf.Sync.Stat = model.Conf.Language(53)
}
ret.Data = map[string]interface{}{
"conf": maskedConf,
"start": start,