mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-05-01 12:25:19 +08:00
部分中文转换为多语言代号
This commit is contained in:
@@ -36,19 +36,19 @@ func (this *Helper) BeforeAction(actionPtr actions.ActionWrapper) {
|
||||
}
|
||||
}
|
||||
|
||||
var ocspMenuName = this.Lang(actionPtr, codes.AdminCertMenuOCSP)
|
||||
var ocspMenuName = this.Lang(actionPtr, codes.SSLCert_MenuOCSP)
|
||||
if countOCSP > 0 {
|
||||
ocspMenuName += "(" + types.String(countOCSP) + ")"
|
||||
}
|
||||
|
||||
var menu = []maps.Map{
|
||||
{
|
||||
"name": this.Lang(actionPtr, codes.AdminCertMenuCerts),
|
||||
"name": this.Lang(actionPtr, codes.SSLCert_MenuCerts),
|
||||
"url": "/servers/certs",
|
||||
"isActive": action.Data.GetString("leftMenuItem") == "cert",
|
||||
},
|
||||
{
|
||||
"name": this.Lang(actionPtr, codes.AdminCertMenuApply),
|
||||
"name": this.Lang(actionPtr, codes.SSLCert_MenuApply),
|
||||
"url": "/servers/certs/acme",
|
||||
"isActive": action.Data.GetString("leftMenuItem") == "acme",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user