mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 03:48:48 +01:00
🎨 Add plugin config items backends and frontends https://github.com/siyuan-note/siyuan/issues/8386
Improve plugin load performance https://github.com/siyuan-note/siyuan/issues/8397
This commit is contained in:
parent
bd9affef7f
commit
e541329790
6 changed files with 11 additions and 6 deletions
|
|
@ -1160,6 +1160,7 @@
|
|||
"201": "Failed to purge data repo: %s",
|
||||
"202": "Cleaning data repo...",
|
||||
"203": "The data repo is purged, [%d] snapshots and [%d] data objects have been deleted, and a total of [%s] disk space has been released",
|
||||
"204": "The doc in the user guide does not support sharing to the community"
|
||||
"204": "The doc in the user guide does not support sharing to the community",
|
||||
"205": "The plugin is not supported in the current environment"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1160,6 +1160,7 @@
|
|||
"201": "Error al purgar el repositorio de datos: %s",
|
||||
"202": "Limpiando repositorio de datos...",
|
||||
"203": "El repositorio de datos se purgó, [%d] instantáneas y [%d] objetos de datos se eliminaron y se liberó un total de [%s] espacio en disco",
|
||||
"204": "La documentación en la guía del usuario no permite compartir con la comunidad"
|
||||
"204": "La documentación en la guía del usuario no permite compartir con la comunidad",
|
||||
"205": "El complemento no es compatible con el entorno actual"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1160,6 +1160,7 @@
|
|||
"201": "Échec de la purge du référentiel de données : %s",
|
||||
"202": "Nettoyage du référentiel de données...",
|
||||
"203": "Le référentiel de données est purgé, [%d] instantanés et [%d] objets de données ont été supprimés, et un total de [%s] espace disque a été libéré",
|
||||
"204": "La documentation du guide de l'utilisateur ne prend pas en charge le partage avec la communauté"
|
||||
"204": "La documentation du guide de l'utilisateur ne prend pas en charge le partage avec la communauté",
|
||||
"205": "Le plugin n'est pas pris en charge dans l'environnement actuel"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1160,6 +1160,7 @@
|
|||
"201": "清理數據倉庫失敗:%s",
|
||||
"202": "正在清理數據倉庫...",
|
||||
"203": "數據倉庫清理完畢,已刪除 [%d] 個快照和 [%d] 個數據對象,共釋放 [%s] 磁盤空間",
|
||||
"204": "用戶指南中的文檔不支持分享到社區"
|
||||
"204": "用戶指南中的文檔不支持分享到社區",
|
||||
"205": "該插件不支持在當前環境下使用"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1162,6 +1162,7 @@
|
|||
"201": "清理数据仓库失败:%s",
|
||||
"202": "正在清理数据仓库...",
|
||||
"203": "数据仓库清理完毕,已删除 [%d] 个快照和 [%d] 个数据对象,共释放 [%s] 磁盘空间",
|
||||
"204": "用户指南中的文档不支持分享到社区"
|
||||
"204": "用户指南中的文档不支持分享到社区",
|
||||
"205": "该插件不支持在当前环境下使用"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ func SetPetalEnabled(name string, enabled bool, frontend string) (ret *Petal, er
|
|||
ret.Incompatible = incompatible
|
||||
|
||||
if incompatible {
|
||||
err = fmt.Errorf("plugin [%s] is incompatible", name)
|
||||
err = fmt.Errorf(Conf.Language(205))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue