mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	部分中文转换为多语言代号
This commit is contained in:
		@@ -219,7 +219,7 @@ func (this *DetailAction) RunGet(params struct {
 | 
			
		||||
					"id":         grantResp.NodeGrant.Id,
 | 
			
		||||
					"name":       grantResp.NodeGrant.Name,
 | 
			
		||||
					"method":     grantResp.NodeGrant.Method,
 | 
			
		||||
					"methodName": grantutils.FindGrantMethodName(grantResp.NodeGrant.Method),
 | 
			
		||||
					"methodName": grantutils.FindGrantMethodName(grantResp.NodeGrant.Method, this.LangCode()),
 | 
			
		||||
					"username":   grantResp.NodeGrant.Username,
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
@@ -34,7 +34,7 @@ func (this *LogsAction) RunGet(params struct {
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	this.Data["tags"] = nodelogutils.FindNodeCommonTags()
 | 
			
		||||
	this.Data["tags"] = nodelogutils.FindNodeCommonTags(this.LangCode())
 | 
			
		||||
 | 
			
		||||
	this.Data["nodeId"] = params.NodeId
 | 
			
		||||
	this.Data["dayFrom"] = params.DayFrom
 | 
			
		||||
 
 | 
			
		||||
@@ -59,7 +59,7 @@ func (this *IndexAction) RunGet(params struct {
 | 
			
		||||
					"id":         grantResp.NodeGrant.Id,
 | 
			
		||||
					"name":       grantResp.NodeGrant.Name,
 | 
			
		||||
					"method":     grantResp.NodeGrant.Method,
 | 
			
		||||
					"methodName": grantutils.FindGrantMethodName(grantResp.NodeGrant.Method),
 | 
			
		||||
					"methodName": grantutils.FindGrantMethodName(grantResp.NodeGrant.Method, this.LangCode()),
 | 
			
		||||
					"username":   grantResp.NodeGrant.Username,
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user