mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
Do not use shared variable to translate templates
This commit is contained in:
parent
6b360d08c1
commit
ddd3af4b85
21 changed files with 104 additions and 101 deletions
|
@ -41,7 +41,7 @@ func (c *Controller) ShowStarredPage(ctx *handler.Context, request *handler.Requ
|
|||
return
|
||||
}
|
||||
|
||||
response.HTML().Render("starred", args.Merge(tplParams{
|
||||
response.HTML().Render("starred", ctx.UserLanguage(), args.Merge(tplParams{
|
||||
"entries": entries,
|
||||
"total": count,
|
||||
"pagination": c.getPagination(ctx.Route("starred"), count, offset),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue