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

feat: 完成应用翻译

This commit is contained in:
2025-04-12 05:25:25 +08:00
parent 3021f466f0
commit 771a9d1f28
27 changed files with 1212 additions and 306 deletions

View File

@@ -2,6 +2,7 @@ package php84
import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/tnb-labs/panel/internal/apps/php"
"github.com/tnb-labs/panel/internal/biz"
@@ -11,9 +12,9 @@ type App struct {
php *php.App
}
func NewApp(task biz.TaskRepo) *App {
func NewApp(t *gotext.Locale, task biz.TaskRepo) *App {
return &App{
php: php.NewApp(task),
php: php.NewApp(t, task),
}
}