mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 18:13:10 +02:00
Update go-ini dependency and remove semicolon hack in translations (#2913)
This commit is contained in:
1 parent
bd23e36bec
commit
a6f337046f
17 files changed
+584
-429
No files matched your search
@@ -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