forked from forgejo/forgejo
Update go-ini dependency and remove semicolon hack in translations (#2913)
This commit is contained in:
parent
bd23e36bec
commit
a6f337046f
17 changed files with 584 additions and 429 deletions
|
@ -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)
|
||||
},
|
||||
}}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue