mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-13 11:50:28 +02:00
Fixed comments from jesseduffield on issue #137
This commit is contained in:
parent
90746502df
commit
faf218f465
@ -77,7 +77,7 @@ func (gui *Gui) stashDo(g *gocui.Gui, v *gocui.View, method string) error {
|
|||||||
if stashEntry == nil {
|
if stashEntry == nil {
|
||||||
errorMessage := gui.Tr.TemplateLocalize(
|
errorMessage := gui.Tr.TemplateLocalize(
|
||||||
"NoStashTo",
|
"NoStashTo",
|
||||||
map[string]interface{}{
|
Teml{
|
||||||
"method": method,
|
"method": method,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
@ -31,7 +31,7 @@ func (gui *Gui) nextView(g *gocui.Gui, v *gocui.View) error {
|
|||||||
if i == len(cyclableViews)-1 {
|
if i == len(cyclableViews)-1 {
|
||||||
message := gui.Tr.TemplateLocalize(
|
message := gui.Tr.TemplateLocalize(
|
||||||
"IssntListOfViews",
|
"IssntListOfViews",
|
||||||
map[string]interface{}{
|
Teml{
|
||||||
"name": v.Name(),
|
"name": v.Name(),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
@ -60,7 +60,7 @@ func (gui *Gui) previousView(g *gocui.Gui, v *gocui.View) error {
|
|||||||
if i == len(cyclableViews)-1 {
|
if i == len(cyclableViews)-1 {
|
||||||
message := gui.Tr.TemplateLocalize(
|
message := gui.Tr.TemplateLocalize(
|
||||||
"IssntListOfViews",
|
"IssntListOfViews",
|
||||||
map[string]interface{}{
|
Teml{
|
||||||
"name": v.Name(),
|
"name": v.Name(),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
@ -119,7 +119,7 @@ func (gui *Gui) switchFocus(g *gocui.Gui, oldView, newView *gocui.View) error {
|
|||||||
oldView.Highlight = false
|
oldView.Highlight = false
|
||||||
message := gui.Tr.TemplateLocalize(
|
message := gui.Tr.TemplateLocalize(
|
||||||
"settingPreviewsViewTo",
|
"settingPreviewsViewTo",
|
||||||
map[string]interface{}{
|
Teml{
|
||||||
"oldViewName": oldView.Name(),
|
"oldViewName": oldView.Name(),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
@ -129,7 +129,7 @@ func (gui *Gui) switchFocus(g *gocui.Gui, oldView, newView *gocui.View) error {
|
|||||||
newView.Highlight = true
|
newView.Highlight = true
|
||||||
message := gui.Tr.TemplateLocalize(
|
message := gui.Tr.TemplateLocalize(
|
||||||
"newFocusedViewIs",
|
"newFocusedViewIs",
|
||||||
map[string]interface{}{
|
Teml{
|
||||||
"newFocusedView": newView.Name(),
|
"newFocusedView": newView.Name(),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user