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

Use a better name for the auto-stash for creating a new branch

For the case of creating a new branch by moving commits to it, we were using the
current (old) branch name in the stash name; change this to use the new name
instead.
This commit is contained in:
Stefan Haller
2025-07-02 10:54:51 +02:00
parent 908975c758
commit 2a7ce19b73
2 changed files with 11 additions and 9 deletions

View File

@@ -450,6 +450,7 @@ type TranslationSet struct {
StashPrefix string
AutoStashForUndo string
AutoStashForCheckout string
AutoStashForNewBranch string
Discard string
DiscardChangesTitle string
DiscardFileChangesTooltip string
@@ -1545,6 +1546,7 @@ func EnglishTranslationSet() *TranslationSet {
StashPrefix: "Auto-stashing changes for ",
AutoStashForUndo: "Auto-stashing changes for undoing to %s",
AutoStashForCheckout: "Auto-stashing changes for checking out %s",
AutoStashForNewBranch: "Auto-stashing changes for creating new branch %s",
Discard: "Discard",
DiscardFileChangesTooltip: "View options for discarding changes to the selected file.",
DiscardChangesTitle: "Discard changes",