diff options
author | 2018-04-27 22:07:46 -0700 | |
---|---|---|
committer | 2018-04-27 22:07:46 -0700 | |
commit | ddd3af4b85f5a2fe85c17a9cc30cf54743b9eb59 (patch) | |
tree | 539b491fc9f67980b09a6ccd282454614a77f8b4 /ui/history.go | |
parent | 6b360d08c1f6c8a6cd1b7608f7af734a3ceef8d7 (diff) | |
download | v2-ddd3af4b85f5a2fe85c17a9cc30cf54743b9eb59.tar.gz v2-ddd3af4b85f5a2fe85c17a9cc30cf54743b9eb59.tar.zst v2-ddd3af4b85f5a2fe85c17a9cc30cf54743b9eb59.zip |
Do not use shared variable to translate templates
Diffstat (limited to 'ui/history.go')
-rw-r--r-- | ui/history.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/history.go b/ui/history.go index 63d0ca78..f9c8ab51 100644 --- a/ui/history.go +++ b/ui/history.go @@ -39,7 +39,7 @@ func (c *Controller) ShowHistoryPage(ctx *handler.Context, request *handler.Requ return } - response.HTML().Render("history", args.Merge(tplParams{ + response.HTML().Render("history", ctx.UserLanguage(), args.Merge(tplParams{ "entries": entries, "total": count, "pagination": c.getPagination(ctx.Route("history"), count, offset), |