summaryrefslogtreecommitdiffstats
path: root/pkg/gui/branches_panel.go
diff options
context:
space:
mode:
authorMark Kopenga <mkopenga@gmail.com>2018-08-16 11:31:03 +0200
committerMark Kopenga <mkopenga@gmail.com>2018-08-16 11:31:03 +0200
commit90746502df432ce88ed1b62e36414c2142322ff7 (patch)
tree9560430c78abdc28059caac11ec402d03875e1c1 /pkg/gui/branches_panel.go
parent88e1a815fe5c4ddf21779ca4a93f029b7b9b9239 (diff)
Fixed comments from jesseduffield on issue #137
Diffstat (limited to 'pkg/gui/branches_panel.go')
-rw-r--r--pkg/gui/branches_panel.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go
index 2a08eb8b1..67e0ceb07 100644
--- a/pkg/gui/branches_panel.go
+++ b/pkg/gui/branches_panel.go
@@ -47,7 +47,7 @@ func (gui *Gui) handleNewBranch(g *gocui.Gui, v *gocui.View) error {
branch := gui.State.Branches[0]
message := gui.Tr.TemplateLocalize(
"NewBranchNameBranchOff",
- map[string]interface{}{
+ Teml{
"branchName": branch.Name,
},
)
@@ -69,7 +69,7 @@ func (gui *Gui) handleDeleteBranch(g *gocui.Gui, v *gocui.View) error {
}
message := gui.Tr.TemplateLocalize(
"DeleteBranchMessage",
- map[string]interface{}{
+ Teml{
"selectedBranchName": selectedBranch.Name,
},
)