mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-30 23:16:35 +08:00
部分中文转换为多语言代号
This commit is contained in:
@@ -62,7 +62,7 @@ func (this *IndexAction) RunGet(params struct {
|
||||
"name": grant.Name,
|
||||
"method": maps.Map{
|
||||
"type": grant.Method,
|
||||
"name": grantutils.FindGrantMethodName(grant.Method),
|
||||
"name": grantutils.FindGrantMethodName(grant.Method, this.LangCode()),
|
||||
},
|
||||
"username": grant.Username,
|
||||
"countClusters": countClusters,
|
||||
|
||||
Reference in New Issue
Block a user