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

Code before:
		NoCommitToAmend:                     "There's no commit to amend.",
		CommitChangesWithEditor:             "Commit changes using git editor",
		StatusTitle:                         "Status",
		Menu:                                "Menu",
		Execute:                             "Execute",
		ToggleStaged:                        "Toggle staged",
		ToggleStagedAll:                     "Stage/unstage all",
		ToggleTreeView:                      "Toggle file tree view",
		OpenMergeTool:                       "Open external merge tool (git mergetool)",
		Refresh:                             "Refresh",
		Push:                                "Push",
		Pull:                                "Pull",
		Scroll:                              "Scroll",
		MergeConflictsTitle:                 "Merge conflicts",
		Checkout:                            "Checkout",
		CantCheckoutBranchWhilePulling:      "You cannot checkout another branch while pulling the current branch",
		CantPullOrPushSameBranchTwice:       "You cannot push or pull a branch while it is already being pushed or pulled",
		FileFilter:                          "Filter files by status",
		CopyToClipboardMenu:                 "Copy to clipboard",
		CopyFileName:                        "File name",
		CopyFilePath:                        "Path",
		CopyFileDiffTooltip:                 "If there are staged items, this command considers only them. Otherwise, it considers all the unstaged ones.",
		CopySelectedDiff:                    "Diff of selected file",
		CopyAllFilesDiff:                    "Diff of all files",
		NoContentToCopyError:                "Nothing to copy",
		FileCopyNoItemSelectedError:         "You need to select a file/directory",
		FileNameCopiedToast:                 "File name copied to clipboard",
		FilePathCopiedToast:                 "File path copied to clipboard",
		FileDiffCopiedToast:                 "File diff copied to clipboard",
		AllFilesDiffCopiedToast:             "All files diff copied to clipboard",
		FilterStagedFiles:                   "Show only staged files",
		FilterUnstagedFiles:                 "Show only unstaged files",
		ResetFilter:                         "Reset filter",
		NoChangedFiles:                      "No changed files",
		SoftReset:                           "Soft reset",
		AlreadyCheckedOutBranch:             "You have already checked out this branch",
		SureForceCheckout:                   "Are you sure you want force checkout? You will lose all local changes",
		ForceCheckoutBranch:                 "Force checkout branch",
		BranchName:                          "Branch name",
		NewBranchNameBranchOff:              "New branch name (branch is off of '{{.branchName}}')",
		CantDeleteCheckOutBranch:            "You cannot delete the checked out branch!",
		DeleteBranchTitle:                   "Delete branch '{{.selectedBranchName}}'?",
		DeleteLocalBranch:                   "Delete local branch",
		DeleteRemoteBranchOption:            "Delete remote branch",
		DeleteRemoteBranchPrompt:            "Are you sure you want to delete the remote branch '{{.selectedBranchName}}' from '{{.upstream}}'?",
		ForceDeleteBranchTitle:              "Force delete branch",
		ForceDeleteBranchMessage:            "'{{.selectedBranchName}}' is not fully merged. Are you sure you want to delete it?",
		RebaseBranch:                        "Rebase checked-out branch onto this branch",
		CantRebaseOntoSelf:                  "You cannot rebase a branch onto itself",
		CantMergeBranchIntoItself:           "You cannot merge a branch into itself",
		ForceCheckout:                       "Force checkout",

Review comment (suggestion):
I'm not sure it's worth distinguishing between the two cases. The second one is actually a bit misleading when you select an untracked file, or a directory with only untracked files, because the user _did_ select a file, just not a tracked or staged one. Personally I feel it's good enough to show "Nothing to copy" in all cases.

Code after:
		CommitChangesWithEditor:             "Commit changes using git editor",
		StatusTitle:                         "Status",
		Menu:                                "Menu",
		Execute:                             "Execute",
		ToggleStaged:                        "Toggle staged",
		ToggleStagedAll:                     "Stage/unstage all",
		ToggleTreeView:                      "Toggle file tree view",
		OpenMergeTool:                       "Open external merge tool (git mergetool)",
		Refresh:                             "Refresh",
		Push:                                "Push",
		Pull:                                "Pull",
		Scroll:                              "Scroll",
		MergeConflictsTitle:                 "Merge conflicts",
		Checkout:                            "Checkout",
		CantCheckoutBranchWhilePulling:      "You cannot checkout another branch while pulling the current branch",
		CantPullOrPushSameBranchTwice:       "You cannot push or pull a branch while it is already being pushed or pulled",
		FileFilter:                          "Filter files by status",
		CopyToClipboardMenu:                 "Copy to clipboard",
		CopyFileName:                        "File name",
		CopyFilePath:                        "Path",
		CopyFileDiffTooltip:                 "If there are staged items, this command considers only them. Otherwise, it considers all the unstaged ones.",
		CopySelectedDiff:                    "Diff of selected file",
		CopyAllFilesDiff:                    "Diff of all files",
		NoContentToCopyError:                "Nothing to copy",
		FileNameCopiedToast:                 "File name copied to clipboard",
		FilePathCopiedToast:                 "File path copied to clipboard",
		FileDiffCopiedToast:                 "File diff copied to clipboard",
		AllFilesDiffCopiedToast:             "All files diff copied to clipboard",
		FilterStagedFiles:                   "Show only staged files",
		FilterUnstagedFiles:                 "Show only unstaged files",
		ResetFilter:                         "Reset filter",
		NoChangedFiles:                      "No changed files",
		SoftReset:                           "Soft reset",
		AlreadyCheckedOutBranch:             "You have already checked out this branch",
		SureForceCheckout:                   "Are you sure you want force checkout? You will lose all local changes",
		ForceCheckoutBranch:                 "Force checkout branch",
		BranchName:                          "Branch name",
		NewBranchNameBranchOff:              "New branch name (branch is off of '{{.branchName}}')",
		CantDeleteCheckOutBranch:            "You cannot delete the checked out branch!",
		DeleteBranchTitle:                   "Delete branch '{{.selectedBranchName}}'?",
		DeleteLocalBranch:                   "Delete local branch",
		DeleteRemoteBranchOption:            "Delete remote branch",
		DeleteRemoteBranchPrompt:            "Are you sure you want to delete the remote branch '{{.selectedBranchName}}' from '{{.upstream}}'?",
		ForceDeleteBranchTitle:              "Force delete branch",
		ForceDeleteBranchMessage:            "'{{.selectedBranchName}}' is not fully merged. Are you sure you want to delete it?",
		RebaseBranch:                        "Rebase checked-out branch onto this branch",
		CantRebaseOntoSelf:                  "You cannot rebase a branch onto itself",
		CantMergeBranchIntoItself:           "You cannot merge a branch into itself",
		ForceCheckout:                       "Force checkout",
		CheckoutByName:                      "Checkout by name, enter '-' to switch to last",
		NewBranch:                           "New branch",