🎨 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:
Daniel 2023-05-29 21:21:18 +08:00
parent bd9affef7f
commit e541329790
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 11 additions and 6 deletions

View file

@ -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
}