Files
aego/modules/debug/docs.go
T
sanspie 2fcbaa6c12 Stage 11g1: the editor in Russian (D348)
engine/i18n with catalogs, plural forms and module catalogs; tools/i18n extract and check; the editor UI, menus, panels and notices in Russian with the author's terms; overflow test and tooltip wrapping; the English log.
2026-10-25 15:31:22 +03:00

23 lines
344 B
Go

//go:build !aego_runtime
package debug
import (
"embed"
"io/fs"
"aego/engine/module"
)
//go:embed res/docs res/i18n
var docFiles embed.FS
func registerDocs(r *module.Registry) {
if sub, err := fs.Sub(docFiles, "res/docs"); err == nil {
r.Docs(sub)
}
if sub, err := fs.Sub(docFiles, "res/i18n"); err == nil {
r.Messages(sub)
}
}