mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-04-30 11:35:21 +08:00
部分中文转换为多语言代号
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/configloaders"
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||||
"github.com/TeaOSLab/EdgeCommon/pkg/langs/codes"
|
||||
"github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/shared"
|
||||
"github.com/iwind/TeaGo/actions"
|
||||
)
|
||||
@@ -38,7 +39,7 @@ func (this *SettingsAction) RunPost(params struct {
|
||||
Must *actions.Must
|
||||
CSRF *actionutils.CSRF
|
||||
}) {
|
||||
defer this.CreateLogInfo("修改日志相关配置")
|
||||
defer this.CreateLogInfo(codes.Log_LogUpdateSettings)
|
||||
|
||||
capacity := &shared.SizeCapacity{}
|
||||
err := json.Unmarshal(params.CapacityJSON, capacity)
|
||||
|
||||
Reference in New Issue
Block a user