Update go-ini dependency and remove semicolon hack in translations (#2913)

This commit is contained in:
Lauris BH authored and Lunny Xiao committed 2017-11-15 11:34:42 +08:00
1 parent bd23e36bec
commit a6f337046f
17 files changed
+584 -429

No files matched your search

-4
View File
@@ -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)
},
}}
}