summaryrefslogtreecommitdiffstats
path: root/pkg/i18n
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-07-16 11:20:22 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-07-30 18:35:21 +1000
commit03f726038e05f420e7a4ff9837a9ee46635b1297 (patch)
treef125f8810fb2e2ce9f91ffd41ce18e077000da5e /pkg/i18n
parent796945aad00eb894eb446c0d78c49561d43af075 (diff)
Alert when attempting to enter the current worktree
Diffstat (limited to 'pkg/i18n')
-rw-r--r--pkg/i18n/english.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index 17ccacab1..cff0e367b 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -550,6 +550,7 @@ type TranslationSet struct {
DeleteWorktreePrompt string
ForceDeleteWorktreePrompt string
CantDeleteCurrentWorktree string
+ AlreadyInWorktree string
CantDeleteMainWorktree string
NoWorktreesThisRepo string
MissingWorktree string
@@ -1268,6 +1269,7 @@ func EnglishTranslationSet() TranslationSet {
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!",
+ AlreadyInWorktree: "You are already in the selected worktree",
CantDeleteMainWorktree: "You cannot delete the main worktree!",
NoWorktreesThisRepo: "No worktrees",
MissingWorktree: "(missing)",