diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-24 09:25:51 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-24 09:45:27 +1100 |
commit | f113ff21bff22bc9e3dc683a4f52822233b76b95 (patch) | |
tree | 44a9e0805391296d460333ef415cc210f89140ca /pkg/i18n | |
parent | 12ecd665c8f69e45e00629b05c2b3af72f3e3b51 (diff) |
add confirmation before performing undo or redo action
Diffstat (limited to 'pkg/i18n')
-rw-r--r-- | pkg/i18n/english.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index c7965e6a9..e72fe7d06 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -456,6 +456,8 @@ type TranslationSet struct { ConfirmRevertCommit string RewordInEditorTitle string RewordInEditorPrompt string + CheckoutPrompt string + HardResetAutostashPrompt string Actions Actions Bisect Bisect } @@ -1031,7 +1033,8 @@ func EnglishTranslationSet() TranslationSet { ConfirmRevertCommit: "Are you sure you want to revert {{.selectedCommit}}?", RewordInEditorTitle: "Reword in editor", RewordInEditorPrompt: "Are you sure you want to reword this commit in your editor?", - + HardResetAutostashPrompt: "Are you sure you want to hard reset to '%s'? An auto-stash will be performed if necessary.", + CheckoutPrompt: "Are you sure you want to checkout '%s'?", Actions: Actions{ // TODO: combine this with the original keybinding descriptions (those are all in lowercase atm) CheckoutCommit: "Checkout commit", |