1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

softer auto-generation message

This commit is contained in:
Jesse Duffield
2022-01-19 21:36:42 +11:00
parent b5a8ecf786
commit 1f923bdc4b
5 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
# This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run `go run scripts/cheatsheet/main.go generate` from the project root. _This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run `go run scripts/cheatsheet/main.go generate` from the project root._
# Lazygit Keybindings # Lazygit Keybindings

View File

@@ -1,4 +1,4 @@
# This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run `go run scripts/cheatsheet/main.go generate` from the project root. _This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run `go run scripts/cheatsheet/main.go generate` from the project root._
# Lazygit Sneltoetsen # Lazygit Sneltoetsen

View File

@@ -1,4 +1,4 @@
# This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run `go run scripts/cheatsheet/main.go generate` from the project root. _This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run `go run scripts/cheatsheet/main.go generate` from the project root._
# Lazygit Keybindings # Lazygit Keybindings

View File

@@ -1,4 +1,4 @@
# This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run `go run scripts/cheatsheet/main.go generate` from the project root. _This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run `go run scripts/cheatsheet/main.go generate` from the project root._
# Lazygit 按键绑定 # Lazygit 按键绑定

View File

@@ -51,8 +51,8 @@ func generateAtDir(cheatsheetDir string) {
bindingSections := getBindingSections(mApp) bindingSections := getBindingSections(mApp)
content := formatSections(mApp.Tr, bindingSections) content := formatSections(mApp.Tr, bindingSections)
content = fmt.Sprintf("# This file is auto-generated. To update, make the changes in the "+ content = fmt.Sprintf("_This file is auto-generated. To update, make the changes in the "+
"pkg/i18n directory and then run `%s` from the project root.\n\n%s", CommandToRun(), content) "pkg/i18n directory and then run `%s` from the project root._\n\n%s", CommandToRun(), content)
writeString(file, content) writeString(file, content)
} }
} }