Repository: jesseduffield/lazygit
File: pkg/i18n/english.go (Go)

Code before:
		MainWorktree:                        "(main)",
		CreateWorktree:                      "Create worktree",
		NewWorktreePath:                     "New worktree path",
		NewWorktreeBase:                     "New worktree base ref",
		BranchNameCannotBeBlank:             "Branch name cannot be blank",
		NewBranchName:                       "New branch name",
		NewBranchNameLeaveBlank:             "New branch name (leave blank to checkout {{.default}})",
		ViewWorktreeOptions:                 "View worktree options",
		CreateWorktreeFrom:                  "Create worktree from {{.ref}}",
		CreateWorktreeFromDetached:          "Create worktree from {{.ref}} (detached)",
		LcWorktree:                          "worktree",
		ChangingDirectoryTo:                 "Changing directory to {{.path}}",
		Name:                                "Name",
		Branch:                              "Branch",
		Path:                                "Path",
		MarkedBaseCommitStatus:              "Marked a base commit for rebase",
		MarkAsBaseCommit:                    "Mark commit as base commit for rebase",
		MarkAsBaseCommitTooltip:             "Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'.",
		MarkedCommitMarker:                  "↑↑↑ Will rebase from here ↑↑↑",
		PleaseGoToURL:                       "Please go to {{.url}}",
		DisabledMenuItemPrefix:              "Disabled: ",
		NoCommitSelected:                    "No commit selected",
		NoCopiedCommits:                     "No copied commits",
		QuickStartInteractiveRebase:         "Start interactive rebase",
		QuickStartInteractiveRebaseTooltip:  "Start an interactive rebase for the commits on your branch. This will include all commits from the HEAD commit down to the first merge commit or main branch commit.\nIf you would instead like to start an interactive rebase from the selected commit, press `{{.editKey}}`.",
		CouldNotQuickStartInteractiveRebase: "Could not start interactive rebase: the HEAD commit is a merge commit or is present on the main branch, so there is no appropriate base commit to start the rebase from. You can start an interactive rebase from a specific commit by selecting the commit and pressing `{{.editKey}}`.",
		Actions: Actions{
			// TODO: combine this with the original keybinding descriptions (those are all in lowercase atm)
			CheckoutCommit:                    "Checkout commit",
			CheckoutTag:                       "Checkout tag",
			CheckoutBranch:                    "Checkout branch",
			ForceCheckoutBranch:               "Force checkout branch",
			DeleteLocalBranch:                 "Delete local branch",
			DeleteBranch:                      "Delete branch",
			Merge:                             "Merge",
			RebaseBranch:                      "Rebase branch",
			RenameBranch:                      "Rename branch",
			CreateBranch:                      "Create branch",
			CherryPick:                        "(Cherry-pick) paste commits",
			CheckoutFile:                      "Checkout file",
			DiscardOldFileChange:              "Discard old file change",
			SquashCommitDown:                  "Squash commit down",
			FixupCommit:                       "Fixup commit",
			RewordCommit:                      "Reword commit",
			DropCommit:                        "Drop commit",
			EditCommit:                        "Edit commit",
			AmendCommit:                       "Amend commit",
			ResetCommitAuthor:                 "Reset commit author",
			SetCommitAuthor:                   "Set commit author",
			RevertCommit:                      "Revert commit",
			CreateFixupCommit:                 "Create fixup commit",

Review comment (refactor):
It's weird to see a "Disabled:" tooltip in the keybindings menu that starts with "Could not".

Since this is now _only_ used for the disabled reason and not for regular error checking in the handler, it should be rephrased and renamed. I pushed a fixup (6c9796a7384) to do this and to change the logic a bit to make this clearer.

With the show-disabled-reasons-as-toasts branch we will still have the problem that the text is much too long for the bottom line view; also, when used as a disabled tooltip in the menu it doesn't need to be this long, since it basically only repeats what the regular tooltip already says. Not totally sure what to do about this, but my feeling is that the Disabled reason should be shortened a lot to be just "No non-main commits to rebase" or something like that.

Code after:
		MainWorktree:                        "(main)",
		CreateWorktree:                      "Create worktree",
		NewWorktreePath:                     "New worktree path",
		NewWorktreeBase:                     "New worktree base ref",
		BranchNameCannotBeBlank:             "Branch name cannot be blank",
		NewBranchName:                       "New branch name",
		NewBranchNameLeaveBlank:             "New branch name (leave blank to checkout {{.default}})",
		ViewWorktreeOptions:                 "View worktree options",
		CreateWorktreeFrom:                  "Create worktree from {{.ref}}",
		CreateWorktreeFromDetached:          "Create worktree from {{.ref}} (detached)",
		LcWorktree:                          "worktree",
		ChangingDirectoryTo:                 "Changing directory to {{.path}}",
		Name:                                "Name",
		Branch:                              "Branch",
		Path:                                "Path",
		MarkedBaseCommitStatus:              "Marked a base commit for rebase",
		MarkAsBaseCommit:                    "Mark commit as base commit for rebase",
		MarkAsBaseCommitTooltip:             "Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'.",
		MarkedCommitMarker:                  "↑↑↑ Will rebase from here ↑↑↑",
		PleaseGoToURL:                       "Please go to {{.url}}",
		DisabledMenuItemPrefix:              "Disabled: ",
		NoCommitSelected:                    "No commit selected",
		NoCopiedCommits:                     "No copied commits",
		QuickStartInteractiveRebase:         "Start interactive rebase",
		QuickStartInteractiveRebaseTooltip:  "Start an interactive rebase for the commits on your branch. This will include all commits from the HEAD commit down to the first merge commit or main branch commit.\nIf you would instead like to start an interactive rebase from the selected commit, press `{{.editKey}}`.",
		CannotQuickStartInteractiveRebase:   "Cannot start interactive rebase: the HEAD commit is a merge commit or is present on the main branch, so there is no appropriate base commit to start the rebase from. You can start an interactive rebase from a specific commit by selecting the commit and pressing `{{.editKey}}`.",
		Actions: Actions{
			// TODO: combine this with the original keybinding descriptions (those are all in lowercase atm)
			CheckoutCommit:                    "Checkout commit",
			CheckoutTag:                       "Checkout tag",
			CheckoutBranch:                    "Checkout branch",
			ForceCheckoutBranch:               "Force checkout branch",
			DeleteLocalBranch:                 "Delete local branch",
			DeleteBranch:                      "Delete branch",
			Merge:                             "Merge",
			RebaseBranch:                      "Rebase branch",
			RenameBranch:                      "Rename branch",
			CreateBranch:                      "Create branch",
			CherryPick:                        "(Cherry-pick) paste commits",
			CheckoutFile:                      "Checkout file",
			DiscardOldFileChange:              "Discard old file change",
			SquashCommitDown:                  "Squash commit down",
			FixupCommit:                       "Fixup commit",
			RewordCommit:                      "Reword commit",
			DropCommit:                        "Drop commit",
			EditCommit:                        "Edit commit",
			AmendCommit:                       "Amend commit",
			ResetCommitAuthor:                 "Reset commit author",
			SetCommitAuthor:                   "Set commit author",
			RevertCommit:                      "Revert commit",
			CreateFixupCommit:                 "Create fixup commit",