1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-15 11:56:37 +02:00

run go fmt against generator

This commit is contained in:
Dawid Dziurla 2019-01-16 18:54:54 +01:00 committed by Jesse Duffield
parent d5401ab200
commit 0dcfa09ff2

View File

@ -24,7 +24,7 @@ func writeString(file *os.File, str string) {
}
}
func getTitle(mApp *app.App ,viewName string) string {
func getTitle(mApp *app.App, viewName string) string {
viewTitle := strings.Title(viewName) + "Title"
translatedTitle := mApp.Tr.SLocalize(viewTitle)
formattedTitle := fmt.Sprintf("\n## %s\n\n", translatedTitle)