diff options
author | Joel Baranick <joel.baranick@ensighten.com> | 2022-09-01 17:58:36 -0700 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-30 18:35:21 +1000 |
commit | afc4aedd4f20c0b6fb021e95bf45e1d867315560 (patch) | |
tree | a8cc721f247eb9c48bd0fca5e4efa082c2d9e45d /pkg/i18n | |
parent | f8ba899b8734db7dcf3ae57cc34939db18a1a414 (diff) |
Support for deleting a worktree
Diffstat (limited to 'pkg/i18n')
-rw-r--r-- | pkg/i18n/english.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index a47056b55..27288e078 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -543,6 +543,12 @@ type TranslationSet struct { ExitSearchMode string ExitTextFilterMode string EnterWorktree string + DeleteWorktree string + DeleteWorktreeTitle string + DeleteWorktreePrompt string + ForceDeleteWorktreePrompt string + CantDeleteCurrentWorktree string + CantDeleteMainWorktree string Actions Actions Bisect Bisect } @@ -673,6 +679,7 @@ type Actions struct { ResetBisect string BisectSkip string BisectMark string + DeleteWorktree string } const englishIntroPopupMessage = ` @@ -1243,6 +1250,12 @@ func EnglishTranslationSet() TranslationSet { SearchPrefix: "Search: ", FilterPrefix: "Filter: ", EnterWorktree: "Enter worktree", + DeleteWorktree: "Delete worktree", + DeleteWorktreeTitle: "Delete worktree", + DeleteWorktreePrompt: "Are you sure you want to delete worktree '{{.worktreeName}}'?", + ForceDeleteWorktreePrompt: "'{{.worktreeName}}' is not fully merged. Are you sure you want to delete it?", + CantDeleteCurrentWorktree: "You cannot delete the current worktree!", + CantDeleteMainWorktree: "You cannot delete the main worktree!", Actions: Actions{ // TODO: combine this with the original keybinding descriptions (those are all in lowercase atm) CheckoutCommit: "Checkout commit", @@ -1350,6 +1363,7 @@ func EnglishTranslationSet() TranslationSet { ResetBisect: "Reset bisect", BisectSkip: "Bisect skip", BisectMark: "Bisect mark", + DeleteWorktree: "Delete worktree", }, Bisect: Bisect{ Mark: "Mark current commit (%s) as %s", |