mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-10 22:42:00 +02:00
docs: Add reference to confirmation key to intro message
This commit is contained in:
committed by
Stefan Haller
parent
b766ff9c83
commit
0ef3832e59
@@ -1012,9 +1012,16 @@ func (gui *Gui) showIntroPopupMessage() {
|
||||
return err
|
||||
}
|
||||
|
||||
introMessage := utils.ResolvePlaceholderString(
|
||||
gui.c.Tr.IntroPopupMessage,
|
||||
map[string]string{
|
||||
"confirmationKey": gui.c.UserConfig().Keybinding.Universal.Confirm,
|
||||
},
|
||||
)
|
||||
|
||||
gui.c.Confirm(types.ConfirmOpts{
|
||||
Title: "",
|
||||
Prompt: gui.c.Tr.IntroPopupMessage,
|
||||
Prompt: introMessage,
|
||||
HandleConfirm: onConfirm,
|
||||
HandleClose: onConfirm,
|
||||
})
|
||||
|
@@ -1019,6 +1019,8 @@ Thanks for using lazygit! Seriously you rock. Three things to share with you:
|
||||
You can also sponsor me and tell me what to work on by clicking the donate
|
||||
button at the bottom right.
|
||||
Or even just star the repo to share the love!
|
||||
|
||||
Press {{confirmationKey}} to get started.
|
||||
`
|
||||
|
||||
const englishDeprecatedEditConfigWarning = `
|
||||
|
Reference in New Issue
Block a user