diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-04-27 22:07:46 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-04-27 22:07:46 -0700 |
commit | ddd3af4b85f5a2fe85c17a9cc30cf54743b9eb59 (patch) | |
tree | 539b491fc9f67980b09a6ccd282454614a77f8b4 /ui/about.go | |
parent | 6b360d08c1f6c8a6cd1b7608f7af734a3ceef8d7 (diff) |
Do not use shared variable to translate templates
Diffstat (limited to 'ui/about.go')
-rw-r--r-- | ui/about.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/about.go b/ui/about.go index 91713d8..4de46a8 100644 --- a/ui/about.go +++ b/ui/about.go @@ -17,7 +17,7 @@ func (c *Controller) AboutPage(ctx *handler.Context, request *handler.Request, r return } - response.HTML().Render("about", args.Merge(tplParams{ + response.HTML().Render("about", ctx.UserLanguage(), args.Merge(tplParams{ "version": version.Version, "build_date": version.BuildDate, "menu": "settings", |