mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +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
|
@ -27,7 +27,7 @@ func (c *Controller) ShowIntegrations(ctx *handler.Context, request *handler.Req
|
|||
return
|
||||
}
|
||||
|
||||
response.HTML().Render("integrations", args.Merge(tplParams{
|
||||
response.HTML().Render("integrations", ctx.UserLanguage(), args.Merge(tplParams{
|
||||
"menu": "settings",
|
||||
"form": form.IntegrationForm{
|
||||
PinboardEnabled: integration.PinboardEnabled,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue