1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-09 13:47:11 +02:00

Fixed comments from jesseduffield on issue #137

This commit is contained in:
Mark Kopenga 2018-08-16 11:31:50 +02:00
parent 90746502df
commit faf218f465
2 changed files with 5 additions and 5 deletions

View File

@ -77,7 +77,7 @@ func (gui *Gui) stashDo(g *gocui.Gui, v *gocui.View, method string) error {
if stashEntry == nil {
errorMessage := gui.Tr.TemplateLocalize(
"NoStashTo",
map[string]interface{}{
Teml{
"method": method,
},
)

View File

@ -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(),
},
)