2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00

feat: 初步支持l10n

This commit is contained in:
2025-04-12 04:27:10 +08:00
parent 486a9fb58b
commit 3021f466f0
14 changed files with 260 additions and 31 deletions

View File

@@ -153,7 +153,7 @@ func initWeb() (*app.Web, error) {
if err != nil {
return nil, err
}
validation := bootstrap.NewValidator(db)
validation := bootstrap.NewValidator(koanf, db)
web := app.NewWeb(koanf, mux, server, gormigrate, cron, queue, validation)
return web, nil
}