summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-11-15 05:34:42 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-11-15 11:34:42 +0800
commita6f337046f0dde4cbf5df1cc83a9e0e79a4db8aa (patch)
treeff8c2373a537e415c50a2a2ad3f8a7b1b5e9e17a /modules
parentbd23e36becde2fbf109c51ee2abcaa167880a29a (diff)
downloadgitea-a6f337046f0dde4cbf5df1cc83a9e0e79a4db8aa.tar.gz
gitea-a6f337046f0dde4cbf5df1cc83a9e0e79a4db8aa.zip
Update go-ini dependency and remove semicolon hack in translations (#2913)
Diffstat (limited to 'modules')
-rw-r--r--modules/templates/helper.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index ae2efc2585..454bd648a3 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -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)
- },
}}
}