diff options
author | 2018-04-27 22:07:46 -0700 | |
---|---|---|
committer | 2018-04-27 22:07:46 -0700 | |
commit | ddd3af4b85f5a2fe85c17a9cc30cf54743b9eb59 (patch) | |
tree | 539b491fc9f67980b09a6ccd282454614a77f8b4 /ui/unread.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/unread.go')
-rw-r--r-- | ui/unread.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/unread.go b/ui/unread.go index 41026d0e..f38a12f4 100644 --- a/ui/unread.go +++ b/ui/unread.go @@ -39,7 +39,7 @@ func (c *Controller) ShowUnreadPage(ctx *handler.Context, request *handler.Reque return } - response.HTML().Render("unread", tplParams{ + response.HTML().Render("unread", ctx.UserLanguage(), tplParams{ "user": user, "countUnread": countUnread, "entries": entries, |