diff options
Diffstat (limited to 'pkg/gui/view_helpers.go')
-rw-r--r-- | pkg/gui/view_helpers.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index 0d215a337..95324ecde 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -31,7 +31,7 @@ func (gui *Gui) nextView(g *gocui.Gui, v *gocui.View) error { if i == len(cyclableViews)-1 { message := gui.Tr.TemplateLocalize( "IssntListOfViews", - map[string]interface{}{ + Teml{ "name": v.Name(), }, ) @@ -60,7 +60,7 @@ func (gui *Gui) previousView(g *gocui.Gui, v *gocui.View) error { if i == len(cyclableViews)-1 { message := gui.Tr.TemplateLocalize( "IssntListOfViews", - map[string]interface{}{ + Teml{ "name": v.Name(), }, ) @@ -119,7 +119,7 @@ func (gui *Gui) switchFocus(g *gocui.Gui, oldView, newView *gocui.View) error { oldView.Highlight = false message := gui.Tr.TemplateLocalize( "settingPreviewsViewTo", - map[string]interface{}{ + Teml{ "oldViewName": oldView.Name(), }, ) @@ -129,7 +129,7 @@ func (gui *Gui) switchFocus(g *gocui.Gui, oldView, newView *gocui.View) error { newView.Highlight = true message := gui.Tr.TemplateLocalize( "newFocusedViewIs", - map[string]interface{}{ + Teml{ "newFocusedView": newView.Name(), }, ) |