add i18n translations

This commit is contained in:
杨黄林
2023-09-25 22:44:51 +08:00
parent 7310e1117c
commit cd5109e5f1
9 changed files with 93 additions and 68 deletions

View File

@@ -7,24 +7,14 @@ import (
const (
Success int = iota
ParamError
SaveError
FrpServerError
FrpClientError
ProxyExist
ProxyNotExist
)
const (
ProxyAdd int = iota
ProxyUpdate
ProxyRemove
)
const (
nameKey = "name"
oldNameKey = "_old_name"
)
const (
NameKey = "name"
OldNameKey = "_old_name"
SessionName = "GOSESSION"
AuthName = "_PANEL_AUTH"
LoginUrl = "/login"