mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Update go-ini dependency and remove semicolon hack in translations (#2913)
This commit is contained in:
		@@ -160,10 +160,6 @@ func NewFuncMap() []template.FuncMap {
 | 
			
		||||
			return setting.DisableGitHooks
 | 
			
		||||
		},
 | 
			
		||||
		"TrN": TrN,
 | 
			
		||||
		// TODO: Remove this once go-ini parser supports unescaping comment characters
 | 
			
		||||
		"UnescapeLocale": func(str string) string {
 | 
			
		||||
			return strings.NewReplacer("\\;", ";", "\\#", "#").Replace(str)
 | 
			
		||||
		},
 | 
			
		||||
	}}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user