From 7bddf532235cc67d847fd70d8f709b6401737936 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Tue, 2 Jan 2024 14:00:36 +1100 Subject: [PATCH] Improve keybinding descriptions This adds a bunch of tooltips to keybindings and updates some keybinding descriptions (i.e. labels). It's in preparation for displaying more keybindings on-screen (in the bottom right of the screen), and so due in part to laziness it shortens some descriptions so that we don't need to manage both a short and long description (for on-screen vs in-menu). Nonetheless I've added a ShortDescription field for when we do want to have both a short and long description. You'll notice that some keybindings I deemed unworthy of the options view have longer descriptions, because I could get away with it. --- docs/keybindings/Keybindings_en.md | 293 +-- docs/keybindings/Keybindings_ja.md | 261 +-- docs/keybindings/Keybindings_ko.md | 247 +-- docs/keybindings/Keybindings_nl.md | 251 +-- docs/keybindings/Keybindings_pl.md | 273 +-- docs/keybindings/Keybindings_ru.md | 247 +-- docs/keybindings/Keybindings_zh-CN.md | 247 +-- docs/keybindings/Keybindings_zh-TW.md | 247 +-- pkg/constants/links.go | 2 + pkg/gui/controllers.go | 34 +- .../controllers/basic_commits_controller.go | 13 +- pkg/gui/controllers/branches_controller.go | 14 +- .../controllers/commits_files_controller.go | 22 +- .../controllers/context_lines_controller.go | 2 + .../custom_patch_options_menu_action.go | 7 + pkg/gui/controllers/files_controller.go | 25 +- pkg/gui/controllers/global_controller.go | 31 +- .../controllers/local_commits_controller.go | 42 +- .../controllers/merge_conflicts_controller.go | 60 +- .../controllers/patch_building_controller.go | 2 + .../controllers/patch_explorer_controller.go | 3 +- .../controllers/remote_branches_controller.go | 10 +- pkg/gui/controllers/remotes_controller.go | 22 +- pkg/gui/controllers/staging_controller.go | 31 +- pkg/gui/controllers/stash_controller.go | 4 + pkg/gui/controllers/status_controller.go | 2 + pkg/gui/controllers/submodules_controller.go | 18 +- pkg/gui/controllers/sync_controller.go | 2 + pkg/gui/controllers/tags_controller.go | 19 +- pkg/gui/controllers/worktrees_controller.go | 9 +- pkg/gui/keybindings.go | 11 +- pkg/gui/types/keybindings.go | 25 +- pkg/i18n/chinese.go | 70 +- pkg/i18n/dutch.go | 64 +- pkg/i18n/english.go | 1734 +++++++++-------- pkg/i18n/japanese.go | 119 +- pkg/i18n/korean.go | 68 +- pkg/i18n/polish.go | 30 +- pkg/i18n/russian.go | 72 +- pkg/i18n/traditional_chinese.go | 72 +- .../tests/filter_and_search/filter_menu.go | 13 +- .../filter_menu_cancel_filter_with_escape.go | 4 +- .../squash_fixups_above_first_commit.go | 2 +- 43 files changed, 2525 insertions(+), 2199 deletions(-) diff --git a/docs/keybindings/Keybindings_en.md b/docs/keybindings/Keybindings_en.md index 3417b9f19..693c56359 100644 --- a/docs/keybindings/Keybindings_en.md +++ b/docs/keybindings/Keybindings_en.md @@ -9,26 +9,28 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | Switch to a recent repo | | -| `` (fn+up/shift+k) `` | Scroll up main panel | | -| `` (fn+down/shift+j) `` | Scroll down main panel | | -| `` @ `` | Open command log menu | | -| `` } `` | Increase the size of the context shown around changes in the diff view | | -| `` { `` | Decrease the size of the context shown around changes in the diff view | | -| `` : `` | Execute custom command | | +| `` (fn+up/shift+k) `` | Scroll up main window | | +| `` (fn+down/shift+j) `` | Scroll down main window | | +| `` @ `` | View command log options | View options for the command log e.g. show/hide the command log and focus the command log. | +| `` P `` | Push | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` p `` | Pull | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` } `` | Increase diff context size | Increase the amount of the context shown around changes in the diff view. | +| `` { `` | Decrease diff context size | Decrease the amount of the context shown around changes in the diff view. | +| `` : `` | Execute custom command | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | `` `` | View custom patch options | | -| `` m `` | View merge/rebase options | | -| `` R `` | Refresh | | +| `` m `` | View merge/rebase options | View options to abort/continue/skip the current merge/rebase. | +| `` R `` | Refresh | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. | | `` + `` | Next screen mode (normal/half/fullscreen) | | | `` _ `` | Prev screen mode | | -| `` ? `` | Open menu | | -| `` `` | View filter-by-path options | | -| `` W `` | Open diff menu | | -| `` `` | Open diff menu | | -| `` `` | Toggle whether or not whitespace changes are shown in the diff view | | +| `` ? `` | Open keybindings menu | | +| `` `` | View filter-by-path options | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | +| `` W `` | View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` `` | View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` q `` | Quit | | +| `` `` | Cancel | | +| `` `` | Toggle whitespace | Toggle whether or not whitespace changes are shown in the diff view. | | `` z `` | Undo | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | | `` `` | Redo | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | -| `` P `` | Push | | -| `` p `` | Pull | | ## List panel navigation @@ -51,16 +53,16 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| -| `` `` | Copy the committed file name to the clipboard | | -| `` c `` | Checkout file | | -| `` d `` | Discard this commit's changes to this file | | -| `` o `` | Open file | | -| `` e `` | Edit file | | +| `` `` | Copy path to clipboard | | +| `` c `` | Checkout | Checkout file. This replaces the file in your working tree with the version from the selected commit. | +| `` d `` | Remove | Discard this commit's changes to this file. This runs an interactive rebase in the background, so you may get a merge conflict if a later commit also changes this file. | +| `` o `` | Open file | Open file in default application. | +| `` e `` | Edit | Open file in external editor. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | Toggle file included in patch | | -| `` a `` | Toggle all files included in patch | | -| `` `` | Enter file to add selected lines to the patch (or toggle directory collapsed) | | -| `` ` `` | Toggle file tree view | | +| `` `` | Toggle file included in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` `` | Enter file / Toggle directory collapsed | If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory. | +| `` ` `` | Toggle file tree view | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` / `` | Search the current view by text | | ## Commit summary @@ -75,37 +77,37 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy commit SHA to clipboard | | -| `` `` | Reset cherry-picked (copied) commits selection | | +| `` `` | Reset copied (cherry-picked) commits selection | | | `` b `` | View bisect options | | -| `` s `` | Squash down | | -| `` f `` | Fixup commit | | -| `` r `` | Reword commit | | -| `` R `` | Reword commit with editor | | -| `` d `` | Delete commit | | -| `` e `` | Edit commit | | +| `` s `` | Squash | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | +| `` f `` | Fixup | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | +| `` r `` | Reword | Reword the selected commit's message. | +| `` R `` | Reword with editor | | +| `` d `` | Drop | Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts. | +| `` e `` | Edit (start interactive rebase) | Edit the selected commit. Use this to start an interactive rebase from the selected commit. When already mid-rebase, this will mark the selected commit for editing, which means that upon continuing the rebase, the rebase will pause at the selected commit to allow you to make changes. | | `` i `` | Start interactive rebase | 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. If you would instead like to start an interactive rebase from the selected commit, press `e`. | -| `` p `` | Pick commit (when mid-rebase) | | -| `` F `` | Create fixup commit for this commit | | -| `` S `` | Squash all 'fixup!' commits above selected commit (autosquash) | | +| `` p `` | Pick | Mark the selected commit to be picked (when mid-rebase). This means that the commit will be retained upon continuing the rebase. | +| `` F `` | Create fixup commit | Create 'fixup!' commit for the selected commit. Later on, you can press `S` on this same commit to apply all above fixup commits. | +| `` S `` | Apply fixup commits | Squash all 'fixup!' commits above selected commit (autosquash). | | `` `` | Move commit down one | | | `` `` | Move commit up one | | -| `` V `` | Paste commits (cherry-pick) | | -| `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | -| `` A `` | Amend commit with staged changes | | -| `` a `` | Set/Reset commit author | | -| `` t `` | Revert commit | | -| `` T `` | Tag commit | | -| `` `` | Open log menu | | -| `` w `` | View worktree options | | -| `` `` | Checkout commit | | -| `` y `` | Copy commit attribute | | +| `` V `` | Paste (cherry-pick) | | +| `` B `` | Mark as base commit for rebase | Select a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the `git rebase --onto` command. | +| `` A `` | Amend | Amend commit with staged changes. If the selected commit is the HEAD commit, this will perform `git commit --amend`. Otherwise the commit will be amended via a rebase. | +| `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | +| `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | +| `` T `` | Tag commit | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | +| `` `` | View log options | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | +| `` `` | Checkout | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Open commit in browser | | | `` n `` | Create new branch off of commit | | -| `` g `` | View reset options | | -| `` C `` | Copy commit (cherry-pick) | | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Copy (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | View selected item's files | | +| `` `` | View files | | +| `` w `` | View worktree options | | | `` / `` | Search the current view by text | | ## Confirmation panel @@ -119,30 +121,30 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Copy the file name to the clipboard | | -| `` `` | Toggle staged | | +| `` `` | Copy path to clipboard | | +| `` `` | Stage | Toggle staged for selected file. | | `` `` | Filter files by status | | | `` y `` | Copy to clipboard | | -| `` c `` | Commit changes | | +| `` c `` | Commit | Commit staged changes. | | `` w `` | Commit changes without pre-commit hook | | | `` A `` | Amend last commit | | | `` C `` | Commit changes using git editor | | | `` `` | Find base commit for fixup | Find the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: | -| `` e `` | Edit file | | -| `` o `` | Open file | | +| `` e `` | Edit | Open file in external editor. | +| `` o `` | Open file | Open file in default application. | | `` i `` | Ignore or exclude file | | | `` r `` | Refresh files | | -| `` s `` | Stash all changes | | -| `` S `` | View stash options | | -| `` a `` | Stage/unstage all | | -| `` `` | Stage individual hunks/lines for file, or collapse/expand for directory | | -| `` d `` | View 'discard changes' options | | +| `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | +| `` S `` | View stash options | View stash options (e.g. stash all, stash staged, stash unstaged). | +| `` a `` | Stage all | Toggle staged/unstaged for all files in working tree. | +| `` `` | Stage lines / Collapse directory | If the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it. | +| `` d `` | Discard | View options for discarding changes to the selected file. | | `` g `` | View upstream reset options | | -| `` D `` | View reset options | | -| `` ` `` | Toggle file tree view | | +| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | +| `` ` `` | Toggle file tree view | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` `` | Open external diff tool (git difftool) | | -| `` M `` | Open external merge tool (git mergetool) | | -| `` f `` | Fetch | | +| `` M `` | Open external merge tool | Run `git mergetool`. | +| `` f `` | Fetch | Fetch changes from remote. | | `` / `` | Search the current view by text | | ## Local branches @@ -151,40 +153,40 @@ If you would instead like to start an interactive rebase from the selected commi |-----|--------|-------------| | `` `` | Copy branch name to clipboard | | | `` i `` | Show git-flow options | | -| `` `` | Checkout | | +| `` `` | Checkout | Checkout selected item. | | `` n `` | New branch | | | `` o `` | Create pull request | | -| `` O `` | Create pull request options | | +| `` O `` | View create pull request options | | | `` `` | Copy pull request URL to clipboard | | -| `` c `` | Checkout by name, enter '-' to switch to last | | -| `` F `` | Force checkout | | -| `` d `` | View delete options | | -| `` r `` | Rebase checked-out branch onto this branch | | -| `` M `` | Merge into currently checked out branch | | -| `` f `` | Fast-forward this branch from its upstream | | -| `` T `` | Create tag | | +| `` c `` | Checkout by name | Checkout by name. In the input box you can enter '-' to switch to the last branch. | +| `` F `` | Force checkout | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | +| `` d `` | Delete | View delete options for local/remote branch. | +| `` r `` | Rebase | Rebase the checked-out branch onto the selected branch. | +| `` M `` | Merge | Merge selected branch into currently checked out branch. | +| `` f `` | Fast-forward | Fast-forward selected branch from its upstream. | +| `` T `` | New tag | | | `` s `` | Sort order | | -| `` g `` | View reset options | | +| `` g `` | Reset | | | `` R `` | Rename branch | | -| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | -| `` w `` | View worktree options | | +| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | `` `` | View commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Main panel (merging) | Key | Action | Info | |-----|--------|-------------| -| `` e `` | Edit file | | -| `` o `` | Open file | | -| `` `` | Select previous conflict | | -| `` `` | Select next conflict | | -| `` `` | Select previous hunk | | -| `` `` | Select next hunk | | -| `` z `` | Undo | | -| `` M `` | Open external merge tool (git mergetool) | | | `` `` | Pick hunk | | | `` b `` | Pick all hunks | | +| `` `` | Previous hunk | | +| `` `` | Next hunk | | +| `` `` | Previous conflict | | +| `` `` | Next conflict | | +| `` z `` | Undo | Undo last merge conflict resolution. | +| `` e `` | Edit file | Open file in external editor. | +| `` o `` | Open file | Open file in default application. | +| `` M `` | Open external merge tool | Run `git mergetool`. | | `` `` | Return to files panel | | ## Main panel (normal) @@ -198,14 +200,14 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Select previous hunk | | -| `` `` | Select next hunk | | +| `` `` | Go to previous hunk | | +| `` `` | Go to next hunk | | | `` v `` | Toggle range select | | -| `` a `` | Toggle select hunk | | -| `` `` | Copy the selected text to the clipboard | | -| `` o `` | Open file | | -| `` e `` | Edit file | | -| `` `` | Add/Remove line(s) to patch | | +| `` a `` | Select hunk | Toggle hunk selection mode. | +| `` `` | Copy selected text to clipboard | | +| `` o `` | Open file | Open file in default application. | +| `` e `` | Edit file | Open file in external editor. | +| `` `` | Toggle lines in patch | | | `` `` | Exit custom patch builder | | | `` / `` | Search the current view by text | | @@ -213,19 +215,19 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Select previous hunk | | -| `` `` | Select next hunk | | +| `` `` | Go to previous hunk | | +| `` `` | Go to next hunk | | | `` v `` | Toggle range select | | -| `` a `` | Toggle select hunk | | -| `` `` | Copy the selected text to the clipboard | | -| `` o `` | Open file | | -| `` e `` | Edit file | | +| `` a `` | Select hunk | Toggle hunk selection mode. | +| `` `` | Copy selected text to clipboard | | +| `` `` | Stage | Toggle selection staged / unstaged. | +| `` d `` | Discard | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | +| `` o `` | Open file | Open file in default application. | +| `` e `` | Edit file | Open file in external editor. | | `` `` | Return to files panel | | -| `` `` | Switch to other panel (staged/unstaged changes) | | -| `` `` | Toggle line staged / unstaged | | -| `` d `` | Discard change (git reset) | | -| `` E `` | Edit hunk | | -| `` c `` | Commit changes | | +| `` `` | Switch view | Switch to other view (staged/unstaged changes). | +| `` E `` | Edit hunk | Edit selected hunk in external editor. | +| `` c `` | Commit | Commit staged changes. | | `` w `` | Commit changes without pre-commit hook | | | `` C `` | Commit changes using git editor | | | `` / `` | Search the current view by text | | @@ -243,16 +245,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy commit SHA to clipboard | | -| `` w `` | View worktree options | | -| `` `` | Checkout commit | | -| `` y `` | Copy commit attribute | | +| `` `` | Checkout | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Open commit in browser | | | `` n `` | Create new branch off of commit | | -| `` g `` | View reset options | | -| `` C `` | Copy commit (cherry-pick) | | -| `` `` | Reset cherry-picked (copied) commits selection | | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Copy (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | +| `` `` | Reset copied (cherry-picked) commits selection | | | `` `` | Open external diff tool (git difftool) | | | `` `` | View commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Remote branches @@ -260,47 +262,48 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy branch name to clipboard | | -| `` `` | Checkout | | +| `` `` | Checkout | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | `` n `` | New branch | | -| `` M `` | Merge into currently checked out branch | | -| `` r `` | Rebase checked-out branch onto this branch | | -| `` d `` | Delete remote tag | | -| `` u `` | Set as upstream of checked-out branch | | +| `` M `` | Merge | Merge selected branch into currently checked out branch. | +| `` r `` | Rebase | Rebase the checked-out branch onto the selected branch. | +| `` d `` | Delete | Delete the remote branch from the remote. | +| `` u `` | Set as upstream | Set the selected remote branch as the upstream of the checked-out branch. | | `` s `` | Sort order | | -| `` g `` | View reset options | | -| `` w `` | View worktree options | | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | View commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Remotes | Key | Action | Info | |-----|--------|-------------| -| `` f `` | Fetch remote | | -| `` n `` | Add new remote | | -| `` d `` | Remove remote | | -| `` e `` | Edit remote | | +| `` `` | View branches | | +| `` n `` | New remote | | +| `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | +| `` e `` | Edit | Edit the selected remote's name or URL. | +| `` f `` | Fetch | Fetch updates from the remote repository. This retrieves new commits and branches without merging them into your local branches. | | `` / `` | Filter the current view by text | | ## Stash | Key | Action | Info | |-----|--------|-------------| -| `` `` | Apply | | -| `` g `` | Pop | | -| `` d `` | Drop | | -| `` n `` | New branch | | +| `` `` | Apply | Apply the stash entry to your working directory. | +| `` g `` | Pop | Apply the stash entry to your working directory and remove the stash entry. | +| `` d `` | Drop | Remove the stash entry from the stash list. | +| `` n `` | New branch | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. | | `` r `` | Rename stash | | +| `` `` | View files | | | `` w `` | View worktree options | | -| `` `` | View selected item's files | | | `` / `` | Filter the current view by text | | ## Status | Key | Action | Info | |-----|--------|-------------| -| `` o `` | Open config file | | -| `` e `` | Edit config file | | +| `` o `` | Open config file | Open file in default application. | +| `` e `` | Edit config file | Open file in external editor. | | `` u `` | Check for update | | | `` `` | Switch to a recent repo | | | `` a `` | Show all branch logs | | @@ -310,16 +313,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy commit SHA to clipboard | | -| `` w `` | View worktree options | | -| `` `` | Checkout commit | | -| `` y `` | Copy commit attribute | | +| `` `` | Checkout | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Open commit in browser | | | `` n `` | Create new branch off of commit | | -| `` g `` | View reset options | | -| `` C `` | Copy commit (cherry-pick) | | -| `` `` | Reset cherry-picked (copied) commits selection | | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Copy (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | +| `` `` | Reset copied (cherry-picked) commits selection | | | `` `` | Open external diff tool (git difftool) | | -| `` `` | View selected item's files | | +| `` `` | View files | | +| `` w `` | View worktree options | | | `` / `` | Search the current view by text | | ## Submodules @@ -327,13 +330,12 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy submodule name to clipboard | | -| `` `` | Enter submodule | | -| `` `` | Enter submodule | | -| `` d `` | Remove submodule | | -| `` u `` | Update submodule | | -| `` n `` | Add new submodule | | +| `` `` | Enter | Enter submodule. After entering the submodule, you can press `` to escape back to the parent repo. | +| `` d `` | Remove | Remove the selected submodule and its corresponding directory. | +| `` u `` | Update | Update selected submodule. | +| `` n `` | New submodule | | | `` e `` | Update submodule URL | | -| `` i `` | Initialize submodule | | +| `` i `` | Initialize | Initialize the selected submodule to prepare for fetching. You probably want to follow this up by invoking the 'update' action to fetch the submodule. | | `` b `` | View bulk submodule options | | | `` / `` | Filter the current view by text | | @@ -341,22 +343,21 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Checkout | | -| `` d `` | View delete options | | -| `` P `` | Push tag | | -| `` n `` | Create tag | | -| `` g `` | View reset options | | -| `` w `` | View worktree options | | +| `` `` | Checkout | Checkout the selected tag tag as a detached HEAD. | +| `` n `` | New tag | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | +| `` d `` | Delete | View delete options for local/remote tag. | +| `` P `` | Push tag | Push the selected tag to a remote. You'll be prompted to select a remote. | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | View commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Worktrees | Key | Action | Info | |-----|--------|-------------| -| `` n `` | Create worktree | | -| `` `` | Switch to worktree | | -| `` `` | Switch to worktree | | +| `` n `` | New worktree | | +| `` `` | Switch | Switch to the selected worktree. | | `` o `` | Open in editor | | -| `` d `` | Remove worktree | | +| `` d `` | Remove | Remove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory. | | `` / `` | Filter the current view by text | | diff --git a/docs/keybindings/Keybindings_ja.md b/docs/keybindings/Keybindings_ja.md index 1ea3d9cfd..beb9ee3f4 100644 --- a/docs/keybindings/Keybindings_ja.md +++ b/docs/keybindings/Keybindings_ja.md @@ -11,24 +11,26 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` `` | 最近使用したリポジトリに切り替え | | | `` (fn+up/shift+k) `` | メインパネルを上にスクロール | | | `` (fn+down/shift+j) `` | メインパネルを下にスクロール | | -| `` @ `` | コマンドログメニューを開く | | -| `` } `` | Increase the size of the context shown around changes in the diff view | | -| `` { `` | Decrease the size of the context shown around changes in the diff view | | -| `` : `` | カスタムコマンドを実行 | | +| `` @ `` | コマンドログメニューを開く | View options for the command log e.g. show/hide the command log and focus the command log. | +| `` P `` | Push | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` p `` | Pull | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` } `` | Increase diff context size | Increase the amount of the context shown around changes in the diff view. | +| `` { `` | Decrease diff context size | Decrease the amount of the context shown around changes in the diff view. | +| `` : `` | カスタムコマンドを実行 | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | `` `` | View custom patch options | | -| `` m `` | View merge/rebase options | | -| `` R `` | リフレッシュ | | +| `` m `` | View merge/rebase options | View options to abort/continue/skip the current merge/rebase. | +| `` R `` | リフレッシュ | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. | | `` + `` | 次のスクリーンモード (normal/half/fullscreen) | | | `` _ `` | 前のスクリーンモード | | | `` ? `` | メニューを開く | | -| `` `` | View filter-by-path options | | -| `` W `` | 差分メニューを開く | | -| `` `` | 差分メニューを開く | | -| `` `` | 空白文字の差分の表示有無を切り替え | | +| `` `` | View filter-by-path options | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | +| `` W `` | 差分メニューを開く | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` `` | 差分メニューを開く | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` q `` | 終了 | | +| `` `` | キャンセル | | +| `` `` | 空白文字の差分の表示有無を切り替え | Toggle whether or not whitespace changes are shown in the diff view. | | `` z `` | アンドゥ (via reflog) (experimental) | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | | `` `` | リドゥ (via reflog) (experimental) | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | -| `` P `` | Push | | -| `` p `` | Pull | | ## 一覧パネルの操作 @@ -51,13 +53,13 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| -| `` `` | 適用 | | -| `` g `` | Pop | | -| `` d `` | Drop | | -| `` n `` | 新しいブランチを作成 | | +| `` `` | 適用 | Apply the stash entry to your working directory. | +| `` g `` | Pop | Apply the stash entry to your working directory and remove the stash entry. | +| `` d `` | Drop | Remove the stash entry from the stash list. | +| `` n `` | 新しいブランチを作成 | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. | | `` r `` | Stashを変更 | | +| `` `` | View files | | | `` w `` | View worktree options | | -| `` `` | View selected item's files | | | `` / `` | Filter the current view by text | | ## Sub-commits @@ -65,27 +67,26 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | コミットのSHAをクリップボードにコピー | | -| `` w `` | View worktree options | | -| `` `` | コミットをチェックアウト | | -| `` y `` | コミットの情報をコピー | | +| `` `` | チェックアウト | Checkout the selected commit as a detached HEAD. | +| `` y `` | コミットの情報をコピー | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | ブラウザでコミットを開く | | | `` n `` | コミットにブランチを作成 | | -| `` g `` | View reset options | | -| `` C `` | コミットをコピー (cherry-pick) | | -| `` `` | Reset cherry-picked (copied) commits selection | | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | コミットをコピー (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | +| `` `` | Reset copied (cherry-picked) commits selection | | | `` `` | Open external diff tool (git difftool) | | -| `` `` | View selected item's files | | +| `` `` | View files | | +| `` w `` | View worktree options | | | `` / `` | 検索を開始 | | ## Worktrees | Key | Action | Info | |-----|--------|-------------| -| `` n `` | Create worktree | | -| `` `` | Switch to worktree | | -| `` `` | Switch to worktree | | +| `` n `` | New worktree | | +| `` `` | Switch | Switch to the selected worktree. | | `` o `` | Open in editor | | -| `` d `` | Remove worktree | | +| `` d `` | Remove | Remove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory. | | `` / `` | Filter the current view by text | | ## コミット @@ -93,53 +94,53 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | コミットのSHAをクリップボードにコピー | | -| `` `` | Reset cherry-picked (copied) commits selection | | +| `` `` | Reset copied (cherry-picked) commits selection | | | `` b `` | View bisect options | | -| `` s `` | Squash down | | -| `` f `` | Fixup commit | | -| `` r `` | コミットメッセージを変更 | | +| `` s `` | Squash | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | +| `` f `` | Fixup | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | +| `` r `` | コミットメッセージを変更 | Reword the selected commit's message. | | `` R `` | エディタでコミットメッセージを編集 | | -| `` d `` | コミットを削除 | | -| `` e `` | コミットを編集 | | +| `` d `` | コミットを削除 | Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts. | +| `` e `` | Edit (start interactive rebase) | コミットを編集 | | `` i `` | Start interactive rebase | 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. If you would instead like to start an interactive rebase from the selected commit, press `e`. | -| `` p `` | Pick commit (when mid-rebase) | | -| `` F `` | このコミットに対するfixupコミットを作成 | | -| `` S `` | Squash all 'fixup!' commits above selected commit (autosquash) | | +| `` p `` | Pick | Mark the selected commit to be picked (when mid-rebase). This means that the commit will be retained upon continuing the rebase. | +| `` F `` | Create fixup commit | このコミットに対するfixupコミットを作成 | +| `` S `` | Apply fixup commits | Squash all 'fixup!' commits above selected commit (autosquash). | | `` `` | コミットを1つ下に移動 | | | `` `` | コミットを1つ上に移動 | | | `` V `` | コミットを貼り付け (cherry-pick) | | -| `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | -| `` A `` | ステージされた変更でamendコミット | | -| `` a `` | Set/Reset commit author | | -| `` t `` | コミットをrevert | | -| `` T `` | タグを作成 | | -| `` `` | ログメニューを開く | | -| `` w `` | View worktree options | | -| `` `` | コミットをチェックアウト | | -| `` y `` | コミットの情報をコピー | | +| `` B `` | Mark as base commit for rebase | Select a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the `git rebase --onto` command. | +| `` A `` | Amend | ステージされた変更でamendコミット | +| `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | +| `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | +| `` T `` | タグを作成 | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | +| `` `` | ログメニューを開く | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | +| `` `` | チェックアウト | Checkout the selected commit as a detached HEAD. | +| `` y `` | コミットの情報をコピー | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | ブラウザでコミットを開く | | | `` n `` | コミットにブランチを作成 | | -| `` g `` | View reset options | | -| `` C `` | コミットをコピー (cherry-pick) | | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | コミットをコピー (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | View selected item's files | | +| `` `` | View files | | +| `` w `` | View worktree options | | | `` / `` | 検索を開始 | | ## コミットファイル | Key | Action | Info | |-----|--------|-------------| -| `` `` | コミットされたファイル名をクリップボードにコピー | | -| `` c `` | Checkout file | | -| `` d `` | Discard this commit's changes to this file | | -| `` o `` | ファイルを開く | | -| `` e `` | ファイルを編集 | | +| `` `` | ファイル名をクリップボードにコピー | | +| `` c `` | チェックアウト | Checkout file. This replaces the file in your working tree with the version from the selected commit. | +| `` d `` | Remove | Discard this commit's changes to this file. This runs an interactive rebase in the background, so you may get a merge conflict if a later commit also changes this file. | +| `` o `` | ファイルを開く | Open file in default application. | +| `` e `` | Edit | Open file in external editor. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | Toggle file included in patch | | -| `` a `` | Toggle all files included in patch | | -| `` `` | Enter file to add selected lines to the patch (or toggle directory collapsed) | | -| `` ` `` | ファイルツリーの表示を切り替え | | +| `` `` | Toggle file included in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` `` | Enter file / Toggle directory collapsed | If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory. | +| `` ` `` | ファイルツリーの表示を切り替え | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` / `` | 検索を開始 | | ## コミットメッセージ @@ -154,13 +155,12 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | サブモジュール名をクリップボードにコピー | | -| `` `` | サブモジュールを開く | | -| `` `` | サブモジュールを開く | | -| `` d `` | サブモジュールを削除 | | -| `` u `` | サブモジュールを更新 | | +| `` `` | Enter | サブモジュールを開く | +| `` d `` | Remove | Remove the selected submodule and its corresponding directory. | +| `` u `` | Update | サブモジュールを更新 | | `` n `` | サブモジュールを新規追加 | | | `` e `` | サブモジュールのURLを更新 | | -| `` i `` | サブモジュールを初期化 | | +| `` i `` | Initialize | サブモジュールを初期化 | | `` b `` | View bulk submodule options | | | `` / `` | Filter the current view by text | | @@ -168,8 +168,8 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` o `` | 設定ファイルを開く | | -| `` e `` | 設定ファイルを編集 | | +| `` o `` | 設定ファイルを開く | Open file in default application. | +| `` e `` | 設定ファイルを編集 | Open file in external editor. | | `` u `` | 更新を確認 | | | `` `` | 最近使用したリポジトリに切り替え | | | `` a `` | すべてのブランチログを表示 | | @@ -178,13 +178,13 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | チェックアウト | | -| `` d `` | View delete options | | -| `` P `` | タグをpush | | -| `` n `` | タグを作成 | | -| `` g `` | View reset options | | -| `` w `` | View worktree options | | +| `` `` | チェックアウト | Checkout the selected tag tag as a detached HEAD. | +| `` n `` | タグを作成 | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | +| `` d `` | Delete | View delete options for local/remote tag. | +| `` P `` | タグをpush | Push the selected tag to a remote. You'll be prompted to select a remote. | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | コミットを閲覧 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## ファイル @@ -192,29 +192,29 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | ファイル名をクリップボードにコピー | | -| `` `` | ステージ/アンステージ | | +| `` `` | ステージ/アンステージ | Toggle staged for selected file. | | `` `` | ファイルをフィルタ (ステージ/アンステージ) | | | `` y `` | Copy to clipboard | | -| `` c `` | 変更をコミット | | +| `` c `` | 変更をコミット | Commit staged changes. | | `` w `` | pre-commitフックを実行せずに変更をコミット | | | `` A `` | 最新のコミットにamend | | | `` C `` | gitエディタを使用して変更をコミット | | | `` `` | Find base commit for fixup | Find the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: | -| `` e `` | ファイルを編集 | | -| `` o `` | ファイルを開く | | +| `` e `` | Edit | Open file in external editor. | +| `` o `` | ファイルを開く | Open file in default application. | | `` i `` | ファイルをignore | | | `` r `` | ファイルをリフレッシュ | | -| `` s `` | 変更をstash | | -| `` S `` | View stash options | | -| `` a `` | すべての変更をステージ/アンステージ | | -| `` `` | Stage individual hunks/lines for file, or collapse/expand for directory | | -| `` d `` | View 'discard changes' options | | +| `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | +| `` S `` | View stash options | View stash options (e.g. stash all, stash staged, stash unstaged). | +| `` a `` | すべての変更をステージ/アンステージ | Toggle staged/unstaged for all files in working tree. | +| `` `` | Stage lines / Collapse directory | If the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it. | +| `` d `` | Discard | View options for discarding changes to the selected file. | | `` g `` | View upstream reset options | | -| `` D `` | View reset options | | -| `` ` `` | ファイルツリーの表示を切り替え | | +| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | +| `` ` `` | ファイルツリーの表示を切り替え | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` `` | Open external diff tool (git difftool) | | -| `` M `` | Git mergetoolを開く | | -| `` f `` | Fetch | | +| `` M `` | Git mergetoolを開く | Run `git mergetool`. | +| `` f `` | Fetch | Fetch changes from remote. | | `` / `` | 検索を開始 | | ## ブランチ @@ -223,40 +223,40 @@ If you would instead like to start an interactive rebase from the selected commi |-----|--------|-------------| | `` `` | ブランチ名をクリップボードにコピー | | | `` i `` | Show git-flow options | | -| `` `` | チェックアウト | | +| `` `` | チェックアウト | Checkout selected item. | | `` n `` | 新しいブランチを作成 | | | `` o `` | Pull Requestを作成 | | -| `` O `` | Create pull request options | | +| `` O `` | View create pull request options | | | `` `` | Pull RequestのURLをクリップボードにコピー | | -| `` c `` | Checkout by name, enter '-' to switch to last | | -| `` F `` | Force checkout | | -| `` d `` | View delete options | | -| `` r `` | Rebase checked-out branch onto this branch | | -| `` M `` | 現在のブランチにマージ | | -| `` f `` | Fast-forward this branch from its upstream | | +| `` c `` | Checkout by name | Checkout by name. In the input box you can enter '-' to switch to the last branch. | +| `` F `` | Force checkout | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | +| `` d `` | Delete | View delete options for local/remote branch. | +| `` r `` | Rebase | Rebase the checked-out branch onto the selected branch. | +| `` M `` | 現在のブランチにマージ | Merge selected branch into currently checked out branch. | +| `` f `` | Fast-forward | Fast-forward selected branch from its upstream. | | `` T `` | タグを作成 | | | `` s `` | 並び替え | | -| `` g `` | View reset options | | +| `` g `` | Reset | | | `` R `` | ブランチ名を変更 | | -| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | -| `` w `` | View worktree options | | +| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | `` `` | コミットを閲覧 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## メインパネル (Merging) | Key | Action | Info | |-----|--------|-------------| -| `` e `` | ファイルを編集 | | -| `` o `` | ファイルを開く | | -| `` `` | 前のコンフリクトを選択 | | -| `` `` | 次のコンフリクトを選択 | | -| `` `` | 前のhunkを選択 | | -| `` `` | 次のhunkを選択 | | -| `` z `` | アンドゥ | | -| `` M `` | Git mergetoolを開く | | | `` `` | Pick hunk | | | `` b `` | Pick all hunks | | +| `` `` | 前のhunkを選択 | | +| `` `` | 次のhunkを選択 | | +| `` `` | 前のコンフリクトを選択 | | +| `` `` | 次のコンフリクトを選択 | | +| `` z `` | アンドゥ | Undo last merge conflict resolution. | +| `` e `` | ファイルを編集 | Open file in external editor. | +| `` o `` | ファイルを開く | Open file in default application. | +| `` M `` | Git mergetoolを開く | Run `git mergetool`. | | `` `` | ファイル一覧に戻る | | ## メインパネル (Normal) @@ -273,10 +273,10 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | 前のhunkを選択 | | | `` `` | 次のhunkを選択 | | | `` v `` | 範囲選択を切り替え | | -| `` a `` | Hunk選択を切り替え | | +| `` a `` | Hunk選択を切り替え | Toggle hunk selection mode. | | `` `` | 選択されたテキストをクリップボードにコピー | | -| `` o `` | ファイルを開く | | -| `` e `` | ファイルを編集 | | +| `` o `` | ファイルを開く | Open file in default application. | +| `` e `` | ファイルを編集 | Open file in external editor. | | `` `` | 行をパッチに追加/削除 | | | `` `` | Exit custom patch builder | | | `` / `` | 検索を開始 | | @@ -288,16 +288,16 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | 前のhunkを選択 | | | `` `` | 次のhunkを選択 | | | `` v `` | 範囲選択を切り替え | | -| `` a `` | Hunk選択を切り替え | | +| `` a `` | Hunk選択を切り替え | Toggle hunk selection mode. | | `` `` | 選択されたテキストをクリップボードにコピー | | -| `` o `` | ファイルを開く | | -| `` e `` | ファイルを編集 | | +| `` `` | ステージ/アンステージ | 選択行をステージ/アンステージ | +| `` d `` | 変更を削除 (git reset) | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | +| `` o `` | ファイルを開く | Open file in default application. | +| `` e `` | ファイルを編集 | Open file in external editor. | | `` `` | ファイル一覧に戻る | | -| `` `` | パネルを切り替え | | -| `` `` | 選択行をステージ/アンステージ | | -| `` d `` | 変更を削除 (git reset) | | -| `` E `` | Edit hunk | | -| `` c `` | 変更をコミット | | +| `` `` | パネルを切り替え | Switch to other view (staged/unstaged changes). | +| `` E `` | Edit hunk | Edit selected hunk in external editor. | +| `` c `` | 変更をコミット | Commit staged changes. | | `` w `` | pre-commitフックを実行せずに変更をコミット | | | `` C `` | gitエディタを使用して変更をコミット | | | `` / `` | 検索を開始 | | @@ -314,10 +314,11 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` f `` | リモートをfetch | | +| `` `` | View branches | | | `` n `` | リモートを新規追加 | | -| `` d `` | リモートを削除 | | -| `` e `` | リモートを編集 | | +| `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | +| `` e `` | Edit | リモートを編集 | +| `` f `` | Fetch | リモートをfetch | | `` / `` | Filter the current view by text | | ## リモートブランチ @@ -325,16 +326,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | ブランチ名をクリップボードにコピー | | -| `` `` | チェックアウト | | +| `` `` | チェックアウト | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | `` n `` | 新しいブランチを作成 | | -| `` M `` | 現在のブランチにマージ | | -| `` r `` | Rebase checked-out branch onto this branch | | -| `` d `` | Delete remote tag | | -| `` u `` | Set as upstream of checked-out branch | | +| `` M `` | 現在のブランチにマージ | Merge selected branch into currently checked out branch. | +| `` r `` | Rebase | Rebase the checked-out branch onto the selected branch. | +| `` d `` | Delete | Delete the remote branch from the remote. | +| `` u `` | Set as upstream | Set the selected remote branch as the upstream of the checked-out branch. | | `` s `` | 並び替え | | -| `` g `` | View reset options | | -| `` w `` | View worktree options | | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | コミットを閲覧 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 参照ログ @@ -342,16 +343,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | コミットのSHAをクリップボードにコピー | | -| `` w `` | View worktree options | | -| `` `` | コミットをチェックアウト | | -| `` y `` | コミットの情報をコピー | | +| `` `` | チェックアウト | Checkout the selected commit as a detached HEAD. | +| `` y `` | コミットの情報をコピー | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | ブラウザでコミットを開く | | | `` n `` | コミットにブランチを作成 | | -| `` g `` | View reset options | | -| `` C `` | コミットをコピー (cherry-pick) | | -| `` `` | Reset cherry-picked (copied) commits selection | | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | コミットをコピー (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | +| `` `` | Reset copied (cherry-picked) commits selection | | | `` `` | Open external diff tool (git difftool) | | | `` `` | コミットを閲覧 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 確認パネル diff --git a/docs/keybindings/Keybindings_ko.md b/docs/keybindings/Keybindings_ko.md index b51bc16ac..deb40f5e4 100644 --- a/docs/keybindings/Keybindings_ko.md +++ b/docs/keybindings/Keybindings_ko.md @@ -11,24 +11,26 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` `` | 최근에 사용한 저장소로 전환 | | | `` (fn+up/shift+k) `` | 메인 패널을 위로 스크롤 | | | `` (fn+down/shift+j) `` | 메인 패널을 아래로로 스크롤 | | -| `` @ `` | 명령어 로그 메뉴 열기 | | -| `` } `` | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트의 크기를 늘리기 | | -| `` { `` | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트 크기 줄이기 | | -| `` : `` | Execute custom command | | +| `` @ `` | 명령어 로그 메뉴 열기 | View options for the command log e.g. show/hide the command log and focus the command log. | +| `` P `` | 푸시 | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` p `` | 업데이트 | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` } `` | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트의 크기를 늘리기 | Increase the amount of the context shown around changes in the diff view. | +| `` { `` | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트 크기 줄이기 | Decrease the amount of the context shown around changes in the diff view. | +| `` : `` | Execute custom command | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | `` `` | 커스텀 Patch 옵션 보기 | | -| `` m `` | View merge/rebase options | | -| `` R `` | 새로고침 | | +| `` m `` | View merge/rebase options | View options to abort/continue/skip the current merge/rebase. | +| `` R `` | 새로고침 | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. | | `` + `` | 다음 스크린 모드 (normal/half/fullscreen) | | | `` _ `` | 이전 스크린 모드 | | | `` ? `` | 매뉴 열기 | | -| `` `` | View filter-by-path options | | -| `` W `` | Diff 메뉴 열기 | | -| `` `` | Diff 메뉴 열기 | | -| `` `` | 공백문자를 Diff 뷰에서 표시 여부 전환 | | +| `` `` | View filter-by-path options | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | +| `` W `` | Diff 메뉴 열기 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` `` | Diff 메뉴 열기 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` q `` | 종료 | | +| `` `` | 취소 | | +| `` `` | 공백문자를 Diff 뷰에서 표시 여부 전환 | Toggle whether or not whitespace changes are shown in the diff view. | | `` z `` | 되돌리기 (reflog) (실험적) | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | | `` `` | 다시 실행 (reflog) (실험적) | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | -| `` P `` | 푸시 | | -| `` p `` | 업데이트 | | ## List panel navigation @@ -52,29 +54,29 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 커밋 SHA를 클립보드에 복사 | | -| `` w `` | View worktree options | | -| `` `` | 커밋을 체크아웃 | | -| `` y `` | 커밋 attribute 복사 | | +| `` `` | 체크아웃 | Checkout the selected commit as a detached HEAD. | +| `` y `` | 커밋 attribute 복사 | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | 브라우저에서 커밋 열기 | | | `` n `` | 커밋에서 새 브랜치를 만듭니다. | | -| `` g `` | View reset options | | -| `` C `` | 커밋을 복사 (cherry-pick) | | +| `` g `` | View reset options | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | 커밋을 복사 (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Reset cherry-picked (copied) commits selection | | | `` `` | Open external diff tool (git difftool) | | | `` `` | 커밋 보기 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Stash | Key | Action | Info | |-----|--------|-------------| -| `` `` | 적용 | | -| `` g `` | Pop | | -| `` d `` | Drop | | -| `` n `` | 새 브랜치 생성 | | +| `` `` | 적용 | Apply the stash entry to your working directory. | +| `` g `` | Pop | Apply the stash entry to your working directory and remove the stash entry. | +| `` d `` | Drop | Remove the stash entry from the stash list. | +| `` n `` | 새 브랜치 생성 | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. | | `` r `` | Rename stash | | -| `` w `` | View worktree options | | | `` `` | View selected item's files | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Sub-commits @@ -82,27 +84,26 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 커밋 SHA를 클립보드에 복사 | | -| `` w `` | View worktree options | | -| `` `` | 커밋을 체크아웃 | | -| `` y `` | 커밋 attribute 복사 | | +| `` `` | 체크아웃 | Checkout the selected commit as a detached HEAD. | +| `` y `` | 커밋 attribute 복사 | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | 브라우저에서 커밋 열기 | | | `` n `` | 커밋에서 새 브랜치를 만듭니다. | | -| `` g `` | View reset options | | -| `` C `` | 커밋을 복사 (cherry-pick) | | +| `` g `` | View reset options | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | 커밋을 복사 (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Reset cherry-picked (copied) commits selection | | | `` `` | Open external diff tool (git difftool) | | | `` `` | View selected item's files | | +| `` w `` | View worktree options | | | `` / `` | 검색 시작 | | ## Worktrees | Key | Action | Info | |-----|--------|-------------| -| `` n `` | Create worktree | | -| `` `` | Switch to worktree | | -| `` `` | Switch to worktree | | +| `` n `` | New worktree | | +| `` `` | Switch | Switch to the selected worktree. | | `` o `` | Open in editor | | -| `` d `` | Remove worktree | | +| `` d `` | Remove | Remove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory. | | `` / `` | Filter the current view by text | | ## 메뉴 @@ -117,16 +118,16 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| -| `` e `` | 파일 편집 | | -| `` o `` | 파일 닫기 | | -| `` `` | 이전 충돌을 선택 | | -| `` `` | 다음 충돌을 선택 | | -| `` `` | 이전 hunk를 선택 | | -| `` `` | 다음 hunk를 선택 | | -| `` z `` | 되돌리기 | | -| `` M `` | Git mergetool를 열기 | | | `` `` | Pick hunk | | | `` b `` | Pick all hunks | | +| `` `` | 이전 hunk를 선택 | | +| `` `` | 다음 hunk를 선택 | | +| `` `` | 이전 충돌을 선택 | | +| `` `` | 다음 충돌을 선택 | | +| `` z `` | 되돌리기 | Undo last merge conflict resolution. | +| `` e `` | 파일 편집 | Open file in external editor. | +| `` o `` | 파일 닫기 | Open file in default application. | +| `` M `` | Git mergetool를 열기 | Run `git mergetool`. | | `` `` | 파일 목록으로 돌아가기 | | ## 메인 패널 (Normal) @@ -143,10 +144,10 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` `` | 이전 hunk를 선택 | | | `` `` | 다음 hunk를 선택 | | | `` v `` | 드래그 선택 전환 | | -| `` a `` | Toggle select hunk | | +| `` a `` | Toggle select hunk | Toggle hunk selection mode. | | `` `` | 선택한 텍스트를 클립보드에 복사 | | -| `` o `` | 파일 닫기 | | -| `` e `` | 파일 편집 | | +| `` o `` | 파일 닫기 | Open file in default application. | +| `` e `` | 파일 편집 | Open file in external editor. | | `` `` | Line(s)을 패치에 추가/삭제 | | | `` `` | Exit custom patch builder | | | `` / `` | 검색 시작 | | @@ -158,16 +159,16 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` `` | 이전 hunk를 선택 | | | `` `` | 다음 hunk를 선택 | | | `` v `` | 드래그 선택 전환 | | -| `` a `` | Toggle select hunk | | +| `` a `` | Toggle select hunk | Toggle hunk selection mode. | | `` `` | 선택한 텍스트를 클립보드에 복사 | | -| `` o `` | 파일 닫기 | | -| `` e `` | 파일 편집 | | +| `` `` | Staged 전환 | 선택한 행을 staged / unstaged | +| `` d `` | 변경을 삭제 (git reset) | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | +| `` o `` | 파일 닫기 | Open file in default application. | +| `` e `` | 파일 편집 | Open file in external editor. | | `` `` | 파일 목록으로 돌아가기 | | -| `` `` | 패널 전환 | | -| `` `` | 선택한 행을 staged / unstaged | | -| `` d `` | 변경을 삭제 (git reset) | | -| `` E `` | Edit hunk | | -| `` c `` | 커밋 변경내용 | | +| `` `` | 패널 전환 | Switch to other view (staged/unstaged changes). | +| `` E `` | Edit hunk | Edit selected hunk in external editor. | +| `` c `` | 커밋 변경내용 | Commit staged changes. | | `` w `` | Commit changes without pre-commit hook | | | `` C `` | Git 편집기를 사용하여 변경 내용을 커밋합니다. | | | `` / `` | 검색 시작 | | @@ -178,32 +179,32 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ |-----|--------|-------------| | `` `` | 브랜치명을 클립보드에 복사 | | | `` i `` | Git-flow 옵션 보기 | | -| `` `` | 체크아웃 | | +| `` `` | 체크아웃 | Checkout selected item. | | `` n `` | 새 브랜치 생성 | | | `` o `` | 풀 리퀘스트 생성 | | | `` O `` | 풀 리퀘스트 생성 옵션 | | | `` `` | 풀 리퀘스트 URL을 클립보드에 복사 | | -| `` c `` | 이름으로 체크아웃 | | -| `` F `` | 강제 체크아웃 | | -| `` d `` | View delete options | | -| `` r `` | 체크아웃된 브랜치를 이 브랜치에 리베이스 | | -| `` M `` | 현재 브랜치에 병합 | | -| `` f `` | Fast-forward this branch from its upstream | | +| `` c `` | 이름으로 체크아웃 | Checkout by name. In the input box you can enter '-' to switch to the last branch. | +| `` F `` | 강제 체크아웃 | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | +| `` d `` | Delete | View delete options for local/remote branch. | +| `` r `` | 체크아웃된 브랜치를 이 브랜치에 리베이스 | Rebase the checked-out branch onto the selected branch. | +| `` M `` | 현재 브랜치에 병합 | Merge selected branch into currently checked out branch. | +| `` f `` | Fast-forward this branch from its upstream | Fast-forward selected branch from its upstream. | | `` T `` | 태그를 생성 | | | `` s `` | Sort order | | | `` g `` | View reset options | | | `` R `` | 브랜치 이름 변경 | | -| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | -| `` w `` | View worktree options | | +| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | `` `` | 커밋 보기 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 상태 | Key | Action | Info | |-----|--------|-------------| -| `` o `` | 설정 파일 열기 | | -| `` e `` | 설정 파일 수정 | | +| `` o `` | 설정 파일 열기 | Open file in default application. | +| `` e `` | 설정 파일 수정 | Open file in external editor. | | `` u `` | 업데이트 확인 | | | `` `` | 최근에 사용한 저장소로 전환 | | | `` a `` | 모든 브랜치 로그 표시 | | @@ -213,13 +214,12 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 서브모듈 이름을 클립보드에 복사 | | -| `` `` | 서브모듈 열기 | | -| `` `` | 서브모듈 열기 | | -| `` d `` | 서브모듈 삭제 | | -| `` u `` | 서브모듈 업데이트 | | +| `` `` | Enter | 서브모듈 열기 | +| `` d `` | Remove | Remove the selected submodule and its corresponding directory. | +| `` u `` | Update | 서브모듈 업데이트 | | `` n `` | 새로운 서브모듈 추가 | | | `` e `` | 서브모듈의 URL을 수정 | | -| `` i `` | 서브모듈 초기화 | | +| `` i `` | Initialize | 서브모듈 초기화 | | `` b `` | View bulk submodule options | | | `` / `` | Filter the current view by text | | @@ -227,10 +227,11 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| -| `` f `` | 원격을 업데이트 | | +| `` `` | View branches | | | `` n `` | 새로운 Remote 추가 | | -| `` d `` | Remote를 삭제 | | -| `` e `` | Remote를 수정 | | +| `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | +| `` e `` | Edit | Remote를 수정 | +| `` f `` | Fetch | 원격을 업데이트 | | `` / `` | Filter the current view by text | | ## 원격 브랜치 @@ -238,16 +239,16 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 브랜치명을 클립보드에 복사 | | -| `` `` | 체크아웃 | | +| `` `` | 체크아웃 | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | `` n `` | 새 브랜치 생성 | | -| `` M `` | 현재 브랜치에 병합 | | -| `` r `` | 체크아웃된 브랜치를 이 브랜치에 리베이스 | | -| `` d `` | Delete remote tag | | -| `` u `` | Set as upstream of checked-out branch | | +| `` M `` | 현재 브랜치에 병합 | Merge selected branch into currently checked out branch. | +| `` r `` | 체크아웃된 브랜치를 이 브랜치에 리베이스 | Rebase the checked-out branch onto the selected branch. | +| `` d `` | Delete | Delete the remote branch from the remote. | +| `` u `` | Set as upstream | Set the selected remote branch as the upstream of the checked-out branch. | | `` s `` | Sort order | | -| `` g `` | View reset options | | -| `` w `` | View worktree options | | +| `` g `` | View reset options | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | 커밋 보기 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 커밋 @@ -257,51 +258,51 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` `` | 커밋 SHA를 클립보드에 복사 | | | `` `` | Reset cherry-picked (copied) commits selection | | | `` b `` | Bisect 옵션 보기 | | -| `` s `` | Squash down | | -| `` f `` | Fixup commit | | -| `` r `` | 커밋메시지 변경 | | +| `` s `` | Squash | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | +| `` f `` | Fixup | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | +| `` r `` | 커밋메시지 변경 | Reword the selected commit's message. | | `` R `` | 에디터에서 커밋메시지 수정 | | -| `` d `` | 커밋 삭제 | | -| `` e `` | 커밋을 편집 | | +| `` d `` | 커밋 삭제 | Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts. | +| `` e `` | Edit (start interactive rebase) | 커밋을 편집 | | `` i `` | Start interactive rebase | 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. If you would instead like to start an interactive rebase from the selected commit, press `e`. | -| `` p `` | Pick commit (when mid-rebase) | | -| `` F `` | Create fixup commit for this commit | | -| `` S `` | Squash all 'fixup!' commits above selected commit (autosquash) | | +| `` p `` | Pick | Pick commit (when mid-rebase) | +| `` F `` | Create fixup commit | Create fixup commit for this commit | +| `` S `` | Apply fixup commits | Squash all 'fixup!' commits above selected commit (autosquash) | | `` `` | 커밋을 1개 아래로 이동 | | | `` `` | 커밋을 1개 위로 이동 | | | `` V `` | 커밋을 붙여넣기 (cherry-pick) | | -| `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | -| `` A `` | Amend commit with staged changes | | -| `` a `` | Set/Reset commit author | | -| `` t `` | 커밋 되돌리기 | | -| `` T `` | Tag commit | | -| `` `` | 로그 메뉴 열기 | | -| `` w `` | View worktree options | | -| `` `` | 커밋을 체크아웃 | | -| `` y `` | 커밋 attribute 복사 | | +| `` B `` | Mark as base commit for rebase | Select a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the `git rebase --onto` command. | +| `` A `` | Amend | Amend commit with staged changes | +| `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | +| `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | +| `` T `` | Tag commit | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | +| `` `` | 로그 메뉴 열기 | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | +| `` `` | 체크아웃 | Checkout the selected commit as a detached HEAD. | +| `` y `` | 커밋 attribute 복사 | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | 브라우저에서 커밋 열기 | | | `` n `` | 커밋에서 새 브랜치를 만듭니다. | | -| `` g `` | View reset options | | -| `` C `` | 커밋을 복사 (cherry-pick) | | +| `` g `` | View reset options | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | 커밋을 복사 (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Open external diff tool (git difftool) | | | `` `` | View selected item's files | | +| `` w `` | View worktree options | | | `` / `` | 검색 시작 | | ## 커밋 파일 | Key | Action | Info | |-----|--------|-------------| -| `` `` | 커밋한 파일명을 클립보드에 복사 | | -| `` c `` | Checkout file | | -| `` d `` | Discard this commit's changes to this file | | -| `` o `` | 파일 닫기 | | -| `` e `` | 파일 편집 | | +| `` `` | 파일명을 클립보드에 복사 | | +| `` c `` | 체크아웃 | Checkout file | +| `` d `` | Remove | Discard this commit's changes to this file | +| `` o `` | 파일 닫기 | Open file in default application. | +| `` e `` | Edit | Open file in external editor. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | Toggle file included in patch | | -| `` a `` | Toggle all files included in patch | | -| `` `` | Enter file to add selected lines to the patch (or toggle directory collapsed) | | -| `` ` `` | 파일 트리뷰로 전환 | | +| `` `` | Toggle file included in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` a `` | Toggle all files included in patch | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` `` | Enter file to add selected lines to the patch (or toggle directory collapsed) | If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory. | +| `` ` `` | 파일 트리뷰로 전환 | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` / `` | 검색 시작 | | ## 커밋메시지 @@ -315,13 +316,13 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | 체크아웃 | | -| `` d `` | View delete options | | -| `` P `` | 태그를 push | | -| `` n `` | 태그를 생성 | | -| `` g `` | View reset options | | -| `` w `` | View worktree options | | +| `` `` | 체크아웃 | Checkout the selected tag tag as a detached HEAD. | +| `` n `` | 태그를 생성 | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | +| `` d `` | Delete | View delete options for local/remote tag. | +| `` P `` | 태그를 push | Push the selected tag to a remote. You'll be prompted to select a remote. | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | 커밋 보기 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 파일 @@ -329,29 +330,29 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | 파일명을 클립보드에 복사 | | -| `` `` | Staged 전환 | | +| `` `` | Staged 전환 | Toggle staged for selected file. | | `` `` | 파일을 필터하기 (Staged/unstaged) | | | `` y `` | Copy to clipboard | | -| `` c `` | 커밋 변경내용 | | +| `` c `` | 커밋 변경내용 | Commit staged changes. | | `` w `` | Commit changes without pre-commit hook | | | `` A `` | 마지맛 커밋 수정 | | | `` C `` | Git 편집기를 사용하여 변경 내용을 커밋합니다. | | | `` `` | Find base commit for fixup | Find the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: | -| `` e `` | 파일 편집 | | -| `` o `` | 파일 닫기 | | +| `` e `` | Edit | Open file in external editor. | +| `` o `` | 파일 닫기 | Open file in default application. | | `` i `` | Ignore file | | | `` r `` | 파일 새로고침 | | -| `` s `` | 변경사항을 Stash | | -| `` S `` | Stash 옵션 보기 | | -| `` a `` | 모든 변경을 Staged/unstaged으로 전환 | | -| `` `` | Stage individual hunks/lines for file, or collapse/expand for directory | | -| `` d `` | View 'discard changes' options | | +| `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | +| `` S `` | Stash 옵션 보기 | View stash options (e.g. stash all, stash staged, stash unstaged). | +| `` a `` | 모든 변경을 Staged/unstaged으로 전환 | Toggle staged/unstaged for all files in working tree. | +| `` `` | Stage individual hunks/lines for file, or collapse/expand for directory | If the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it. | +| `` d `` | View 'discard changes' options | View options for discarding changes to the selected file. | | `` g `` | View upstream reset options | | -| `` D `` | View reset options | | -| `` ` `` | 파일 트리뷰로 전환 | | +| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | +| `` ` `` | 파일 트리뷰로 전환 | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` `` | Open external diff tool (git difftool) | | -| `` M `` | Git mergetool를 열기 | | -| `` f `` | Fetch | | +| `` M `` | Git mergetool를 열기 | Run `git mergetool`. | +| `` f `` | Fetch | Fetch changes from remote. | | `` / `` | 검색 시작 | | ## 확인 패널 diff --git a/docs/keybindings/Keybindings_nl.md b/docs/keybindings/Keybindings_nl.md index 188366558..fb978f8a1 100644 --- a/docs/keybindings/Keybindings_nl.md +++ b/docs/keybindings/Keybindings_nl.md @@ -11,24 +11,26 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` `` | Wissel naar een recente repo | | | `` (fn+up/shift+k) `` | Scroll naar beneden vanaf hoofdpaneel | | | `` (fn+down/shift+j) `` | Scroll naar beneden vanaf hoofdpaneel | | -| `` @ `` | Open command log menu | | -| `` } `` | Increase the size of the context shown around changes in the diff view | | -| `` { `` | Decrease the size of the context shown around changes in the diff view | | -| `` : `` | Voer aangepaste commando uit | | +| `` @ `` | View command log options | View options for the command log e.g. show/hide the command log and focus the command log. | +| `` P `` | Push | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` p `` | Pull | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` } `` | Increase diff context size | Increase the amount of the context shown around changes in the diff view. | +| `` { `` | Decrease diff context size | Decrease the amount of the context shown around changes in the diff view. | +| `` : `` | Voer aangepaste commando uit | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | `` `` | Bekijk aangepaste patch opties | | -| `` m `` | Bekijk merge/rebase opties | | -| `` R `` | Verversen | | +| `` m `` | Bekijk merge/rebase opties | View options to abort/continue/skip the current merge/rebase. | +| `` R `` | Verversen | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. | | `` + `` | Volgende scherm modus (normaal/half/groot) | | | `` _ `` | Vorige scherm modus | | | `` ? `` | Open menu | | -| `` `` | Bekijk scoping opties | | -| `` W `` | Open diff menu | | -| `` `` | Open diff menu | | -| `` `` | Toggle whether or not whitespace changes are shown in the diff view | | +| `` `` | Bekijk scoping opties | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | +| `` W `` | Open diff menu | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` `` | Open diff menu | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` q `` | Quit | | +| `` `` | Annuleren | | +| `` `` | Toggle whitespace | Toggle whether or not whitespace changes are shown in the diff view. | | `` z `` | Ongedaan maken (via reflog) (experimenteel) | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | | `` `` | Redo (via reflog) (experimenteel) | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | -| `` P `` | Push | | -| `` p `` | Pull | | ## Lijstpaneel navigatie @@ -52,29 +54,29 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | Kopieer de bestandsnaam naar het klembord | | -| `` `` | Toggle staged | | +| `` `` | Toggle staged | Toggle staged for selected file. | | `` `` | Filter files by status | | | `` y `` | Copy to clipboard | | -| `` c `` | Commit veranderingen | | +| `` c `` | Commit veranderingen | Commit staged changes. | | `` w `` | Commit veranderingen zonder pre-commit hook | | | `` A `` | Wijzig laatste commit | | | `` C `` | Commit veranderingen met de git editor | | | `` `` | Find base commit for fixup | Find the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: | -| `` e `` | Verander bestand | | -| `` o `` | Open bestand | | +| `` e `` | Edit | Open file in external editor. | +| `` o `` | Open bestand | Open file in default application. | | `` i `` | Ignore or exclude file | | | `` r `` | Refresh bestanden | | -| `` s `` | Stash-bestanden | | -| `` S `` | Bekijk stash opties | | -| `` a `` | Toggle staged alle | | -| `` `` | Stage individuele hunks/lijnen | | -| `` d `` | Bekijk 'veranderingen ongedaan maken' opties | | +| `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | +| `` S `` | Bekijk stash opties | View stash options (e.g. stash all, stash staged, stash unstaged). | +| `` a `` | Toggle staged alle | Toggle staged/unstaged for all files in working tree. | +| `` `` | Stage individuele hunks/lijnen | If the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it. | +| `` d `` | Bekijk 'veranderingen ongedaan maken' opties | View options for discarding changes to the selected file. | | `` g `` | Bekijk upstream reset opties | | -| `` D `` | Bekijk reset opties | | -| `` ` `` | Toggle bestandsboom weergave | | +| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | +| `` ` `` | Toggle bestandsboom weergave | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` `` | Open external diff tool (git difftool) | | -| `` M `` | Open external merge tool (git mergetool) | | -| `` f `` | Fetch | | +| `` M `` | Open external merge tool | Run `git mergetool`. | +| `` f `` | Fetch | Fetch changes from remote. | | `` / `` | Start met zoeken | | ## Bevestigingspaneel @@ -90,24 +92,24 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ |-----|--------|-------------| | `` `` | Kopieer branch name naar klembord | | | `` i `` | Laat git-flow opties zien | | -| `` `` | Uitchecken | | +| `` `` | Uitchecken | Checkout selected item. | | `` n `` | Nieuwe branch | | | `` o `` | Maak een pull-request | | | `` O `` | Bekijk opties voor pull-aanvraag | | | `` `` | Kopieer de URL van het pull-verzoek naar het klembord | | -| `` c `` | Uitchecken bij naam | | -| `` F `` | Forceer checkout | | -| `` d `` | View delete options | | -| `` r `` | Rebase branch | | -| `` M `` | Merge in met huidige checked out branch | | -| `` f `` | Fast-forward deze branch vanaf zijn upstream | | +| `` c `` | Uitchecken bij naam | Checkout by name. In the input box you can enter '-' to switch to the last branch. | +| `` F `` | Forceer checkout | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | +| `` d `` | Delete | View delete options for local/remote branch. | +| `` r `` | Rebase branch | Rebase the checked-out branch onto the selected branch. | +| `` M `` | Merge in met huidige checked out branch | Merge selected branch into currently checked out branch. | +| `` f `` | Fast-forward deze branch vanaf zijn upstream | Fast-forward selected branch from its upstream. | | `` T `` | Creëer tag | | | `` s `` | Sort order | | | `` g `` | Bekijk reset opties | | | `` R `` | Hernoem branch | | -| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | -| `` w `` | View worktree options | | +| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | `` `` | Bekijk commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Commit bericht @@ -121,16 +123,16 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| -| `` `` | Kopieer de vastgelegde bestandsnaam naar het klembord | | -| `` c `` | Bestand uitchecken | | -| `` d `` | Uitsluit deze commit zijn veranderingen aan dit bestand | | -| `` o `` | Open bestand | | -| `` e `` | Verander bestand | | +| `` `` | Kopieer de bestandsnaam naar het klembord | | +| `` c `` | Uitchecken | Bestand uitchecken | +| `` d `` | Remove | Uitsluit deze commit zijn veranderingen aan dit bestand | +| `` o `` | Open bestand | Open file in default application. | +| `` e `` | Edit | Open file in external editor. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | Toggle bestand inbegrepen in patch | | -| `` a `` | Toggle all files included in patch | | -| `` `` | Enter bestand om geselecteerde regels toe te voegen aan de patch | | -| `` ` `` | Toggle bestandsboom weergave | | +| `` `` | Toggle bestand inbegrepen in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` `` | Enter bestand om geselecteerde regels toe te voegen aan de patch | If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory. | +| `` ` `` | Toggle bestandsboom weergave | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` / `` | Start met zoeken | | ## Commits @@ -140,35 +142,35 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` `` | Kopieer commit SHA naar klembord | | | `` `` | Reset cherry-picked (gekopieerde) commits selectie | | | `` b `` | View bisect options | | -| `` s `` | Squash beneden | | -| `` f `` | Fixup commit | | -| `` r `` | Hernoem commit | | +| `` s `` | Squash | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | +| `` f `` | Fixup | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | +| `` r `` | Hernoem commit | Reword the selected commit's message. | | `` R `` | Hernoem commit met editor | | -| `` d `` | Verwijder commit | | -| `` e `` | Wijzig commit | | +| `` d `` | Verwijder commit | Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts. | +| `` e `` | Edit (start interactive rebase) | Wijzig commit | | `` i `` | Start interactive rebase | 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. If you would instead like to start an interactive rebase from the selected commit, press `e`. | -| `` p `` | Kies commit (wanneer midden in rebase) | | -| `` F `` | Creëer fixup commit | | -| `` S `` | Squash bovenstaande commits | | +| `` p `` | Pick | Kies commit (wanneer midden in rebase) | +| `` F `` | Create fixup commit | Creëer fixup commit | +| `` S `` | Apply fixup commits | Squash bovenstaande commits | | `` `` | Verplaats commit 1 naar beneden | | | `` `` | Verplaats commit 1 naar boven | | | `` V `` | Plak commits (cherry-pick) | | -| `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | -| `` A `` | Wijzig commit met staged veranderingen | | -| `` a `` | Set/Reset commit author | | -| `` t `` | Commit ongedaan maken | | -| `` T `` | Tag commit | | -| `` `` | Open log menu | | -| `` w `` | View worktree options | | -| `` `` | Checkout commit | | -| `` y `` | Copy commit attribute | | +| `` B `` | Mark as base commit for rebase | Select a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the `git rebase --onto` command. | +| `` A `` | Amend | Wijzig commit met staged veranderingen | +| `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | +| `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | +| `` T `` | Tag commit | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | +| `` `` | View log options | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | +| `` `` | Uitchecken | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Open commit in browser | | | `` n `` | Creëer nieuwe branch van commit | | -| `` g `` | Bekijk reset opties | | -| `` C `` | Kopieer commit (cherry-pick) | | +| `` g `` | Bekijk reset opties | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Kopieer commit (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Open external diff tool (git difftool) | | | `` `` | Bekijk gecommite bestanden | | +| `` w `` | View worktree options | | | `` / `` | Start met zoeken | | ## Menu @@ -183,16 +185,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` e `` | Verander bestand | | -| `` o `` | Open bestand | | -| `` `` | Selecteer voorgaand conflict | | -| `` `` | Selecteer volgende conflict | | -| `` `` | Selecteer bovenste hunk | | -| `` `` | Selecteer onderste hunk | | -| `` z `` | Ongedaan maken | | -| `` M `` | Open external merge tool (git mergetool) | | | `` `` | Kies stuk | | | `` b `` | Kies beide stukken | | +| `` `` | Selecteer bovenste hunk | | +| `` `` | Selecteer onderste hunk | | +| `` `` | Selecteer voorgaand conflict | | +| `` `` | Selecteer volgende conflict | | +| `` z `` | Ongedaan maken | Undo last merge conflict resolution. | +| `` e `` | Verander bestand | Open file in external editor. | +| `` o `` | Open bestand | Open file in default application. | +| `` M `` | Open external merge tool | Run `git mergetool`. | | `` `` | Ga terug naar het bestanden paneel | | ## Normaal @@ -209,10 +211,10 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | Selecteer de vorige hunk | | | `` `` | Selecteer de volgende hunk | | | `` v `` | Toggle drag selecteer | | -| `` a `` | Toggle selecteer hunk | | -| `` `` | Copy the selected text to the clipboard | | -| `` o `` | Open bestand | | -| `` e `` | Verander bestand | | +| `` a `` | Toggle selecteer hunk | Toggle hunk selection mode. | +| `` `` | Copy selected text to clipboard | | +| `` o `` | Open bestand | Open file in default application. | +| `` e `` | Verander bestand | Open file in external editor. | | `` `` | Voeg toe/verwijder lijn(en) in patch | | | `` `` | Sluit lijn-bij-lijn modus | | | `` / `` | Start met zoeken | | @@ -222,16 +224,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Kopieer commit SHA naar klembord | | -| `` w `` | View worktree options | | -| `` `` | Checkout commit | | -| `` y `` | Copy commit attribute | | +| `` `` | Uitchecken | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Open commit in browser | | | `` n `` | Creëer nieuwe branch van commit | | -| `` g `` | Bekijk reset opties | | -| `` C `` | Kopieer commit (cherry-pick) | | +| `` g `` | Bekijk reset opties | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Kopieer commit (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Reset cherry-picked (gekopieerde) commits selectie | | | `` `` | Open external diff tool (git difftool) | | | `` `` | Bekijk commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Remote branches @@ -239,26 +241,27 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Kopieer branch name naar klembord | | -| `` `` | Uitchecken | | +| `` `` | Uitchecken | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | `` n `` | Nieuwe branch | | -| `` M `` | Merge in met huidige checked out branch | | -| `` r `` | Rebase branch | | -| `` d `` | Delete remote tag | | -| `` u `` | Stel in als upstream van uitgecheckte branch | | +| `` M `` | Merge in met huidige checked out branch | Merge selected branch into currently checked out branch. | +| `` r `` | Rebase branch | Rebase the checked-out branch onto the selected branch. | +| `` d `` | Delete | Delete the remote branch from the remote. | +| `` u `` | Set as upstream | Stel in als upstream van uitgecheckte branch | | `` s `` | Sort order | | -| `` g `` | Bekijk reset opties | | -| `` w `` | View worktree options | | +| `` g `` | Bekijk reset opties | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | Bekijk commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Remotes | Key | Action | Info | |-----|--------|-------------| -| `` f `` | Fetch remote | | +| `` `` | View branches | | | `` n `` | Voeg een nieuwe remote toe | | -| `` d `` | Verwijder remote | | -| `` e `` | Wijzig remote | | +| `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | +| `` e `` | Edit | Wijzig remote | +| `` f `` | Fetch | Fetch remote | | `` / `` | Filter the current view by text | | ## Staging @@ -268,16 +271,16 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | Selecteer de vorige hunk | | | `` `` | Selecteer de volgende hunk | | | `` v `` | Toggle drag selecteer | | -| `` a `` | Toggle selecteer hunk | | -| `` `` | Copy the selected text to the clipboard | | -| `` o `` | Open bestand | | -| `` e `` | Verander bestand | | +| `` a `` | Toggle selecteer hunk | Toggle hunk selection mode. | +| `` `` | Copy selected text to clipboard | | +| `` `` | Toggle staged | Toggle lijnen staged / unstaged | +| `` d `` | Verwijdert change (git reset) | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | +| `` o `` | Open bestand | Open file in default application. | +| `` e `` | Verander bestand | Open file in external editor. | | `` `` | Ga terug naar het bestanden paneel | | -| `` `` | Ga naar een ander paneel | | -| `` `` | Toggle lijnen staged / unstaged | | -| `` d `` | Verwijdert change (git reset) | | -| `` E `` | Edit hunk | | -| `` c `` | Commit veranderingen | | +| `` `` | Ga naar een ander paneel | Switch to other view (staged/unstaged changes). | +| `` E `` | Edit hunk | Edit selected hunk in external editor. | +| `` c `` | Commit veranderingen | Commit staged changes. | | `` w `` | Commit veranderingen zonder pre-commit hook | | | `` C `` | Commit veranderingen met de git editor | | | `` / `` | Start met zoeken | | @@ -286,21 +289,21 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Toepassen | | -| `` g `` | Pop | | -| `` d `` | Laten vallen | | -| `` n `` | Nieuwe branch | | +| `` `` | Toepassen | Apply the stash entry to your working directory. | +| `` g `` | Pop | Apply the stash entry to your working directory and remove the stash entry. | +| `` d `` | Laten vallen | Remove the stash entry from the stash list. | +| `` n `` | Nieuwe branch | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. | | `` r `` | Rename stash | | -| `` w `` | View worktree options | | | `` `` | Bekijk gecommite bestanden | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Status | Key | Action | Info | |-----|--------|-------------| -| `` o `` | Open config bestand | | -| `` e `` | Verander config bestand | | +| `` o `` | Open config bestand | Open file in default application. | +| `` e `` | Verander config bestand | Open file in external editor. | | `` u `` | Check voor updates | | | `` `` | Wissel naar een recente repo | | | `` a `` | Alle logs van de branch laten zien | | @@ -310,16 +313,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Kopieer commit SHA naar klembord | | -| `` w `` | View worktree options | | -| `` `` | Checkout commit | | -| `` y `` | Copy commit attribute | | +| `` `` | Uitchecken | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Open commit in browser | | | `` n `` | Creëer nieuwe branch van commit | | -| `` g `` | Bekijk reset opties | | -| `` C `` | Kopieer commit (cherry-pick) | | +| `` g `` | Bekijk reset opties | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Kopieer commit (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Reset cherry-picked (gekopieerde) commits selectie | | | `` `` | Open external diff tool (git difftool) | | | `` `` | Bekijk gecommite bestanden | | +| `` w `` | View worktree options | | | `` / `` | Start met zoeken | | ## Submodules @@ -327,13 +330,12 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Kopieer submodule naam naar klembord | | -| `` `` | Enter submodule | | -| `` `` | Enter submodule | | -| `` d `` | Remove submodule | | -| `` u `` | Update submodule | | +| `` `` | Enter | Enter submodule | +| `` d `` | Remove | Remove the selected submodule and its corresponding directory. | +| `` u `` | Update | Update selected submodule. | | `` n `` | Voeg nieuwe submodule toe | | | `` e `` | Update submodule URL | | -| `` i `` | Initialiseer submodule | | +| `` i `` | Initialize | Initialiseer submodule | | `` b `` | Bekijk bulk submodule opties | | | `` / `` | Filter the current view by text | | @@ -341,22 +343,21 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Uitchecken | | -| `` d `` | View delete options | | -| `` P `` | Push tag | | -| `` n `` | Creëer tag | | -| `` g `` | Bekijk reset opties | | -| `` w `` | View worktree options | | +| `` `` | Uitchecken | Checkout the selected tag tag as a detached HEAD. | +| `` n `` | Creëer tag | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | +| `` d `` | Delete | View delete options for local/remote tag. | +| `` P `` | Push tag | Push the selected tag to a remote. You'll be prompted to select a remote. | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | Bekijk commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Worktrees | Key | Action | Info | |-----|--------|-------------| -| `` n `` | Create worktree | | -| `` `` | Switch to worktree | | -| `` `` | Switch to worktree | | +| `` n `` | New worktree | | +| `` `` | Switch | Switch to the selected worktree. | | `` o `` | Open in editor | | -| `` d `` | Remove worktree | | +| `` d `` | Remove | Remove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory. | | `` / `` | Filter the current view by text | | diff --git a/docs/keybindings/Keybindings_pl.md b/docs/keybindings/Keybindings_pl.md index 12fffb34e..87693d9b0 100644 --- a/docs/keybindings/Keybindings_pl.md +++ b/docs/keybindings/Keybindings_pl.md @@ -9,26 +9,28 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | Switch to a recent repo | | -| `` (fn+up/shift+k) `` | Scroll up main panel | | -| `` (fn+down/shift+j) `` | Scroll down main panel | | -| `` @ `` | Open command log menu | | -| `` } `` | Increase the size of the context shown around changes in the diff view | | -| `` { `` | Decrease the size of the context shown around changes in the diff view | | -| `` : `` | Wykonaj własną komendę | | +| `` (fn+up/shift+k) `` | Scroll up main window | | +| `` (fn+down/shift+j) `` | Scroll down main window | | +| `` @ `` | View command log options | View options for the command log e.g. show/hide the command log and focus the command log. | +| `` P `` | Push | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` p `` | Pull | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` } `` | Increase diff context size | Increase the amount of the context shown around changes in the diff view. | +| `` { `` | Decrease diff context size | Decrease the amount of the context shown around changes in the diff view. | +| `` : `` | Wykonaj własną komendę | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | `` `` | View custom patch options | | -| `` m `` | Widok scalenia/opcje zmiany bazy | | -| `` R `` | Odśwież | | +| `` m `` | Widok scalenia/opcje zmiany bazy | View options to abort/continue/skip the current merge/rebase. | +| `` R `` | Odśwież | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. | | `` + `` | Next screen mode (normal/half/fullscreen) | | | `` _ `` | Prev screen mode | | -| `` ? `` | Open menu | | -| `` `` | View filter-by-path options | | -| `` W `` | Open diff menu | | -| `` `` | Open diff menu | | -| `` `` | Toggle whether or not whitespace changes are shown in the diff view | | +| `` ? `` | Open keybindings menu | | +| `` `` | View filter-by-path options | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | +| `` W `` | View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` `` | View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` q `` | Quit | | +| `` `` | Anuluj | | +| `` `` | Toggle whitespace | Toggle whether or not whitespace changes are shown in the diff view. | | `` z `` | Undo | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | | `` `` | Redo | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | -| `` P `` | Push | | -| `` p `` | Pull | | ## List panel navigation @@ -59,37 +61,37 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy commit SHA to clipboard | | -| `` `` | Reset cherry-picked (copied) commits selection | | +| `` `` | Reset copied (cherry-picked) commits selection | | | `` b `` | View bisect options | | -| `` s `` | Ściśnij | | -| `` f `` | Napraw commit | | -| `` r `` | Zmień nazwę commita | | +| `` s `` | Spłaszcz | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | +| `` f `` | Napraw | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | +| `` r `` | Zmień nazwę commita | Reword the selected commit's message. | | `` R `` | Zmień nazwę commita w edytorze | | -| `` d `` | Usuń commit | | -| `` e `` | Edytuj commit | | +| `` d `` | Usuń commit | Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts. | +| `` e `` | Edit (start interactive rebase) | Edytuj commit | | `` i `` | Start interactive rebase | 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. If you would instead like to start an interactive rebase from the selected commit, press `e`. | -| `` p `` | Wybierz commit (podczas zmiany bazy) | | -| `` F `` | Utwórz commit naprawczy dla tego commita | | -| `` S `` | Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash) | | +| `` p `` | Pick | Wybierz commit (podczas zmiany bazy) | +| `` F `` | Create fixup commit | Utwórz commit naprawczy dla tego commita | +| `` S `` | Apply fixup commits | Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash) | | `` `` | Przenieś commit 1 w dół | | | `` `` | Przenieś commit 1 w górę | | | `` V `` | Wklej commity (przebieranie) | | -| `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | -| `` A `` | Popraw commit zmianami z poczekalni | | -| `` a `` | Set/Reset commit author | | -| `` t `` | Odwróć commit | | -| `` T `` | Tag commit | | -| `` `` | Open log menu | | -| `` w `` | View worktree options | | -| `` `` | Checkout commit | | -| `` y `` | Copy commit attribute | | +| `` B `` | Mark as base commit for rebase | Select a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the `git rebase --onto` command. | +| `` A `` | Amend | Popraw commit zmianami z poczekalni | +| `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | +| `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | +| `` T `` | Tag commit | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | +| `` `` | View log options | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | +| `` `` | Przełącz | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Open commit in browser | | | `` n `` | Create new branch off of commit | | -| `` g `` | Wyświetl opcje resetu | | -| `` C `` | Kopiuj commit (przebieranie) | | +| `` g `` | Wyświetl opcje resetu | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Kopiuj commit (przebieranie) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Open external diff tool (git difftool) | | | `` `` | Przeglądaj pliki commita | | +| `` w `` | View worktree options | | | `` / `` | Search the current view by text | | ## Confirmation panel @@ -105,24 +107,24 @@ If you would instead like to start an interactive rebase from the selected commi |-----|--------|-------------| | `` `` | Copy branch name to clipboard | | | `` i `` | Show git-flow options | | -| `` `` | Przełącz | | +| `` `` | Przełącz | Checkout selected item. | | `` n `` | Nowa gałąź | | | `` o `` | Utwórz żądanie pobrania | | | `` O `` | Utwórz opcje żądania ściągnięcia | | | `` `` | Skopiuj adres URL żądania pobrania do schowka | | -| `` c `` | Przełącz używając nazwy | | -| `` F `` | Wymuś przełączenie | | -| `` d `` | View delete options | | -| `` r `` | Zmiana bazy gałęzi | | -| `` M `` | Scal do obecnej gałęzi | | -| `` f `` | Fast-forward this branch from its upstream | | -| `` T `` | Create tag | | +| `` c `` | Przełącz używając nazwy | Checkout by name. In the input box you can enter '-' to switch to the last branch. | +| `` F `` | Wymuś przełączenie | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | +| `` d `` | Delete | View delete options for local/remote branch. | +| `` r `` | Zmiana bazy gałęzi | Rebase the checked-out branch onto the selected branch. | +| `` M `` | Scal do obecnej gałęzi | Merge selected branch into currently checked out branch. | +| `` f `` | Fast-forward | Fast-forward selected branch from its upstream. | +| `` T `` | New tag | | | `` s `` | Sort order | | | `` g `` | Wyświetl opcje resetu | | | `` R `` | Rename branch | | -| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | -| `` w `` | View worktree options | | +| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | `` `` | View commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Main panel (patch building) @@ -132,11 +134,11 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | Poprzedni kawałek | | | `` `` | Następny kawałek | | | `` v `` | Toggle range select | | -| `` a `` | Toggle select hunk | | -| `` `` | Copy the selected text to the clipboard | | -| `` o `` | Otwórz plik | | -| `` e `` | Edytuj plik | | -| `` `` | Add/Remove line(s) to patch | | +| `` a `` | Select hunk | Toggle hunk selection mode. | +| `` `` | Copy selected text to clipboard | | +| `` o `` | Otwórz plik | Open file in default application. | +| `` e `` | Edytuj plik | Open file in external editor. | +| `` `` | Toggle lines in patch | | | `` `` | Wyście z trybu "linia po linii" | | | `` / `` | Search the current view by text | | @@ -152,46 +154,46 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Copy the file name to the clipboard | | -| `` `` | Przełącz stan poczekalni | | +| `` `` | Copy path to clipboard | | +| `` `` | Przełącz stan poczekalni | Toggle staged for selected file. | | `` `` | Filter files by status | | | `` y `` | Copy to clipboard | | -| `` c `` | Zatwierdź zmiany | | +| `` c `` | Zatwierdź zmiany | Commit staged changes. | | `` w `` | Zatwierdź zmiany bez skryptu pre-commit | | | `` A `` | Zmień ostatni commit | | | `` C `` | Zatwierdź zmiany używając edytora | | | `` `` | Find base commit for fixup | Find the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: | -| `` e `` | Edytuj plik | | -| `` o `` | Otwórz plik | | +| `` e `` | Edit | Open file in external editor. | +| `` o `` | Otwórz plik | Open file in default application. | | `` i `` | Ignore or exclude file | | | `` r `` | Odśwież pliki | | -| `` s `` | Przechowaj zmiany | | -| `` S `` | Wyświetl opcje schowka | | -| `` a `` | Przełącz stan poczekalni wszystkich | | -| `` `` | Zatwierdź pojedyncze linie | | -| `` d `` | Pokaż opcje porzucania zmian | | +| `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | +| `` S `` | Wyświetl opcje schowka | View stash options (e.g. stash all, stash staged, stash unstaged). | +| `` a `` | Przełącz stan poczekalni wszystkich | Toggle staged/unstaged for all files in working tree. | +| `` `` | Zatwierdź pojedyncze linie | If the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it. | +| `` d `` | Pokaż opcje porzucania zmian | View options for discarding changes to the selected file. | | `` g `` | View upstream reset options | | -| `` D `` | Wyświetl opcje resetu | | -| `` ` `` | Toggle file tree view | | +| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | +| `` ` `` | Toggle file tree view | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` `` | Open external diff tool (git difftool) | | -| `` M `` | Open external merge tool (git mergetool) | | -| `` f `` | Pobierz | | +| `` M `` | Open external merge tool | Run `git mergetool`. | +| `` f `` | Pobierz | Fetch changes from remote. | | `` / `` | Search the current view by text | | ## Pliki commita | Key | Action | Info | |-----|--------|-------------| -| `` `` | Copy the committed file name to the clipboard | | -| `` c `` | Plik wybierania | | -| `` d `` | Porzuć zmiany commita dla tego pliku | | -| `` o `` | Otwórz plik | | -| `` e `` | Edytuj plik | | +| `` `` | Copy path to clipboard | | +| `` c `` | Przełącz | Plik wybierania | +| `` d `` | Remove | Porzuć zmiany commita dla tego pliku | +| `` o `` | Otwórz plik | Open file in default application. | +| `` e `` | Edit | Open file in external editor. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | Toggle file included in patch | | -| `` a `` | Toggle all files included in patch | | -| `` `` | Enter file to add selected lines to the patch (or toggle directory collapsed) | | -| `` ` `` | Toggle file tree view | | +| `` `` | Toggle file included in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` `` | Enter file / Toggle directory collapsed | If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory. | +| `` ` `` | Toggle file tree view | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` / `` | Search the current view by text | | ## Poczekalnia @@ -201,16 +203,16 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | Poprzedni kawałek | | | `` `` | Następny kawałek | | | `` v `` | Toggle range select | | -| `` a `` | Toggle select hunk | | -| `` `` | Copy the selected text to the clipboard | | -| `` o `` | Otwórz plik | | -| `` e `` | Edytuj plik | | +| `` a `` | Select hunk | Toggle hunk selection mode. | +| `` `` | Copy selected text to clipboard | | +| `` `` | Przełącz stan poczekalni | Toggle selection staged / unstaged. | +| `` d `` | Discard | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | +| `` o `` | Otwórz plik | Open file in default application. | +| `` e `` | Edytuj plik | Open file in external editor. | | `` `` | Wróć do panelu plików | | -| `` `` | Switch to other panel (staged/unstaged changes) | | -| `` `` | Toggle line staged / unstaged | | -| `` d `` | Discard change (git reset) | | -| `` E `` | Edit hunk | | -| `` c `` | Zatwierdź zmiany | | +| `` `` | Switch view | Switch to other view (staged/unstaged changes). | +| `` E `` | Edit hunk | Edit selected hunk in external editor. | +| `` c `` | Zatwierdź zmiany | Commit staged changes. | | `` w `` | Zatwierdź zmiany bez skryptu pre-commit | | | `` C `` | Zatwierdź zmiany używając edytora | | | `` / `` | Search the current view by text | | @@ -220,16 +222,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy commit SHA to clipboard | | -| `` w `` | View worktree options | | -| `` `` | Checkout commit | | -| `` y `` | Copy commit attribute | | +| `` `` | Przełącz | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Open commit in browser | | | `` n `` | Create new branch off of commit | | -| `` g `` | Wyświetl opcje resetu | | -| `` C `` | Kopiuj commit (przebieranie) | | -| `` `` | Reset cherry-picked (copied) commits selection | | +| `` g `` | Wyświetl opcje resetu | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Kopiuj commit (przebieranie) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | +| `` `` | Reset copied (cherry-picked) commits selection | | | `` `` | Open external diff tool (git difftool) | | | `` `` | View commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Remote branches @@ -237,63 +239,64 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy branch name to clipboard | | -| `` `` | Przełącz | | +| `` `` | Przełącz | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | `` n `` | Nowa gałąź | | -| `` M `` | Scal do obecnej gałęzi | | -| `` r `` | Zmiana bazy gałęzi | | -| `` d `` | Delete remote tag | | -| `` u `` | Set as upstream of checked-out branch | | +| `` M `` | Scal do obecnej gałęzi | Merge selected branch into currently checked out branch. | +| `` r `` | Zmiana bazy gałęzi | Rebase the checked-out branch onto the selected branch. | +| `` d `` | Delete | Delete the remote branch from the remote. | +| `` u `` | Set as upstream | Set the selected remote branch as the upstream of the checked-out branch. | | `` s `` | Sort order | | -| `` g `` | Wyświetl opcje resetu | | -| `` w `` | View worktree options | | +| `` g `` | Wyświetl opcje resetu | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | View commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Remotes | Key | Action | Info | |-----|--------|-------------| -| `` f `` | Fetch remote | | -| `` n `` | Add new remote | | -| `` d `` | Remove remote | | -| `` e `` | Edit remote | | +| `` `` | View branches | | +| `` n `` | New remote | | +| `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | +| `` e `` | Edit | Edit the selected remote's name or URL. | +| `` f `` | Pobierz | Fetch updates from the remote repository. This retrieves new commits and branches without merging them into your local branches. | | `` / `` | Filter the current view by text | | ## Scalanie | Key | Action | Info | |-----|--------|-------------| -| `` e `` | Edytuj plik | | -| `` o `` | Otwórz plik | | -| `` `` | Poprzedni konflikt | | -| `` `` | Następny konflikt | | -| `` `` | Wybierz poprzedni kawałek | | -| `` `` | Wybierz następny kawałek | | -| `` z `` | Cofnij | | -| `` M `` | Open external merge tool (git mergetool) | | | `` `` | Wybierz kawałek | | | `` b `` | Wybierz oba kawałki | | +| `` `` | Wybierz poprzedni kawałek | | +| `` `` | Wybierz następny kawałek | | +| `` `` | Poprzedni konflikt | | +| `` `` | Następny konflikt | | +| `` z `` | Cofnij | Undo last merge conflict resolution. | +| `` e `` | Edytuj plik | Open file in external editor. | +| `` o `` | Otwórz plik | Open file in default application. | +| `` M `` | Open external merge tool | Run `git mergetool`. | | `` `` | Wróć do panelu plików | | ## Schowek | Key | Action | Info | |-----|--------|-------------| -| `` `` | Zastosuj | | -| `` g `` | Wyciągnij | | -| `` d `` | Porzuć | | -| `` n `` | Nowa gałąź | | +| `` `` | Zastosuj | Apply the stash entry to your working directory. | +| `` g `` | Wyciągnij | Apply the stash entry to your working directory and remove the stash entry. | +| `` d `` | Porzuć | Remove the stash entry from the stash list. | +| `` n `` | Nowa gałąź | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. | | `` r `` | Rename stash | | -| `` w `` | View worktree options | | | `` `` | Przeglądaj pliki commita | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Status | Key | Action | Info | |-----|--------|-------------| -| `` o `` | Otwórz konfigurację | | -| `` e `` | Edytuj konfigurację | | +| `` o `` | Otwórz konfigurację | Open file in default application. | +| `` e `` | Edytuj konfigurację | Open file in external editor. | | `` u `` | Sprawdź aktualizacje | | | `` `` | Switch to a recent repo | | | `` a `` | Pokaż wszystkie logi gałęzi | | @@ -303,16 +306,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy commit SHA to clipboard | | -| `` w `` | View worktree options | | -| `` `` | Checkout commit | | -| `` y `` | Copy commit attribute | | +| `` `` | Przełącz | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Open commit in browser | | | `` n `` | Create new branch off of commit | | -| `` g `` | Wyświetl opcje resetu | | -| `` C `` | Kopiuj commit (przebieranie) | | -| `` `` | Reset cherry-picked (copied) commits selection | | +| `` g `` | Wyświetl opcje resetu | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Kopiuj commit (przebieranie) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | +| `` `` | Reset copied (cherry-picked) commits selection | | | `` `` | Open external diff tool (git difftool) | | | `` `` | Przeglądaj pliki commita | | +| `` w `` | View worktree options | | | `` / `` | Search the current view by text | | ## Submodules @@ -320,13 +323,12 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Copy submodule name to clipboard | | -| `` `` | Enter submodule | | -| `` `` | Enter submodule | | -| `` d `` | Remove submodule | | -| `` u `` | Update submodule | | -| `` n `` | Add new submodule | | +| `` `` | Enter | Enter submodule. After entering the submodule, you can press `` to escape back to the parent repo. | +| `` d `` | Remove | Remove the selected submodule and its corresponding directory. | +| `` u `` | Update | Update selected submodule. | +| `` n `` | New submodule | | | `` e `` | Update submodule URL | | -| `` i `` | Initialize submodule | | +| `` i `` | Initialize | Initialize the selected submodule to prepare for fetching. You probably want to follow this up by invoking the 'update' action to fetch the submodule. | | `` b `` | View bulk submodule options | | | `` / `` | Filter the current view by text | | @@ -334,24 +336,23 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Przełącz | | -| `` d `` | View delete options | | -| `` P `` | Push tag | | -| `` n `` | Create tag | | -| `` g `` | Wyświetl opcje resetu | | -| `` w `` | View worktree options | | +| `` `` | Przełącz | Checkout the selected tag tag as a detached HEAD. | +| `` n `` | New tag | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | +| `` d `` | Delete | View delete options for local/remote tag. | +| `` P `` | Push tag | Push the selected tag to a remote. You'll be prompted to select a remote. | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | View commits | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Worktrees | Key | Action | Info | |-----|--------|-------------| -| `` n `` | Create worktree | | -| `` `` | Switch to worktree | | -| `` `` | Switch to worktree | | +| `` n `` | New worktree | | +| `` `` | Switch | Switch to the selected worktree. | | `` o `` | Open in editor | | -| `` d `` | Remove worktree | | +| `` d `` | Remove | Remove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory. | | `` / `` | Filter the current view by text | | ## Zwykłe diff --git a/docs/keybindings/Keybindings_ru.md b/docs/keybindings/Keybindings_ru.md index d5be80650..f1e0ade98 100644 --- a/docs/keybindings/Keybindings_ru.md +++ b/docs/keybindings/Keybindings_ru.md @@ -11,24 +11,26 @@ _Связки клавиш_ | `` `` | Переключиться на последний репозиторий | | | `` (fn+up/shift+k) `` | Прокрутить вверх главную панель | | | `` (fn+down/shift+j) `` | Прокрутить вниз главную панель | | -| `` @ `` | Открыть меню журнала команд | | -| `` } `` | Увеличить размер контекста, отображаемого вокруг изменений в просмотрщике сравнении | | -| `` { `` | Уменьшите размер контекста, отображаемого вокруг изменений в просмотрщике сравнении | | -| `` : `` | Выполнить пользовательскую команду | | +| `` @ `` | Открыть меню журнала команд | View options for the command log e.g. show/hide the command log and focus the command log. | +| `` P `` | Отправить изменения | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` p `` | Получить и слить изменения | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` } `` | Увеличить размер контекста, отображаемого вокруг изменений в просмотрщике сравнении | Increase the amount of the context shown around changes in the diff view. | +| `` { `` | Уменьшите размер контекста, отображаемого вокруг изменений в просмотрщике сравнении | Decrease the amount of the context shown around changes in the diff view. | +| `` : `` | Выполнить пользовательскую команду | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | `` `` | Просмотреть пользовательские параметры патча | | -| `` m `` | Просмотреть параметры слияния/перебазирования | | -| `` R `` | Обновить | | +| `` m `` | Просмотреть параметры слияния/перебазирования | View options to abort/continue/skip the current merge/rebase. | +| `` R `` | Обновить | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. | | `` + `` | Следующий режим экрана (нормальный/полуэкранный/полноэкранный) | | | `` _ `` | Предыдущий режим экрана | | | `` ? `` | Открыть меню | | -| `` `` | Просмотреть параметры фильтрации по пути | | -| `` W `` | Открыть меню сравнении | | -| `` `` | Открыть меню сравнении | | -| `` `` | Переключить отображение изменении пробелов в просмотрщике сравнении | | +| `` `` | Просмотреть параметры фильтрации по пути | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | +| `` W `` | Открыть меню сравнении | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` `` | Открыть меню сравнении | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` q `` | Выйти | | +| `` `` | Отменить | | +| `` `` | Переключить отображение изменении пробелов в просмотрщике сравнении | Toggle whether or not whitespace changes are shown in the diff view. | | `` z `` | Отменить (через reflog) (экспериментальный) | Журнал ссылок (reflog) будет использоваться для определения того, какую команду git запустить, чтобы отменить последнюю команду git. Сюда не входят изменения в рабочем дереве; учитываются только коммиты. | | `` `` | Повторить (через reflog) (экспериментальный) | Журнал ссылок (reflog) будет использоваться для определения того, какую команду git нужно запустить, чтобы повторить последнюю команду git. Сюда не входят изменения в рабочем дереве; учитываются только коммиты. | -| `` P `` | Отправить изменения | | -| `` p `` | Получить и слить изменения | | ## Навигация по панели списка @@ -51,11 +53,10 @@ _Связки клавиш_ | Key | Action | Info | |-----|--------|-------------| -| `` n `` | Create worktree | | -| `` `` | Switch to worktree | | -| `` `` | Switch to worktree | | +| `` n `` | New worktree | | +| `` `` | Switch | Switch to the selected worktree. | | `` o `` | Open in editor | | -| `` d `` | Remove worktree | | +| `` d `` | Remove | Remove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory. | | `` / `` | Filter the current view by text | | ## Главная панель (Индексирование) @@ -65,16 +66,16 @@ _Связки клавиш_ | `` `` | Выбрать предыдущую часть | | | `` `` | Выбрать следующую часть | | | `` v `` | Переключить выборку перетаскивания | | -| `` a `` | Переключить выборку частей | | +| `` a `` | Переключить выборку частей | Toggle hunk selection mode. | | `` `` | Скопировать выделенный текст в буфер обмена | | -| `` o `` | Открыть файл | | -| `` e `` | Редактировать файл | | +| `` `` | Переключить индекс | Переключить строку в проиндексированные / непроиндексированные | +| `` d `` | Отменить изменение (git reset) | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | +| `` o `` | Открыть файл | Open file in default application. | +| `` e `` | Редактировать файл | Open file in external editor. | | `` `` | Вернуться к панели файлов | | -| `` `` | Переключиться на другую панель (проиндексированные/непроиндексированные изменения) | | -| `` `` | Переключить строку в проиндексированные / непроиндексированные | | -| `` d `` | Отменить изменение (git reset) | | -| `` E `` | Изменить эту часть | | -| `` c `` | Сохранить изменения | | +| `` `` | Переключиться на другую панель (проиндексированные/непроиндексированные изменения) | Switch to other view (staged/unstaged changes). | +| `` E `` | Изменить эту часть | Edit selected hunk in external editor. | +| `` c `` | Сохранить изменения | Commit staged changes. | | `` w `` | Закоммитить изменения без предварительного хука коммита | | | `` C `` | Сохранить изменения с помощью редактора git | | | `` / `` | Найти | | @@ -90,16 +91,16 @@ _Связки клавиш_ | Key | Action | Info | |-----|--------|-------------| -| `` e `` | Редактировать файл | | -| `` o `` | Открыть файл | | -| `` `` | Выбрать предыдущий конфликт | | -| `` `` | Выбрать следующий конфликт | | -| `` `` | Выбрать предыдущую часть | | -| `` `` | Выбрать следующую часть | | -| `` z `` | Отменить | | -| `` M `` | Открыть внешний инструмент слияния (git mergetool) | | | `` `` | Выбрать эту часть | | | `` b `` | Выбрать все части | | +| `` `` | Выбрать предыдущую часть | | +| `` `` | Выбрать следующую часть | | +| `` `` | Выбрать предыдущий конфликт | | +| `` `` | Выбрать следующий конфликт | | +| `` z `` | Отменить | Undo last merge conflict resolution. | +| `` e `` | Редактировать файл | Open file in external editor. | +| `` o `` | Открыть файл | Open file in default application. | +| `` M `` | Открыть внешний инструмент слияния (git mergetool) | Run `git mergetool`. | | `` `` | Вернуться к панели файлов | | ## Главная панель (сборка патчей) @@ -109,10 +110,10 @@ _Связки клавиш_ | `` `` | Выбрать предыдущую часть | | | `` `` | Выбрать следующую часть | | | `` v `` | Переключить выборку перетаскивания | | -| `` a `` | Переключить выборку частей | | +| `` a `` | Переключить выборку частей | Toggle hunk selection mode. | | `` `` | Скопировать выделенный текст в буфер обмена | | -| `` o `` | Открыть файл | | -| `` e `` | Редактировать файл | | +| `` o `` | Открыть файл | Open file in default application. | +| `` e `` | Редактировать файл | Open file in external editor. | | `` `` | Добавить/удалить строку(и) для патча | | | `` `` | Выйти из сборщика пользовательских патчей | | | `` / `` | Найти | | @@ -122,16 +123,16 @@ _Связки клавиш_ | Key | Action | Info | |-----|--------|-------------| | `` `` | Скопировать SHA коммита в буфер обмена | | -| `` w `` | View worktree options | | -| `` `` | Переключить коммит | | -| `` y `` | Скопировать атрибут коммита | | +| `` `` | Переключить | Checkout the selected commit as a detached HEAD. | +| `` y `` | Скопировать атрибут коммита | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Открыть коммит в браузере | | | `` n `` | Создать новую ветку с этого коммита | | -| `` g `` | Просмотреть параметры сброса | | -| `` C `` | Скопировать отобранные коммит (cherry-pick) | | +| `` g `` | Просмотреть параметры сброса | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Скопировать отобранные коммит (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Сбросить отобранную (скопированную | cherry-picked) выборку коммитов | | | `` `` | Open external diff tool (git difftool) | | | `` `` | Просмотреть коммиты | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Коммиты @@ -141,35 +142,35 @@ _Связки клавиш_ | `` `` | Скопировать SHA коммита в буфер обмена | | | `` `` | Сбросить отобранную (скопированную | cherry-picked) выборку коммитов | | | `` b `` | Просмотреть параметры бинарного поиска | | -| `` s `` | Объединить несколько коммитов в один нижний | | -| `` f `` | Объединить несколько коммитов в один отбросив сообщение коммита | | -| `` r `` | Перефразировать коммит | | +| `` s `` | Объединить коммиты (Squash) | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | +| `` f `` | Объединить несколько коммитов в один отбросив сообщение коммита (Fixup) | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | +| `` r `` | Перефразировать коммит | Reword the selected commit's message. | | `` R `` | Переписать коммит с помощью редактора | | -| `` d `` | Удалить коммит | | -| `` e `` | Изменить коммит | | +| `` d `` | Удалить коммит | Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts. | +| `` e `` | Edit (start interactive rebase) | Изменить коммит | | `` i `` | Start interactive rebase | 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. If you would instead like to start an interactive rebase from the selected commit, press `e`. | -| `` p `` | Выбрать коммит (в середине перебазирования) | | -| `` F `` | Создать fixup коммит для этого коммита | | -| `` S `` | Объединить все 'fixup!' коммиты выше в выбранный коммит (автосохранение) | | +| `` p `` | Pick | Выбрать коммит (в середине перебазирования) | +| `` F `` | Create fixup commit | Создать fixup коммит для этого коммита | +| `` S `` | Apply fixup commits | Объединить все 'fixup!' коммиты выше в выбранный коммит (автосохранение) | | `` `` | Переместить коммит вниз на один | | | `` `` | Переместить коммит вверх на один | | | `` V `` | Вставить отобранные коммиты (cherry-pick) | | -| `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | -| `` A `` | Править последний коммит с проиндексированными изменениями | | -| `` a `` | Установить/убрать автора коммита | | -| `` t `` | Отменить коммит | | -| `` T `` | Пометить коммит тегом | | -| `` `` | Открыть меню журнала | | -| `` w `` | View worktree options | | -| `` `` | Переключить коммит | | -| `` y `` | Скопировать атрибут коммита | | +| `` B `` | Mark as base commit for rebase | Select a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the `git rebase --onto` command. | +| `` A `` | Amend | Править последний коммит с проиндексированными изменениями | +| `` a `` | Установить/убрать автора коммита | Set/Reset commit author or set co-author. | +| `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | +| `` T `` | Пометить коммит тегом | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | +| `` `` | Открыть меню журнала | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | +| `` `` | Переключить | Checkout the selected commit as a detached HEAD. | +| `` y `` | Скопировать атрибут коммита | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Открыть коммит в браузере | | | `` n `` | Создать новую ветку с этого коммита | | -| `` g `` | Просмотреть параметры сброса | | -| `` C `` | Скопировать отобранные коммит (cherry-pick) | | +| `` g `` | Просмотреть параметры сброса | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Скопировать отобранные коммит (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Open external diff tool (git difftool) | | | `` `` | Просмотреть файлы выбранного элемента | | +| `` w `` | View worktree options | | | `` / `` | Найти | | ## Локальные Ветки @@ -178,24 +179,24 @@ If you would instead like to start an interactive rebase from the selected commi |-----|--------|-------------| | `` `` | Скопировать название ветки в буфер обмена | | | `` i `` | Показать параметры git-flow | | -| `` `` | Переключить | | +| `` `` | Переключить | Checkout selected item. | | `` n `` | Новая ветка | | | `` o `` | Создать запрос на принятие изменений | | | `` O `` | Создать параметры запроса принятие изменений | | | `` `` | Скопировать URL запроса на принятие изменений в буфер обмена | | -| `` c `` | Переключить по названию | | -| `` F `` | Принудительное переключение | | -| `` d `` | View delete options | | -| `` r `` | Перебазировать переключённую ветку на эту ветку | | -| `` M `` | Слияние с текущей переключённой веткой | | -| `` f `` | Перемотать эту ветку вперёд из её upstream-ветки | | +| `` c `` | Переключить по названию | Checkout by name. In the input box you can enter '-' to switch to the last branch. | +| `` F `` | Принудительное переключение | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | +| `` d `` | Delete | View delete options for local/remote branch. | +| `` r `` | Перебазировать переключённую ветку на эту ветку | Rebase the checked-out branch onto the selected branch. | +| `` M `` | Слияние с текущей переключённой веткой | Merge selected branch into currently checked out branch. | +| `` f `` | Перемотать эту ветку вперёд из её upstream-ветки | Fast-forward selected branch from its upstream. | | `` T `` | Создать тег | | | `` s `` | Порядок сортировки | | | `` g `` | Просмотреть параметры сброса | | | `` R `` | Переименовать ветку | | -| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | -| `` w `` | View worktree options | | +| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | `` `` | Просмотреть коммиты | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Меню @@ -218,16 +219,16 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Скопировать SHA коммита в буфер обмена | | -| `` w `` | View worktree options | | -| `` `` | Переключить коммит | | -| `` y `` | Скопировать атрибут коммита | | +| `` `` | Переключить | Checkout the selected commit as a detached HEAD. | +| `` y `` | Скопировать атрибут коммита | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | Открыть коммит в браузере | | | `` n `` | Создать новую ветку с этого коммита | | -| `` g `` | Просмотреть параметры сброса | | -| `` C `` | Скопировать отобранные коммит (cherry-pick) | | +| `` g `` | Просмотреть параметры сброса | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | Скопировать отобранные коммит (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Сбросить отобранную (скопированную | cherry-picked) выборку коммитов | | | `` `` | Open external diff tool (git difftool) | | | `` `` | Просмотреть файлы выбранного элемента | | +| `` w `` | View worktree options | | | `` / `` | Найти | | ## Подмодули @@ -235,13 +236,12 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Скопировать название подмодуля в буфер обмена | | -| `` `` | Ввести подмодуль | | -| `` `` | Ввести подмодуль | | -| `` d `` | Удалить подмодуль | | -| `` u `` | Обновить подмодуль | | +| `` `` | Enter | Ввести подмодуль | +| `` d `` | Remove | Remove the selected submodule and its corresponding directory. | +| `` u `` | Update | Обновить подмодуль | | `` n `` | Добавить новый подмодуль | | | `` e `` | Обновить URL подмодуля | | -| `` i `` | Инициализировать подмодуль | | +| `` i `` | Initialize | Инициализировать подмодуль | | `` b `` | Просмотреть параметры массового подмодуля | | | `` / `` | Filter the current view by text | | @@ -256,24 +256,24 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Скопировать закомиченное имя файла в буфер обмена | | -| `` c `` | Переключить файл | | -| `` d `` | Отменить изменения коммита в этом файле | | -| `` o `` | Открыть файл | | -| `` e `` | Редактировать файл | | +| `` `` | Скопировать название файла в буфер обмена | | +| `` c `` | Переключить | Переключить файл | +| `` d `` | Remove | Отменить изменения коммита в этом файле | +| `` o `` | Открыть файл | Open file in default application. | +| `` e `` | Edit | Open file in external editor. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | Переключить файлы включённые в патч | | -| `` a `` | Переключить все файлы, включённые в патч | | -| `` `` | Введите файл, чтобы добавить выбранные строки в патч (или свернуть каталог переключения) | | -| `` ` `` | Переключить вид дерева файлов | | +| `` `` | Переключить файлы включённые в патч | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` a `` | Переключить все файлы, включённые в патч | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` `` | Введите файл, чтобы добавить выбранные строки в патч (или свернуть каталог переключения) | If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory. | +| `` ` `` | Переключить вид дерева файлов | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` / `` | Найти | | ## Статус | Key | Action | Info | |-----|--------|-------------| -| `` o `` | Открыть файл конфигурации | | -| `` e `` | Редактировать файл конфигурации | | +| `` o `` | Открыть файл конфигурации | Open file in default application. | +| `` e `` | Редактировать файл конфигурации | Open file in external editor. | | `` u `` | Проверить обновления | | | `` `` | Переключиться на последний репозиторий | | | `` a `` | Показать все логи ветки | | @@ -282,13 +282,13 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | Переключить | | -| `` d `` | View delete options | | -| `` P `` | Отправить тег | | -| `` n `` | Создать тег | | -| `` g `` | Просмотреть параметры сброса | | -| `` w `` | View worktree options | | +| `` `` | Переключить | Checkout the selected tag tag as a detached HEAD. | +| `` n `` | Создать тег | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | +| `` d `` | Delete | View delete options for local/remote tag. | +| `` P `` | Отправить тег | Push the selected tag to a remote. You'll be prompted to select a remote. | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | Просмотреть коммиты | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Удалённые ветки @@ -296,26 +296,27 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Скопировать название ветки в буфер обмена | | -| `` `` | Переключить | | +| `` `` | Переключить | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | `` n `` | Новая ветка | | -| `` M `` | Слияние с текущей переключённой веткой | | -| `` r `` | Перебазировать переключённую ветку на эту ветку | | -| `` d `` | Delete remote tag | | -| `` u `` | Установить как upstream-ветку переключённую ветку | | +| `` M `` | Слияние с текущей переключённой веткой | Merge selected branch into currently checked out branch. | +| `` r `` | Перебазировать переключённую ветку на эту ветку | Rebase the checked-out branch onto the selected branch. | +| `` d `` | Delete | Delete the remote branch from the remote. | +| `` u `` | Set as upstream | Установить как upstream-ветку переключённую ветку | | `` s `` | Порядок сортировки | | -| `` g `` | Просмотреть параметры сброса | | -| `` w `` | View worktree options | | +| `` g `` | Просмотреть параметры сброса | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | Просмотреть коммиты | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Удалённые репозитории | Key | Action | Info | |-----|--------|-------------| -| `` f `` | Получение изменения из удалённого репозитория | | +| `` `` | View branches | | | `` n `` | Добавить новую удалённую ветку | | -| `` d `` | Удалить удалённую ветку | | -| `` e `` | Редактировать удалённый репозитории | | +| `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | +| `` e `` | Edit | Редактировать удалённый репозитории | +| `` f `` | Получить изменения | Получение изменения из удалённого репозитория | | `` / `` | Filter the current view by text | | ## Файлы @@ -323,40 +324,40 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | Скопировать название файла в буфер обмена | | -| `` `` | Переключить индекс | | +| `` `` | Переключить индекс | Toggle staged for selected file. | | `` `` | Фильтровать файлы (проиндексированные/непроиндексированные) | | | `` y `` | Copy to clipboard | | -| `` c `` | Сохранить изменения | | +| `` c `` | Сохранить изменения | Commit staged changes. | | `` w `` | Закоммитить изменения без предварительного хука коммита | | | `` A `` | Правка последнего коммита | | | `` C `` | Сохранить изменения с помощью редактора git | | | `` `` | Find base commit for fixup | Find the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: | -| `` e `` | Редактировать файл | | -| `` o `` | Открыть файл | | +| `` e `` | Edit | Open file in external editor. | +| `` o `` | Открыть файл | Open file in default application. | | `` i `` | Игнорировать или исключить файл | | | `` r `` | Обновить файлы | | -| `` s `` | Припрятать все изменения | | -| `` S `` | Просмотреть параметры хранилища | | -| `` a `` | Все проиндексированные/непроиндексированные | | -| `` `` | Проиндексировать отдельные части/строки для файла или свернуть/развернуть для каталога | | -| `` d `` | Просмотреть параметры «отмены изменении» | | +| `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | +| `` S `` | Просмотреть параметры хранилища | View stash options (e.g. stash all, stash staged, stash unstaged). | +| `` a `` | Все проиндексированные/непроиндексированные | Toggle staged/unstaged for all files in working tree. | +| `` `` | Проиндексировать отдельные части/строки для файла или свернуть/развернуть для каталога | If the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it. | +| `` d `` | Просмотреть параметры «отмены изменении» | View options for discarding changes to the selected file. | | `` g `` | Просмотреть параметры сброса upstream-ветки | | -| `` D `` | Просмотреть параметры сброса | | -| `` ` `` | Переключить вид дерева файлов | | +| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | +| `` ` `` | Переключить вид дерева файлов | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` `` | Open external diff tool (git difftool) | | -| `` M `` | Открыть внешний инструмент слияния (git mergetool) | | -| `` f `` | Получить изменения | | +| `` M `` | Открыть внешний инструмент слияния (git mergetool) | Run `git mergetool`. | +| `` f `` | Получить изменения | Fetch changes from remote. | | `` / `` | Найти | | ## Хранилище | Key | Action | Info | |-----|--------|-------------| -| `` `` | Применить припрятанные изменения | | -| `` g `` | Применить припрятанные изменения и тут же удалить их из хранилища | | -| `` d `` | Удалить припрятанные изменения из хранилища | | -| `` n `` | Новая ветка | | +| `` `` | Применить припрятанные изменения | Apply the stash entry to your working directory. | +| `` g `` | Применить припрятанные изменения и тут же удалить их из хранилища | Apply the stash entry to your working directory and remove the stash entry. | +| `` d `` | Удалить припрятанные изменения из хранилища | Remove the stash entry from the stash list. | +| `` n `` | Новая ветка | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. | | `` r `` | Переименовать хранилище | | -| `` w `` | View worktree options | | | `` `` | Просмотреть файлы выбранного элемента | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | diff --git a/docs/keybindings/Keybindings_zh-CN.md b/docs/keybindings/Keybindings_zh-CN.md index 12a92d192..2c54d9e86 100644 --- a/docs/keybindings/Keybindings_zh-CN.md +++ b/docs/keybindings/Keybindings_zh-CN.md @@ -11,24 +11,26 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` `` | 切换到最近的仓库 | | | `` (fn+up/shift+k) `` | 向上滚动主面板 | | | `` (fn+down/shift+j) `` | 向下滚动主面板 | | -| `` @ `` | 打开命令日志菜单 | | -| `` } `` | 扩大差异视图中显示的上下文范围 | | -| `` { `` | 缩小差异视图中显示的上下文范围 | | -| `` : `` | 执行自定义命令 | | +| `` @ `` | 打开命令日志菜单 | View options for the command log e.g. show/hide the command log and focus the command log. | +| `` P `` | 推送 | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` p `` | 拉取 | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` } `` | 扩大差异视图中显示的上下文范围 | Increase the amount of the context shown around changes in the diff view. | +| `` { `` | 缩小差异视图中显示的上下文范围 | Decrease the amount of the context shown around changes in the diff view. | +| `` : `` | 执行自定义命令 | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | `` `` | 查看自定义补丁选项 | | -| `` m `` | 查看 合并/变基 选项 | | -| `` R `` | 刷新 | | +| `` m `` | 查看 合并/变基 选项 | View options to abort/continue/skip the current merge/rebase. | +| `` R `` | 刷新 | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. | | `` + `` | 下一屏模式(正常/半屏/全屏) | | | `` _ `` | 上一屏模式 | | | `` ? `` | 打开菜单 | | -| `` `` | 查看按路径过滤选项 | | -| `` W `` | 打开 diff 菜单 | | -| `` `` | 打开 diff 菜单 | | -| `` `` | 切换是否在差异视图中显示空白字符差异 | | +| `` `` | 查看按路径过滤选项 | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | +| `` W `` | 打开 diff 菜单 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` `` | 打开 diff 菜单 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` q `` | 退出 | | +| `` `` | 取消 | | +| `` `` | 切换是否在差异视图中显示空白字符差异 | Toggle whether or not whitespace changes are shown in the diff view. | | `` z `` | (通过 reflog)撤销「实验功能」 | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | | `` `` | (通过 reflog)重做「实验功能」 | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | -| `` P `` | 推送 | | -| `` p `` | 拉取 | | ## 列表面板导航 @@ -52,27 +54,26 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 将提交的 SHA 复制到剪贴板 | | -| `` w `` | View worktree options | | -| `` `` | 检出提交 | | -| `` y `` | Copy commit attribute | | +| `` `` | 检出 | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | 在浏览器中打开提交 | | | `` n `` | 从提交创建新分支 | | -| `` g `` | 查看重置选项 | | -| `` C `` | 复制提交(拣选) | | +| `` g `` | 查看重置选项 | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | 复制提交(拣选) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | 重置已拣选(复制)的提交 | | | `` `` | Open external diff tool (git difftool) | | | `` `` | 查看提交 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Worktrees | Key | Action | Info | |-----|--------|-------------| -| `` n `` | Create worktree | | -| `` `` | Switch to worktree | | -| `` `` | Switch to worktree | | +| `` n `` | New worktree | | +| `` `` | Switch | Switch to the selected worktree. | | `` o `` | Open in editor | | -| `` d `` | Remove worktree | | +| `` d `` | Remove | Remove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory. | | `` / `` | Filter the current view by text | | ## 分支页面 @@ -81,24 +82,24 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ |-----|--------|-------------| | `` `` | 将分支名称复制到剪贴板 | | | `` i `` | 显示 git-flow 选项 | | -| `` `` | 检出 | | +| `` `` | 检出 | Checkout selected item. | | `` n `` | 新分支 | | | `` o `` | 创建抓取请求 | | | `` O `` | 创建抓取请求选项 | | | `` `` | 将抓取请求 URL 复制到剪贴板 | | -| `` c `` | 按名称检出 | | -| `` F `` | 强制检出 | | -| `` d `` | View delete options | | -| `` r `` | 将已检出的分支变基到该分支 | | -| `` M `` | 合并到当前检出的分支 | | -| `` f `` | 从上游快进此分支 | | +| `` c `` | 按名称检出 | Checkout by name. In the input box you can enter '-' to switch to the last branch. | +| `` F `` | 强制检出 | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | +| `` d `` | Delete | View delete options for local/remote branch. | +| `` r `` | 将已检出的分支变基到该分支 | Rebase the checked-out branch onto the selected branch. | +| `` M `` | 合并到当前检出的分支 | Merge selected branch into currently checked out branch. | +| `` f `` | 从上游快进此分支 | Fast-forward selected branch from its upstream. | | `` T `` | 创建标签 | | | `` s `` | Sort order | | | `` g `` | 查看重置选项 | | | `` R `` | 重命名分支 | | -| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | -| `` w `` | View worktree options | | +| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | `` `` | 查看提交 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 子提交 @@ -106,16 +107,16 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 将提交的 SHA 复制到剪贴板 | | -| `` w `` | View worktree options | | -| `` `` | 检出提交 | | -| `` y `` | Copy commit attribute | | +| `` `` | 检出 | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | 在浏览器中打开提交 | | | `` n `` | 从提交创建新分支 | | -| `` g `` | 查看重置选项 | | -| `` C `` | 复制提交(拣选) | | +| `` g `` | 查看重置选项 | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | 复制提交(拣选) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | 重置已拣选(复制)的提交 | | | `` `` | Open external diff tool (git difftool) | | | `` `` | 查看提交的文件 | | +| `` w `` | View worktree options | | | `` / `` | 开始搜索 | | ## 子模块 @@ -123,13 +124,12 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 将子模块名称复制到剪贴板 | | -| `` `` | 输入子模块 | | -| `` `` | 输入子模块 | | -| `` d `` | 删除子模块 | | -| `` u `` | 更新子模块 | | +| `` `` | Enter | 输入子模块 | +| `` d `` | Remove | Remove the selected submodule and its corresponding directory. | +| `` u `` | Update | 更新子模块 | | `` n `` | 添加新的子模块 | | | `` e `` | 更新子模块 URL | | -| `` i `` | 初始化子模块 | | +| `` i `` | Initialize | 初始化子模块 | | `` b `` | 查看批量子模块选项 | | | `` / `` | Filter the current view by text | | @@ -140,51 +140,51 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` `` | 将提交的 SHA 复制到剪贴板 | | | `` `` | 重置已拣选(复制)的提交 | | | `` b `` | 查看二分查找选项 | | -| `` s `` | 向下压缩 | | -| `` f `` | 修正提交(fixup) | | -| `` r `` | 改写提交 | | +| `` s `` | 压缩 | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | +| `` f `` | 修正(fixup) | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | +| `` r `` | 改写提交 | Reword the selected commit's message. | | `` R `` | 使用编辑器重命名提交 | | -| `` d `` | 删除提交 | | -| `` e `` | 编辑提交 | | +| `` d `` | 删除提交 | Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts. | +| `` e `` | Edit (start interactive rebase) | 编辑提交 | | `` i `` | Start interactive rebase | 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. If you would instead like to start an interactive rebase from the selected commit, press `e`. | -| `` p `` | 选择提交(变基过程中) | | -| `` F `` | 创建修正提交 | | -| `` S `` | 压缩在所选提交之上的所有“fixup!”提交(自动压缩) | | +| `` p `` | Pick | 选择提交(变基过程中) | +| `` F `` | Create fixup commit | 创建修正提交 | +| `` S `` | Apply fixup commits | 压缩在所选提交之上的所有“fixup!”提交(自动压缩) | | `` `` | 下移提交 | | | `` `` | 上移提交 | | | `` V `` | 粘贴提交(拣选) | | -| `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | -| `` A `` | 用已暂存的更改来修补提交 | | -| `` a `` | Set/Reset commit author | | -| `` t `` | 还原提交 | | -| `` T `` | 标签提交 | | -| `` `` | 打开日志菜单 | | -| `` w `` | View worktree options | | -| `` `` | 检出提交 | | -| `` y `` | Copy commit attribute | | +| `` B `` | Mark as base commit for rebase | Select a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the `git rebase --onto` command. | +| `` A `` | Amend | 用已暂存的更改来修补提交 | +| `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | +| `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | +| `` T `` | 标签提交 | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | +| `` `` | 打开日志菜单 | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | +| `` `` | 检出 | Checkout the selected commit as a detached HEAD. | +| `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | 在浏览器中打开提交 | | | `` n `` | 从提交创建新分支 | | -| `` g `` | 查看重置选项 | | -| `` C `` | 复制提交(拣选) | | +| `` g `` | 查看重置选项 | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | 复制提交(拣选) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Open external diff tool (git difftool) | | | `` `` | 查看提交的文件 | | +| `` w `` | View worktree options | | | `` / `` | 开始搜索 | | ## 提交文件 | Key | Action | Info | |-----|--------|-------------| -| `` `` | 将提交的文件名复制到剪贴板 | | -| `` c `` | 检出文件 | | -| `` d `` | 放弃对此文件的提交更改 | | -| `` o `` | 打开文件 | | -| `` e `` | 编辑文件 | | +| `` `` | 将文件名复制到剪贴板 | | +| `` c `` | 检出 | 检出文件 | +| `` d `` | Remove | 放弃对此文件的提交更改 | +| `` o `` | 打开文件 | Open file in default application. | +| `` e `` | Edit | Open file in external editor. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | 补丁中包含的切换文件 | | -| `` a `` | Toggle all files included in patch | | -| `` `` | 输入文件以将所选行添加到补丁中(或切换目录折叠) | | -| `` ` `` | 切换文件树视图 | | +| `` `` | 补丁中包含的切换文件 | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` `` | 输入文件以将所选行添加到补丁中(或切换目录折叠) | If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory. | +| `` ` `` | 切换文件树视图 | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` / `` | 开始搜索 | | ## 提交讯息 @@ -199,29 +199,29 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | 将文件名复制到剪贴板 | | -| `` `` | 切换暂存状态 | | +| `` `` | 切换暂存状态 | Toggle staged for selected file. | | `` `` | Filter files by status | | | `` y `` | Copy to clipboard | | -| `` c `` | 提交更改 | | +| `` c `` | 提交更改 | Commit staged changes. | | `` w `` | 提交更改而无需预先提交钩子 | | | `` A `` | 修补最后一次提交 | | | `` C `` | 提交更改(使用编辑器编辑提交信息) | | | `` `` | Find base commit for fixup | Find the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: | -| `` e `` | 编辑文件 | | -| `` o `` | 打开文件 | | +| `` e `` | Edit | Open file in external editor. | +| `` o `` | 打开文件 | Open file in default application. | | `` i `` | 忽略文件 | | | `` r `` | 刷新文件 | | -| `` s `` | 将所有更改加入贮藏 | | -| `` S `` | 查看贮藏选项 | | -| `` a `` | 切换所有文件的暂存状态 | | -| `` `` | 暂存单个 块/行 用于文件, 或 折叠/展开 目录 | | -| `` d `` | 查看'放弃更改'选项 | | +| `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | +| `` S `` | 查看贮藏选项 | View stash options (e.g. stash all, stash staged, stash unstaged). | +| `` a `` | 切换所有文件的暂存状态 | Toggle staged/unstaged for all files in working tree. | +| `` `` | 暂存单个 块/行 用于文件, 或 折叠/展开 目录 | If the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it. | +| `` d `` | 查看'放弃更改'选项 | View options for discarding changes to the selected file. | | `` g `` | 查看上游重置选项 | | -| `` D `` | 查看重置选项 | | -| `` ` `` | 切换文件树视图 | | +| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | +| `` ` `` | 切换文件树视图 | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` `` | Open external diff tool (git difftool) | | -| `` M `` | 打开外部合并工具 (git mergetool) | | -| `` f `` | 抓取 | | +| `` M `` | 打开外部合并工具 (git mergetool) | Run `git mergetool`. | +| `` f `` | 抓取 | Fetch changes from remote. | | `` / `` | 开始搜索 | | ## 构建补丁中 @@ -231,10 +231,10 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | 选择上一个区块 | | | `` `` | 选择下一个区块 | | | `` v `` | 切换拖动选择 | | -| `` a `` | 切换选择区块 | | +| `` a `` | 切换选择区块 | Toggle hunk selection mode. | | `` `` | 将选中文本复制到剪贴板 | | -| `` o `` | 打开文件 | | -| `` e `` | 编辑文件 | | +| `` o `` | 打开文件 | Open file in default application. | +| `` e `` | 编辑文件 | Open file in external editor. | | `` `` | 添加/移除 行到补丁 | | | `` `` | 退出逐行模式 | | | `` / `` | 开始搜索 | | @@ -243,29 +243,29 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | 检出 | | -| `` d `` | View delete options | | -| `` P `` | 推送标签 | | -| `` n `` | 创建标签 | | -| `` g `` | 查看重置选项 | | -| `` w `` | View worktree options | | +| `` `` | 检出 | Checkout the selected tag tag as a detached HEAD. | +| `` n `` | 创建标签 | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | +| `` d `` | Delete | View delete options for local/remote tag. | +| `` P `` | 推送标签 | Push the selected tag to a remote. You'll be prompted to select a remote. | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | 查看提交 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 正在合并 | Key | Action | Info | |-----|--------|-------------| -| `` e `` | 编辑文件 | | -| `` o `` | 打开文件 | | -| `` `` | 选择上一个冲突 | | -| `` `` | 选择下一个冲突 | | -| `` `` | 选择顶部块 | | -| `` `` | 选择底部块 | | -| `` z `` | 撤销 | | -| `` M `` | 打开外部合并工具 (git mergetool) | | | `` `` | 选中区块 | | | `` b `` | 选中所有区块 | | +| `` `` | 选择顶部块 | | +| `` `` | 选择底部块 | | +| `` `` | 选择上一个冲突 | | +| `` `` | 选择下一个冲突 | | +| `` z `` | 撤销 | Undo last merge conflict resolution. | +| `` e `` | 编辑文件 | Open file in external editor. | +| `` o `` | 打开文件 | Open file in default application. | +| `` M `` | 打开外部合并工具 (git mergetool) | Run `git mergetool`. | | `` `` | 返回文件面板 | | ## 正在暂存 @@ -275,16 +275,16 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | 选择上一个区块 | | | `` `` | 选择下一个区块 | | | `` v `` | 切换拖动选择 | | -| `` a `` | 切换选择区块 | | +| `` a `` | 切换选择区块 | Toggle hunk selection mode. | | `` `` | 将选中文本复制到剪贴板 | | -| `` o `` | 打开文件 | | -| `` e `` | 编辑文件 | | +| `` `` | 切换暂存状态 | 切换行暂存状态 | +| `` d `` | 取消变更 (git reset) | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | +| `` o `` | 打开文件 | Open file in default application. | +| `` e `` | 编辑文件 | Open file in external editor. | | `` `` | 返回文件面板 | | -| `` `` | 切换到其他面板 | | -| `` `` | 切换行暂存状态 | | -| `` d `` | 取消变更 (git reset) | | -| `` E `` | Edit hunk | | -| `` c `` | 提交更改 | | +| `` `` | 切换到其他面板 | Switch to other view (staged/unstaged changes). | +| `` E `` | Edit hunk | Edit selected hunk in external editor. | +| `` c `` | 提交更改 | Commit staged changes. | | `` w `` | 提交更改而无需预先提交钩子 | | | `` C `` | 提交更改(使用编辑器编辑提交信息) | | | `` / `` | 开始搜索 | | @@ -300,8 +300,8 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` o `` | 打开配置文件 | | -| `` e `` | 编辑配置文件 | | +| `` o `` | 打开配置文件 | Open file in default application. | +| `` e `` | 编辑配置文件 | Open file in external editor. | | `` u `` | 检查更新 | | | `` `` | 切换到最近的仓库 | | | `` a `` | 显示所有分支的日志 | | @@ -325,13 +325,13 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | 应用 | | -| `` g `` | 应用并删除 | | -| `` d `` | 删除 | | -| `` n `` | 新分支 | | +| `` `` | 应用 | Apply the stash entry to your working directory. | +| `` g `` | 应用并删除 | Apply the stash entry to your working directory and remove the stash entry. | +| `` d `` | 删除 | Remove the stash entry from the stash list. | +| `` n `` | 新分支 | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. | | `` r `` | Rename stash | | -| `` w `` | View worktree options | | | `` `` | 查看提交的文件 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 远程分支 @@ -339,24 +339,25 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | 将分支名称复制到剪贴板 | | -| `` `` | 检出 | | +| `` `` | 检出 | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | `` n `` | 新分支 | | -| `` M `` | 合并到当前检出的分支 | | -| `` r `` | 将已检出的分支变基到该分支 | | -| `` d `` | Delete remote tag | | -| `` u `` | 设置为检出分支的上游 | | +| `` M `` | 合并到当前检出的分支 | Merge selected branch into currently checked out branch. | +| `` r `` | 将已检出的分支变基到该分支 | Rebase the checked-out branch onto the selected branch. | +| `` d `` | Delete | Delete the remote branch from the remote. | +| `` u `` | Set as upstream | 设置为检出分支的上游 | | `` s `` | Sort order | | -| `` g `` | 查看重置选项 | | -| `` w `` | View worktree options | | +| `` g `` | 查看重置选项 | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | 查看提交 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 远程页面 | Key | Action | Info | |-----|--------|-------------| -| `` f `` | 抓取远程仓库 | | +| `` `` | View branches | | | `` n `` | 添加新的远程仓库 | | -| `` d `` | 删除远程 | | -| `` e `` | 编辑远程仓库 | | +| `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | +| `` e `` | Edit | 编辑远程仓库 | +| `` f `` | 抓取 | 抓取远程仓库 | | `` / `` | Filter the current view by text | | diff --git a/docs/keybindings/Keybindings_zh-TW.md b/docs/keybindings/Keybindings_zh-TW.md index 4cb0180c9..73061e5cb 100644 --- a/docs/keybindings/Keybindings_zh-TW.md +++ b/docs/keybindings/Keybindings_zh-TW.md @@ -11,24 +11,26 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B_ | `` `` | 切換到最近使用的版本庫 | | | `` (fn+up/shift+k) `` | 向上捲動主面板 | | | `` (fn+down/shift+j) `` | 向下捲動主面板 | | -| `` @ `` | 開啟命令記錄選單 | | -| `` } `` | 增加差異檢視中顯示變更周圍上下文的大小 | | -| `` { `` | 減小差異檢視中顯示變更周圍上下文的大小 | | -| `` : `` | 執行自訂命令 | | +| `` @ `` | 開啟命令記錄選單 | View options for the command log e.g. show/hide the command log and focus the command log. | +| `` P `` | 推送 | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` p `` | 拉取 | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | +| `` } `` | 增加差異檢視中顯示變更周圍上下文的大小 | Increase the amount of the context shown around changes in the diff view. | +| `` { `` | 減小差異檢視中顯示變更周圍上下文的大小 | Decrease the amount of the context shown around changes in the diff view. | +| `` : `` | 執行自訂命令 | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | `` `` | 檢視自訂補丁選項 | | -| `` m `` | 查看合併/變基選項 | | -| `` R `` | 重新整理 | | +| `` m `` | 查看合併/變基選項 | View options to abort/continue/skip the current merge/rebase. | +| `` R `` | 重新整理 | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. | | `` + `` | 下一個螢幕模式(常規/半螢幕/全螢幕) | | | `` _ `` | 上一個螢幕模式 | | | `` ? `` | 開啟選單 | | -| `` `` | 檢視篩選路徑選項 | | -| `` W `` | 開啟差異比較選單 | | -| `` `` | 開啟差異比較選單 | | -| `` `` | 切換是否在差異檢視中顯示空格變更 | | +| `` `` | 檢視篩選路徑選項 | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | +| `` W `` | 開啟差異比較選單 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` `` | 開啟差異比較選單 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | +| `` q `` | 結束 | | +| `` `` | 取消 | | +| `` `` | 切換是否在差異檢視中顯示空格變更 | Toggle whether or not whitespace changes are shown in the diff view. | | `` z `` | 復原 | 將使用 reflog 確定要運行哪個 git 命令以復原上一個 git 命令。這不包括工作區的更改;只考慮提交。 | | `` `` | 取消復原 | 將使用 reflog 確定要運行哪個 git 命令以重作上一個 git 命令。這不包括工作區的更改;只考慮提交。 | -| `` P `` | 推送 | | -| `` p `` | 拉取 | | ## 列表面板導航 @@ -52,27 +54,26 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 複製提交 SHA 到剪貼簿 | | -| `` w `` | View worktree options | | -| `` `` | 檢出提交 | | -| `` y `` | 複製提交屬性 | | +| `` `` | 檢出 | Checkout the selected commit as a detached HEAD. | +| `` y `` | 複製提交屬性 | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | 在瀏覽器中開啟提交 | | | `` n `` | 從提交建立新分支 | | -| `` g `` | 檢視重設選項 | | -| `` C `` | 複製提交 (揀選) | | +| `` g `` | 檢視重設選項 | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | 複製提交 (揀選) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | 重設選定的揀選 (複製) 提交 | | | `` `` | Open external diff tool (git difftool) | | | `` `` | 檢視提交 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## Worktrees | Key | Action | Info | |-----|--------|-------------| -| `` n `` | Create worktree | | -| `` `` | Switch to worktree | | -| `` `` | Switch to worktree | | +| `` n `` | New worktree | | +| `` `` | Switch | Switch to the selected worktree. | | `` o `` | Open in editor | | -| `` d `` | Remove worktree | | +| `` d `` | Remove | Remove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory. | | `` / `` | Filter the current view by text | | ## 主視窗 (一般) @@ -86,16 +87,16 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B_ | Key | Action | Info | |-----|--------|-------------| -| `` e `` | 編輯檔案 | | -| `` o `` | 開啟檔案 | | -| `` `` | 選擇上一個衝突 | | -| `` `` | 選擇下一個衝突 | | -| `` `` | 選擇上一段 | | -| `` `` | 選擇下一段 | | -| `` z `` | 復原 | | -| `` M `` | 開啟外部合併工具 (git mergetool) | | | `` `` | 挑選程式碼片段 | | | `` b `` | 挑選所有程式碼片段 | | +| `` `` | 選擇上一段 | | +| `` `` | 選擇下一段 | | +| `` `` | 選擇上一個衝突 | | +| `` `` | 選擇下一個衝突 | | +| `` z `` | 復原 | Undo last merge conflict resolution. | +| `` e `` | 編輯檔案 | Open file in external editor. | +| `` o `` | 開啟檔案 | Open file in default application. | +| `` M `` | 開啟外部合併工具 (git mergetool) | Run `git mergetool`. | | `` `` | 返回檔案面板 | | ## 主視窗 (預存中) @@ -105,16 +106,16 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B_ | `` `` | 選擇上一段 | | | `` `` | 選擇下一段 | | | `` v `` | 切換拖曳選擇 | | -| `` a `` | 切換選擇程式碼塊 | | +| `` a `` | 切換選擇程式碼塊 | Toggle hunk selection mode. | | `` `` | 複製所選文本至剪貼簿 | | -| `` o `` | 開啟檔案 | | -| `` e `` | 編輯檔案 | | +| `` `` | 切換預存 | 切換現有行的狀態 (已預存/未預存) | +| `` d `` | 刪除變更 (git reset) | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | +| `` o `` | 開啟檔案 | Open file in default application. | +| `` e `` | 編輯檔案 | Open file in external editor. | | `` `` | 返回檔案面板 | | -| `` `` | 切換至另一個面板 (已預存/未預存更改) | | -| `` `` | 切換現有行的狀態 (已預存/未預存) | | -| `` d `` | 刪除變更 (git reset) | | -| `` E `` | 編輯程式碼塊 | | -| `` c `` | 提交變更 | | +| `` `` | 切換至另一個面板 (已預存/未預存更改) | Switch to other view (staged/unstaged changes). | +| `` E `` | 編輯程式碼塊 | Edit selected hunk in external editor. | +| `` c `` | 提交變更 | Commit staged changes. | | `` w `` | 沒有預提交 hook 就提交更改 | | | `` C `` | 使用 git 編輯器提交變更 | | | `` / `` | 開始搜尋 | | @@ -126,10 +127,10 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B_ | `` `` | 選擇上一段 | | | `` `` | 選擇下一段 | | | `` v `` | 切換拖曳選擇 | | -| `` a `` | 切換選擇程式碼塊 | | +| `` a `` | 切換選擇程式碼塊 | Toggle hunk selection mode. | | `` `` | 複製所選文本至剪貼簿 | | -| `` o `` | 開啟檔案 | | -| `` e `` | 編輯檔案 | | +| `` o `` | 開啟檔案 | Open file in default application. | +| `` e `` | 編輯檔案 | Open file in external editor. | | `` `` | 向 (或從) 補丁中添加/刪除行 | | | `` `` | 退出自訂補丁建立器 | | | `` / `` | 開始搜尋 | | @@ -147,16 +148,16 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 複製提交 SHA 到剪貼簿 | | -| `` w `` | View worktree options | | -| `` `` | 檢出提交 | | -| `` y `` | 複製提交屬性 | | +| `` `` | 檢出 | Checkout the selected commit as a detached HEAD. | +| `` y `` | 複製提交屬性 | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | 在瀏覽器中開啟提交 | | | `` n `` | 從提交建立新分支 | | -| `` g `` | 檢視重設選項 | | -| `` C `` | 複製提交 (揀選) | | +| `` g `` | 檢視重設選項 | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | 複製提交 (揀選) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | 重設選定的揀選 (複製) 提交 | | | `` `` | Open external diff tool (git difftool) | | | `` `` | 檢視所選項目的檔案 | | +| `` w `` | View worktree options | | | `` / `` | 開始搜尋 | | ## 子模組 @@ -164,13 +165,12 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 複製子模組名稱到剪貼簿 | | -| `` `` | 進入子模組 | | -| `` `` | 進入子模組 | | -| `` d `` | 移除子模組 | | -| `` u `` | 更新子模組 | | +| `` `` | Enter | 進入子模組 | +| `` d `` | Remove | Remove the selected submodule and its corresponding directory. | +| `` u `` | Update | 更新子模組 | | `` n `` | 新增子模組 | | | `` e `` | 更新子模組 URL | | -| `` i `` | 初始化子模組 | | +| `` i `` | Initialize | 初始化子模組 | | `` b `` | 查看批量子模組選項 | | | `` / `` | Filter the current view by text | | @@ -181,35 +181,35 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B_ | `` `` | 複製提交 SHA 到剪貼簿 | | | `` `` | 重設選定的揀選 (複製) 提交 | | | `` b `` | 查看二分選項 | | -| `` s `` | 向下壓縮 | | -| `` f `` | 修復提交 (Fixup) | | -| `` r `` | 改寫提交 | | +| `` s `` | 壓縮 (Squash) | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | +| `` f `` | 修復 (Fixup) | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | +| `` r `` | 改寫提交 | Reword the selected commit's message. | | `` R `` | 使用編輯器改寫提交 | | -| `` d `` | 刪除提交 | | -| `` e `` | 編輯提交 | | +| `` d `` | 刪除提交 | Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts. | +| `` e `` | Edit (start interactive rebase) | 編輯提交 | | `` i `` | Start interactive rebase | 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. If you would instead like to start an interactive rebase from the selected commit, press `e`. | -| `` p `` | 挑選提交 (於變基過程中) | | -| `` F `` | 為此提交建立修復提交 | | -| `` S `` | 壓縮上方所有的“fixup!”提交 (自動壓縮) | | +| `` p `` | Pick | 挑選提交 (於變基過程中) | +| `` F `` | Create fixup commit | 為此提交建立修復提交 | +| `` S `` | Apply fixup commits | 壓縮上方所有的“fixup!”提交 (自動壓縮) | | `` `` | 向下移動提交 | | | `` `` | 向上移動提交 | | | `` V `` | 貼上提交 (揀選) | | -| `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | -| `` A `` | 使用已預存的更改修正提交 | | -| `` a `` | 設置/重設提交作者 | | -| `` t `` | 還原提交 | | -| `` T `` | 打標籤到提交 | | -| `` `` | 開啟記錄選單 | | -| `` w `` | View worktree options | | -| `` `` | 檢出提交 | | -| `` y `` | 複製提交屬性 | | +| `` B `` | Mark as base commit for rebase | Select a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the `git rebase --onto` command. | +| `` A `` | Amend | 使用已預存的更改修正提交 | +| `` a `` | 設置/重設提交作者 | Set/Reset commit author or set co-author. | +| `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | +| `` T `` | 打標籤到提交 | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | +| `` `` | 開啟記錄選單 | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | +| `` `` | 檢出 | Checkout the selected commit as a detached HEAD. | +| `` y `` | 複製提交屬性 | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | `` o `` | 在瀏覽器中開啟提交 | | | `` n `` | 從提交建立新分支 | | -| `` g `` | 檢視重設選項 | | -| `` C `` | 複製提交 (揀選) | | +| `` g `` | 檢視重設選項 | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` C `` | 複製提交 (揀選) | Mark commit as copied. Then, within the local commits view, you can press `V` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `` to cancel the selection. | | `` `` | Open external diff tool (git difftool) | | | `` `` | 檢視所選項目的檔案 | | +| `` w `` | View worktree options | | | `` / `` | 開始搜尋 | | ## 提交摘要 @@ -223,29 +223,29 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | 複製提交的檔案名稱到剪貼簿 | | -| `` c `` | 檢出檔案 | | -| `` d `` | 捨棄此提交對此檔案的更改 | | -| `` o `` | 開啟檔案 | | -| `` e `` | 編輯檔案 | | +| `` `` | 複製檔案名稱到剪貼簿 | | +| `` c `` | 檢出 | 檢出檔案 | +| `` d `` | Remove | 捨棄此提交對此檔案的更改 | +| `` o `` | 開啟檔案 | Open file in default application. | +| `` e `` | Edit | Open file in external editor. | | `` `` | Open external diff tool (git difftool) | | -| `` `` | 切換檔案是否包含在補丁中 | | -| `` a `` | 切換所有檔案是否包含在補丁中 | | -| `` `` | 輸入檔案以將選定的行添加至補丁(或切換目錄折疊) | | -| `` ` `` | 切換檔案樹狀視圖 | | +| `` `` | 切換檔案是否包含在補丁中 | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` a `` | 切換所有檔案是否包含在補丁中 | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | +| `` `` | 輸入檔案以將選定的行添加至補丁(或切換目錄折疊) | If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory. | +| `` ` `` | 切換檔案樹狀視圖 | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` / `` | 開始搜尋 | | ## 收藏 (Stash) | Key | Action | Info | |-----|--------|-------------| -| `` `` | 套用 | | -| `` g `` | 還原 | | -| `` d `` | 捨棄 | | -| `` n `` | 新分支 | | +| `` `` | 套用 | Apply the stash entry to your working directory. | +| `` g `` | 還原 | Apply the stash entry to your working directory and remove the stash entry. | +| `` d `` | 捨棄 | Remove the stash entry from the stash list. | +| `` n `` | 新分支 | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. | | `` r `` | 重新命名收藏 | | -| `` w `` | View worktree options | | | `` `` | 檢視所選項目的檔案 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 本地分支 @@ -254,37 +254,37 @@ If you would instead like to start an interactive rebase from the selected commi |-----|--------|-------------| | `` `` | 複製分支名稱到剪貼簿 | | | `` i `` | 顯示 git-flow 選項 | | -| `` `` | 檢出 | | +| `` `` | 檢出 | Checkout selected item. | | `` n `` | 新分支 | | | `` o `` | 建立拉取請求 | | | `` O `` | 建立拉取請求選項 | | | `` `` | 複製拉取請求的 URL 到剪貼板 | | -| `` c `` | 根據名稱檢出 | | -| `` F `` | 強制檢出 | | -| `` d `` | View delete options | | -| `` r `` | 將已檢出的分支變基至此分支 | | -| `` M `` | 合併到當前檢出的分支 | | -| `` f `` | 從上游快進此分支 | | +| `` c `` | 根據名稱檢出 | Checkout by name. In the input box you can enter '-' to switch to the last branch. | +| `` F `` | 強制檢出 | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | +| `` d `` | Delete | View delete options for local/remote branch. | +| `` r `` | 將已檢出的分支變基至此分支 | Rebase the checked-out branch onto the selected branch. | +| `` M `` | 合併到當前檢出的分支 | Merge selected branch into currently checked out branch. | +| `` f `` | 從上游快進此分支 | Fast-forward selected branch from its upstream. | | `` T `` | 建立標籤 | | | `` s `` | Sort order | | | `` g `` | 檢視重設選項 | | | `` R `` | 重新命名分支 | | -| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | -| `` w `` | View worktree options | | +| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | `` `` | 檢視提交 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 標籤 | Key | Action | Info | |-----|--------|-------------| -| `` `` | 檢出 | | -| `` d `` | View delete options | | -| `` P `` | 推送標籤 | | -| `` n `` | 建立標籤 | | -| `` g `` | 檢視重設選項 | | -| `` w `` | View worktree options | | +| `` `` | 檢出 | Checkout the selected tag tag as a detached HEAD. | +| `` n `` | 建立標籤 | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | +| `` d `` | Delete | View delete options for local/remote tag. | +| `` P `` | 推送標籤 | Push the selected tag to a remote. You'll be prompted to select a remote. | +| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | 檢視提交 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | ## 檔案 @@ -292,37 +292,37 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | 複製檔案名稱到剪貼簿 | | -| `` `` | 切換預存 | | +| `` `` | 切換預存 | Toggle staged for selected file. | | `` `` | 篩選檔案 (預存/未預存) | | | `` y `` | Copy to clipboard | | -| `` c `` | 提交變更 | | +| `` c `` | 提交變更 | Commit staged changes. | | `` w `` | 沒有預提交 hook 就提交更改 | | | `` A `` | 修正上次提交 | | | `` C `` | 使用 git 編輯器提交變更 | | | `` `` | Find base commit for fixup | Find the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: | -| `` e `` | 編輯檔案 | | -| `` o `` | 開啟檔案 | | +| `` e `` | Edit | Open file in external editor. | +| `` o `` | 開啟檔案 | Open file in default application. | | `` i `` | 忽略或排除檔案 | | | `` r `` | 重新整理檔案 | | -| `` s `` | 收藏所有變更 | | -| `` S `` | 檢視收藏選項 | | -| `` a `` | 全部預存/取消預存 | | -| `` `` | 選擇檔案中的單個程式碼塊/行,或展開/折疊目錄 | | -| `` d `` | 檢視“捨棄更改”的選項 | | +| `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | +| `` S `` | 檢視收藏選項 | View stash options (e.g. stash all, stash staged, stash unstaged). | +| `` a `` | 全部預存/取消預存 | Toggle staged/unstaged for all files in working tree. | +| `` `` | 選擇檔案中的單個程式碼塊/行,或展開/折疊目錄 | If the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it. | +| `` d `` | 檢視“捨棄更改”的選項 | View options for discarding changes to the selected file. | | `` g `` | 檢視上游重設選項 | | -| `` D `` | 檢視重設選項 | | -| `` ` `` | 切換檔案樹狀視圖 | | +| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | +| `` ` `` | 切換檔案樹狀視圖 | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | `` `` | Open external diff tool (git difftool) | | -| `` M `` | 開啟外部合併工具 (git mergetool) | | -| `` f `` | 擷取 | | +| `` M `` | 開啟外部合併工具 (git mergetool) | Run `git mergetool`. | +| `` f `` | 擷取 | Fetch changes from remote. | | `` / `` | 開始搜尋 | | ## 狀態 | Key | Action | Info | |-----|--------|-------------| -| `` o `` | 開啟設定檔案 | | -| `` e `` | 編輯設定檔案 | | +| `` o `` | 開啟設定檔案 | Open file in default application. | +| `` e `` | 編輯設定檔案 | Open file in external editor. | | `` u `` | 檢查更新 | | | `` `` | 切換到最近使用的版本庫 | | | `` a `` | 顯示所有分支日誌 | | @@ -338,10 +338,11 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` f `` | 擷取遠端 | | +| `` `` | View branches | | | `` n `` | 新增遠端 | | -| `` d `` | 移除遠端 | | -| `` e `` | 編輯遠端 | | +| `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | +| `` e `` | Edit | 編輯遠端 | +| `` f `` | 擷取 | 擷取遠端 | | `` / `` | Filter the current view by text | | ## 遠端分支 @@ -349,14 +350,14 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| | `` `` | 複製分支名稱到剪貼簿 | | -| `` `` | 檢出 | | +| `` `` | 檢出 | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | `` n `` | 新分支 | | -| `` M `` | 合併到當前檢出的分支 | | -| `` r `` | 將已檢出的分支變基至此分支 | | -| `` d `` | Delete remote tag | | -| `` u `` | 將此分支設為當前分支之上游 | | +| `` M `` | 合併到當前檢出的分支 | Merge selected branch into currently checked out branch. | +| `` r `` | 將已檢出的分支變基至此分支 | Rebase the checked-out branch onto the selected branch. | +| `` d `` | Delete | Delete the remote branch from the remote. | +| `` u `` | Set as upstream | 將此分支設為當前分支之上游 | | `` s `` | Sort order | | -| `` g `` | 檢視重設選項 | | -| `` w `` | View worktree options | | +| `` g `` | 檢視重設選項 | View reset options (soft/mixed/hard) for resetting onto selected item. | | `` `` | 檢視提交 | | +| `` w `` | View worktree options | | | `` / `` | Filter the current view by text | | diff --git a/pkg/constants/links.go b/pkg/constants/links.go index 1fef42b5d..c1335052b 100644 --- a/pkg/constants/links.go +++ b/pkg/constants/links.go @@ -8,6 +8,7 @@ type Docs struct { Undoing string Config string Tutorial string + CustomPatchDemo string } var Links = struct { @@ -31,5 +32,6 @@ var Links = struct { Undoing: "https://github.com/jesseduffield/lazygit/blob/master/docs/Undoing.md", Config: "https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md", Tutorial: "https://youtu.be/VDXvbHZYeKY", + CustomPatchDemo: "https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches", }, } diff --git a/pkg/gui/controllers.go b/pkg/gui/controllers.go index 5837704b5..30caae930 100644 --- a/pkg/gui/controllers.go +++ b/pkg/gui/controllers.go @@ -16,6 +16,9 @@ func (gui *Gui) Helpers() *helpers.Helpers { return gui.helpers } +// Note, the order of controllers determines the order in which keybindings appear +// in the keybinding menu: the earlier that the controller is attached to a context, +// the lower in the list the keybindings will appear. func (gui *Gui) resetHelpersAndControllers() { helperCommon := gui.c recordDirectoryHelper := helpers.NewRecordDirectoryHelper(helperCommon) @@ -199,6 +202,18 @@ func (gui *Gui) resetHelpersAndControllers() { controllers.AttachControllers(context, searchControllerFactory.Create(context)) } + for _, context := range []controllers.CanViewWorktreeOptions{ + gui.State.Contexts.LocalCommits, + gui.State.Contexts.ReflogCommits, + gui.State.Contexts.SubCommits, + gui.State.Contexts.Stash, + gui.State.Contexts.Branches, + gui.State.Contexts.RemoteBranches, + gui.State.Contexts.Tags, + } { + controllers.AttachControllers(context, controllers.NewWorktreeOptionsController(common, context)) + } + // allow for navigating between side window contexts for _, context := range []types.Context{ gui.State.Contexts.Status, @@ -247,18 +262,6 @@ func (gui *Gui) resetHelpersAndControllers() { controllers.AttachControllers(context, controllers.NewBasicCommitsController(common, context)) } - for _, context := range []controllers.CanViewWorktreeOptions{ - gui.State.Contexts.LocalCommits, - gui.State.Contexts.ReflogCommits, - gui.State.Contexts.SubCommits, - gui.State.Contexts.Stash, - gui.State.Contexts.Branches, - gui.State.Contexts.RemoteBranches, - gui.State.Contexts.Tags, - } { - controllers.AttachControllers(context, controllers.NewWorktreeOptionsController(common, context)) - } - controllers.AttachControllers(gui.State.Contexts.ReflogCommits, reflogCommitsController, ) @@ -306,11 +309,6 @@ func (gui *Gui) resetHelpersAndControllers() { submodulesController, ) - controllers.AttachControllers(gui.State.Contexts.LocalCommits, - localCommitsController, - bisectController, - ) - controllers.AttachControllers(gui.State.Contexts.Branches, branchesController, gitFlowController, @@ -374,11 +372,11 @@ func (gui *Gui) resetHelpersAndControllers() { ) controllers.AttachControllers(gui.State.Contexts.Global, - syncController, undoController, globalController, contextLinesController, jumpToSideWindowController, + syncController, ) controllers.AttachControllers(gui.State.Contexts.Snake, diff --git a/pkg/gui/controllers/basic_commits_controller.go b/pkg/gui/controllers/basic_commits_controller.go index 6c378ecf0..c62818df9 100644 --- a/pkg/gui/controllers/basic_commits_controller.go +++ b/pkg/gui/controllers/basic_commits_controller.go @@ -5,7 +5,9 @@ import ( "github.com/jesseduffield/lazygit/pkg/commands/git_commands" "github.com/jesseduffield/lazygit/pkg/commands/models" + "github.com/jesseduffield/lazygit/pkg/gui/keybindings" "github.com/jesseduffield/lazygit/pkg/gui/types" + "github.com/jesseduffield/lazygit/pkg/utils" ) // This controller is for all contexts that contain a list of commits. @@ -48,13 +50,15 @@ func (self *BasicCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ Key: opts.GetKey(opts.Config.Commits.CheckoutCommit), Handler: self.withItem(self.checkout), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.CheckoutCommit, + Description: self.c.Tr.Checkout, + Tooltip: self.c.Tr.CheckoutCommitTooltip, }, { Key: opts.GetKey(opts.Config.Commits.CopyCommitAttributeToClipboard), Handler: self.withItem(self.copyCommitAttribute), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.CopyCommitAttributeToClipboard, + Tooltip: self.c.Tr.CopyCommitAttributeToClipboardTooltip, OpensMenu: true, }, { @@ -74,12 +78,19 @@ func (self *BasicCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ Handler: self.withItem(self.createResetMenu), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.ViewResetOptions, + Tooltip: self.c.Tr.ResetTooltip, OpensMenu: true, }, { Key: opts.GetKey(opts.Config.Commits.CherryPickCopy), Handler: self.withItem(self.copyRange), Description: self.c.Tr.CherryPickCopy, + Tooltip: utils.ResolvePlaceholderString(self.c.Tr.CherryPickCopyTooltip, + map[string]string{ + "paste": keybindings.Label(opts.Config.Commits.PasteCommits), + "escape": keybindings.Label(opts.Config.Universal.Return), + }, + ), }, { Key: opts.GetKey(opts.Config.Commits.ResetCherryPick), diff --git a/pkg/gui/controllers/branches_controller.go b/pkg/gui/controllers/branches_controller.go index dbd15ef93..002aca4fb 100644 --- a/pkg/gui/controllers/branches_controller.go +++ b/pkg/gui/controllers/branches_controller.go @@ -48,6 +48,7 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty self.notPulling, ), Description: self.c.Tr.Checkout, + Tooltip: self.c.Tr.CheckoutTooltip, }, { Key: opts.GetKey(opts.Config.Universal.New), @@ -78,18 +79,21 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty Key: opts.GetKey(opts.Config.Branches.CheckoutBranchByName), Handler: self.checkoutByName, Description: self.c.Tr.CheckoutByName, + Tooltip: self.c.Tr.CheckoutByNameTooltip, }, { Key: opts.GetKey(opts.Config.Branches.ForceCheckoutBranch), Handler: self.forceCheckout, GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.ForceCheckout, + Tooltip: self.c.Tr.ForceCheckoutTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.withItem(self.delete), GetDisabledReason: self.require(self.singleItemSelected(self.branchIsReal)), - Description: self.c.Tr.ViewDeleteOptions, + Description: self.c.Tr.Delete, + Tooltip: self.c.Tr.BranchDeleteTooltip, OpensMenu: true, }, { @@ -99,24 +103,27 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty self.singleItemSelected(self.notRebasingOntoSelf), ), Description: self.c.Tr.RebaseBranch, + Tooltip: self.c.Tr.RebaseBranchTooltip, }, { Key: opts.GetKey(opts.Config.Branches.MergeIntoCurrentBranch), Handler: opts.Guards.OutsideFilterMode(self.merge), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.MergeIntoCurrentBranch, + Description: self.c.Tr.Merge, + Tooltip: self.c.Tr.MergeBranchTooltip, }, { Key: opts.GetKey(opts.Config.Branches.FastForward), Handler: self.withItem(self.fastForward), GetDisabledReason: self.require(self.singleItemSelected(self.branchIsReal)), Description: self.c.Tr.FastForward, + Tooltip: self.c.Tr.FastForwardTooltip, }, { Key: opts.GetKey(opts.Config.Branches.CreateTag), Handler: self.withItem(self.createTag), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.CreateTag, + Description: self.c.Tr.NewTag, }, { Key: opts.GetKey(opts.Config.Branches.SortOrder), @@ -142,6 +149,7 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.ViewBranchUpstreamOptions, Tooltip: self.c.Tr.ViewBranchUpstreamOptionsTooltip, + ShortDescription: self.c.Tr.Upstream, OpensMenu: true, }, } diff --git a/pkg/gui/controllers/commits_files_controller.go b/pkg/gui/controllers/commits_files_controller.go index b3c628cf5..3ff1e50e3 100644 --- a/pkg/gui/controllers/commits_files_controller.go +++ b/pkg/gui/controllers/commits_files_controller.go @@ -5,9 +5,11 @@ import ( "github.com/jesseduffield/lazygit/pkg/commands/git_commands" "github.com/jesseduffield/lazygit/pkg/commands/models" "github.com/jesseduffield/lazygit/pkg/commands/patch" + "github.com/jesseduffield/lazygit/pkg/constants" "github.com/jesseduffield/lazygit/pkg/gui/context" "github.com/jesseduffield/lazygit/pkg/gui/filetree" "github.com/jesseduffield/lazygit/pkg/gui/types" + "github.com/jesseduffield/lazygit/pkg/utils" ) type CommitFilesController struct { @@ -39,25 +41,29 @@ func (self *CommitFilesController) GetKeybindings(opts types.KeybindingsOpts) [] Key: opts.GetKey(opts.Config.CommitFiles.CheckoutCommitFile), Handler: self.withItem(self.checkout), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.CheckoutCommitFile, + Description: self.c.Tr.Checkout, + Tooltip: self.c.Tr.CheckoutCommitFileTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.withItem(self.discard), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.DiscardOldFileChange, + Description: self.c.Tr.Remove, + Tooltip: self.c.Tr.DiscardOldFileChangeTooltip, }, { Key: opts.GetKey(opts.Config.Universal.OpenFile), Handler: self.withItem(self.open), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.OpenFile, + Tooltip: self.c.Tr.OpenFileTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Edit), Handler: self.withItem(self.edit), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.EditFile, + Description: self.c.Tr.Edit, + Tooltip: self.c.Tr.EditFileTooltip, }, { Key: opts.GetKey(opts.Config.Universal.OpenDiffTool), @@ -70,22 +76,30 @@ func (self *CommitFilesController) GetKeybindings(opts types.KeybindingsOpts) [] Handler: self.withItem(self.toggleForPatch), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.ToggleAddToPatch, + Tooltip: utils.ResolvePlaceholderString(self.c.Tr.ToggleAddToPatchTooltip, + map[string]string{"doc": constants.Links.Docs.CustomPatchDemo}, + ), }, { Key: opts.GetKey(opts.Config.Files.ToggleStagedAll), Handler: self.withItem(self.toggleAllForPatch), Description: self.c.Tr.ToggleAllInPatch, + Tooltip: utils.ResolvePlaceholderString(self.c.Tr.ToggleAllInPatchTooltip, + map[string]string{"doc": constants.Links.Docs.CustomPatchDemo}, + ), }, { Key: opts.GetKey(opts.Config.Universal.GoInto), Handler: self.withItem(self.enter), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.EnterFile, + Description: self.c.Tr.EnterCommitFile, + Tooltip: self.c.Tr.EnterCommitFileTooltip, }, { Key: opts.GetKey(opts.Config.Files.ToggleTreeView), Handler: self.toggleTreeView, Description: self.c.Tr.ToggleTreeView, + Tooltip: self.c.Tr.ToggleTreeViewTooltip, }, } diff --git a/pkg/gui/controllers/context_lines_controller.go b/pkg/gui/controllers/context_lines_controller.go index ddb507b31..2dd538260 100644 --- a/pkg/gui/controllers/context_lines_controller.go +++ b/pkg/gui/controllers/context_lines_controller.go @@ -45,11 +45,13 @@ func (self *ContextLinesController) GetKeybindings(opts types.KeybindingsOpts) [ Key: opts.GetKey(opts.Config.Universal.IncreaseContextInDiffView), Handler: self.Increase, Description: self.c.Tr.IncreaseContextInDiffView, + Tooltip: self.c.Tr.IncreaseContextInDiffViewTooltip, }, { Key: opts.GetKey(opts.Config.Universal.DecreaseContextInDiffView), Handler: self.Decrease, Description: self.c.Tr.DecreaseContextInDiffView, + Tooltip: self.c.Tr.DecreaseContextInDiffViewTooltip, }, } diff --git a/pkg/gui/controllers/custom_patch_options_menu_action.go b/pkg/gui/controllers/custom_patch_options_menu_action.go index 5710b44b7..701c3c7d1 100644 --- a/pkg/gui/controllers/custom_patch_options_menu_action.go +++ b/pkg/gui/controllers/custom_patch_options_menu_action.go @@ -25,16 +25,19 @@ func (self *CustomPatchOptionsMenuAction) Call() error { menuItems := []*types.MenuItem{ { Label: self.c.Tr.ResetPatch, + Tooltip: self.c.Tr.ResetPatchTooltip, OnPress: self.c.Helpers().PatchBuilding.Reset, Key: 'c', }, { Label: self.c.Tr.ApplyPatch, + Tooltip: self.c.Tr.ApplyPatchTooltip, OnPress: func() error { return self.handleApplyPatch(false) }, Key: 'a', }, { Label: self.c.Tr.ApplyPatchInReverse, + Tooltip: self.c.Tr.ApplyPatchInReverseTooltip, OnPress: func() error { return self.handleApplyPatch(true) }, Key: 'r', }, @@ -44,16 +47,19 @@ func (self *CustomPatchOptionsMenuAction) Call() error { menuItems = append(menuItems, []*types.MenuItem{ { Label: fmt.Sprintf(self.c.Tr.RemovePatchFromOriginalCommit, self.c.Git().Patch.PatchBuilder.To), + Tooltip: self.c.Tr.RemovePatchFromOriginalCommitTooltip, OnPress: self.handleDeletePatchFromCommit, Key: 'd', }, { Label: self.c.Tr.MovePatchOutIntoIndex, + Tooltip: self.c.Tr.MovePatchOutIntoIndexTooltip, OnPress: self.handleMovePatchIntoWorkingTree, Key: 'i', }, { Label: self.c.Tr.MovePatchIntoNewCommit, + Tooltip: self.c.Tr.MovePatchIntoNewCommitTooltip, OnPress: self.handlePullPatchIntoNewCommit, Key: 'n', }, @@ -75,6 +81,7 @@ func (self *CustomPatchOptionsMenuAction) Call() error { []*types.MenuItem{ { Label: fmt.Sprintf(self.c.Tr.MovePatchToSelectedCommit, selectedCommit.Sha), + Tooltip: self.c.Tr.MovePatchToSelectedCommitTooltip, OnPress: self.handleMovePatchToSelectedCommit, Key: 'm', DisabledReason: disabledReason, diff --git a/pkg/gui/controllers/files_controller.go b/pkg/gui/controllers/files_controller.go index bc797c219..c450b6fe9 100644 --- a/pkg/gui/controllers/files_controller.go +++ b/pkg/gui/controllers/files_controller.go @@ -41,7 +41,8 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types Key: opts.GetKey(opts.Config.Universal.Select), Handler: self.withItems(self.press), GetDisabledReason: self.require(self.itemsSelected()), - Description: self.c.Tr.ToggleStaged, + Description: self.c.Tr.Stage, + Tooltip: self.c.Tr.StageTooltip, }, { Key: opts.GetKey(opts.Config.Files.OpenStatusFilter), @@ -57,7 +58,8 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types { Key: opts.GetKey(opts.Config.Files.CommitChanges), Handler: self.c.Helpers().WorkingTree.HandleCommitPress, - Description: self.c.Tr.CommitChanges, + Description: self.c.Tr.Commit, + Tooltip: self.c.Tr.CommitTooltip, }, { Key: opts.GetKey(opts.Config.Files.CommitChangesWithoutHook), @@ -84,13 +86,15 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types Key: opts.GetKey(opts.Config.Universal.Edit), Handler: self.withItem(self.edit), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.EditFile, + Description: self.c.Tr.Edit, + Tooltip: self.c.Tr.EditFileTooltip, }, { Key: opts.GetKey(opts.Config.Universal.OpenFile), Handler: self.Open, GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.OpenFile, + Tooltip: self.c.Tr.OpenFileTooltip, }, { Key: opts.GetKey(opts.Config.Files.IgnoreFile), @@ -107,30 +111,35 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types { Key: opts.GetKey(opts.Config.Files.StashAllChanges), Handler: self.stash, - Description: self.c.Tr.StashAllChanges, + Description: self.c.Tr.Stash, + Tooltip: self.c.Tr.StashTooltip, }, { Key: opts.GetKey(opts.Config.Files.ViewStashOptions), Handler: self.createStashMenu, Description: self.c.Tr.ViewStashOptions, + Tooltip: self.c.Tr.ViewStashOptionsTooltip, OpensMenu: true, }, { Key: opts.GetKey(opts.Config.Files.ToggleStagedAll), Handler: self.toggleStagedAll, Description: self.c.Tr.ToggleStagedAll, + Tooltip: self.c.Tr.ToggleStagedAllTooltip, }, { Key: opts.GetKey(opts.Config.Universal.GoInto), Handler: self.enter, GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.FileEnter, + Tooltip: self.c.Tr.FileEnterTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.withItems(self.remove), GetDisabledReason: self.require(self.itemsSelected(self.canRemove)), - Description: self.c.Tr.ViewDiscardOptions, + Description: self.c.Tr.Discard, + Tooltip: self.c.Tr.DiscardFileChangesTooltip, OpensMenu: true, }, { @@ -142,13 +151,15 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types { Key: opts.GetKey(opts.Config.Files.ViewResetOptions), Handler: self.createResetMenu, - Description: self.c.Tr.ViewResetOptions, + Description: self.c.Tr.Reset, + Tooltip: self.c.Tr.FileResetOptionsTooltip, OpensMenu: true, }, { Key: opts.GetKey(opts.Config.Files.ToggleTreeView), Handler: self.toggleTreeView, Description: self.c.Tr.ToggleTreeView, + Tooltip: self.c.Tr.ToggleTreeViewTooltip, }, { Key: opts.GetKey(opts.Config.Universal.OpenDiffTool), @@ -160,11 +171,13 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types Key: opts.GetKey(opts.Config.Files.OpenMergeTool), Handler: self.c.Helpers().WorkingTree.OpenMergeTool, Description: self.c.Tr.OpenMergeTool, + Tooltip: self.c.Tr.OpenMergeToolTooltip, }, { Key: opts.GetKey(opts.Config.Files.Fetch), Handler: self.fetch, Description: self.c.Tr.Fetch, + Tooltip: self.c.Tr.FetchTooltip, }, } } diff --git a/pkg/gui/controllers/global_controller.go b/pkg/gui/controllers/global_controller.go index f8e9b3e6b..ba02ac26a 100644 --- a/pkg/gui/controllers/global_controller.go +++ b/pkg/gui/controllers/global_controller.go @@ -25,6 +25,8 @@ func (self *GlobalController) GetKeybindings(opts types.KeybindingsOpts) []*type Key: opts.GetKey(opts.Config.Universal.ExecuteCustomCommand), Handler: self.customCommand, Description: self.c.Tr.ExecuteCustomCommand, + Tooltip: self.c.Tr.ExecuteCustomCommandTooltip, + OpensMenu: true, }, { Key: opts.GetKey(opts.Config.Universal.CreatePatchOptionsMenu), @@ -36,12 +38,14 @@ func (self *GlobalController) GetKeybindings(opts types.KeybindingsOpts) []*type Key: opts.GetKey(opts.Config.Universal.CreateRebaseOptionsMenu), Handler: self.c.Helpers().MergeAndRebase.CreateRebaseOptionsMenu, Description: self.c.Tr.ViewMergeRebaseOptions, + Tooltip: self.c.Tr.ViewMergeRebaseOptionsTooltip, OpensMenu: true, }, { Key: opts.GetKey(opts.Config.Universal.Refresh), Handler: self.refresh, Description: self.c.Tr.Refresh, + Tooltip: self.c.Tr.RefreshTooltip, }, { Key: opts.GetKey(opts.Config.Universal.NextScreenMode), @@ -65,32 +69,37 @@ func (self *GlobalController) GetKeybindings(opts types.KeybindingsOpts) []*type Modifier: gocui.ModNone, // we have the description on the alt key and not the main key for legacy reasons // (the original main key was 'x' but we've reassigned that to other purposes) - Description: self.c.Tr.OpenMenu, - Handler: self.createOptionsMenu, + Description: self.c.Tr.OpenKeybindingsMenu, + Handler: self.createOptionsMenu, + ShortDescription: self.c.Tr.Keybindings, }, { ViewName: "", Key: opts.GetKey(opts.Config.Universal.FilteringMenu), Handler: self.createFilteringMenu, Description: self.c.Tr.OpenFilteringMenu, + Tooltip: self.c.Tr.OpenFilteringMenuTooltip, OpensMenu: true, }, { Key: opts.GetKey(opts.Config.Universal.DiffingMenu), Handler: self.createDiffingMenu, - Description: self.c.Tr.OpenDiffingMenu, + Description: self.c.Tr.ViewDiffingOptions, + Tooltip: self.c.Tr.ViewDiffingOptionsTooltip, OpensMenu: true, }, { Key: opts.GetKey(opts.Config.Universal.DiffingMenuAlt), Handler: self.createDiffingMenu, - Description: self.c.Tr.OpenDiffingMenu, + Description: self.c.Tr.ViewDiffingOptions, + Tooltip: self.c.Tr.ViewDiffingOptionsTooltip, OpensMenu: true, }, { - Key: opts.GetKey(opts.Config.Universal.Quit), - Modifier: gocui.ModNone, - Handler: self.quit, + Key: opts.GetKey(opts.Config.Universal.Quit), + Modifier: gocui.ModNone, + Description: self.c.Tr.Quit, + Handler: self.quit, }, { Key: opts.GetKey(opts.Config.Universal.QuitAlt1), @@ -103,14 +112,16 @@ func (self *GlobalController) GetKeybindings(opts types.KeybindingsOpts) []*type Handler: self.quitWithoutChangingDirectory, }, { - Key: opts.GetKey(opts.Config.Universal.Return), - Modifier: gocui.ModNone, - Handler: self.escape, + Key: opts.GetKey(opts.Config.Universal.Return), + Modifier: gocui.ModNone, + Handler: self.escape, + Description: self.c.Tr.Cancel, }, { Key: opts.GetKey(opts.Config.Universal.ToggleWhitespaceInDiffView), Handler: self.toggleWhitespace, Description: self.c.Tr.ToggleWhitespaceInDiffView, + Tooltip: self.c.Tr.ToggleWhitespaceInDiffViewTooltip, }, } } diff --git a/pkg/gui/controllers/local_commits_controller.go b/pkg/gui/controllers/local_commits_controller.go index 1feb6e488..25abd2c85 100644 --- a/pkg/gui/controllers/local_commits_controller.go +++ b/pkg/gui/controllers/local_commits_controller.go @@ -11,6 +11,7 @@ import ( "github.com/jesseduffield/lazygit/pkg/gui/context" "github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers" "github.com/jesseduffield/lazygit/pkg/gui/keybindings" + "github.com/jesseduffield/lazygit/pkg/gui/style" "github.com/jesseduffield/lazygit/pkg/gui/types" "github.com/jesseduffield/lazygit/pkg/utils" "github.com/samber/lo" @@ -63,7 +64,8 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ self.canSquashOrFixup, ), ), - Description: self.c.Tr.SquashDown, + Description: self.c.Tr.Squash, + Tooltip: self.c.Tr.SquashTooltip, }, { Key: opts.GetKey(opts.Config.Commits.MarkCommitAsFixup), @@ -74,7 +76,8 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ self.canSquashOrFixup, ), ), - Description: self.c.Tr.FixupCommit, + Description: self.c.Tr.Fixup, + Tooltip: self.c.Tr.FixupTooltip, }, { Key: opts.GetKey(opts.Config.Commits.RenameCommit), @@ -82,7 +85,9 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ GetDisabledReason: self.require( self.singleItemSelected(self.rewordEnabled), ), - Description: self.c.Tr.RewordCommit, + Description: self.c.Tr.Reword, + Tooltip: self.c.Tr.CommitRewordTooltip, + OpensMenu: true, }, { Key: opts.GetKey(opts.Config.Commits.RenameCommitWithEditor), @@ -90,7 +95,7 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ GetDisabledReason: self.require( self.singleItemSelected(self.rewordEnabled), ), - Description: self.c.Tr.RenameCommitEditor, + Description: self.c.Tr.RewordCommitEditor, }, { Key: opts.GetKey(opts.Config.Universal.Remove), @@ -100,7 +105,8 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ self.midRebaseCommandEnabled, ), ), - Description: self.c.Tr.DeleteCommit, + Description: self.c.Tr.DropCommit, + Tooltip: self.c.Tr.DropCommitTooltip, }, { Key: opts.GetKey(editCommitKey), @@ -109,7 +115,9 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ GetDisabledReason: self.require( self.itemRangeSelected(self.midRebaseCommandEnabled), ), - Description: self.c.Tr.EditCommit, + Description: self.c.Tr.EditCommit, + ShortDescription: self.c.Tr.Edit, + Tooltip: self.c.Tr.EditCommitTooltip, }, { // The user-facing description here is 'Start interactive rebase' but internally @@ -129,13 +137,20 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ GetDisabledReason: self.require( self.itemRangeSelected(self.pickEnabled), ), - Description: self.c.Tr.PickCommit, + Description: self.c.Tr.Pick, + Tooltip: self.c.Tr.PickCommitTooltip, }, { Key: opts.GetKey(opts.Config.Commits.CreateFixupCommit), Handler: self.withItem(self.createFixupCommit), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.CreateFixupCommitDescription, + Tooltip: utils.ResolvePlaceholderString( + self.c.Tr.CreateFixupCommitTooltip, + map[string]string{ + "squashAbove": keybindings.Label(opts.Config.Commits.SquashAboveCommits), + }, + ), }, { Key: opts.GetKey(opts.Config.Commits.SquashAboveCommits), @@ -145,6 +160,7 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ self.singleItemSelected(), ), Description: self.c.Tr.SquashAboveCommits, + Tooltip: self.c.Tr.SquashAboveCommitsTooltip, }, { Key: opts.GetKey(opts.Config.Commits.MoveDownCommit), @@ -169,6 +185,7 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ Handler: self.paste, GetDisabledReason: self.require(self.canPaste), Description: self.c.Tr.PasteCommits, + DisplayStyle: &style.FgCyan, }, { Key: opts.GetKey(opts.Config.Commits.MarkCommitAsBaseForRebase), @@ -202,31 +219,36 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ Key: opts.GetKey(opts.Config.Commits.AmendToCommit), Handler: self.withItem(self.amendTo), GetDisabledReason: self.require(self.singleItemSelected(self.canAmend)), - Description: self.c.Tr.AmendToCommit, + Description: self.c.Tr.Amend, + Tooltip: self.c.Tr.AmendCommitTooltip, }, { Key: opts.GetKey(opts.Config.Commits.ResetCommitAuthor), Handler: self.withItem(self.amendAttribute), GetDisabledReason: self.require(self.singleItemSelected(self.canAmend)), - Description: self.c.Tr.SetResetCommitAuthor, + Description: self.c.Tr.AmendCommitAttribute, + Tooltip: self.c.Tr.AmendCommitAttributeTooltip, OpensMenu: true, }, { Key: opts.GetKey(opts.Config.Commits.RevertCommit), Handler: self.withItem(self.revert), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.RevertCommit, + Description: self.c.Tr.Revert, + Tooltip: self.c.Tr.RevertCommitTooltip, }, { Key: opts.GetKey(opts.Config.Commits.CreateTag), Handler: self.withItem(self.createTag), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.TagCommit, + Tooltip: self.c.Tr.TagCommitTooltip, }, { Key: opts.GetKey(opts.Config.Commits.OpenLogMenu), Handler: self.handleOpenLogMenu, Description: self.c.Tr.OpenLogMenu, + Tooltip: self.c.Tr.OpenLogMenuTooltip, OpensMenu: true, }, }...) diff --git a/pkg/gui/controllers/merge_conflicts_controller.go b/pkg/gui/controllers/merge_conflicts_controller.go index 730826ba8..e0d4cae06 100644 --- a/pkg/gui/controllers/merge_conflicts_controller.go +++ b/pkg/gui/controllers/merge_conflicts_controller.go @@ -28,14 +28,24 @@ func NewMergeConflictsController( func (self *MergeConflictsController) GetKeybindings(opts types.KeybindingsOpts) []*types.Binding { bindings := []*types.Binding{ { - Key: opts.GetKey(opts.Config.Universal.Edit), - Handler: self.HandleEditFile, - Description: self.c.Tr.EditFile, + Key: opts.GetKey(opts.Config.Universal.Select), + Handler: self.withRenderAndFocus(self.HandlePickHunk), + Description: self.c.Tr.PickHunk, }, { - Key: opts.GetKey(opts.Config.Universal.OpenFile), - Handler: self.HandleOpenFile, - Description: self.c.Tr.OpenFile, + Key: opts.GetKey(opts.Config.Main.PickBothHunks), + Handler: self.withRenderAndFocus(self.HandlePickAllHunks), + Description: self.c.Tr.PickAllHunks, + }, + { + Key: opts.GetKey(opts.Config.Universal.PrevItem), + Handler: self.withRenderAndFocus(self.PrevConflictHunk), + Description: self.c.Tr.SelectPrevHunk, + }, + { + Key: opts.GetKey(opts.Config.Universal.NextItem), + Handler: self.withRenderAndFocus(self.NextConflictHunk), + Description: self.c.Tr.SelectNextHunk, }, { Key: opts.GetKey(opts.Config.Universal.PrevBlock), @@ -50,17 +60,25 @@ func (self *MergeConflictsController) GetKeybindings(opts types.KeybindingsOpts) Display: true, }, { - Key: opts.GetKey(opts.Config.Universal.PrevItem), - Handler: self.withRenderAndFocus(self.PrevConflictHunk), - Description: self.c.Tr.SelectPrevHunk, + Key: opts.GetKey(opts.Config.Universal.Undo), + Handler: self.withRenderAndFocus(self.HandleUndo), + Description: self.c.Tr.Undo, + Tooltip: self.c.Tr.UndoMergeResolveTooltip, Display: true, }, { - Key: opts.GetKey(opts.Config.Universal.NextItem), - Handler: self.withRenderAndFocus(self.NextConflictHunk), - Description: self.c.Tr.SelectNextHunk, + Key: opts.GetKey(opts.Config.Universal.Edit), + Handler: self.HandleEditFile, + Description: self.c.Tr.EditFile, + Tooltip: self.c.Tr.EditFileTooltip, Display: true, }, + { + Key: opts.GetKey(opts.Config.Universal.OpenFile), + Handler: self.HandleOpenFile, + Description: self.c.Tr.OpenFile, + Tooltip: self.c.Tr.OpenFileTooltip, + }, { Key: opts.GetKey(opts.Config.Universal.PrevBlockAlt), Handler: self.withRenderAndFocus(self.PrevConflict), @@ -89,27 +107,11 @@ func (self *MergeConflictsController) GetKeybindings(opts types.KeybindingsOpts) Description: self.c.Tr.ScrollRight, Tag: "navigation", }, - { - Key: opts.GetKey(opts.Config.Universal.Undo), - Handler: self.withRenderAndFocus(self.HandleUndo), - Description: self.c.Tr.Undo, - Display: true, - }, { Key: opts.GetKey(opts.Config.Files.OpenMergeTool), Handler: self.c.Helpers().WorkingTree.OpenMergeTool, Description: self.c.Tr.OpenMergeTool, - }, - { - Key: opts.GetKey(opts.Config.Universal.Select), - Handler: self.withRenderAndFocus(self.HandlePickHunk), - Description: self.c.Tr.PickHunk, - Display: true, - }, - { - Key: opts.GetKey(opts.Config.Main.PickBothHunks), - Handler: self.withRenderAndFocus(self.HandlePickAllHunks), - Description: self.c.Tr.PickAllHunks, + Tooltip: self.c.Tr.OpenMergeToolTooltip, Display: true, }, { diff --git a/pkg/gui/controllers/patch_building_controller.go b/pkg/gui/controllers/patch_building_controller.go index dcef64677..c5141a20e 100644 --- a/pkg/gui/controllers/patch_building_controller.go +++ b/pkg/gui/controllers/patch_building_controller.go @@ -28,11 +28,13 @@ func (self *PatchBuildingController) GetKeybindings(opts types.KeybindingsOpts) Key: opts.GetKey(opts.Config.Universal.OpenFile), Handler: self.OpenFile, Description: self.c.Tr.OpenFile, + Tooltip: self.c.Tr.OpenFileTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Edit), Handler: self.EditFile, Description: self.c.Tr.EditFile, + Tooltip: self.c.Tr.EditFileTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Select), diff --git a/pkg/gui/controllers/patch_explorer_controller.go b/pkg/gui/controllers/patch_explorer_controller.go index 957705bd1..1f6ef97dd 100644 --- a/pkg/gui/controllers/patch_explorer_controller.go +++ b/pkg/gui/controllers/patch_explorer_controller.go @@ -95,6 +95,7 @@ func (self *PatchExplorerController) GetKeybindings(opts types.KeybindingsOpts) Key: opts.GetKey(opts.Config.Main.ToggleSelectHunk), Handler: self.withRenderAndFocus(self.HandleToggleSelectHunk), Description: self.c.Tr.ToggleSelectHunk, + Tooltip: self.c.Tr.ToggleSelectHunkTooltip, }, { Tag: "navigation", @@ -133,7 +134,7 @@ func (self *PatchExplorerController) GetKeybindings(opts types.KeybindingsOpts) { Key: opts.GetKey(opts.Config.Universal.CopyToClipboard), Handler: self.withLock(self.CopySelectedToClipboard), - Description: self.c.Tr.CopySelectedTexToClipboard, + Description: self.c.Tr.CopySelectedTextToClipboard, }, } } diff --git a/pkg/gui/controllers/remote_branches_controller.go b/pkg/gui/controllers/remote_branches_controller.go index 9d9959448..f4998ef28 100644 --- a/pkg/gui/controllers/remote_branches_controller.go +++ b/pkg/gui/controllers/remote_branches_controller.go @@ -40,6 +40,7 @@ func (self *RemoteBranchesController) GetKeybindings(opts types.KeybindingsOpts) Handler: self.withItem(self.newLocalBranch), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.Checkout, + Tooltip: self.c.Tr.RemoteBranchCheckoutTooltip, }, { Key: opts.GetKey(opts.Config.Universal.New), @@ -51,25 +52,29 @@ func (self *RemoteBranchesController) GetKeybindings(opts types.KeybindingsOpts) Key: opts.GetKey(opts.Config.Branches.MergeIntoCurrentBranch), Handler: opts.Guards.OutsideFilterMode(self.withItem(self.merge)), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.MergeIntoCurrentBranch, + Description: self.c.Tr.Merge, + Tooltip: self.c.Tr.MergeBranchTooltip, }, { Key: opts.GetKey(opts.Config.Branches.RebaseBranch), Handler: opts.Guards.OutsideFilterMode(self.withItem(self.rebase)), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.RebaseBranch, + Tooltip: self.c.Tr.RebaseBranchTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.withItem(self.delete), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.DeleteRemoteTag, + Description: self.c.Tr.Delete, + Tooltip: self.c.Tr.DeleteRemoteBranchTooltip, }, { Key: opts.GetKey(opts.Config.Branches.SetUpstream), Handler: self.withItem(self.setAsUpstream), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.SetAsUpstream, + Tooltip: self.c.Tr.SetAsUpstreamTooltip, }, { Key: opts.GetKey(opts.Config.Branches.SortOrder), @@ -82,6 +87,7 @@ func (self *RemoteBranchesController) GetKeybindings(opts types.KeybindingsOpts) Handler: self.withItem(self.createResetMenu), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.ViewResetOptions, + Tooltip: self.c.Tr.ResetTooltip, OpensMenu: true, }, } diff --git a/pkg/gui/controllers/remotes_controller.go b/pkg/gui/controllers/remotes_controller.go index fe707af99..82e3db0e6 100644 --- a/pkg/gui/controllers/remotes_controller.go +++ b/pkg/gui/controllers/remotes_controller.go @@ -45,29 +45,33 @@ func (self *RemotesController) GetKeybindings(opts types.KeybindingsOpts) []*typ Key: opts.GetKey(opts.Config.Universal.GoInto), Handler: self.withItem(self.enter), GetDisabledReason: self.require(self.singleItemSelected()), - }, - { - Key: opts.GetKey(opts.Config.Branches.FetchRemote), - Handler: self.withItem(self.fetch), - GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.FetchRemote, + Description: self.c.Tr.ViewBranches, }, { Key: opts.GetKey(opts.Config.Universal.New), Handler: self.add, - Description: self.c.Tr.AddNewRemote, + Description: self.c.Tr.NewRemote, }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.withItem(self.remove), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.RemoveRemote, + Description: self.c.Tr.Remove, + Tooltip: self.c.Tr.RemoveRemoteTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Edit), Handler: self.withItem(self.edit), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.EditRemote, + Description: self.c.Tr.Edit, + Tooltip: self.c.Tr.EditRemoteTooltip, + }, + { + Key: opts.GetKey(opts.Config.Branches.FetchRemote), + Handler: self.withItem(self.fetch), + GetDisabledReason: self.require(self.singleItemSelected()), + Description: self.c.Tr.Fetch, + Tooltip: self.c.Tr.FetchRemoteTooltip, }, } diff --git a/pkg/gui/controllers/staging_controller.go b/pkg/gui/controllers/staging_controller.go index 42dac9aa3..d00f71d9b 100644 --- a/pkg/gui/controllers/staging_controller.go +++ b/pkg/gui/controllers/staging_controller.go @@ -39,15 +39,29 @@ func NewStagingController( func (self *StagingController) GetKeybindings(opts types.KeybindingsOpts) []*types.Binding { return []*types.Binding{ + { + Key: opts.GetKey(opts.Config.Universal.Select), + Handler: self.ToggleStaged, + Description: self.c.Tr.Stage, + Tooltip: self.c.Tr.StageSelectionTooltip, + }, + { + Key: opts.GetKey(opts.Config.Universal.Remove), + Handler: self.DiscardSelection, + Description: self.c.Tr.DiscardSelection, + Tooltip: self.c.Tr.DiscardSelectionTooltip, + }, { Key: opts.GetKey(opts.Config.Universal.OpenFile), Handler: self.OpenFile, Description: self.c.Tr.OpenFile, + Tooltip: self.c.Tr.OpenFileTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Edit), Handler: self.EditFile, Description: self.c.Tr.EditFile, + Tooltip: self.c.Tr.EditFileTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Return), @@ -57,27 +71,20 @@ func (self *StagingController) GetKeybindings(opts types.KeybindingsOpts) []*typ { Key: opts.GetKey(opts.Config.Universal.TogglePanel), Handler: self.TogglePanel, - Description: self.c.Tr.ToggleStagingPanel, - }, - { - Key: opts.GetKey(opts.Config.Universal.Select), - Handler: self.ToggleStaged, - Description: self.c.Tr.StageSelection, - }, - { - Key: opts.GetKey(opts.Config.Universal.Remove), - Handler: self.DiscardSelection, - Description: self.c.Tr.DiscardSelection, + Description: self.c.Tr.ToggleStagingView, + Tooltip: self.c.Tr.ToggleStagingViewTooltip, }, { Key: opts.GetKey(opts.Config.Main.EditSelectHunk), Handler: self.EditHunkAndRefresh, Description: self.c.Tr.EditHunk, + Tooltip: self.c.Tr.EditHunkTooltip, }, { Key: opts.GetKey(opts.Config.Files.CommitChanges), Handler: self.c.Helpers().WorkingTree.HandleCommitPress, - Description: self.c.Tr.CommitChanges, + Description: self.c.Tr.Commit, + Tooltip: self.c.Tr.CommitTooltip, }, { Key: opts.GetKey(opts.Config.Files.CommitChangesWithoutHook), diff --git a/pkg/gui/controllers/stash_controller.go b/pkg/gui/controllers/stash_controller.go index 6a413addd..21e4f9cda 100644 --- a/pkg/gui/controllers/stash_controller.go +++ b/pkg/gui/controllers/stash_controller.go @@ -37,24 +37,28 @@ func (self *StashController) GetKeybindings(opts types.KeybindingsOpts) []*types Handler: self.withItem(self.handleStashApply), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.Apply, + Tooltip: self.c.Tr.StashApplyTooltip, }, { Key: opts.GetKey(opts.Config.Stash.PopStash), Handler: self.withItem(self.handleStashPop), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.Pop, + Tooltip: self.c.Tr.StashPopTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.withItem(self.handleStashDrop), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.Drop, + Tooltip: self.c.Tr.StashDropTooltip, }, { Key: opts.GetKey(opts.Config.Universal.New), Handler: self.withItem(self.handleNewBranchOffStashEntry), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.NewBranch, + Tooltip: self.c.Tr.NewBranchFromStashTooltip, }, { Key: opts.GetKey(opts.Config.Stash.RenameStash), diff --git a/pkg/gui/controllers/status_controller.go b/pkg/gui/controllers/status_controller.go index 59df8e352..a1addf1c0 100644 --- a/pkg/gui/controllers/status_controller.go +++ b/pkg/gui/controllers/status_controller.go @@ -36,11 +36,13 @@ func (self *StatusController) GetKeybindings(opts types.KeybindingsOpts) []*type Key: opts.GetKey(opts.Config.Universal.OpenFile), Handler: self.openConfig, Description: self.c.Tr.OpenConfig, + Tooltip: self.c.Tr.OpenFileTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Edit), Handler: self.editConfig, Description: self.c.Tr.EditConfig, + Tooltip: self.c.Tr.EditFileTooltip, }, { Key: opts.GetKey(opts.Config.Status.CheckForUpdate), diff --git a/pkg/gui/controllers/submodules_controller.go b/pkg/gui/controllers/submodules_controller.go index dc3952ea0..42177852c 100644 --- a/pkg/gui/controllers/submodules_controller.go +++ b/pkg/gui/controllers/submodules_controller.go @@ -8,8 +8,10 @@ import ( "github.com/jesseduffield/gocui" "github.com/jesseduffield/lazygit/pkg/commands/models" "github.com/jesseduffield/lazygit/pkg/gui/context" + "github.com/jesseduffield/lazygit/pkg/gui/keybindings" "github.com/jesseduffield/lazygit/pkg/gui/style" "github.com/jesseduffield/lazygit/pkg/gui/types" + "github.com/jesseduffield/lazygit/pkg/utils" ) type SubmodulesController struct { @@ -41,30 +43,33 @@ func (self *SubmodulesController) GetKeybindings(opts types.KeybindingsOpts) []* Key: opts.GetKey(opts.Config.Universal.GoInto), Handler: self.withItem(self.enter), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.EnterSubmodule, + Description: self.c.Tr.Enter, + Tooltip: utils.ResolvePlaceholderString(self.c.Tr.EnterSubmoduleTooltip, + map[string]string{"escape": keybindings.Label(opts.Config.Universal.Return)}), }, { Key: opts.GetKey(opts.Config.Universal.Select), Handler: self.withItem(self.enter), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.EnterSubmodule, }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.withItem(self.remove), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.RemoveSubmodule, + Description: self.c.Tr.Remove, + Tooltip: self.c.Tr.RemoveSubmoduleTooltip, }, { Key: opts.GetKey(opts.Config.Submodules.Update), Handler: self.withItem(self.update), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.SubmoduleUpdate, + Description: self.c.Tr.Update, + Tooltip: self.c.Tr.SubmoduleUpdateTooltip, }, { Key: opts.GetKey(opts.Config.Universal.New), Handler: self.add, - Description: self.c.Tr.AddSubmodule, + Description: self.c.Tr.NewSubmodule, }, { Key: opts.GetKey(opts.Config.Universal.Edit), @@ -76,7 +81,8 @@ func (self *SubmodulesController) GetKeybindings(opts types.KeybindingsOpts) []* Key: opts.GetKey(opts.Config.Submodules.Init), Handler: self.withItem(self.init), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.InitSubmodule, + Description: self.c.Tr.Initialize, + Tooltip: self.c.Tr.InitSubmoduleTooltip, }, { Key: opts.GetKey(opts.Config.Submodules.BulkMenu), diff --git a/pkg/gui/controllers/sync_controller.go b/pkg/gui/controllers/sync_controller.go index ada4997d2..bb648cdeb 100644 --- a/pkg/gui/controllers/sync_controller.go +++ b/pkg/gui/controllers/sync_controller.go @@ -35,12 +35,14 @@ func (self *SyncController) GetKeybindings(opts types.KeybindingsOpts) []*types. Handler: opts.Guards.NoPopupPanel(self.HandlePush), GetDisabledReason: self.getDisabledReasonForPushOrPull, Description: self.c.Tr.Push, + Tooltip: self.c.Tr.PushTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Pull), Handler: opts.Guards.NoPopupPanel(self.HandlePull), GetDisabledReason: self.getDisabledReasonForPushOrPull, Description: self.c.Tr.Pull, + Tooltip: self.c.Tr.PullTooltip, }, } diff --git a/pkg/gui/controllers/tags_controller.go b/pkg/gui/controllers/tags_controller.go index 31fa5ccc0..3992b485e 100644 --- a/pkg/gui/controllers/tags_controller.go +++ b/pkg/gui/controllers/tags_controller.go @@ -38,12 +38,20 @@ func (self *TagsController) GetKeybindings(opts types.KeybindingsOpts) []*types. Handler: self.withItem(self.checkout), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.Checkout, + Tooltip: self.c.Tr.TagCheckoutTooltip, + }, + { + Key: opts.GetKey(opts.Config.Universal.New), + Handler: self.create, + Description: self.c.Tr.NewTag, + Tooltip: self.c.Tr.NewTagTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.withItem(self.delete), - Description: self.c.Tr.ViewDeleteOptions, + Description: self.c.Tr.Delete, GetDisabledReason: self.require(self.singleItemSelected()), + Tooltip: self.c.Tr.TagDeleteTooltip, OpensMenu: true, }, { @@ -51,17 +59,14 @@ func (self *TagsController) GetKeybindings(opts types.KeybindingsOpts) []*types. Handler: self.withItem(self.push), GetDisabledReason: self.require(self.singleItemSelected()), Description: self.c.Tr.PushTag, - }, - { - Key: opts.GetKey(opts.Config.Universal.New), - Handler: self.create, - Description: self.c.Tr.CreateTag, + Tooltip: self.c.Tr.PushTagTooltip, }, { Key: opts.GetKey(opts.Config.Commits.ViewResetOptions), Handler: self.withItem(self.createResetMenu), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.ViewResetOptions, + Description: self.c.Tr.Reset, + Tooltip: self.c.Tr.ResetTooltip, OpensMenu: true, }, } diff --git a/pkg/gui/controllers/worktrees_controller.go b/pkg/gui/controllers/worktrees_controller.go index 5bbde1770..3dd56a8ae 100644 --- a/pkg/gui/controllers/worktrees_controller.go +++ b/pkg/gui/controllers/worktrees_controller.go @@ -39,19 +39,19 @@ func (self *WorktreesController) GetKeybindings(opts types.KeybindingsOpts) []*t { Key: opts.GetKey(opts.Config.Universal.New), Handler: self.add, - Description: self.c.Tr.CreateWorktree, + Description: self.c.Tr.NewWorktree, }, { Key: opts.GetKey(opts.Config.Universal.Select), Handler: self.withItem(self.enter), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.SwitchToWorktree, + Description: self.c.Tr.Switch, + Tooltip: self.c.Tr.SwitchToWorktreeTooltip, }, { Key: opts.GetKey(opts.Config.Universal.Confirm), Handler: self.withItem(self.enter), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.SwitchToWorktree, }, { Key: opts.GetKey(opts.Config.Universal.OpenFile), @@ -63,7 +63,8 @@ func (self *WorktreesController) GetKeybindings(opts types.KeybindingsOpts) []*t Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.withItem(self.remove), GetDisabledReason: self.require(self.singleItemSelected()), - Description: self.c.Tr.RemoveWorktree, + Description: self.c.Tr.Remove, + Tooltip: self.c.Tr.RemoveWorktreeTooltip, }, } diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 90f27ac43..319576cd6 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -89,14 +89,14 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi Key: opts.GetKey(opts.Config.Universal.ScrollUpMain), Handler: self.scrollUpMain, Alternative: "fn+up/shift+k", - Description: self.c.Tr.ScrollUpMainPanel, + Description: self.c.Tr.ScrollUpMainWindow, }, { ViewName: "", Key: opts.GetKey(opts.Config.Universal.ScrollDownMain), Handler: self.scrollDownMain, Alternative: "fn+down/shift+j", - Description: self.c.Tr.ScrollDownMainPanel, + Description: self.c.Tr.ScrollDownMainWindow, }, { ViewName: "", @@ -127,7 +127,7 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi Key: opts.GetKey(opts.Config.Universal.CopyToClipboard), Handler: self.handleCopySelectedSideContextItemToClipboard, GetDisabledReason: self.getCopySelectedSideContextItemToClipboardDisabledReason, - Description: self.c.Tr.CopyFileNameToClipboard, + Description: self.c.Tr.CopyPathToClipboard, }, { ViewName: "localBranches", @@ -181,13 +181,14 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi Key: opts.GetKey(opts.Config.Universal.CopyToClipboard), Handler: self.handleCopySelectedSideContextItemToClipboard, GetDisabledReason: self.getCopySelectedSideContextItemToClipboardDisabledReason, - Description: self.c.Tr.CopyCommitFileNameToClipboard, + Description: self.c.Tr.CopyPathToClipboard, }, { ViewName: "", Key: opts.GetKey(opts.Config.Universal.ExtrasMenu), Handler: self.handleCreateExtrasMenuPanel, - Description: self.c.Tr.OpenExtrasMenu, + Description: self.c.Tr.OpenCommandLogMenu, + Tooltip: self.c.Tr.OpenCommandLogMenuTooltip, OpensMenu: true, }, { diff --git a/pkg/gui/types/keybindings.go b/pkg/gui/types/keybindings.go index bb125d4e5..7d2c19bd4 100644 --- a/pkg/gui/types/keybindings.go +++ b/pkg/gui/types/keybindings.go @@ -1,6 +1,9 @@ package types -import "github.com/jesseduffield/gocui" +import ( + "github.com/jesseduffield/gocui" + "github.com/jesseduffield/lazygit/pkg/gui/style" +) type Key interface{} // FIXME: find out how to get `gocui.Key | rune` @@ -8,20 +11,22 @@ type Key interface{} // FIXME: find out how to get `gocui.Key | rune` // is only handled if the given view has focus, or handled globally if the view // is "" type Binding struct { - ViewName string - Handler func() error - Key Key - Modifier gocui.Modifier - Description string - Alternative string - Tag string // e.g. 'navigation'. Used for grouping things in the cheatsheet - OpensMenu bool + ViewName string + Handler func() error + Key Key + Modifier gocui.Modifier + Description string + ShortDescription string + Alternative string + Tag string // e.g. 'navigation'. Used for grouping things in the cheatsheet + OpensMenu bool // If true, the keybinding will appear at the bottom of the screen. If // the given view has no bindings with Display: true, the default keybindings // will be displayed instead. // TODO: implement this - Display bool + Display bool + DisplayStyle *style.TextStyle // to be displayed if the keybinding is highlighted from within a menu Tooltip string diff --git a/pkg/i18n/chinese.go b/pkg/i18n/chinese.go index 0b74f57fd..6f4440633 100644 --- a/pkg/i18n/chinese.go +++ b/pkg/i18n/chinese.go @@ -52,7 +52,7 @@ func chineseTranslationSet() TranslationSet { CredentialsPassword: "密码", CredentialsPassphrase: "输入 SSH 密钥的密码", PassUnameWrong: "密码 和/或 用户名错误", - CommitChanges: "提交更改", + Commit: "提交更改", AmendLastCommit: "修补最后一次提交", AmendLastCommitTitle: "修补最后一次提交", SureToAmend: "您确定要修补上一次提交吗?之后您可以从提交面板更改提交消息。", @@ -61,7 +61,7 @@ func chineseTranslationSet() TranslationSet { StatusTitle: "状态", Menu: "菜单", Execute: "执行", - ToggleStaged: "切换暂存状态", + Stage: "切换暂存状态", ToggleStagedAll: "切换所有文件的暂存状态", ToggleTreeView: "切换文件树视图", OpenMergeTool: "打开外部合并工具 (git mergetool)", @@ -92,23 +92,21 @@ func chineseTranslationSet() TranslationSet { Confirm: "确认", Close: "关闭", Quit: "退出", - SquashDown: "向下压缩", - FixupCommit: "修正提交(fixup)", NoCommitsThisBranch: "该分支没有提交", CannotSquashOrFixupFirstCommit: "There's no commit below to squash into", Fixup: "修正(fixup)", SureFixupThisCommit: "您确定要“修正”此提交吗?它将合并到下面的提交中", SureSquashThisCommit: "您确定要将这个提交压缩到下面的提交中吗?", Squash: "压缩", - PickCommit: "选择提交(变基过程中)", + PickCommitTooltip: "选择提交(变基过程中)", RevertCommit: "还原提交", - RewordCommit: "改写提交", - DeleteCommit: "删除提交", + Reword: "改写提交", + DropCommit: "删除提交", MoveDownCommit: "下移提交", MoveUpCommit: "上移提交", - EditCommit: "编辑提交", - AmendToCommit: "用已暂存的更改来修补提交", - RenameCommitEditor: "使用编辑器重命名提交", + EditCommitTooltip: "编辑提交", + AmendCommitTooltip: "用已暂存的更改来修补提交", + RewordCommitEditor: "使用编辑器重命名提交", Error: "错误", PickHunk: "选中区块", PickAllHunks: "选中所有区块", @@ -148,7 +146,7 @@ func chineseTranslationSet() TranslationSet { OpenFile: `打开文件`, IgnoreFile: `添加到 .gitignore`, RefreshFiles: `刷新文件`, - MergeIntoCurrentBranch: `合并到当前检出的分支`, + Merge: `合并到当前检出的分支`, ConfirmQuit: `您确定要退出吗?`, SwitchRepo: `切换到最近的仓库`, AllBranchesLogGraph: `显示所有分支的日志`, @@ -161,12 +159,12 @@ func chineseTranslationSet() TranslationSet { NoAutomaticGitFetchBody: `Lazygit 不能在私人仓库中使用 "git fetch"; 请在文件面板中使用 'f' 手动运行 "git fetch"`, FileEnter: `暂存单个 块/行 用于文件, 或 折叠/展开 目录`, FileStagingRequirements: `只能暂存跟踪文件的单独行`, - StageSelection: `切换行暂存状态`, + StageSelectionTooltip: `切换行暂存状态`, DiscardSelection: `取消变更 (git reset)`, ToggleRangeSelect: `切换拖动选择`, ToggleSelectHunk: `切换选择区块`, ToggleSelectionForPatch: `添加/移除 行到补丁`, - ToggleStagingPanel: `切换到其他面板`, + ToggleStagingView: `切换到其他面板`, ReturnToFilesPanel: `返回文件面板`, FastForward: `从上游快进此分支`, FastForwarding: "抓取并快进", @@ -213,8 +211,8 @@ func chineseTranslationSet() TranslationSet { SelectNextHunk: "选择底部块", ScrollDown: "向下滚动", ScrollUp: "向上滚动", - ScrollUpMainPanel: "向上滚动主面板", - ScrollDownMainPanel: "向下滚动主面板", + ScrollUpMainWindow: "向上滚动主面板", + ScrollDownMainWindow: "向下滚动主面板", AmendCommitTitle: "修改提交", AmendCommitPrompt: "您确定要使用暂存文件来修改此提交吗?", DropCommitTitle: "删除提交", @@ -236,8 +234,8 @@ func chineseTranslationSet() TranslationSet { CommitFiles: "提交文件", ViewItemFiles: "查看提交的文件", CommitFilesTitle: "提交文件", - CheckoutCommitFile: "检出文件", - DiscardOldFileChange: "放弃对此文件的提交更改", + CheckoutCommitFileTooltip: "检出文件", + DiscardOldFileChangeTooltip: "放弃对此文件的提交更改", DiscardFileChangesTitle: "放弃文件更改", DiscardFileChangesPrompt: "您确定要舍弃此提交对该文件的更改吗?如果此文件是在此提交中创建的,它将被删除", DisabledForGPG: "该功能不适用于使用 GPG 的用户", @@ -245,7 +243,7 @@ func chineseTranslationSet() TranslationSet { AutoStashTitle: "自动存储?", AutoStashPrompt: "您必须隐藏并弹出更改以使更改生效。自动执行?(enter/esc)", StashPrefix: "自动隐藏更改 ", - ViewDiscardOptions: "查看'放弃更改'选项", + Discard: "查看'放弃更改'选项", Cancel: "取消", DiscardAllChanges: "放弃所有更改", DiscardUnstagedChanges: "放弃未暂存的变更", @@ -255,9 +253,9 @@ func chineseTranslationSet() TranslationSet { HardReset: "硬重置", ViewResetOptions: `查看重置选项`, CreateFixupCommit: `为此提交创建修正`, - SquashAboveCommits: `压缩在所选提交之上的所有“fixup!”提交(自动压缩)`, + SquashAboveCommitsTooltip: `压缩在所选提交之上的所有“fixup!”提交(自动压缩)`, SureSquashAboveCommits: `您确定要压缩在 {{.commit}} 之上的所有“fixup!”提交吗?`, - CreateFixupCommitDescription: `创建修正提交`, + CreateFixupCommitTooltip: `创建修正提交`, SureCreateFixupCommit: `您确定要对 {{.commit}} 创建修正提交吗?`, ExecuteCustomCommand: "执行自定义命令", CustomCommand: "自定义命令:", @@ -281,12 +279,12 @@ func chineseTranslationSet() TranslationSet { ViewPatchOptions: "查看自定义补丁选项", PatchOptionsTitle: "补丁选项", NoPatchError: "尚未创建补丁。你可以在提交中的文件上按下“空格”或使用“回车”添加其中的特定行以开始构建补丁", - EnterFile: "输入文件以将所选行添加到补丁中(或切换目录折叠)", + EnterCommitFile: "输入文件以将所选行添加到补丁中(或切换目录折叠)", ExitCustomPatchBuilder: `退出逐行模式`, EnterUpstream: `以这种格式输入上游:'<远程仓库> <分支名称>'`, InvalidUpstream: "上游格式无效,格式应当为:' '", ReturnToRemotesList: `返回远程仓库列表`, - AddNewRemote: `添加新的远程仓库`, + NewRemote: `添加新的远程仓库`, NewRemoteName: `新远程仓库名称:`, NewRemoteUrl: `新远程仓库 URL:`, EditRemoteName: `输入远程仓库 {{.remoteName}} 的新名称:`, @@ -296,10 +294,10 @@ func chineseTranslationSet() TranslationSet { DeleteRemoteBranch: "删除远程分支", DeleteRemoteBranchMessage: "您确定要删除远程分支吗?", SetUpstream: "设置为检出分支的上游", - SetAsUpstream: "设置为检出分支的上游", + SetAsUpstreamTooltip: "设置为检出分支的上游", SetUpstreamTitle: "设置上游分支", SetUpstreamMessage: "您确定要将 {{.checkedOut}} 的上游分支设置为 {{.selected}} 吗?", - EditRemote: "编辑远程仓库", + EditRemoteTooltip: "编辑远程仓库", TagCommit: "标签提交", TagMenuTitle: "创建标签", TagNameTitle: "标签名称", @@ -308,8 +306,9 @@ func chineseTranslationSet() TranslationSet { LightweightTag: "轻量标签", PushTagTitle: "将 {{.tagName}} 推送到远程仓库:", PushTag: "推送标签", - CreateTag: "创建标签", - FetchRemote: "抓取远程仓库", + NewTag: "创建标签", + FetchRemoteTooltip: "抓取远程仓库", + FetchingRemoteStatus: "抓取远程仓库中", CheckoutCommit: "检出提交", SureCheckoutThisCommit: "您确定要检出此提交吗?", GitFlowOptions: "显示 git-flow 选项", @@ -326,7 +325,7 @@ func chineseTranslationSet() TranslationSet { RenameBranch: "重命名分支", NewBranchNamePrompt: "输入分支的新名称", RenameBranchWarning: "该分支正在跟踪远程仓库。此操作将仅会重命名本地分支名称,而不会重命名远程分支的名称。确定继续?", - OpenMenu: "打开菜单", + OpenKeybindingsMenu: "打开菜单", ResetCherryPick: "重置已拣选(复制)的提交", NextTab: "下一个标签", PrevTab: "上一个标签", @@ -355,16 +354,15 @@ func chineseTranslationSet() TranslationSet { ExitDiffMode: "退出差异模式", DiffingMenuTitle: "正在 diff", SwapDiff: "反向 diff", - OpenDiffingMenu: "打开 diff 菜单", + ViewDiffingOptions: "打开 diff 菜单", // 实际视图 (actual view) 是附加视图 (extras view),未来,我打算为附加视图提供更多选项卡,但现在,上面的文本只需要提及“命令日志”这个部分 - OpenExtrasMenu: "打开命令日志菜单", + OpenCommandLogMenu: "打开命令日志菜单", ShowingGitDiff: "显示输出:", CopyCommitShaToClipboard: "将提交的 SHA 复制到剪贴板", CopyCommitMessageToClipboard: "将提交消息复制到剪贴板", CopyBranchNameToClipboard: "将分支名称复制到剪贴板", - CopyFileNameToClipboard: "将文件名复制到剪贴板", - CopyCommitFileNameToClipboard: "将提交的文件名复制到剪贴板", - CopySelectedTexToClipboard: "将选中文本复制到剪贴板", + CopyPathToClipboard: "将文件名复制到剪贴板", + CopySelectedTextToClipboard: "将选中文本复制到剪贴板", CommitPrefixPatternError: "提交前缀模式错误", NoFilesStagedTitle: "没有暂存文件", NoFilesStagedPrompt: "您尚未暂存任何文件。提交所有文件?", @@ -379,7 +377,7 @@ func chineseTranslationSet() TranslationSet { RunningCustomCommandStatus: "正在运行自定义命令", SubmoduleStashAndReset: "存放未提交的子模块更改和更新", AndResetSubmodules: "和重置子模块", - EnterSubmodule: "输入子模块", + EnterSubmoduleTooltip: "输入子模块", CopySubmoduleNameToClipboard: "将子模块名称复制到剪贴板", RemoveSubmodule: "删除子模块", RemoveSubmodulePrompt: "您确定要删除子模块 '%s' 及其对应的目录吗?这是不可逆的。", @@ -387,14 +385,14 @@ func chineseTranslationSet() TranslationSet { NewSubmoduleName: "新的子模块名称:", NewSubmoduleUrl: "新的子模块 URL:", NewSubmodulePath: "新的子模块路径:", - AddSubmodule: "添加新的子模块", + NewSubmodule: "添加新的子模块", AddingSubmoduleStatus: "添加子模块", UpdateSubmoduleUrl: "更新子模块 '%s' 的 URL", UpdatingSubmoduleUrlStatus: "更新 URL 中", EditSubmoduleUrl: "更新子模块 URL", InitializingSubmoduleStatus: "正在初始化子模块", - InitSubmodule: "初始化子模块", - SubmoduleUpdate: "更新子模块", + InitSubmoduleTooltip: "初始化子模块", + SubmoduleUpdateTooltip: "更新子模块", UpdatingSubmoduleStatus: "正在更新子模块", BulkInitSubmodules: "批量初始化子模块", BulkUpdateSubmodules: "批量更新子模块", diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index 5a9ad5476..5f7aa2978 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -18,7 +18,7 @@ func dutchTranslationSet() TranslationSet { CredentialsPassword: "Wachtwoord", CredentialsPassphrase: "Voer een wachtwoordzin in voor de SSH-sleutel", PassUnameWrong: "Wachtwoord en/of gebruikersnaam verkeerd", - CommitChanges: "Commit veranderingen", + Commit: "Commit veranderingen", AmendLastCommit: "Wijzig laatste commit", AmendLastCommitTitle: "Wijzig laatste commit", SureToAmend: "Weet je zeker dat je de laatste commit wilt wijzigen? U kunt het commit-bericht wijzigen vanuit het commits-paneel.", @@ -27,7 +27,7 @@ func dutchTranslationSet() TranslationSet { StatusTitle: "Status", Menu: "Menu", Execute: "Uitvoeren", - ToggleStaged: "Toggle staged", + Stage: "Toggle staged", ToggleStagedAll: "Toggle staged alle", Refresh: "Verversen", Push: "Push", @@ -58,22 +58,20 @@ func dutchTranslationSet() TranslationSet { Confirm: "Bevestig", Close: "Sluiten", Quit: "Quit", - SquashDown: "Squash beneden", - FixupCommit: "Fixup commit", CannotSquashOrFixupFirstCommit: "There's no commit below to squash into", Fixup: "Fixup", SureFixupThisCommit: "Weet je zeker dat je fixup wil uitvoeren op deze commit? De commit hieronder zol worden squashed in deze", SureSquashThisCommit: "Weet je zeker dat je deze commit wil samenvoegen met de commit hieronder?", Squash: "Squash", - PickCommit: "Kies commit (wanneer midden in rebase)", + PickCommitTooltip: "Kies commit (wanneer midden in rebase)", RevertCommit: "Commit ongedaan maken", - RewordCommit: "Hernoem commit", - DeleteCommit: "Verwijder commit", + Reword: "Hernoem commit", + DropCommit: "Verwijder commit", MoveDownCommit: "Verplaats commit 1 naar beneden", MoveUpCommit: "Verplaats commit 1 naar boven", - EditCommit: "Wijzig commit", - AmendToCommit: "Wijzig commit met staged veranderingen", - RenameCommitEditor: "Hernoem commit met editor", + EditCommitTooltip: "Wijzig commit", + AmendCommitTooltip: "Wijzig commit met staged veranderingen", + RewordCommitEditor: "Hernoem commit met editor", NoCommitsThisBranch: "Geen commits in deze branch", Error: "Foutmelding", PickHunk: "Kies stuk", @@ -113,7 +111,7 @@ func dutchTranslationSet() TranslationSet { OpenFile: `Open bestand`, IgnoreFile: `Voeg toe aan .gitignore`, RefreshFiles: `Refresh bestanden`, - MergeIntoCurrentBranch: `Merge in met huidige checked out branch`, + Merge: `Merge in met huidige checked out branch`, ConfirmQuit: `Weet je zeker dat je dit programma wil sluiten?`, SwitchRepo: "Wissel naar een recente repo", AllBranchesLogGraph: `Alle logs van de branch laten zien`, @@ -126,12 +124,12 @@ func dutchTranslationSet() TranslationSet { NoAutomaticGitFetchBody: `Lazygit kan niet "git fetch" uitvoeren in een privé repository, gebruik f in het branches paneel om "git fetch" manueel uit te voeren`, FileEnter: `Stage individuele hunks/lijnen`, FileStagingRequirements: `Kan alleen individuele lijnen stagen van getrackte bestanden met onstaged veranderingen`, - StageSelection: `Toggle lijnen staged / unstaged`, + StageSelectionTooltip: `Toggle lijnen staged / unstaged`, DiscardSelection: `Verwijdert change (git reset)`, ToggleRangeSelect: `Toggle drag selecteer`, ToggleSelectHunk: `Toggle selecteer hunk`, ToggleSelectionForPatch: `Voeg toe/verwijder lijn(en) in patch`, - ToggleStagingPanel: `Ga naar een ander paneel`, + ToggleStagingView: `Ga naar een ander paneel`, ReturnToFilesPanel: `Ga terug naar het bestanden paneel`, FastForward: `Fast-forward deze branch vanaf zijn upstream`, FastForwarding: "Fast-forwarding", @@ -177,8 +175,8 @@ func dutchTranslationSet() TranslationSet { SelectNextHunk: "Selecteer onderste hunk", ScrollDown: "Scroll omlaag", ScrollUp: "Scroll omhoog", - ScrollUpMainPanel: "Scroll naar beneden vanaf hoofdpaneel", - ScrollDownMainPanel: "Scroll naar beneden vanaf hoofdpaneel", + ScrollUpMainWindow: "Scroll naar beneden vanaf hoofdpaneel", + ScrollDownMainWindow: "Scroll naar beneden vanaf hoofdpaneel", AmendCommitTitle: "Commit wijzigen", AmendCommitPrompt: "Weet je zeker dat je deze commit wil wijzigen met de vorige staged bestanden?", DropCommitTitle: "Verwijder commit", @@ -199,8 +197,8 @@ func dutchTranslationSet() TranslationSet { CommitFiles: "Commit bestanden", ViewItemFiles: "Bekijk gecommite bestanden", CommitFilesTitle: "Commit bestanden", - CheckoutCommitFile: "Bestand uitchecken", - DiscardOldFileChange: "Uitsluit deze commit zijn veranderingen aan dit bestand", + CheckoutCommitFileTooltip: "Bestand uitchecken", + DiscardOldFileChangeTooltip: "Uitsluit deze commit zijn veranderingen aan dit bestand", DiscardFileChangesTitle: "Uitsluit bestand zijn veranderingen", DiscardFileChangesPrompt: "Weet je zeker dat je de wijzigingen van deze commit in dit bestand wilt weggooien? Als dit bestand is gecreëerd in deze commit dan zal dit bestand worden verwijdert", DisabledForGPG: "Onderdelen niet beschikbaar voor gebruikers die GPG gebruiken", @@ -208,7 +206,7 @@ func dutchTranslationSet() TranslationSet { AutoStashTitle: "Autostash?", AutoStashPrompt: "Je moet je veranderingen stashen en poppen om ze over te brengen. Dit automatisch doen? (enter/esc)", StashPrefix: "Auto-stashing veranderingen voor ", - ViewDiscardOptions: "Bekijk 'veranderingen ongedaan maken' opties", + Discard: "Bekijk 'veranderingen ongedaan maken' opties", Cancel: "Annuleren", DiscardAllChanges: "Negeer alle wijzigingen", DiscardUnstagedChanges: "Negeer unstaged wijzigingen", @@ -218,9 +216,9 @@ func dutchTranslationSet() TranslationSet { ViewResetOptions: `Bekijk reset opties`, HardReset: "Harde reset", CreateFixupCommit: `Creëer fixup commit voor deze commit`, - SquashAboveCommits: `Squash bovenstaande commits`, + SquashAboveCommitsTooltip: `Squash bovenstaande commits`, SureSquashAboveCommits: `Weet je zeker dat je alles wil squash/fixup! voor de bovenstaand commits {{.commit}}?`, - CreateFixupCommitDescription: `Creëer fixup commit`, + CreateFixupCommitTooltip: `Creëer fixup commit`, SureCreateFixupCommit: `Weet je zeker dat je een fixup wil maken! commit voor commit {{.commit}}?`, ExecuteCustomCommand: "Voer aangepaste commando uit", CustomCommand: "Aangepaste commando:", @@ -241,11 +239,11 @@ func dutchTranslationSet() TranslationSet { ViewPatchOptions: "Bekijk aangepaste patch opties", PatchOptionsTitle: "Patch opties", NoPatchError: "Nog geen patch gecreëerd. Om een patch te bouwen gebruik 'space' op een commit bestand of 'enter' om een spesiefieke lijnen toe te voegen", - EnterFile: "Enter bestand om geselecteerde regels toe te voegen aan de patch", + EnterCommitFile: "Enter bestand om geselecteerde regels toe te voegen aan de patch", ExitCustomPatchBuilder: `Sluit lijn-bij-lijn modus`, EnterUpstream: `Enter upstream als ' '`, ReturnToRemotesList: `Ga terug naar remotes lijst`, - AddNewRemote: `Voeg een nieuwe remote toe`, + NewRemote: `Voeg een nieuwe remote toe`, NewRemoteName: `Nieuwe remote name:`, NewRemoteUrl: `Nieuwe remote url:`, EditRemoteName: `Enter updated remote naam voor {{.remoteName}}:`, @@ -255,16 +253,17 @@ func dutchTranslationSet() TranslationSet { DeleteRemoteBranch: "Verwijder remote branch", DeleteRemoteBranchMessage: "Weet je zeker dat je deze remote branch wilt verwijderen", SetUpstream: "Stel in als upstream van uitgecheckte branch", - SetAsUpstream: "Stel in als upstream van uitgecheckte branch", + SetAsUpstreamTooltip: "Stel in als upstream van uitgecheckte branch", SetUpstreamTitle: "Stel in als upstream branch", SetUpstreamMessage: "Weet je zeker dat je de upstream branch van '{{.checkedOut}}' naar '{{.selected}}' wilt zetten", - EditRemote: "Wijzig remote", + EditRemoteTooltip: "Wijzig remote", TagCommit: "Tag commit", TagNameTitle: "Tag naam:", PushTagTitle: "Remote om tag '{{.tagName}}' te pushen naar:", PushTag: "Push tag", - CreateTag: "Creëer tag", - FetchRemote: "Fetch remote", + NewTag: "Creëer tag", + FetchRemoteTooltip: "Fetch remote", + FetchingRemoteStatus: "Remote fetchen", CheckoutCommit: "Checkout commit", SureCheckoutThisCommit: "Weet je zeker dat je deze commit wil uitchecken?", GitFlowOptions: "Laat git-flow opties zien", @@ -281,7 +280,7 @@ func dutchTranslationSet() TranslationSet { RenameBranch: "Hernoem branch", NewBranchNamePrompt: "Noem een nieuwe branch naam", RenameBranchWarning: "Deze branch volgt een remote. Deze actie zal alleen de locale branch name wijzigen niet de naam van de remote branch. Verder gaan?", - OpenMenu: "Open menu", + OpenKeybindingsMenu: "Open menu", ResetCherryPick: "Reset cherry-picked (gekopieerde) commits selectie", NextTab: "Volgende tabblad", PrevTab: "Vorige tabblad", @@ -310,13 +309,12 @@ func dutchTranslationSet() TranslationSet { ExitDiffMode: "Sluit diff mode", DiffingMenuTitle: "Diffen", SwapDiff: "Keer diff richting om", - OpenDiffingMenu: "Open diff menu", + ViewDiffingOptions: "Open diff menu", ShowingGitDiff: "Laat output zien voor:", CopyCommitShaToClipboard: "Kopieer commit SHA naar klembord", CopyCommitMessageToClipboard: "Kopieer commit bericht naar klembord", CopyBranchNameToClipboard: "Kopieer branch name naar klembord", - CopyFileNameToClipboard: "Kopieer de bestandsnaam naar het klembord", - CopyCommitFileNameToClipboard: "Kopieer de vastgelegde bestandsnaam naar het klembord", + CopyPathToClipboard: "Kopieer de bestandsnaam naar het klembord", CommitPrefixPatternError: "Fout in commitPrefix patroon", NoFilesStagedTitle: "Geen bestanden gestaged", NoFilesStagedPrompt: "Je hebt geen bestanden gestaged. Commit alle bestanden?", @@ -330,9 +328,9 @@ func dutchTranslationSet() TranslationSet { ToggleTreeView: "Toggle bestandsboom weergave", CreateNewBranchFromCommit: "Creëer nieuwe branch van commit", CopySubmoduleNameToClipboard: "Kopieer submodule naam naar klembord", - EnterSubmodule: "Enter submodule", - AddSubmodule: "Voeg nieuwe submodule toe", - InitSubmodule: "Initialiseer submodule", + EnterSubmoduleTooltip: "Enter submodule", + NewSubmodule: "Voeg nieuwe submodule toe", + InitSubmoduleTooltip: "Initialiseer submodule", ViewBulkSubmoduleOptions: "Bekijk bulk submodule opties", CreatePullRequestOptions: "Bekijk opties voor pull-aanvraag", ConfirmRevertCommit: "Weet u zeker dat u {{.selectedCommit}} ongedaan wilt maken?", diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 9cbbf6d61..b5c1e977e 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -11,518 +11,599 @@ Todo list when making a new translation package i18n type TranslationSet struct { - NotEnoughSpace string - DiffTitle string - FilesTitle string - BranchesTitle string - CommitsTitle string - StashTitle string - SnakeTitle string - EasterEgg string - UnstagedChanges string - StagedChanges string - MainTitle string - StagingTitle string - MergingTitle string - MergeConfirmTitle string - NormalTitle string - LogTitle string - CommitSummary string - CredentialsUsername string - CredentialsPassword string - CredentialsPassphrase string - CredentialsPIN string - PassUnameWrong string - CommitChanges string - AmendLastCommit string - AmendLastCommitTitle string - SureToAmend string - NoCommitToAmend string - CommitChangesWithEditor string - FindBaseCommitForFixup string - FindBaseCommitForFixupTooltip string - NoDeletedLinesInDiff string - NoBaseCommitsFound string - MultipleBaseCommitsFoundStaged string - MultipleBaseCommitsFoundUnstaged string - BaseCommitIsAlreadyOnMainBranch string - BaseCommitIsNotInCurrentView string - HunksWithOnlyAddedLinesWarning string - StatusTitle string - GlobalTitle string - Menu string - Execute string - ToggleStaged string - ToggleStagedAll string - ToggleTreeView string - OpenDiffTool string - OpenMergeTool string - Refresh string - Push string - Pull string - Scroll string - FileFilter string - CopyToClipboardMenu string - CopyFileName string - CopyFilePath string - CopyFileDiffTooltip string - CopySelectedDiff string - CopyAllFilesDiff string - NoContentToCopyError string - FileNameCopiedToast string - FilePathCopiedToast string - FileDiffCopiedToast string - AllFilesDiffCopiedToast string - FilterStagedFiles string - FilterUnstagedFiles string - ResetFilter string - MergeConflictsTitle string - Checkout string - CantCheckoutBranchWhilePulling string - CantPullOrPushSameBranchTwice string - NoChangedFiles string - SoftReset string - AlreadyCheckedOutBranch string - SureForceCheckout string - ForceCheckoutBranch string - BranchName string - NewBranchNameBranchOff string - CantDeleteCheckOutBranch string - DeleteBranchTitle string - DeleteLocalBranch string - DeleteRemoteBranchOption string - DeleteRemoteBranchPrompt string - ForceDeleteBranchTitle string - ForceDeleteBranchMessage string - RebaseBranch string - CantRebaseOntoSelf string - CantMergeBranchIntoItself string - ForceCheckout string - CheckoutByName string - NewBranch string - NoBranchesThisRepo string - CommitWithoutMessageErr string - Close string - CloseCancel string - Confirm string - Quit string - SquashDown string - FixupCommit string - CannotSquashOrFixupFirstCommit string - Fixup string - SureFixupThisCommit string - SureSquashThisCommit string - Squash string - PickCommit string - RevertCommit string - RewordCommit string - DeleteCommit string - MoveDownCommit string - MoveUpCommit string - CannotMoveAnyFurther string - EditCommit string - AmendToCommit string - ResetAuthor string - SetAuthor string - AddCoAuthor string - SetResetCommitAuthor string - SetAuthorPromptTitle string - AddCoAuthorPromptTitle string - AddCoAuthorTooltip string - SureResetCommitAuthor string - RenameCommitEditor string - NoCommitsThisBranch string - UpdateRefHere string - Error string - Undo string - UndoReflog string - RedoReflog string - UndoTooltip string - RedoTooltip string - DiscardAllTooltip string - DiscardUnstagedTooltip string - Pop string - Drop string - Apply string - NoStashEntries string - StashDrop string - SureDropStashEntry string - StashPop string - SurePopStashEntry string - StashApply string - SureApplyStashEntry string - NoTrackedStagedFilesStash string - NoFilesToStash string - StashChanges string - RenameStash string - RenameStashPrompt string - OpenConfig string - EditConfig string - ForcePush string - ForcePushPrompt string - ForcePushDisabled string - UpdatesRejectedAndForcePushDisabled string - CheckForUpdate string - CheckingForUpdates string - UpdateAvailableTitle string - UpdateAvailable string - UpdateInProgressWaitingStatus string - UpdateCompletedTitle string - UpdateCompleted string - FailedToRetrieveLatestVersionErr string - OnLatestVersionErr string - MajorVersionErr string - CouldNotFindBinaryErr string - UpdateFailedErr string - ConfirmQuitDuringUpdateTitle string - ConfirmQuitDuringUpdate string - MergeToolTitle string - MergeToolPrompt string - IntroPopupMessage string - DeprecatedEditConfigWarning string - GitconfigParseErr string - EditFile string - OpenFile string - OpenInEditor string - IgnoreFile string - ExcludeFile string - RefreshFiles string - MergeIntoCurrentBranch string - ConfirmQuit string - SwitchRepo string - AllBranchesLogGraph string - UnsupportedGitService string - CopyPullRequestURL string - NoBranchOnRemote string - Fetch string - NoAutomaticGitFetchTitle string - NoAutomaticGitFetchBody string - FileEnter string - FileStagingRequirements string - StageSelection string - DiscardSelection string - ToggleSelectHunk string - ToggleSelectionForPatch string - EditHunk string - ToggleStagingPanel string - ReturnToFilesPanel string - FastForward string - FastForwarding string - FoundConflictsTitle string - ViewConflictsMenuItem string - AbortMenuItem string - PickHunk string - PickAllHunks string - ViewMergeRebaseOptions string - NotMergingOrRebasing string - AlreadyRebasing string - RecentRepos string - MergeOptionsTitle string - RebaseOptionsTitle string - CommitSummaryTitle string - CommitDescriptionTitle string - CommitDescriptionSubTitle string - CommitDescriptionSubTitleNoSwitch string - LocalBranchesTitle string - SearchTitle string - TagsTitle string - MenuTitle string - RemotesTitle string - RemoteBranchesTitle string - PatchBuildingTitle string - InformationTitle string - SecondaryTitle string - ReflogCommitsTitle string - ConflictsResolved string - Continue string - RebasingTitle string - RebasingFromBaseCommitTitle string - SimpleRebase string - InteractiveRebase string - InteractiveRebaseTooltip string - MustSelectTodoCommits string - ConfirmMerge string - FwdNoUpstream string - FwdNoLocalUpstream string - FwdCommitsToPush string - PullRequestNoUpstream string - ErrorOccurred string - NoRoom string - YouAreHere string - YouDied string - RewordNotSupported string - ChangingThisActionIsNotAllowed string - CherryPickCopy string - PasteCommits string - SureCherryPick string - CherryPick string - Donate string - AskQuestion string - PrevLine string - NextLine string - PrevHunk string - NextHunk string - PrevConflict string - NextConflict string - SelectPrevHunk string - SelectNextHunk string - ScrollDown string - ScrollUp string - ScrollUpMainPanel string - ScrollDownMainPanel string - AmendCommitTitle string - AmendCommitPrompt string - DropCommitTitle string - DropCommitPrompt string - PullingStatus string - PushingStatus string - FetchingStatus string - SquashingStatus string - FixingStatus string - DeletingStatus string - DroppingStatus string - MovingStatus string - RebasingStatus string - MergingStatus string - LowercaseRebasingStatus string - LowercaseMergingStatus string - AmendingStatus string - CherryPickingStatus string - UndoingStatus string - RedoingStatus string - CheckingOutStatus string - CommittingStatus string - RevertingStatus string - CommitFiles string - SubCommitsDynamicTitle string - CommitFilesDynamicTitle string - RemoteBranchesDynamicTitle string - ViewItemFiles string - CommitFilesTitle string - CheckoutCommitFile string - CanOnlyDiscardFromLocalCommits string - DiscardOldFileChange string - DiscardFileChangesTitle string - DiscardFileChangesPrompt string - DiscardAddedFileChangesPrompt string - DiscardDeletedFileChangesPrompt string - DiscardNotSupportedForDirectory string - DisabledForGPG string - CreateRepo string - BareRepo string - InitialBranch string - NoRecentRepositories string - IncorrectNotARepository string - AutoStashTitle string - AutoStashPrompt string - StashPrefix string - ViewDiscardOptions string - DiscardChangesTitle string - Cancel string - DiscardAllChanges string - DiscardUnstagedChanges string - DiscardAllChangesToAllFiles string - DiscardAnyUnstagedChanges string - DiscardUntrackedFiles string - DiscardStagedChanges string - HardReset string - ViewDeleteOptions string - ViewResetOptions string - CreateFixupCommit string - CreateFixupCommitDescription string - SquashAboveCommits string - SureSquashAboveCommits string - SureCreateFixupCommit string - ExecuteCustomCommand string - CustomCommand string - CommitChangesWithoutHook string - SkipHookPrefixNotConfigured string - ResetTo string - PressEnterToReturn string - ViewStashOptions string - StashAllChanges string - StashStagedChanges string - StashAllChangesKeepIndex string - StashUnstagedChanges string - StashIncludeUntrackedChanges string - StashOptions string - NotARepository string - WorkingDirectoryDoesNotExist string - Jump string - ScrollLeftRight string - ScrollLeft string - ScrollRight string - DiscardPatch string - DiscardPatchConfirm string - CantPatchWhileRebasingError string - ToggleAddToPatch string - ToggleAllInPatch string - UpdatingPatch string - ViewPatchOptions string - PatchOptionsTitle string - NoPatchError string - EmptyPatchError string - EnterFile string - ExitCustomPatchBuilder string - EnterUpstream string - InvalidUpstream string - ReturnToRemotesList string - AddNewRemote string - NewRemoteName string - NewRemoteUrl string - EditRemoteName string - EditRemoteUrl string - RemoveRemote string - RemoveRemotePrompt string - DeleteRemoteBranch string - DeleteRemoteBranchMessage string - SetAsUpstream string - SetUpstream string - UnsetUpstream string - ViewDivergenceFromUpstream string - DivergenceSectionHeaderLocal string - DivergenceSectionHeaderRemote string - ViewUpstreamResetOptions string - ViewUpstreamResetOptionsTooltip string - ViewUpstreamRebaseOptions string - ViewUpstreamRebaseOptionsTooltip string - UpstreamGenericName string - SetUpstreamTitle string - SetUpstreamMessage string - EditRemote string - TagCommit string - TagMenuTitle string - TagNameTitle string - TagMessageTitle string - LightweightTag string - AnnotatedTag string - DeleteTagTitle string - DeleteLocalTag string - DeleteRemoteTag string - SelectRemoteTagUpstream string - DeleteRemoteTagPrompt string - RemoteTagDeletedMessage string - PushTagTitle string - PushTag string - CreateTag string - CreatingTag string - ForceTag string - ForceTagPrompt string - FetchRemote string - CheckoutCommit string - SureCheckoutThisCommit string - GitFlowOptions string - NotAGitFlowBranch string - NewBranchNamePrompt string - IgnoreTracked string - ExcludeTracked string - IgnoreTrackedPrompt string - ExcludeTrackedPrompt string - ViewResetToUpstreamOptions string - NextScreenMode string - PrevScreenMode string - StartSearch string - StartFilter string - Panel string - Keybindings string - KeybindingsLegend string - KeybindingsMenuSectionLocal string - KeybindingsMenuSectionGlobal string - KeybindingsMenuSectionNavigation string - RenameBranch string - ViewBranchUpstreamOptions string - BranchUpstreamOptionsTitle string - ViewBranchUpstreamOptionsTooltip string - UpstreamNotSetError string - NewGitFlowBranchPrompt string - RenameBranchWarning string - OpenMenu string - ResetCherryPick string - NextTab string - PrevTab string - CantUndoWhileRebasing string - CantRedoWhileRebasing string - MustStashWarning string - MustStashTitle string - ConfirmationTitle string - PrevPage string - NextPage string - GotoTop string - GotoBottom string - FilteringBy string - ResetInParentheses string - OpenFilteringMenu string - FilterBy string - ExitFilterMode string - FilterPathOption string - EnterFileName string - FilteringMenuTitle string - MustExitFilterModeTitle string - MustExitFilterModePrompt string - Diff string - EnterRefToDiff string - EnterRefName string - ExitDiffMode string - DiffingMenuTitle string - SwapDiff string - OpenDiffingMenu string - OpenExtrasMenu string - ShowingGitDiff string - CommitDiff string - CopyCommitShaToClipboard string - CommitSha string - CommitURL string - CopyCommitMessageToClipboard string - CommitMessage string - CommitSubject string - CommitAuthor string - CopyCommitAttributeToClipboard string - CopyBranchNameToClipboard string - CopyFileNameToClipboard string - CopyCommitFileNameToClipboard string - CommitPrefixPatternError string - CopySelectedTexToClipboard string - NoFilesStagedTitle string - NoFilesStagedPrompt string - BranchNotFoundTitle string - BranchNotFoundPrompt string - BranchUnknown string - DiscardChangeTitle string - DiscardChangePrompt string - CreateNewBranchFromCommit string - BuildingPatch string - ViewCommits string - MinGitVersionError string - RunningCustomCommandStatus string - SubmoduleStashAndReset string - AndResetSubmodules string - EnterSubmodule string - CopySubmoduleNameToClipboard string - RemoveSubmodule string - RemoveSubmodulePrompt string - ResettingSubmoduleStatus string - NewSubmoduleName string - NewSubmoduleUrl string - NewSubmodulePath string - AddSubmodule string - AddingSubmoduleStatus string - UpdateSubmoduleUrl string - UpdatingSubmoduleUrlStatus string - EditSubmoduleUrl string - InitializingSubmoduleStatus string - InitSubmodule string - SubmoduleUpdate string - UpdatingSubmoduleStatus string - BulkInitSubmodules string - BulkUpdateSubmodules string - BulkDeinitSubmodules string - ViewBulkSubmoduleOptions string - BulkSubmoduleOptions string - RunningCommand string - SubCommitsTitle string - SubmodulesTitle string - NavigationTitle string - SuggestionsCheatsheetTitle string + NotEnoughSpace string + DiffTitle string + FilesTitle string + BranchesTitle string + CommitsTitle string + StashTitle string + SnakeTitle string + EasterEgg string + UnstagedChanges string + StagedChanges string + MainTitle string + StagingTitle string + MergingTitle string + MergeConfirmTitle string + NormalTitle string + LogTitle string + CommitSummary string + CredentialsUsername string + CredentialsPassword string + CredentialsPassphrase string + CredentialsPIN string + PassUnameWrong string + Commit string + CommitTooltip string + AmendLastCommit string + AmendLastCommitTitle string + SureToAmend string + NoCommitToAmend string + CommitChangesWithEditor string + FindBaseCommitForFixup string + FindBaseCommitForFixupTooltip string + NoDeletedLinesInDiff string + NoBaseCommitsFound string + MultipleBaseCommitsFoundStaged string + MultipleBaseCommitsFoundUnstaged string + BaseCommitIsAlreadyOnMainBranch string + BaseCommitIsNotInCurrentView string + HunksWithOnlyAddedLinesWarning string + StatusTitle string + GlobalTitle string + Menu string + Execute string + Stage string + StageTooltip string + ToggleStagedAll string + ToggleStagedAllTooltip string + ToggleTreeView string + ToggleTreeViewTooltip string + OpenDiffTool string + OpenMergeTool string + OpenMergeToolTooltip string + Refresh string + RefreshTooltip string + Push string + Pull string + PushTooltip string + PullTooltip string + Scroll string + FileFilter string + CopyToClipboardMenu string + CopyFileName string + CopyFilePath string + CopyFileDiffTooltip string + CopySelectedDiff string + CopyAllFilesDiff string + NoContentToCopyError string + FileNameCopiedToast string + FilePathCopiedToast string + FileDiffCopiedToast string + AllFilesDiffCopiedToast string + FilterStagedFiles string + FilterUnstagedFiles string + ResetFilter string + MergeConflictsTitle string + Checkout string + CheckoutTooltip string + CantCheckoutBranchWhilePulling string + TagCheckoutTooltip string + RemoteBranchCheckoutTooltip string + CantPullOrPushSameBranchTwice string + NoChangedFiles string + SoftReset string + AlreadyCheckedOutBranch string + SureForceCheckout string + ForceCheckoutBranch string + BranchName string + NewBranchNameBranchOff string + CantDeleteCheckOutBranch string + DeleteBranchTitle string + DeleteLocalBranch string + DeleteRemoteBranchOption string + DeleteRemoteBranchPrompt string + ForceDeleteBranchTitle string + ForceDeleteBranchMessage string + RebaseBranch string + RebaseBranchTooltip string + CantRebaseOntoSelf string + CantMergeBranchIntoItself string + ForceCheckout string + ForceCheckoutTooltip string + CheckoutByName string + CheckoutByNameTooltip string + NewBranch string + NewBranchFromStashTooltip string + NoBranchesThisRepo string + CommitWithoutMessageErr string + Close string + CloseCancel string + Confirm string + Quit string + SquashTooltip string + CannotSquashOrFixupFirstCommit string + Fixup string + FixupTooltip string + SureFixupThisCommit string + SureSquashThisCommit string + Squash string + PickCommitTooltip string + Pick string + CantPickDisabledReason string + Edit string + RevertCommit string + Revert string + RevertCommitTooltip string + Reword string + CommitRewordTooltip string + DropCommit string + DropCommitTooltip string + MoveDownCommit string + MoveUpCommit string + CannotMoveAnyFurther string + EditCommit string + EditCommitTooltip string + AmendCommitTooltip string + Amend string + ResetAuthor string + SetAuthor string + AddCoAuthor string + AmendCommitAttribute string + AmendCommitAttributeTooltip string + SetAuthorPromptTitle string + AddCoAuthorPromptTitle string + AddCoAuthorTooltip string + SureResetCommitAuthor string + RewordCommitEditor string + NoCommitsThisBranch string + UpdateRefHere string + Error string + Undo string + UndoReflog string + RedoReflog string + UndoTooltip string + RedoTooltip string + UndoMergeResolveTooltip string + DiscardAllTooltip string + DiscardUnstagedTooltip string + Pop string + StashPopTooltip string + Drop string + StashDropTooltip string + Apply string + StashApplyTooltip string + NoStashEntries string + StashDrop string + SureDropStashEntry string + StashPop string + SurePopStashEntry string + StashApply string + SureApplyStashEntry string + NoTrackedStagedFilesStash string + NoFilesToStash string + StashChanges string + RenameStash string + RenameStashPrompt string + OpenConfig string + EditConfig string + ForcePush string + ForcePushPrompt string + ForcePushDisabled string + UpdatesRejectedAndForcePushDisabled string + CheckForUpdate string + CheckingForUpdates string + UpdateAvailableTitle string + UpdateAvailable string + UpdateInProgressWaitingStatus string + UpdateCompletedTitle string + UpdateCompleted string + FailedToRetrieveLatestVersionErr string + OnLatestVersionErr string + MajorVersionErr string + CouldNotFindBinaryErr string + UpdateFailedErr string + ConfirmQuitDuringUpdateTitle string + ConfirmQuitDuringUpdate string + MergeToolTitle string + MergeToolPrompt string + IntroPopupMessage string + DeprecatedEditConfigWarning string + GitconfigParseErr string + EditFile string + EditFileTooltip string + OpenFile string + OpenFileTooltip string + OpenInEditor string + IgnoreFile string + ExcludeFile string + RefreshFiles string + Merge string + MergeBranchTooltip string + ConfirmQuit string + SwitchRepo string + AllBranchesLogGraph string + UnsupportedGitService string + CopyPullRequestURL string + NoBranchOnRemote string + Fetch string + FetchTooltip string + NoAutomaticGitFetchTitle string + NoAutomaticGitFetchBody string + FileEnter string + FileEnterTooltip string + FileStagingRequirements string + StageSelectionTooltip string + DiscardSelection string + DiscardSelectionTooltip string + ToggleSelectHunk string + ToggleSelectHunkTooltip string + ToggleSelectionForPatch string + ToggleSelectionForPatchTooltip string + EditHunk string + EditHunkTooltip string + ToggleStagingView string + ToggleStagingViewTooltip string + ReturnToFilesPanel string + FastForward string + FastForwardTooltip string + FastForwarding string + FoundConflictsTitle string + ViewConflictsMenuItem string + AbortMenuItem string + PickHunk string + PickAllHunks string + ViewMergeRebaseOptions string + ViewMergeRebaseOptionsTooltip string + ViewMergeOptions string + ViewRebaseOptions string + NotMergingOrRebasing string + AlreadyRebasing string + RecentRepos string + MergeOptionsTitle string + RebaseOptionsTitle string + CommitSummaryTitle string + CommitDescriptionTitle string + CommitDescriptionSubTitle string + CommitDescriptionSubTitleNoSwitch string + LocalBranchesTitle string + SearchTitle string + TagsTitle string + MenuTitle string + RemotesTitle string + RemoteBranchesTitle string + PatchBuildingTitle string + InformationTitle string + SecondaryTitle string + ReflogCommitsTitle string + ConflictsResolved string + Continue string + RebasingTitle string + RebasingFromBaseCommitTitle string + SimpleRebase string + InteractiveRebase string + InteractiveRebaseTooltip string + MustSelectTodoCommits string + ConfirmMerge string + FwdNoUpstream string + FwdNoLocalUpstream string + FwdCommitsToPush string + PullRequestNoUpstream string + ErrorOccurred string + NoRoom string + YouAreHere string + YouDied string + RewordNotSupported string + ChangingThisActionIsNotAllowed string + CherryPickCopy string + CherryPickCopyTooltip string + CherryPickCopyRange string + CherryPickCopyRangeTooltip string + PasteCommits string + SureCherryPick string + CherryPick string + Donate string + AskQuestion string + PrevLine string + NextLine string + PrevHunk string + NextHunk string + PrevConflict string + NextConflict string + SelectPrevHunk string + SelectNextHunk string + ScrollDown string + ScrollUp string + ScrollUpMainWindow string + ScrollDownMainWindow string + AmendCommitTitle string + AmendCommitPrompt string + DropCommitTitle string + DropCommitPrompt string + PullingStatus string + PushingStatus string + FetchingStatus string + SquashingStatus string + FixingStatus string + DeletingStatus string + DroppingStatus string + MovingStatus string + RebasingStatus string + MergingStatus string + LowercaseRebasingStatus string + LowercaseMergingStatus string + AmendingStatus string + CherryPickingStatus string + UndoingStatus string + RedoingStatus string + CheckingOutStatus string + CommittingStatus string + RevertingStatus string + CommitFiles string + SubCommitsDynamicTitle string + CommitFilesDynamicTitle string + RemoteBranchesDynamicTitle string + ViewItemFiles string + ViewItemFilesTooltip string + CommitFilesTitle string + CheckoutCommitFileTooltip string + CanOnlyDiscardFromLocalCommits string + Remove string + DiscardOldFileChangeTooltip string + DiscardFileChangesTitle string + DiscardFileChangesPrompt string + DiscardAddedFileChangesPrompt string + DiscardDeletedFileChangesPrompt string + DiscardNotSupportedForDirectory string + DisabledForGPG string + CreateRepo string + BareRepo string + InitialBranch string + NoRecentRepositories string + IncorrectNotARepository string + AutoStashTitle string + AutoStashPrompt string + StashPrefix string + Discard string + DiscardChangesTitle string + DiscardFileChangesTooltip string + Cancel string + DiscardAllChanges string + DiscardUnstagedChanges string + DiscardAllChangesToAllFiles string + DiscardAnyUnstagedChanges string + DiscardUntrackedFiles string + DiscardStagedChanges string + HardReset string + BranchDeleteTooltip string + TagDeleteTooltip string + Delete string + Reset string + ResetTooltip string + ViewResetOptions string + FileResetOptionsTooltip string + CreateFixupCommit string + CreateFixupCommitDescription string + CreateFixupCommitTooltip string + SquashAboveCommitsTooltip string + SquashAboveCommits string + SureSquashAboveCommits string + SureCreateFixupCommit string + ExecuteCustomCommand string + ExecuteCustomCommandTooltip string + CustomCommand string + CommitChangesWithoutHook string + SkipHookPrefixNotConfigured string + ResetTo string + PressEnterToReturn string + ViewStashOptions string + ViewStashOptionsTooltip string + Stash string + StashTooltip string + StashAllChanges string + StashStagedChanges string + StashAllChangesKeepIndex string + StashUnstagedChanges string + StashIncludeUntrackedChanges string + StashOptions string + NotARepository string + WorkingDirectoryDoesNotExist string + Jump string + ScrollLeftRight string + ScrollLeft string + ScrollRight string + DiscardPatch string + DiscardPatchConfirm string + CantPatchWhileRebasingError string + ToggleAddToPatch string + ToggleAddToPatchTooltip string + ToggleAllInPatch string + ToggleAllInPatchTooltip string + UpdatingPatch string + ViewPatchOptions string + PatchOptionsTitle string + NoPatchError string + EmptyPatchError string + EnterCommitFile string + EnterCommitFileTooltip string + ExitCustomPatchBuilder string + EnterUpstream string + InvalidUpstream string + ReturnToRemotesList string + NewRemote string + NewRemoteName string + NewRemoteUrl string + ViewBranches string + EditRemoteName string + EditRemoteUrl string + RemoveRemote string + RemoveRemoteTooltip string + RemoveRemotePrompt string + DeleteRemoteBranch string + DeleteRemoteBranchMessage string + DeleteRemoteBranchTooltip string + SetAsUpstream string + SetAsUpstreamTooltip string + SetUpstream string + UnsetUpstream string + ViewDivergenceFromUpstream string + DivergenceSectionHeaderLocal string + DivergenceSectionHeaderRemote string + ViewUpstreamResetOptions string + ViewUpstreamResetOptionsTooltip string + ViewUpstreamRebaseOptions string + ViewUpstreamRebaseOptionsTooltip string + UpstreamGenericName string + SetUpstreamTitle string + SetUpstreamMessage string + EditRemoteTooltip string + TagCommit string + TagCommitTooltip string + TagMenuTitle string + TagNameTitle string + TagMessageTitle string + LightweightTag string + AnnotatedTag string + DeleteTagTitle string + DeleteLocalTag string + DeleteRemoteTag string + SelectRemoteTagUpstream string + DeleteRemoteTagPrompt string + RemoteTagDeletedMessage string + PushTagTitle string + PushTag string + PushTagTooltip string + NewTag string + NewTagTooltip string + CreatingTag string + ForceTag string + ForceTagPrompt string + FetchRemoteTooltip string + FetchingRemoteStatus string + CheckoutCommit string + CheckoutCommitTooltip string + SureCheckoutThisCommit string + GitFlowOptions string + NotAGitFlowBranch string + NewBranchNamePrompt string + IgnoreTracked string + ExcludeTracked string + IgnoreTrackedPrompt string + ExcludeTrackedPrompt string + ViewResetToUpstreamOptions string + NextScreenMode string + PrevScreenMode string + StartSearch string + StartFilter string + Panel string + Keybindings string + KeybindingsLegend string + KeybindingsMenuSectionLocal string + KeybindingsMenuSectionGlobal string + KeybindingsMenuSectionNavigation string + RenameBranch string + Upstream string + UpstreamTooltip string + BranchUpstreamOptionsTitle string + ViewBranchUpstreamOptions string + ViewBranchUpstreamOptionsTooltip string + UpstreamNotSetError string + NewGitFlowBranchPrompt string + RenameBranchWarning string + OpenKeybindingsMenu string + ResetCherryPick string + NextTab string + PrevTab string + CantUndoWhileRebasing string + CantRedoWhileRebasing string + MustStashWarning string + MustStashTitle string + ConfirmationTitle string + PrevPage string + NextPage string + GotoTop string + GotoBottom string + FilteringBy string + ResetInParentheses string + OpenFilteringMenu string + OpenFilteringMenuTooltip string + FilterBy string + ExitFilterMode string + FilterPathOption string + EnterFileName string + FilteringMenuTitle string + MustExitFilterModeTitle string + MustExitFilterModePrompt string + Diff string + EnterRefToDiff string + EnterRefName string + ExitDiffMode string + DiffingMenuTitle string + SwapDiff string + ViewDiffingOptions string + ViewDiffingOptionsTooltip string + OpenCommandLogMenu string + OpenCommandLogMenuTooltip string + ShowingGitDiff string + CommitDiff string + CopyCommitShaToClipboard string + CommitSha string + CommitURL string + CopyCommitMessageToClipboard string + CommitMessage string + CommitSubject string + CommitAuthor string + CopyCommitAttributeToClipboard string + CopyCommitAttributeToClipboardTooltip string + CopyBranchNameToClipboard string + CopyPathToClipboard string + CommitPrefixPatternError string + CopySelectedTextToClipboard string + NoFilesStagedTitle string + NoFilesStagedPrompt string + BranchNotFoundTitle string + BranchNotFoundPrompt string + BranchUnknown string + DiscardChangeTitle string + DiscardChangePrompt string + CreateNewBranchFromCommit string + BuildingPatch string + ViewCommits string + MinGitVersionError string + RunningCustomCommandStatus string + SubmoduleStashAndReset string + AndResetSubmodules string + EnterSubmoduleTooltip string + Enter string + CopySubmoduleNameToClipboard string + RemoveSubmodule string + RemoveSubmoduleTooltip string + RemoveSubmodulePrompt string + ResettingSubmoduleStatus string + NewSubmoduleName string + NewSubmoduleUrl string + NewSubmodulePath string + NewSubmodule string + AddingSubmoduleStatus string + UpdateSubmoduleUrl string + UpdatingSubmoduleUrlStatus string + EditSubmoduleUrl string + InitializingSubmoduleStatus string + InitSubmoduleTooltip string + Update string + Initialize string + SubmoduleUpdateTooltip string + UpdatingSubmoduleStatus string + BulkInitSubmodules string + BulkUpdateSubmodules string + BulkDeinitSubmodules string + ViewBulkSubmoduleOptions string + BulkSubmoduleOptions string + RunningCommand string + SubCommitsTitle string + SubmodulesTitle string + NavigationTitle string + SuggestionsCheatsheetTitle string // Unlike the cheatsheet title above, the real suggestions title has a little message saying press tab to focus SuggestionsTitle string ExtrasTitle string @@ -547,10 +628,13 @@ type TranslationSet struct { RandomTip string SelectParentCommitForMerge string ToggleWhitespaceInDiffView string + ToggleWhitespaceInDiffViewTooltip string IgnoreWhitespaceDiffViewSubTitle string IgnoreWhitespaceNotSupportedHere string IncreaseContextInDiffView string + IncreaseContextInDiffViewTooltip string DecreaseContextInDiffView string + DecreaseContextInDiffViewTooltip string DiffContextSizeChanged string CreatePullRequestOptions string DefaultBranch string @@ -566,6 +650,7 @@ type TranslationSet struct { AbortTitle string AbortPrompt string OpenLogMenu string + OpenLogMenuTooltip string LogMenuTitle string ToggleShowGitGraphAll string ShowGitGraph string @@ -592,12 +677,19 @@ type TranslationSet struct { CommitsCopied string CommitCopied string ResetPatch string + ResetPatchTooltip string ApplyPatch string + ApplyPatchTooltip string ApplyPatchInReverse string + ApplyPatchInReverseTooltip string RemovePatchFromOriginalCommit string + RemovePatchFromOriginalCommitTooltip string MovePatchOutIntoIndex string + MovePatchOutIntoIndexTooltip string MovePatchIntoNewCommit string + MovePatchIntoNewCommitTooltip string MovePatchToSelectedCommit string + MovePatchToSelectedCommitTooltip string CopyPatchToClipboard string NoMatchesFor string MatchesFor string @@ -606,7 +698,9 @@ type TranslationSet struct { FilterPrefix string ExitSearchMode string ExitTextFilterMode string + Switch string SwitchToWorktree string + SwitchToWorktreeTooltip string AlreadyCheckedOutByWorktree string BranchCheckedOutByWorktree string DetachWorktreeTooltip string @@ -627,9 +721,10 @@ type TranslationSet struct { NoWorktreesThisRepo string MissingWorktree string MainWorktree string - CreateWorktree string + NewWorktree string NewWorktreePath string NewWorktreeBase string + RemoveWorktreeTooltip string BranchNameCannotBeBlank string NewBranchName string NewBranchNameLeaveBlank string @@ -646,8 +741,8 @@ type TranslationSet struct { MarkAsBaseCommitTooltip string MarkedCommitMarker string PleaseGoToURL string - DisabledMenuItemPrefix string NoCopiedCommits string + DisabledMenuItemPrefix string QuickStartInteractiveRebase string QuickStartInteractiveRebaseTooltip string CannotQuickStartInteractiveRebase string @@ -755,6 +850,7 @@ type Actions struct { Push string Pull string OpenFile string + OpenFileTooltip string StashAllChanges string StashAllChangesKeepIndex string StashStagedChanges string @@ -869,7 +965,8 @@ func EnglishTranslationSet() TranslationSet { CredentialsPassphrase: "Enter passphrase for SSH key", CredentialsPIN: "Enter PIN for SSH key", PassUnameWrong: "Password, passphrase and/or username wrong", - CommitChanges: "Commit changes", + Commit: "Commit", + CommitTooltip: "Commit staged changes.", AmendLastCommit: "Amend last commit", AmendLastCommitTitle: "Amend last commit", SureToAmend: "Are you sure you want to amend last commit? Afterwards, you can change the commit message from the commits panel.", @@ -887,18 +984,28 @@ func EnglishTranslationSet() TranslationSet { StatusTitle: "Status", Menu: "Menu", Execute: "Execute", - ToggleStaged: "Toggle staged", - ToggleStagedAll: "Stage/unstage all", + Stage: "Stage", + StageTooltip: "Toggle staged for selected file.", + ToggleStagedAll: "Stage all", + ToggleStagedAllTooltip: "Toggle staged/unstaged for all files in working tree.", ToggleTreeView: "Toggle file tree view", + ToggleTreeViewTooltip: "Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.", OpenDiffTool: "Open external diff tool (git difftool)", - OpenMergeTool: "Open external merge tool (git mergetool)", + OpenMergeTool: "Open external merge tool", + OpenMergeToolTooltip: "Run `git mergetool`.", Refresh: "Refresh", + RefreshTooltip: "Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`.", Push: "Push", + PushTooltip: "Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch.", Pull: "Pull", + PullTooltip: "Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch.", Scroll: "Scroll", MergeConflictsTitle: "Merge conflicts", Checkout: "Checkout", + CheckoutTooltip: "Checkout selected item.", CantCheckoutBranchWhilePulling: "You cannot checkout another branch while pulling the current branch", + TagCheckoutTooltip: "Checkout the selected tag tag as a detached HEAD.", + RemoteBranchCheckoutTooltip: "Checkout a new local branch based on the selected remote branch. The new branch will track the remote 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", @@ -929,20 +1036,23 @@ func EnglishTranslationSet() TranslationSet { 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", + RebaseBranch: "Rebase", + RebaseBranchTooltip: "Rebase the checked-out branch onto the selected 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", + ForceCheckoutTooltip: "Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch.", + CheckoutByName: "Checkout by name", + CheckoutByNameTooltip: "Checkout by name. In the input box you can enter '-' to switch to the last branch.", NewBranch: "New branch", + NewBranchFromStashTooltip: "Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit.", NoBranchesThisRepo: "No branches for this repo", CommitWithoutMessageErr: "You cannot commit without a commit message", Close: "Close", CloseCancel: "Close/Cancel", Confirm: "Confirm", Quit: "Quit", - SquashDown: "Squash down", - FixupCommit: "Fixup commit", + SquashTooltip: "Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it.", NoCommitsThisBranch: "No commits for this branch", UpdateRefHere: "Update branch '{{.ref}}' here", CannotSquashOrFixupFirstCommit: "There's no commit below to squash into", @@ -950,24 +1060,34 @@ func EnglishTranslationSet() TranslationSet { SureFixupThisCommit: "Are you sure you want to 'fixup' the selected commit(s) into the commit below?", SureSquashThisCommit: "Are you sure you want to squash the selected commit(s) into the commit below?", Squash: "Squash", - PickCommit: "Pick commit (when mid-rebase)", + PickCommitTooltip: "Mark the selected commit to be picked (when mid-rebase). This means that the commit will be retained upon continuing the rebase.", + Pick: "Pick", + CantPickDisabledReason: "Cannot pick a commit when not mid-rebase", + Edit: "Edit", RevertCommit: "Revert commit", - RewordCommit: "Reword commit", - DeleteCommit: "Delete commit", + Revert: "Revert", + RevertCommitTooltip: "Create a revert commit for the selected commit, which applies the selected commit's changes in reverse.", + Reword: "Reword", + CommitRewordTooltip: "Reword the selected commit's message.", + DropCommit: "Drop", + DropCommitTooltip: "Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts.", MoveDownCommit: "Move commit down one", MoveUpCommit: "Move commit up one", CannotMoveAnyFurther: "Cannot move any further", - EditCommit: "Edit commit", - AmendToCommit: "Amend commit with staged changes", + EditCommit: "Edit (start interactive rebase)", + EditCommitTooltip: "Edit the selected commit. Use this to start an interactive rebase from the selected commit. When already mid-rebase, this will mark the selected commit for editing, which means that upon continuing the rebase, the rebase will pause at the selected commit to allow you to make changes.", + AmendCommitTooltip: "Amend commit with staged changes. If the selected commit is the HEAD commit, this will perform `git commit --amend`. Otherwise the commit will be amended via a rebase.", + Amend: "Amend", ResetAuthor: "Reset author", SetAuthor: "Set author", AddCoAuthor: "Add co-author", - SetResetCommitAuthor: "Set/Reset commit author", + AmendCommitAttribute: "Amend commit attribute", + AmendCommitAttributeTooltip: "Set/Reset commit author or set co-author.", SetAuthorPromptTitle: "Set author (must look like 'Name ')", AddCoAuthorPromptTitle: "Add co-author (must look like 'Name ')", - AddCoAuthorTooltip: "Add co-author using the Github/Gitlab metadata Co-authored-by", + AddCoAuthorTooltip: "Add co-author using the Github/Gitlab metadata Co-authored-by.", SureResetCommitAuthor: "The author field of this commit will be updated to match the configured user. This also renews the author timestamp. Continue?", - RenameCommitEditor: "Reword commit with editor", + RewordCommitEditor: "Reword with editor", Error: "Error", PickHunk: "Pick hunk", PickAllHunks: "Pick all hunks", @@ -976,11 +1096,15 @@ func EnglishTranslationSet() TranslationSet { RedoReflog: "Redo", UndoTooltip: "The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration.", RedoTooltip: "The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration.", - DiscardAllTooltip: "Discard both staged and unstaged changes in {{.path}}.", - DiscardUnstagedTooltip: "Discard unstaged changes in {{.path}}.", + UndoMergeResolveTooltip: "Undo last merge conflict resolution.", + DiscardAllTooltip: "Discard both staged and unstaged changes in '{{.path}}'.", + DiscardUnstagedTooltip: "Discard unstaged changes in '{{.path}}'.", Pop: "Pop", + StashPopTooltip: "Apply the stash entry to your working directory and remove the stash entry.", Drop: "Drop", + StashDropTooltip: "Remove the stash entry from the stash list.", Apply: "Apply", + StashApplyTooltip: "Apply the stash entry to your working directory.", NoStashEntries: "No stash entries", StashDrop: "Stash drop", SureDropStashEntry: "Are you sure you want to drop this stash entry?", @@ -1019,12 +1143,15 @@ func EnglishTranslationSet() TranslationSet { DeprecatedEditConfigWarning: englishDeprecatedEditConfigWarning, GitconfigParseErr: `Gogit failed to parse your gitconfig file due to the presence of unquoted '\' characters. Removing these should fix the issue.`, EditFile: `Edit file`, + EditFileTooltip: "Open file in external editor.", OpenFile: `Open file`, + OpenFileTooltip: "Open file in default application.", OpenInEditor: "Open in editor", IgnoreFile: `Add to .gitignore`, ExcludeFile: `Add to .git/info/exclude`, RefreshFiles: `Refresh files`, - MergeIntoCurrentBranch: `Merge into currently checked out branch`, + Merge: `Merge`, + MergeBranchTooltip: "Merge selected branch into currently checked out branch.", ConfirmQuit: `Are you sure you want to quit?`, SwitchRepo: `Switch to a recent repo`, AllBranchesLogGraph: `Show all branch logs`, @@ -1033,24 +1160,34 @@ func EnglishTranslationSet() TranslationSet { CopyPullRequestURL: `Copy pull request URL to clipboard`, NoBranchOnRemote: `This branch doesn't exist on remote. You need to push it to remote first.`, Fetch: `Fetch`, + FetchTooltip: "Fetch changes from remote.", NoAutomaticGitFetchTitle: `No automatic git fetch`, NoAutomaticGitFetchBody: `Lazygit can't use "git fetch" in a private repo; use 'f' in the files panel to run "git fetch" manually`, - FileEnter: `Stage individual hunks/lines for file, or collapse/expand for directory`, + FileEnter: `Stage lines / Collapse directory`, + FileEnterTooltip: "If the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it.", FileStagingRequirements: `Can only stage individual lines for tracked files`, - StageSelection: `Toggle line staged / unstaged`, - DiscardSelection: `Discard change (git reset)`, - ToggleRangeSelect: `Toggle range select`, - ToggleSelectHunk: `Toggle select hunk`, - ToggleSelectionForPatch: `Add/Remove line(s) to patch`, + StageSelectionTooltip: `Toggle selection staged / unstaged.`, + DiscardSelection: `Discard`, + DiscardSelectionTooltip: "When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change.", + ToggleRangeSelect: "Toggle range select", + ToggleSelectHunk: "Select hunk", + ToggleSelectHunkTooltip: "Toggle hunk selection mode.", + ToggleSelectionForPatch: `Toggle lines in patch`, EditHunk: `Edit hunk`, - ToggleStagingPanel: `Switch to other panel (staged/unstaged changes)`, + EditHunkTooltip: "Edit selected hunk in external editor.", + ToggleStagingView: "Switch view", + ToggleStagingViewTooltip: "Switch to other view (staged/unstaged changes).", ReturnToFilesPanel: `Return to files panel`, - FastForward: `Fast-forward this branch from its upstream`, + FastForward: `Fast-forward`, + FastForwardTooltip: "Fast-forward selected branch from its upstream.", FastForwarding: "Fast-forwarding", FoundConflictsTitle: "Conflicts!", ViewConflictsMenuItem: "View conflicts", AbortMenuItem: "Abort the %s", ViewMergeRebaseOptions: "View merge/rebase options", + ViewMergeRebaseOptionsTooltip: "View options to abort/continue/skip the current merge/rebase.", + ViewMergeOptions: "View merge options", + ViewRebaseOptions: "View rebase options", NotMergingOrRebasing: "You are currently neither rebasing nor merging", AlreadyRebasing: "Can't perform this action during a rebase", RecentRepos: "Recent repositories", @@ -1081,7 +1218,7 @@ func EnglishTranslationSet() TranslationSet { RebasingFromBaseCommitTitle: "Rebase '{{.checkedOutBranch}}' from marked base onto '{{.ref}}'", SimpleRebase: "Simple rebase", InteractiveRebase: "Interactive rebase", - InteractiveRebaseTooltip: "Begin an interactive rebase with a break at the start, so you can update the TODO commits before continuing", + InteractiveRebaseTooltip: "Begin an interactive rebase with a break at the start, so you can update the TODO commits before continuing.", MustSelectTodoCommits: "When rebasing, this action only works on a selection of TODO commits.", ConfirmMerge: "Are you sure you want to merge '{{.selectedBranch}}' into '{{.checkedOutBranch}}'?", FwdNoUpstream: "Cannot fast-forward a branch with no upstream", @@ -1094,24 +1231,26 @@ func EnglishTranslationSet() TranslationSet { YouDied: "YOU DIED!", RewordNotSupported: "Rewording commits while interactively rebasing is not currently supported", ChangingThisActionIsNotAllowed: "Changing this kind of rebase todo entry is not allowed", - CherryPickCopy: "Copy commit (cherry-pick)", - PasteCommits: "Paste commits (cherry-pick)", + CherryPickCopy: "Copy (cherry-pick)", + CherryPickCopyTooltip: "Mark commit as copied. Then, within the local commits view, you can press `{{.paste}}` to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press `{{.escape}}` to cancel the selection.", + CherryPickCopyRangeTooltip: "Mark commits as copied from the last copied commit to the selected commit.", + PasteCommits: "Paste (cherry-pick)", SureCherryPick: "Are you sure you want to cherry-pick the copied commits onto this branch?", CherryPick: "Cherry-pick", Donate: "Donate", AskQuestion: "Ask Question", PrevLine: "Select previous line", NextLine: "Select next line", - PrevHunk: "Select previous hunk", - NextHunk: "Select next hunk", - PrevConflict: "Select previous conflict", - NextConflict: "Select next conflict", - SelectPrevHunk: "Select previous hunk", - SelectNextHunk: "Select next hunk", + PrevHunk: "Go to previous hunk", + NextHunk: "Go to next hunk", + PrevConflict: "Previous conflict", + NextConflict: "Next conflict", + SelectPrevHunk: "Previous hunk", + SelectNextHunk: "Next hunk", ScrollDown: "Scroll down", ScrollUp: "Scroll up", - ScrollUpMainPanel: "Scroll up main panel", - ScrollDownMainPanel: "Scroll down main panel", + ScrollUpMainWindow: "Scroll up main window", + ScrollDownMainWindow: "Scroll down main window", AmendCommitTitle: "Amend commit", AmendCommitPrompt: "Are you sure you want to amend this commit with your staged files?", DropCommitTitle: "Drop commit", @@ -1139,11 +1278,13 @@ func EnglishTranslationSet() TranslationSet { SubCommitsDynamicTitle: "Commits (%s)", CommitFilesDynamicTitle: "Diff files (%s)", RemoteBranchesDynamicTitle: "Remote branches (%s)", - ViewItemFiles: "View selected item's files", + ViewItemFiles: "View files", + ViewItemFilesTooltip: "View the files modified by the selected item.", CommitFilesTitle: "Commit files", - CheckoutCommitFile: "Checkout file", + CheckoutCommitFileTooltip: "Checkout file. This replaces the file in your working tree with the version from the selected commit.", CanOnlyDiscardFromLocalCommits: "Changes can only be discarded from local commits", - DiscardOldFileChange: "Discard this commit's changes to this file", + Remove: "Remove", + DiscardOldFileChangeTooltip: "Discard this commit's changes to this file. This runs an interactive rebase in the background, so you may get a merge conflict if a later commit also changes this file.", DiscardFileChangesTitle: "Discard file changes", DiscardFileChangesPrompt: "Are you sure you want to discard this commit's changes to this file?", DiscardAddedFileChangesPrompt: "Are you sure you want to discard this commit's changes to this file? The file was added in this commit, so it will be deleted again.", @@ -1158,7 +1299,8 @@ func EnglishTranslationSet() TranslationSet { AutoStashTitle: "Autostash?", AutoStashPrompt: "You must stash and pop your changes to bring them across. Do this automatically? (enter/esc)", StashPrefix: "Auto-stashing changes for ", - ViewDiscardOptions: "View 'discard changes' options", + Discard: "Discard", + DiscardFileChangesTooltip: "View options for discarding changes to the selected file.", DiscardChangesTitle: "Discard changes", Cancel: "Cancel", DiscardAllChanges: "Discard all changes", @@ -1168,20 +1310,32 @@ func EnglishTranslationSet() TranslationSet { DiscardUntrackedFiles: "Discard untracked files", DiscardStagedChanges: "Discard staged changes", HardReset: "Hard reset", - ViewDeleteOptions: "View delete options", - ViewResetOptions: `View reset options`, - CreateFixupCommitDescription: `Create fixup commit for this commit`, - SquashAboveCommits: `Squash all 'fixup!' commits above selected commit (autosquash)`, + BranchDeleteTooltip: "View delete options for local/remote branch.", + TagDeleteTooltip: "View delete options for local/remote tag.", + Delete: "Delete", + Reset: "Reset", + ResetTooltip: "View reset options (soft/mixed/hard) for resetting onto selected item.", + ViewResetOptions: `Reset`, + FileResetOptionsTooltip: "View reset options for working tree (e.g. nuking the working tree).", + FixupTooltip: "Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded.", + CreateFixupCommitDescription: `Create fixup commit`, + CreateFixupCommitTooltip: "Create 'fixup!' commit for the selected commit. Later on, you can press `{{.squashAbove}}` on this same commit to apply all above fixup commits.", + SquashAboveCommits: "Apply fixup commits", + SquashAboveCommitsTooltip: `Squash all 'fixup!' commits above selected commit (autosquash).`, SureSquashAboveCommits: `Are you sure you want to squash all fixup! commits above {{.commit}}?`, CreateFixupCommit: `Create fixup commit`, SureCreateFixupCommit: `Are you sure you want to create a fixup! commit for commit {{.commit}}?`, ExecuteCustomCommand: "Execute custom command", + ExecuteCustomCommandTooltip: "Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands.", CustomCommand: "Custom command:", CommitChangesWithoutHook: "Commit changes without pre-commit hook", SkipHookPrefixNotConfigured: "You have not configured a commit message prefix for skipping hooks. Set `git.skipHookPrefix = 'WIP'` in your config", ResetTo: `Reset to`, PressEnterToReturn: "Press enter to return to lazygit", ViewStashOptions: "View stash options", + ViewStashOptionsTooltip: "View stash options (e.g. stash all, stash staged, stash unstaged).", + Stash: "Stash", + StashTooltip: "Stash all changes. For other variations of stashing, use the view stash options keybinding.", StashAllChanges: "Stash all changes", StashStagedChanges: "Stash staged changes", StashAllChangesKeepIndex: "Stash all changes and keep index", @@ -1198,41 +1352,49 @@ func EnglishTranslationSet() TranslationSet { DiscardPatchConfirm: "You can only build a patch from one commit/stash-entry at a time. Discard current patch?", CantPatchWhileRebasingError: "You cannot build a patch or run patch commands while in a merging or rebasing state", ToggleAddToPatch: "Toggle file included in patch", - ToggleAllInPatch: "Toggle all files included in patch", + ToggleAddToPatchTooltip: "Toggle whether the file is included in the custom patch. See {{.doc}}.", + ToggleAllInPatch: "Toggle all files", + ToggleAllInPatchTooltip: "Add/remove all commit's files to custom patch. See {{.doc}}.", UpdatingPatch: "Updating patch", ViewPatchOptions: "View custom patch options", PatchOptionsTitle: "Patch options", NoPatchError: "No patch created yet. To start building a patch, use 'space' on a commit file or enter to add specific lines", EmptyPatchError: "Patch is still empty. Add some files or lines to your patch first.", - EnterFile: "Enter file to add selected lines to the patch (or toggle directory collapsed)", + EnterCommitFile: "Enter file / Toggle directory collapsed", + EnterCommitFileTooltip: "If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory.", ExitCustomPatchBuilder: `Exit custom patch builder`, EnterUpstream: `Enter upstream as ' '`, InvalidUpstream: "Invalid upstream. Must be in the format ' '", ReturnToRemotesList: `Return to remotes list`, - AddNewRemote: `Add new remote`, + NewRemote: `New remote`, NewRemoteName: `New remote name:`, NewRemoteUrl: `New remote url:`, + ViewBranches: "View branches", EditRemoteName: `Enter updated remote name for {{.remoteName}}:`, EditRemoteUrl: `Enter updated remote url for {{.remoteName}}:`, RemoveRemote: `Remove remote`, + RemoveRemoteTooltip: `Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected.`, RemoveRemotePrompt: "Are you sure you want to remove remote", DeleteRemoteBranch: "Delete remote branch", DeleteRemoteBranchMessage: "Are you sure you want to delete remote branch", - SetAsUpstream: "Set as upstream of checked-out branch", + DeleteRemoteBranchTooltip: "Delete the remote branch from the remote.", + SetAsUpstream: "Set as upstream", + SetAsUpstreamTooltip: "Set the selected remote branch as the upstream of the checked-out branch.", SetUpstream: "Set upstream of selected branch", UnsetUpstream: "Unset upstream of selected branch", ViewDivergenceFromUpstream: "View divergence from upstream", DivergenceSectionHeaderLocal: "Local", DivergenceSectionHeaderRemote: "Remote", ViewUpstreamResetOptions: "Reset checked-out branch onto {{.upstream}}", - ViewUpstreamResetOptionsTooltip: "View options for resetting the checked-out branch onto {{upstream}}. Note: this will not reset the selected branch onto the upstream, it will reset the checked-out branch onto the upstream", + ViewUpstreamResetOptionsTooltip: "View options for resetting the checked-out branch onto {{upstream}}. Note: this will not reset the selected branch onto the upstream, it will reset the checked-out branch onto the upstream.", ViewUpstreamRebaseOptions: "Rebase checked-out branch onto {{.upstream}}", - ViewUpstreamRebaseOptionsTooltip: "View options for rebasing the checked-out branch onto {{upstream}}. Note: this will not rebase the selected branch onto the upstream, it will rebased the checked-out branch onto the upstream", + ViewUpstreamRebaseOptionsTooltip: "View options for rebasing the checked-out branch onto {{upstream}}. Note: this will not rebase the selected branch onto the upstream, it will rebased the checked-out branch onto the upstream.", UpstreamGenericName: "upstream of selected branch", SetUpstreamTitle: "Set upstream branch", SetUpstreamMessage: "Are you sure you want to set the upstream branch of '{{.checkedOut}}' to '{{.selected}}'", - EditRemote: "Edit remote", + EditRemoteTooltip: "Edit the selected remote's name or URL.", TagCommit: "Tag commit", + TagCommitTooltip: "Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description.", TagMenuTitle: "Create tag", TagNameTitle: "Tag name", TagMessageTitle: "Tag description", @@ -1245,17 +1407,22 @@ func EnglishTranslationSet() TranslationSet { SelectRemoteTagUpstream: "Remote from which to remove tag '{{.tagName}}':", DeleteRemoteTagPrompt: "Are you sure you want to delete the remote tag '{{.tagName}}' from '{{.upstream}}'?", PushTagTitle: "Remote to push tag '{{.tagName}}' to:", - PushTag: "Push tag", - CreateTag: "Create tag", - CreatingTag: "Creating tag", - ForceTag: "Force Tag", - ForceTagPrompt: "The tag '{{.tagName}}' exists already. Press {{.cancelKey}} to cancel, or {{.confirmKey}} to overwrite.", - FetchRemote: "Fetch remote", - CheckoutCommit: "Checkout commit", - SureCheckoutThisCommit: "Are you sure you want to checkout this commit?", - GitFlowOptions: "Show git-flow options", - NotAGitFlowBranch: "This does not seem to be a git flow branch", - NewGitFlowBranchPrompt: "New {{.branchType}} name:", + // Using 'push tag' rather than just 'push' to disambiguate from a global push + PushTag: "Push tag", + PushTagTooltip: "Push the selected tag to a remote. You'll be prompted to select a remote.", + NewTag: "New tag", + NewTagTooltip: "Create new tag from current commit. You'll be prompted to enter a tag name and optional description.", + CreatingTag: "Creating tag", + ForceTag: "Force Tag", + ForceTagPrompt: "The tag '{{.tagName}}' exists already. Press {{.cancelKey}} to cancel, or {{.confirmKey}} to overwrite.", + FetchRemoteTooltip: "Fetch updates from the remote repository. This retrieves new commits and branches without merging them into your local branches.", + FetchingRemoteStatus: "Fetching remote", + CheckoutCommit: "Checkout commit", + CheckoutCommitTooltip: "Checkout the selected commit as a detached HEAD.", + SureCheckoutThisCommit: "Are you sure you want to checkout this commit?", + GitFlowOptions: "Show git-flow options", + NotAGitFlowBranch: "This does not seem to be a git flow branch", + NewGitFlowBranchPrompt: "New {{.branchType}} name:", IgnoreTracked: "Ignore tracked file", IgnoreTrackedPrompt: "Are you sure you want to ignore a tracked file?", @@ -1270,13 +1437,15 @@ func EnglishTranslationSet() TranslationSet { KeybindingsLegend: "Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b", RenameBranch: "Rename branch", BranchUpstreamOptionsTitle: "Upstream options", - ViewBranchUpstreamOptionsTooltip: "View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream", - UpstreamNotSetError: "The selected branch has no upstream (or the upstream is not stored locally)", ViewBranchUpstreamOptions: "View upstream options", + ViewBranchUpstreamOptionsTooltip: "View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream.", + UpstreamNotSetError: "The selected branch has no upstream (or the upstream is not stored locally)", + Upstream: "Upstream", + UpstreamTooltip: "View upstream options for selected branch e.g. setting/unsetting the upstream and resetting to the upstream.", NewBranchNamePrompt: "Enter new branch name for branch", RenameBranchWarning: "This branch is tracking a remote. This action will only rename the local branch name, not the name of the remote branch. Continue?", - OpenMenu: "Open menu", - ResetCherryPick: "Reset cherry-picked (copied) commits selection", + OpenKeybindingsMenu: "Open keybindings menu", + ResetCherryPick: "Reset copied (cherry-picked) commits selection", NextTab: "Next tab", PrevTab: "Previous tab", CantUndoWhileRebasing: "Can't undo while rebasing", @@ -1291,6 +1460,7 @@ func EnglishTranslationSet() TranslationSet { FilteringBy: "Filtering by", ResetInParentheses: "(Reset)", OpenFilteringMenu: "View filter-by-path options", + OpenFilteringMenuTooltip: "View options for filtering the commit log by a file path, so that only commits relating to that path are shown.", FilterBy: "Filter by", ExitFilterMode: "Stop filtering by path", FilterPathOption: "Enter path to filter by", @@ -1304,197 +1474,217 @@ func EnglishTranslationSet() TranslationSet { ExitDiffMode: "Exit diff mode", DiffingMenuTitle: "Diffing", SwapDiff: "Reverse diff direction", - OpenDiffingMenu: "Open diff menu", + ViewDiffingOptions: "View diffing options", + ViewDiffingOptionsTooltip: "View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction.", // the actual view is the extras view which I intend to give more tabs in future but for now we'll only mention the command log part - OpenExtrasMenu: "Open command log menu", - ShowingGitDiff: "Showing output for:", - CommitDiff: "Commit diff", - CopyCommitShaToClipboard: "Copy commit SHA to clipboard", - CommitSha: "Commit SHA", - CommitURL: "Commit URL", - CopyCommitMessageToClipboard: "Copy commit message to clipboard", - CommitMessage: "Full commit message", - CommitSubject: "Commit subject", - CommitAuthor: "Commit author", - CopyCommitAttributeToClipboard: "Copy commit attribute", - CopyBranchNameToClipboard: "Copy branch name to clipboard", - CopyFileNameToClipboard: "Copy the file name to the clipboard", - CopyCommitFileNameToClipboard: "Copy the committed file name to the clipboard", - CopySelectedTexToClipboard: "Copy the selected text to the clipboard", - CommitPrefixPatternError: "Error in commitPrefix pattern", - NoFilesStagedTitle: "No files staged", - NoFilesStagedPrompt: "You have not staged any files. Commit all files?", - BranchNotFoundTitle: "Branch not found", - BranchNotFoundPrompt: "Branch not found. Create a new branch named", - BranchUnknown: "Branch unknown", - DiscardChangeTitle: "Discard change", - DiscardChangePrompt: "Are you sure you want to discard this change (git reset)? It is irreversible.\nTo disable this dialogue set the config key of 'gui.skipDiscardChangeWarning' to true", - CreateNewBranchFromCommit: "Create new branch off of commit", - BuildingPatch: "Building patch", - ViewCommits: "View commits", - MinGitVersionError: "Git version must be at least 2.20 (i.e. from 2018 onwards). Please upgrade your git version. Alternatively raise an issue at https://github.com/jesseduffield/lazygit/issues for lazygit to be more backwards compatible.", - RunningCustomCommandStatus: "Running custom command", - SubmoduleStashAndReset: "Stash uncommitted submodule changes and update", - AndResetSubmodules: "And reset submodules", - EnterSubmodule: "Enter submodule", - CopySubmoduleNameToClipboard: "Copy submodule name to clipboard", - RemoveSubmodule: "Remove submodule", - RemoveSubmodulePrompt: "Are you sure you want to remove submodule '%s' and its corresponding directory? This is irreversible.", - ResettingSubmoduleStatus: "Resetting submodule", - NewSubmoduleName: "New submodule name:", - NewSubmoduleUrl: "New submodule URL:", - NewSubmodulePath: "New submodule path:", - AddSubmodule: "Add new submodule", - AddingSubmoduleStatus: "Adding submodule", - UpdateSubmoduleUrl: "Update URL for submodule '%s'", - UpdatingSubmoduleUrlStatus: "Updating URL", - EditSubmoduleUrl: "Update submodule URL", - InitializingSubmoduleStatus: "Initializing submodule", - InitSubmodule: "Initialize submodule", - SubmoduleUpdate: "Update submodule", - UpdatingSubmoduleStatus: "Updating submodule", - BulkInitSubmodules: "Bulk init submodules", - BulkUpdateSubmodules: "Bulk update submodules", - BulkDeinitSubmodules: "Bulk deinit submodules", - ViewBulkSubmoduleOptions: "View bulk submodule options", - BulkSubmoduleOptions: "Bulk submodule options", - RunningCommand: "Running command", - SubCommitsTitle: "Sub-commits", - SubmodulesTitle: "Submodules", - NavigationTitle: "List panel navigation", - SuggestionsCheatsheetTitle: "Suggestions", - SuggestionsTitle: "Suggestions (press %s to focus)", - ExtrasTitle: "Command log", - PushingTagStatus: "Pushing tag", - PullRequestURLCopiedToClipboard: "Pull request URL copied to clipboard", - CommitDiffCopiedToClipboard: "Commit diff copied to clipboard", - CommitSHACopiedToClipboard: "Commit SHA copied to clipboard", - CommitURLCopiedToClipboard: "Commit URL copied to clipboard", - CommitMessageCopiedToClipboard: "Commit message copied to clipboard", - CommitSubjectCopiedToClipboard: "Commit subject copied to clipboard", - CommitAuthorCopiedToClipboard: "Commit author copied to clipboard", - PatchCopiedToClipboard: "Patch copied to clipboard", - CopiedToClipboard: "Copied to clipboard", - ErrCannotEditDirectory: "Cannot edit directory: you can only edit individual files", - ErrStageDirWithInlineMergeConflicts: "Cannot stage/unstage directory containing files with inline merge conflicts. Please fix up the merge conflicts first", - ErrRepositoryMovedOrDeleted: "Cannot find repo. It might have been moved or deleted ¯\\_(ツ)_/¯", - CommandLog: "Command log", - ErrWorktreeMovedOrRemoved: "Cannot find worktree. It might have been moved or removed ¯\\_(ツ)_/¯", - ToggleShowCommandLog: "Toggle show/hide command log", - FocusCommandLog: "Focus command log", - CommandLogHeader: "You can hide/focus this panel by pressing '%s'\n", - RandomTip: "Random tip", - SelectParentCommitForMerge: "Select parent commit for merge", - ToggleWhitespaceInDiffView: "Toggle whether or not whitespace changes are shown in the diff view", - IgnoreWhitespaceDiffViewSubTitle: "(ignoring whitespace)", - IgnoreWhitespaceNotSupportedHere: "Ignoring whitespace is not supported in this view", - IncreaseContextInDiffView: "Increase the size of the context shown around changes in the diff view", - DecreaseContextInDiffView: "Decrease the size of the context shown around changes in the diff view", - DiffContextSizeChanged: "Changed diff context size to %d", - CreatePullRequestOptions: "Create pull request options", - DefaultBranch: "Default branch", - SelectBranch: "Select branch", - SelectConfigFile: "Select config file", - NoConfigFileFoundErr: "No config file found", - LoadingFileSuggestions: "Loading file suggestions", - LoadingCommits: "Loading commits", - MustSpecifyOriginError: "Must specify a remote if specifying a branch", - GitOutput: "Git output:", - GitCommandFailed: "Git command failed. Check command log for details (open with %s)", - AbortTitle: "Abort %s", - AbortPrompt: "Are you sure you want to abort the current %s?", - OpenLogMenu: "Open log menu", - LogMenuTitle: "Commit Log Options", - ToggleShowGitGraphAll: "Toggle show whole git graph (pass the `--all` flag to `git log`)", - ShowGitGraph: "Show git graph", - SortOrder: "Sort order", - SortAlphabetical: "Alphabetical", - SortByDate: "Date", - SortByRecency: "Recency", - SortBasedOnReflog: "(based on reflog)", - SortCommits: "Commit sort order", - CantChangeContextSizeError: "Cannot change context while in patch building mode because we were too lazy to support it when releasing the feature. If you really want it, please let us know!", - OpenCommitInBrowser: "Open commit in browser", - ViewBisectOptions: "View bisect options", - ConfirmRevertCommit: "Are you sure you want to revert {{.selectedCommit}}?", - RewordInEditorTitle: "Reword in editor", - RewordInEditorPrompt: "Are you sure you want to reword this commit in your editor?", - HardResetAutostashPrompt: "Are you sure you want to hard reset to '%s'? An auto-stash will be performed if necessary.", - CheckoutPrompt: "Are you sure you want to checkout '%s'?", - UpstreamGone: "(upstream gone)", - NukeDescription: "If you want to make all the changes in the worktree go away, this is the way to do it. If there are dirty submodule changes this will stash those changes in the submodule(s).", - DiscardStagedChangesDescription: "This will create a new stash entry containing only staged files and then drop it, so that the working tree is left with only unstaged changes", - EmptyOutput: "", - Patch: "Patch", - CustomPatch: "Custom patch", - CommitsCopied: "commits copied", // lowercase because it's used in a sentence - CommitCopied: "commit copied", // lowercase because it's used in a sentence - ResetPatch: "Reset patch", - ApplyPatch: "Apply patch", - ApplyPatchInReverse: "Apply patch in reverse", - RemovePatchFromOriginalCommit: "Remove patch from original commit (%s)", - MovePatchOutIntoIndex: "Move patch out into index", - MovePatchIntoNewCommit: "Move patch into new commit", - MovePatchToSelectedCommit: "Move patch to selected commit (%s)", - CopyPatchToClipboard: "Copy patch to clipboard", - NoMatchesFor: "No matches for '%s' %s", - ExitSearchMode: "%s: Exit search mode", - ExitTextFilterMode: "%s: Exit filter mode", - MatchesFor: "matches for '%s' (%d of %d) %s", // lowercase because it's after other text - SearchKeybindings: "%s: Next match, %s: Previous match, %s: Exit search mode", - SearchPrefix: "Search: ", - FilterPrefix: "Filter: ", - WorktreesTitle: "Worktrees", - WorktreeTitle: "Worktree", - SwitchToWorktree: "Switch to worktree", - AlreadyCheckedOutByWorktree: "This branch is checked out by worktree {{.worktreeName}}. Do you want to switch to that worktree?", - BranchCheckedOutByWorktree: "Branch {{.branchName}} is checked out by worktree {{.worktreeName}}", - DetachWorktreeTooltip: "This will run `git checkout --detach` on the worktree so that it stops hogging the branch, but the worktree's working tree will be left alone", - Switching: "Switching", - RemoveWorktree: "Remove worktree", - RemoveWorktreeTitle: "Remove worktree", - RemoveWorktreePrompt: "Are you sure you want to remove worktree '{{.worktreeName}}'?", - ForceRemoveWorktreePrompt: "'{{.worktreeName}}' contains modified or untracked files (to be honest, it could contain both). Are you sure you want to remove it?", - RemovingWorktree: "Deleting worktree", - DetachWorktree: "Detach worktree", - DetachingWorktree: "Detaching worktree", - AddingWorktree: "Adding worktree", - CantDeleteCurrentWorktree: "You cannot remove the current worktree!", - AlreadyInWorktree: "You are already in the selected worktree", - CantDeleteMainWorktree: "You cannot remove the main worktree!", - NoWorktreesThisRepo: "No worktrees", - MissingWorktree: "(missing)", - 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: ", - 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}}`.", - RangeSelectUp: "Range select up", - RangeSelectDown: "Range select down", - RangeSelectNotSupported: "Action does not support range selection, please select a single item", - NoItemSelected: "No item selected", - SelectedItemIsNotABranch: "Selected item is not a branch", - RangeSelectNotSupportedForSubmodules: "Range select not supported for submodules", + OpenCommandLogMenu: "View command log options", + OpenCommandLogMenuTooltip: "View options for the command log e.g. show/hide the command log and focus the command log.", + ShowingGitDiff: "Showing output for:", + CommitDiff: "Commit diff", + CopyCommitShaToClipboard: "Copy commit SHA to clipboard", + CommitSha: "Commit SHA", + CommitURL: "Commit URL", + CopyCommitMessageToClipboard: "Copy commit message to clipboard", + CommitMessage: "Commit message", + CommitSubject: "Commit subject", + CommitAuthor: "Commit author", + CopyCommitAttributeToClipboard: "Copy commit attribute to clipboard", + CopyCommitAttributeToClipboardTooltip: "Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author).", + CopyBranchNameToClipboard: "Copy branch name to clipboard", + CopyPathToClipboard: "Copy path to clipboard", + CopySelectedTextToClipboard: "Copy selected text to clipboard", + CommitPrefixPatternError: "Error in commitPrefix pattern", + NoFilesStagedTitle: "No files staged", + NoFilesStagedPrompt: "You have not staged any files. Commit all files?", + BranchNotFoundTitle: "Branch not found", + BranchNotFoundPrompt: "Branch not found. Create a new branch named", + BranchUnknown: "Branch unknown", + DiscardChangeTitle: "Discard change", + DiscardChangePrompt: "Are you sure you want to discard this change (git reset)? It is irreversible.\nTo disable this dialogue set the config key of 'gui.skipDiscardChangeWarning' to true", + CreateNewBranchFromCommit: "Create new branch off of commit", + BuildingPatch: "Building patch", + ViewCommits: "View commits", + MinGitVersionError: "Git version must be at least 2.20 (i.e. from 2018 onwards). Please upgrade your git version. Alternatively raise an issue at https://github.com/jesseduffield/lazygit/issues for lazygit to be more backwards compatible.", + RunningCustomCommandStatus: "Running custom command", + SubmoduleStashAndReset: "Stash uncommitted submodule changes and update", + AndResetSubmodules: "And reset submodules", + Enter: "Enter", + EnterSubmoduleTooltip: "Enter submodule. After entering the submodule, you can press `{{.escape}}` to escape back to the parent repo.", + CopySubmoduleNameToClipboard: "Copy submodule name to clipboard", + RemoveSubmodule: "Remove submodule", + RemoveSubmodulePrompt: "Are you sure you want to remove submodule '%s' and its corresponding directory? This is irreversible.", + RemoveSubmoduleTooltip: "Remove the selected submodule and its corresponding directory.", + ResettingSubmoduleStatus: "Resetting submodule", + NewSubmoduleName: "New submodule name:", + NewSubmoduleUrl: "New submodule URL:", + NewSubmodulePath: "New submodule path:", + NewSubmodule: "New submodule", + AddingSubmoduleStatus: "Adding submodule", + UpdateSubmoduleUrl: "Update URL for submodule '%s'", + UpdatingSubmoduleUrlStatus: "Updating URL", + EditSubmoduleUrl: "Update submodule URL", + InitializingSubmoduleStatus: "Initializing submodule", + InitSubmoduleTooltip: "Initialize the selected submodule to prepare for fetching. You probably want to follow this up by invoking the 'update' action to fetch the submodule.", + Update: "Update", + Initialize: "Initialize", + SubmoduleUpdateTooltip: "Update selected submodule.", + UpdatingSubmoduleStatus: "Updating submodule", + BulkInitSubmodules: "Bulk init submodules", + BulkUpdateSubmodules: "Bulk update submodules", + BulkDeinitSubmodules: "Bulk deinit submodules", + ViewBulkSubmoduleOptions: "View bulk submodule options", + BulkSubmoduleOptions: "Bulk submodule options", + RunningCommand: "Running command", + SubCommitsTitle: "Sub-commits", + SubmodulesTitle: "Submodules", + NavigationTitle: "List panel navigation", + SuggestionsCheatsheetTitle: "Suggestions", + SuggestionsTitle: "Suggestions (press %s to focus)", + ExtrasTitle: "Command log", + PushingTagStatus: "Pushing tag", + PullRequestURLCopiedToClipboard: "Pull request URL copied to clipboard", + CommitDiffCopiedToClipboard: "Commit diff copied to clipboard", + CommitSHACopiedToClipboard: "Commit SHA copied to clipboard", + CommitURLCopiedToClipboard: "Commit URL copied to clipboard", + CommitMessageCopiedToClipboard: "Commit message copied to clipboard", + CommitSubjectCopiedToClipboard: "Commit subject copied to clipboard", + CommitAuthorCopiedToClipboard: "Commit author copied to clipboard", + PatchCopiedToClipboard: "Patch copied to clipboard", + CopiedToClipboard: "Copied to clipboard", + ErrCannotEditDirectory: "Cannot edit directory: you can only edit individual files", + ErrStageDirWithInlineMergeConflicts: "Cannot stage/unstage directory containing files with inline merge conflicts. Please fix up the merge conflicts first", + ErrRepositoryMovedOrDeleted: "Cannot find repo. It might have been moved or deleted ¯\\_(ツ)_/¯", + CommandLog: "Command log", + ErrWorktreeMovedOrRemoved: "Cannot find worktree. It might have been moved or removed ¯\\_(ツ)_/¯", + ToggleShowCommandLog: "Toggle show/hide command log", + FocusCommandLog: "Focus command log", + CommandLogHeader: "You can hide/focus this panel by pressing '%s'\n", + RandomTip: "Random tip", + SelectParentCommitForMerge: "Select parent commit for merge", + ToggleWhitespaceInDiffView: "Toggle whitespace", + ToggleWhitespaceInDiffViewTooltip: "Toggle whether or not whitespace changes are shown in the diff view.", + IgnoreWhitespaceDiffViewSubTitle: "(ignoring whitespace)", + IgnoreWhitespaceNotSupportedHere: "Ignoring whitespace is not supported in this view", + IncreaseContextInDiffView: "Increase diff context size", + IncreaseContextInDiffViewTooltip: "Increase the amount of the context shown around changes in the diff view.", + DecreaseContextInDiffView: "Decrease diff context size", + DecreaseContextInDiffViewTooltip: "Decrease the amount of the context shown around changes in the diff view.", + DiffContextSizeChanged: "Changed diff context size to %d", + CreatePullRequestOptions: "View create pull request options", + DefaultBranch: "Default branch", + SelectBranch: "Select branch", + SelectConfigFile: "Select config file", + NoConfigFileFoundErr: "No config file found", + LoadingFileSuggestions: "Loading file suggestions", + LoadingCommits: "Loading commits", + MustSpecifyOriginError: "Must specify a remote if specifying a branch", + GitOutput: "Git output:", + GitCommandFailed: "Git command failed. Check command log for details (open with %s)", + AbortTitle: "Abort %s", + AbortPrompt: "Are you sure you want to abort the current %s?", + OpenLogMenu: "View log options", + OpenLogMenuTooltip: "View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph.", + LogMenuTitle: "Commit Log Options", + ToggleShowGitGraphAll: "Toggle show whole git graph (pass the `--all` flag to `git log`)", + ShowGitGraph: "Show git graph", + SortOrder: "Sort order", + SortAlphabetical: "Alphabetical", + SortByDate: "Date", + SortByRecency: "Recency", + SortBasedOnReflog: "(based on reflog)", + SortCommits: "Commit sort order", + CantChangeContextSizeError: "Cannot change context while in patch building mode because we were too lazy to support it when releasing the feature. If you really want it, please let us know!", + OpenCommitInBrowser: "Open commit in browser", + ViewBisectOptions: "View bisect options", + ConfirmRevertCommit: "Are you sure you want to revert {{.selectedCommit}}?", + RewordInEditorTitle: "Reword in editor", + RewordInEditorPrompt: "Are you sure you want to reword this commit in your editor?", + HardResetAutostashPrompt: "Are you sure you want to hard reset to '%s'? An auto-stash will be performed if necessary.", + CheckoutPrompt: "Are you sure you want to checkout '%s'?", + UpstreamGone: "(upstream gone)", + NukeDescription: "If you want to make all the changes in the worktree go away, this is the way to do it. If there are dirty submodule changes this will stash those changes in the submodule(s).", + DiscardStagedChangesDescription: "This will create a new stash entry containing only staged files and then drop it, so that the working tree is left with only unstaged changes", + EmptyOutput: "", + Patch: "Patch", + CustomPatch: "Custom patch", + CommitsCopied: "commits copied", // lowercase because it's used in a sentence + CommitCopied: "commit copied", // lowercase because it's used in a sentence + ResetPatch: "Reset patch", + ResetPatchTooltip: "Clear the current patch.", + ApplyPatch: "Apply patch", + ApplyPatchTooltip: "Apply the current patch to the working tree.", + ApplyPatchInReverse: "Apply patch in reverse", + ApplyPatchInReverseTooltip: "Apply the current patch in reverse to the working tree.", + RemovePatchFromOriginalCommit: "Remove patch from original commit (%s)", + RemovePatchFromOriginalCommitTooltip: "Remove the current patch from its commit. This is achieved by starting an interactive rebase at the commit, applying the patch in reverse, and then continuing the rebase. If later commits depend on the patch, you may need to resolve conflicts.", + MovePatchOutIntoIndex: "Move patch out into index", + MovePatchOutIntoIndexTooltip: "Move the patch out of its commit and into the index. This is achieved by starting an interactive rebase at the commit, applying the patch in reverse, continuing the rebase to completion, and then applying the patch to the index. If later commits depend on the patch, you may need to resolve conflicts.", + MovePatchIntoNewCommit: "Move patch into new commit", + MovePatchIntoNewCommitTooltip: "Move the patch out of its commit and into a new commit sitting on top of the original commit. This is achieved by starting an interactive rebase at the original commit, applying the patch in reverse, then applying the patch to the index and committing it as a new commit, before continuing the rebase to completion. If later commits depend on the patch, you may need to resolve conflicts.", + MovePatchToSelectedCommit: "Move patch to selected commit (%s)", + MovePatchToSelectedCommitTooltip: "Move the patch out of its original commit and into the selected commit. This is achieved by starting an interactive rebase at the original commit, applying the patch in reverse, then continuing the rebase up to the selected commit, before applying the patch forward and amending the seleced commit. The rebase is then continued to completion. If commits between the source and destination commit depend on the patch, you may need to resolve conflicts.", + CopyPatchToClipboard: "Copy patch to clipboard", + NoMatchesFor: "No matches for '%s' %s", + ExitSearchMode: "%s: Exit search mode", + ExitTextFilterMode: "%s: Exit filter mode", + MatchesFor: "matches for '%s' (%d of %d) %s", // lowercase because it's after other text + SearchKeybindings: "%s: Next match, %s: Previous match, %s: Exit search mode", + SearchPrefix: "Search: ", + FilterPrefix: "Filter: ", + WorktreesTitle: "Worktrees", + WorktreeTitle: "Worktree", + Switch: "Switch", + SwitchToWorktree: "Switch to worktree", + SwitchToWorktreeTooltip: "Switch to the selected worktree.", + AlreadyCheckedOutByWorktree: "This branch is checked out by worktree {{.worktreeName}}. Do you want to switch to that worktree?", + BranchCheckedOutByWorktree: "Branch {{.branchName}} is checked out by worktree {{.worktreeName}}", + DetachWorktreeTooltip: "This will run `git checkout --detach` on the worktree so that it stops hogging the branch, but the worktree's working tree will be left alone.", + Switching: "Switching", + RemoveWorktree: "Remove worktree", + RemoveWorktreeTitle: "Remove worktree", + RemoveWorktreePrompt: "Are you sure you want to remove worktree '{{.worktreeName}}'?", + ForceRemoveWorktreePrompt: "'{{.worktreeName}}' contains modified or untracked files (to be honest, it could contain both). Are you sure you want to remove it?", + RemovingWorktree: "Deleting worktree", + DetachWorktree: "Detach worktree", + DetachingWorktree: "Detaching worktree", + AddingWorktree: "Adding worktree", + CantDeleteCurrentWorktree: "You cannot remove the current worktree!", + AlreadyInWorktree: "You are already in the selected worktree", + CantDeleteMainWorktree: "You cannot remove the main worktree!", + NoWorktreesThisRepo: "No worktrees", + MissingWorktree: "(missing)", + MainWorktree: "(main)", + NewWorktree: "New worktree", + NewWorktreePath: "New worktree path", + NewWorktreeBase: "New worktree base ref", + RemoveWorktreeTooltip: "Remove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory.", + 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 as base commit for rebase", + MarkAsBaseCommitTooltip: "Select a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the `git rebase --onto` command.", + MarkedCommitMarker: "↑↑↑ Will rebase from here ↑↑↑", + PleaseGoToURL: "Please go to {{.url}}", + DisabledMenuItemPrefix: "Disabled: ", + 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}}`.", + RangeSelectUp: "Range select up", + RangeSelectDown: "Range select down", + RangeSelectNotSupported: "Action does not support range selection, please select a single item", + NoItemSelected: "No item selected", + SelectedItemIsNotABranch: "Selected item is not a branch", + RangeSelectNotSupportedForSubmodules: "Range select not supported for submodules", Actions: Actions{ // TODO: combine this with the original keybinding descriptions (those are all in lowercase atm) CheckoutCommit: "Checkout commit", diff --git a/pkg/i18n/japanese.go b/pkg/i18n/japanese.go index 21d8b0e7d..19f1a3ca9 100644 --- a/pkg/i18n/japanese.go +++ b/pkg/i18n/japanese.go @@ -39,7 +39,7 @@ func japaneseTranslationSet() TranslationSet { CredentialsPassword: "パスワード", CredentialsPassphrase: "SSH鍵のパスフレーズを入力", PassUnameWrong: "パスワード, パスフレーズまたはユーザ名が間違っています。", - CommitChanges: "変更をコミット", + Commit: "変更をコミット", AmendLastCommit: "最新のコミットにamend", AmendLastCommitTitle: "最新のコミットにamend", SureToAmend: "最新のコミットに変更をamendします。よろしいですか? コミットメッセージはコミットパネルから変更できます。", @@ -48,7 +48,7 @@ func japaneseTranslationSet() TranslationSet { StatusTitle: "ステータス", Menu: "メニュー", Execute: "実行", - ToggleStaged: "ステージ/アンステージ", + Stage: "ステージ/アンステージ", ToggleStagedAll: "すべての変更をステージ/アンステージ", ToggleTreeView: "ファイルツリーの表示を切り替え", OpenMergeTool: "Git mergetoolを開く", @@ -82,7 +82,6 @@ func japaneseTranslationSet() TranslationSet { Confirm: "確認", Close: "閉じる", Quit: "終了", - // LcSquashDown: "Squash down", // LcFixupCommit: "Fixup commit", // NoCommitsThisBranch: "No commits for this branch", // CannotSquashOrFixupFirstCommit: "There's no commit below to squash into", @@ -92,13 +91,13 @@ func japaneseTranslationSet() TranslationSet { // Squash: "Squash", // LcPickCommit: "Pick commit (when mid-rebase)", RevertCommit: "コミットをrevert", - RewordCommit: "コミットメッセージを変更", - DeleteCommit: "コミットを削除", + Reword: "コミットメッセージを変更", + DropCommit: "コミットを削除", MoveDownCommit: "コミットを1つ下に移動", MoveUpCommit: "コミットを1つ上に移動", - EditCommit: "コミットを編集", - AmendToCommit: "ステージされた変更でamendコミット", - RenameCommitEditor: "エディタでコミットメッセージを編集", + EditCommitTooltip: "コミットを編集", + AmendCommitTooltip: "ステージされた変更でamendコミット", + RewordCommitEditor: "エディタでコミットメッセージを編集", Error: "エラー", // LcPickHunk: "Pick hunk", // LcPickAllHunks: "Pick all hunks", @@ -143,29 +142,29 @@ func japaneseTranslationSet() TranslationSet { MergeToolPrompt: "`git mergetool`を開きます。よろしいですか?", IntroPopupMessage: japaneseIntroPopupMessage, // GitconfigParseErr: `Gogit failed to parse your gitconfig file due to the presence of unquoted '\' characters. Removing these should fix the issue.`, - EditFile: `ファイルを編集`, - OpenFile: `ファイルを開く`, - IgnoreFile: `.gitignoreに追加`, - RefreshFiles: `ファイルをリフレッシュ`, - MergeIntoCurrentBranch: `現在のブランチにマージ`, - ConfirmQuit: `終了します。よろしいですか?`, - SwitchRepo: `最近使用したリポジトリに切り替え`, - AllBranchesLogGraph: `すべてのブランチログを表示`, - UnsupportedGitService: `サポートされていないGitサービスです。`, - CreatePullRequest: `Pull Requestを作成`, - CopyPullRequestURL: `Pull RequestのURLをクリップボードにコピー`, - NoBranchOnRemote: `ブランチがリモートに存在しません。リモートにpushしてください。`, - Fetch: `Fetch`, + EditFile: `ファイルを編集`, + OpenFile: `ファイルを開く`, + IgnoreFile: `.gitignoreに追加`, + RefreshFiles: `ファイルをリフレッシュ`, + Merge: `現在のブランチにマージ`, + ConfirmQuit: `終了します。よろしいですか?`, + SwitchRepo: `最近使用したリポジトリに切り替え`, + AllBranchesLogGraph: `すべてのブランチログを表示`, + UnsupportedGitService: `サポートされていないGitサービスです。`, + CreatePullRequest: `Pull Requestを作成`, + CopyPullRequestURL: `Pull RequestのURLをクリップボードにコピー`, + NoBranchOnRemote: `ブランチがリモートに存在しません。リモートにpushしてください。`, + Fetch: `Fetch`, // NoAutomaticGitFetchTitle: `No automatic git fetch`, // NoAutomaticGitFetchBody: `Lazygit can't use "git fetch" in a private repo; use 'f' in the files panel to run "git fetch" manually`, // FileEnter: `stage individual hunks/lines for file, or collapse/expand for directory`, // FileStagingRequirements: `Can only stage individual lines for tracked files`, - StageSelection: `選択行をステージ/アンステージ`, + StageSelectionTooltip: `選択行をステージ/アンステージ`, DiscardSelection: `変更を削除 (git reset)`, ToggleRangeSelect: `範囲選択を切り替え`, ToggleSelectHunk: `Hunk選択を切り替え`, ToggleSelectionForPatch: `行をパッチに追加/削除`, - ToggleStagingPanel: `パネルを切り替え`, + ToggleStagingView: `パネルを切り替え`, ReturnToFilesPanel: `ファイル一覧に戻る`, // FastForward: `fast-forward this branch from its upstream`, // Fetching: "Fetching and fast-forwarding {{.from}} -> {{.to}} ...", @@ -204,28 +203,28 @@ func japaneseTranslationSet() TranslationSet { CherryPickCopy: "コミットをコピー (cherry-pick)", PasteCommits: "コミットを貼り付け (cherry-pick)", // SureCherryPick: "Are you sure you want to cherry-pick the copied commits onto this branch?", - CherryPick: "Cherry-Pick", - Donate: "支援", - AskQuestion: "質問", - PrevLine: "前の行を選択", - NextLine: "次の行を選択", - PrevHunk: "前のhunkを選択", - NextHunk: "次のhunkを選択", - PrevConflict: "前のコンフリクトを選択", - NextConflict: "次のコンフリクトを選択", - SelectPrevHunk: "前のhunkを選択", - SelectNextHunk: "次のhunkを選択", - ScrollDown: "下にスクロール", - ScrollUp: "上にスクロール", - ScrollUpMainPanel: "メインパネルを上にスクロール", - ScrollDownMainPanel: "メインパネルを下にスクロール", - AmendCommitTitle: "Amendコミット", - AmendCommitPrompt: "ステージされたファイルで現在のコミットをamendします。よろしいですか?", - DropCommitTitle: "コミットを削除", - DropCommitPrompt: "選択されたコミットを削除します。よろしいですか?", - PullingStatus: "Pull中", - PushingStatus: "Push中", - FetchingStatus: "Fetch中", + CherryPick: "Cherry-Pick", + Donate: "支援", + AskQuestion: "質問", + PrevLine: "前の行を選択", + NextLine: "次の行を選択", + PrevHunk: "前のhunkを選択", + NextHunk: "次のhunkを選択", + PrevConflict: "前のコンフリクトを選択", + NextConflict: "次のコンフリクトを選択", + SelectPrevHunk: "前のhunkを選択", + SelectNextHunk: "次のhunkを選択", + ScrollDown: "下にスクロール", + ScrollUp: "上にスクロール", + ScrollUpMainWindow: "メインパネルを上にスクロール", + ScrollDownMainWindow: "メインパネルを下にスクロール", + AmendCommitTitle: "Amendコミット", + AmendCommitPrompt: "ステージされたファイルで現在のコミットをamendします。よろしいですか?", + DropCommitTitle: "コミットを削除", + DropCommitPrompt: "選択されたコミットを削除します。よろしいですか?", + PullingStatus: "Pull中", + PushingStatus: "Push中", + FetchingStatus: "Fetch中", // SquashingStatus: "Squashing", // FixingStatus: "Fixing up", // DeletingStatus: "Deleting", @@ -261,7 +260,7 @@ func japaneseTranslationSet() TranslationSet { // LcDiscardUntrackedFiles: "Discard untracked files", HardReset: "hardリセット", // LcViewResetOptions: `view reset options`, - CreateFixupCommitDescription: `このコミットに対するfixupコミットを作成`, + CreateFixupCommitTooltip: `このコミットに対するfixupコミットを作成`, // LcSquashAboveCommits: `squash all 'fixup!' commits above selected commit (autosquash)`, // SquashAboveCommits: `Squash all 'fixup!' commits above selected commit (autosquash)`, SureSquashAboveCommits: `{{.commit}}に対するすべての fixup! コミットをsquashします。よろしいですか?`, @@ -296,7 +295,7 @@ func japaneseTranslationSet() TranslationSet { EnterUpstream: `' ' の形式でupstreamを入力`, InvalidUpstream: "Upstreamの形式が正しくありません。' ' の形式で入力してください。", ReturnToRemotesList: `リモート一覧に戻る`, - AddNewRemote: `リモートを新規追加`, + NewRemote: `リモートを新規追加`, NewRemoteName: `新規リモート名:`, NewRemoteUrl: `新規リモートURL:`, EditRemoteName: `{{.remoteName}} の新しいリモート名を入力:`, @@ -308,7 +307,7 @@ func japaneseTranslationSet() TranslationSet { // LcSetUpstream: "Set as upstream of checked-out branch", // SetUpstreamTitle: "Set upstream branch", // SetUpstreamMessage: "Are you sure you want to set the upstream branch of '{{.checkedOut}}' to '{{.selected}}'", - EditRemote: "リモートを編集", + EditRemoteTooltip: "リモートを編集", TagCommit: "タグを作成", TagMenuTitle: "タグを作成", TagNameTitle: "タグ名", @@ -317,8 +316,9 @@ func japaneseTranslationSet() TranslationSet { LightweightTag: "軽量タグ", PushTagTitle: "リモートにタグ '{{.tagName}}' をpush", PushTag: "タグをpush", - CreateTag: "タグを作成", - FetchRemote: "リモートをfetch", + NewTag: "タグを作成", + FetchRemoteTooltip: "リモートをfetch", + FetchingRemoteStatus: "リモートをfetch", CheckoutCommit: "コミットをチェックアウト", SureCheckoutThisCommit: "選択されたコミットをチェックアウトします。よろしいですか?", // LcGitFlowOptions: "Show git-flow options", @@ -335,7 +335,7 @@ func japaneseTranslationSet() TranslationSet { RenameBranch: "ブランチ名を変更", NewBranchNamePrompt: "新しいブランチ名を入力", // RenameBranchWarning: "This branch is tracking a remote. This action will only rename the local branch name, not the name of the remote branch. Continue?", - OpenMenu: "メニューを開く", + OpenKeybindingsMenu: "メニューを開く", // LcResetCherryPick: "Reset cherry-picked (copied) commits selection", NextTab: "次のタブ", PrevTab: "前のタブ", @@ -364,9 +364,9 @@ func japaneseTranslationSet() TranslationSet { ExitDiffMode: "差分モードを終了", DiffingMenuTitle: "差分", // LcSwapDiff: "Reverse diff direction", - OpenDiffingMenu: "差分メニューを開く", + ViewDiffingOptions: "差分メニューを開く", // // the actual view is the extras view which I intend to give more tabs in future but for now we'll only mention the command log part - OpenExtrasMenu: "コマンドログメニューを開く", + OpenCommandLogMenu: "コマンドログメニューを開く", // LcShowingGitDiff: "Showing output for:", CommitDiff: "コミットの差分", CopyCommitShaToClipboard: "コミットのSHAをクリップボードにコピー", @@ -377,9 +377,8 @@ func japaneseTranslationSet() TranslationSet { CommitAuthor: "コミットの作成者名", CopyCommitAttributeToClipboard: "コミットの情報をコピー", CopyBranchNameToClipboard: "ブランチ名をクリップボードにコピー", - CopyFileNameToClipboard: "ファイル名をクリップボードにコピー", - CopyCommitFileNameToClipboard: "コミットされたファイル名をクリップボードにコピー", - CopySelectedTexToClipboard: "選択されたテキストをクリップボードにコピー", + CopyPathToClipboard: "ファイル名をクリップボードにコピー", + CopySelectedTextToClipboard: "選択されたテキストをクリップボードにコピー", // LcCommitPrefixPatternError: "Error in commitPrefix pattern", NoFilesStagedTitle: "ファイルがステージされていません", NoFilesStagedPrompt: "ファイルがステージされていません。すべての変更をコミットしますか?", @@ -394,7 +393,7 @@ func japaneseTranslationSet() TranslationSet { RunningCustomCommandStatus: "カスタムコマンドを実行", // LcSubmoduleStashAndReset: "Stash uncommitted submodule changes and update", // LcAndResetSubmodules: "And reset submodules", - EnterSubmodule: "サブモジュールを開く", + EnterSubmoduleTooltip: "サブモジュールを開く", CopySubmoduleNameToClipboard: "サブモジュール名をクリップボードにコピー", RemoveSubmodule: "サブモジュールを削除", RemoveSubmodulePrompt: "サブモジュール '%s' とそのディレクトリを削除します。よろしいですか? この操作は取り消せません。", @@ -402,14 +401,14 @@ func japaneseTranslationSet() TranslationSet { NewSubmoduleName: "新規サブモジュール名:", NewSubmoduleUrl: "新規サブモジュールのURL:", NewSubmodulePath: "新規サブモジュールのパス:", - AddSubmodule: "サブモジュールを新規追加", + NewSubmodule: "サブモジュールを新規追加", AddingSubmoduleStatus: "サブモジュールを新規追加", UpdateSubmoduleUrl: "サブモジュール '%s' のURLを更新", UpdatingSubmoduleUrlStatus: "URLを更新", EditSubmoduleUrl: "サブモジュールのURLを更新", InitializingSubmoduleStatus: "サブモジュールを初期化", - InitSubmodule: "サブモジュールを初期化", - SubmoduleUpdate: "サブモジュールを更新", + InitSubmoduleTooltip: "サブモジュールを初期化", + SubmoduleUpdateTooltip: "サブモジュールを更新", UpdatingSubmoduleStatus: "サブモジュールを更新", BulkInitSubmodules: "サブモジュールを一括初期化", BulkUpdateSubmodules: "サブモジュールを一括更新", diff --git a/pkg/i18n/korean.go b/pkg/i18n/korean.go index 39f2f58ab..26bb0542e 100644 --- a/pkg/i18n/korean.go +++ b/pkg/i18n/korean.go @@ -38,7 +38,7 @@ func koreanTranslationSet() TranslationSet { CredentialsPassword: "패스워드", CredentialsPassphrase: "SSH키의 passphrase 입력", PassUnameWrong: "패스워드, passphrase 또는 사용자 이름이 잘못되었습니다.", - CommitChanges: "커밋 변경내용", + Commit: "커밋 변경내용", AmendLastCommit: "마지맛 커밋 수정", AmendLastCommitTitle: "마지막 커밋 수정", SureToAmend: "마지막 커밋을 수정하시겠습니까? 그런 다음 커밋 패널에서 커밋 메시지를 변경할 수 있습니다.", @@ -47,7 +47,7 @@ func koreanTranslationSet() TranslationSet { StatusTitle: "상태", Menu: "메뉴", Execute: "실행", - ToggleStaged: "Staged 전환", + Stage: "Staged 전환", ToggleStagedAll: "모든 변경을 Staged/unstaged으로 전환", ToggleTreeView: "파일 트리뷰로 전환", OpenMergeTool: "Git mergetool를 열기", @@ -82,25 +82,23 @@ func koreanTranslationSet() TranslationSet { Confirm: "확인", Close: "닫기", Quit: "종료", - SquashDown: "Squash down", - FixupCommit: "Fixup commit", NoCommitsThisBranch: "이 브랜치에 커밋이 없습니다.", CannotSquashOrFixupFirstCommit: "There's no commit below to squash into", Fixup: "Fixup", SureFixupThisCommit: "Are you sure you want to 'fixup' this commit? It will be merged into the commit below", SureSquashThisCommit: "Are you sure you want to squash this commit into the commit below?", Squash: "Squash", - PickCommit: "Pick commit (when mid-rebase)", + PickCommitTooltip: "Pick commit (when mid-rebase)", RevertCommit: "커밋 되돌리기", - RewordCommit: "커밋메시지 변경", - DeleteCommit: "커밋 삭제", + Reword: "커밋메시지 변경", + DropCommit: "커밋 삭제", MoveDownCommit: "커밋을 1개 아래로 이동", MoveUpCommit: "커밋을 1개 위로 이동", - EditCommit: "커밋을 편집", - AmendToCommit: "Amend commit with staged changes", + EditCommitTooltip: "커밋을 편집", + AmendCommitTooltip: "Amend commit with staged changes", ResetAuthor: "Reset commit author", SureResetCommitAuthor: "The author field of this commit will be updated to match the configured user. This also renews the author timestamp. Continue?", - RenameCommitEditor: "에디터에서 커밋메시지 수정", + RewordCommitEditor: "에디터에서 커밋메시지 수정", Error: "오류", PickHunk: "Pick hunk", PickAllHunks: "Pick all hunks", @@ -149,7 +147,7 @@ func koreanTranslationSet() TranslationSet { OpenFile: `파일 닫기`, IgnoreFile: `.gitignore에 추가`, RefreshFiles: `파일 새로고침`, - MergeIntoCurrentBranch: `현재 브랜치에 병합`, + Merge: `현재 브랜치에 병합`, ConfirmQuit: `정말로 종료하시겠습니까?`, SwitchRepo: `최근에 사용한 저장소로 전환`, AllBranchesLogGraph: `모든 브랜치 로그 표시`, @@ -162,12 +160,12 @@ func koreanTranslationSet() TranslationSet { NoAutomaticGitFetchBody: `Lazygit은 private 저장소에서 "git fetch"를 사용할 수 없습니다. 파일 패널에서 'f'를 사용하여 "git fetch"를 수동으로 실행하세요.`, FileEnter: `Stage individual hunks/lines for file, or collapse/expand for directory`, FileStagingRequirements: `추적된 파일에 대해 개별 라인만 stage할 수 있습니다.`, - StageSelection: `선택한 행을 staged / unstaged`, + StageSelectionTooltip: `선택한 행을 staged / unstaged`, DiscardSelection: `변경을 삭제 (git reset)`, ToggleRangeSelect: `드래그 선택 전환`, ToggleSelectHunk: `Toggle select hunk`, ToggleSelectionForPatch: `Line(s)을 패치에 추가/삭제`, - ToggleStagingPanel: `패널 전환`, + ToggleStagingView: `패널 전환`, ReturnToFilesPanel: `파일 목록으로 돌아가기`, FastForward: `Fast-forward this branch from its upstream`, FastForwarding: "Fast-forwarding", @@ -214,8 +212,8 @@ func koreanTranslationSet() TranslationSet { SelectNextHunk: "다음 hunk를 선택", ScrollDown: "아래로 스크롤", ScrollUp: "위로 스크롤", - ScrollUpMainPanel: "메인 패널을 위로 스크롤", - ScrollDownMainPanel: "메인 패널을 아래로로 스크롤", + ScrollUpMainWindow: "메인 패널을 위로 스크롤", + ScrollDownMainWindow: "메인 패널을 아래로로 스크롤", AmendCommitTitle: "Amend commit", AmendCommitPrompt: "Are you sure you want to amend this commit with your staged files?", DropCommitTitle: "커밋 삭제", @@ -240,8 +238,8 @@ func koreanTranslationSet() TranslationSet { RemoteBranchesDynamicTitle: "원격브랜치 (%s)", ViewItemFiles: "View selected item's files", CommitFilesTitle: "커밋 파일", - CheckoutCommitFile: "Checkout file", - DiscardOldFileChange: "Discard this commit's changes to this file", + CheckoutCommitFileTooltip: "Checkout file", + DiscardOldFileChangeTooltip: "Discard this commit's changes to this file", DiscardFileChangesTitle: "파일 변경 사항 버리기", DiscardFileChangesPrompt: "Are you sure you want to discard this commit's changes to this file? If this file was created in this commit, it will be deleted", DisabledForGPG: "Feature not available for users using GPG", @@ -249,7 +247,7 @@ func koreanTranslationSet() TranslationSet { AutoStashTitle: "Autostash?", AutoStashPrompt: "You must stash and pop your changes to bring them across. Do this automatically? (enter/esc)", StashPrefix: "Auto-stashing changes for ", - ViewDiscardOptions: "View 'discard changes' options", + Discard: "View 'discard changes' options", Cancel: "취소", DiscardAllChanges: "모든 변경사항 버리기", DiscardUnstagedChanges: "Discard unstaged changes", @@ -258,8 +256,8 @@ func koreanTranslationSet() TranslationSet { DiscardUntrackedFiles: "Discard untracked files", HardReset: "Hard reset", ViewResetOptions: `View reset options`, - CreateFixupCommitDescription: `Create fixup commit for this commit`, - SquashAboveCommits: `Squash all 'fixup!' commits above selected commit (autosquash)`, + CreateFixupCommitTooltip: `Create fixup commit for this commit`, + SquashAboveCommitsTooltip: `Squash all 'fixup!' commits above selected commit (autosquash)`, SureSquashAboveCommits: `Are you sure you want to squash all fixup! commits above {{.commit}}?`, CreateFixupCommit: `Create fixup commit`, SureCreateFixupCommit: `Are you sure you want to create a fixup! commit for commit {{.commit}}?`, @@ -287,12 +285,12 @@ func koreanTranslationSet() TranslationSet { ViewPatchOptions: "커스텀 Patch 옵션 보기", PatchOptionsTitle: "Patch 옵션", NoPatchError: "No patch created yet. To start building a patch, use 'space' on a commit file or enter to add specific lines", - EnterFile: "Enter file to add selected lines to the patch (or toggle directory collapsed)", + EnterCommitFile: "Enter file to add selected lines to the patch (or toggle directory collapsed)", // ExitCustomPatchBuilder: ``, EnterUpstream: `' '와 같은 형식으로 입력하세요.`, InvalidUpstream: "Upstream의 형식이 잘못되었습니다.' ' 와 같은 형식으로 입력하세요.", ReturnToRemotesList: `원격목록으로 돌아가기`, - AddNewRemote: `새로운 Remote 추가`, + NewRemote: `새로운 Remote 추가`, NewRemoteName: `새로운 Remote 이름:`, NewRemoteUrl: `새로운 Remote URL:`, EditRemoteName: `{{.remoteName}} 의 새로운 Remote 이름 입력:`, @@ -304,7 +302,7 @@ func koreanTranslationSet() TranslationSet { SetUpstream: "Set as upstream of checked-out branch", SetUpstreamTitle: "Set upstream branch", SetUpstreamMessage: "Are you sure you want to set the upstream branch of '{{.checkedOut}}' to '{{.selected}}'", - EditRemote: "Remote를 수정", + EditRemoteTooltip: "Remote를 수정", TagCommit: "Tag commit", TagMenuTitle: "태그 작성", TagNameTitle: "태그 이름", @@ -313,8 +311,9 @@ func koreanTranslationSet() TranslationSet { LightweightTag: "Lightweight tag", PushTagTitle: "원격에 태그 '{{.tagName}}' 를 푸시", PushTag: "태그를 push", - CreateTag: "태그를 생성", - FetchRemote: "원격을 업데이트", + NewTag: "태그를 생성", + FetchRemoteTooltip: "원격을 업데이트", + FetchingRemoteStatus: "원격을 업데이트 중", CheckoutCommit: "커밋을 체크아웃", SureCheckoutThisCommit: "정말로 선택한 커밋을 체크아웃 하시겠습니까?", GitFlowOptions: "Git-flow 옵션 보기", @@ -331,7 +330,7 @@ func koreanTranslationSet() TranslationSet { RenameBranch: "브랜치 이름 변경", NewBranchNamePrompt: "새로운 브랜치 이름 입력", RenameBranchWarning: "This branch is tracking a remote. This action will only rename the local branch name, not the name of the remote branch. Continue?", - OpenMenu: "매뉴 열기", + OpenKeybindingsMenu: "매뉴 열기", ResetCherryPick: "Reset cherry-picked (copied) commits selection", NextTab: "이전 탭", PrevTab: "다음 탭", @@ -360,9 +359,9 @@ func koreanTranslationSet() TranslationSet { ExitDiffMode: "Diff 모드 종료", DiffingMenuTitle: "Diff", SwapDiff: "Reverse diff direction", - OpenDiffingMenu: "Diff 메뉴 열기", + ViewDiffingOptions: "Diff 메뉴 열기", // the actual view is the extras view which I intend to give more tabs in future but for now we'll only mention the command log part - OpenExtrasMenu: "명령어 로그 메뉴 열기", + OpenCommandLogMenu: "명령어 로그 메뉴 열기", ShowingGitDiff: "Showing output for:", CommitDiff: "커밋의 iff", CopyCommitShaToClipboard: "커밋 SHA를 클립보드에 복사", @@ -373,9 +372,8 @@ func koreanTranslationSet() TranslationSet { CommitAuthor: "커밋 작성자", CopyCommitAttributeToClipboard: "커밋 attribute 복사", CopyBranchNameToClipboard: "브랜치명을 클립보드에 복사", - CopyFileNameToClipboard: "파일명을 클립보드에 복사", - CopyCommitFileNameToClipboard: "커밋한 파일명을 클립보드에 복사", - CopySelectedTexToClipboard: "선택한 텍스트를 클립보드에 복사", + CopyPathToClipboard: "파일명을 클립보드에 복사", + CopySelectedTextToClipboard: "선택한 텍스트를 클립보드에 복사", CommitPrefixPatternError: "Error in commitPrefix pattern", NoFilesStagedTitle: "파일이 Staged 되지 않았습니다.", NoFilesStagedPrompt: "파일이 Staged 되지 않았습니다. 모든 파일을 커밋하시겠습니까?", @@ -390,7 +388,7 @@ func koreanTranslationSet() TranslationSet { RunningCustomCommandStatus: "커스텀 명령어 실행", SubmoduleStashAndReset: "Stash uncommitted submodule changes and update", AndResetSubmodules: "And reset submodules", - EnterSubmodule: "서브모듈 열기", + EnterSubmoduleTooltip: "서브모듈 열기", CopySubmoduleNameToClipboard: "서브모듈 이름을 클립보드에 복사", RemoveSubmodule: "서브모듈 삭제", RemoveSubmodulePrompt: "정말로 서브모듈 '%s'및 해당 디렉토리를 제거하시겠습니까? 이것은 되돌릴 수 없습니다.", @@ -398,14 +396,14 @@ func koreanTranslationSet() TranslationSet { NewSubmoduleName: "새로운 서브모듈이름 :", NewSubmoduleUrl: "새로운 서브모듈의 URL:", NewSubmodulePath: "새로운 서브모듈의 경로", - AddSubmodule: "새로운 서브모듈 추가", + NewSubmodule: "새로운 서브모듈 추가", AddingSubmoduleStatus: "새로운 서브모듈 추가", UpdateSubmoduleUrl: "서브모듈 '%s' 의 URL을 업데이트", UpdatingSubmoduleUrlStatus: "Updating URL", EditSubmoduleUrl: "서브모듈의 URL을 수정", InitializingSubmoduleStatus: "서브모듈 초기화", - InitSubmodule: "서브모듈 초기화", - SubmoduleUpdate: "서브모듈 업데이트", + InitSubmoduleTooltip: "서브모듈 초기화", + SubmoduleUpdateTooltip: "서브모듈 업데이트", UpdatingSubmoduleStatus: "서브모듈 업데이트", BulkInitSubmodules: "서브모듈 일괄 초기화", BulkUpdateSubmodules: "서브모듈 일괄 업데이트", diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go index 373c7b771..2366ff174 100644 --- a/pkg/i18n/polish.go +++ b/pkg/i18n/polish.go @@ -15,7 +15,7 @@ func polishTranslationSet() TranslationSet { CredentialsPassword: "Hasło", CredentialsPassphrase: "Fraza", PassUnameWrong: "Niewłaściwe hasło, fraza lub nazwa użytkownika", - CommitChanges: "Zatwierdź zmiany", + Commit: "Zatwierdź zmiany", AmendLastCommit: "Zmień ostatni commit", AmendLastCommitTitle: "Zmień ostatni commit", SureToAmend: "Czy na pewno chcesz zmienić ostatni commit? Możesz zmienić komunikat commitu z panelu commitów.", @@ -25,7 +25,7 @@ func polishTranslationSet() TranslationSet { GlobalTitle: "Globalne", Menu: "Menu", Execute: "Wykonaj", - ToggleStaged: "Przełącz stan poczekalni", + Stage: "Przełącz stan poczekalni", ToggleStagedAll: "Przełącz stan poczekalni wszystkich", Refresh: "Odśwież", Scroll: "Przewiń", @@ -52,14 +52,12 @@ func polishTranslationSet() TranslationSet { CloseCancel: "Zamknij", Confirm: "Potwierdź", Close: "Zamknij", - SquashDown: "Ściśnij", - FixupCommit: "Napraw commit", NoCommitsThisBranch: "Brak commitów dla tej gałęzi", CannotSquashOrFixupFirstCommit: "There's no commit below to squash into", Fixup: "Napraw", SureFixupThisCommit: "Jesteś pewny, ze chcesz naprawić ten commit? Commit poniżej zostanie spłaszczony w górę wraz z tym", - RewordCommit: "Zmień nazwę commita", - RenameCommitEditor: "Zmień nazwę commita w edytorze", + Reword: "Zmień nazwę commita", + RewordCommitEditor: "Zmień nazwę commita w edytorze", Error: "Błąd", PickHunk: "Wybierz kawałek", PickAllHunks: "Wybierz oba kawałki", @@ -89,7 +87,7 @@ func polishTranslationSet() TranslationSet { OpenFile: "Otwórz plik", IgnoreFile: "Dodaj do .gitignore", RefreshFiles: "Odśwież pliki", - MergeIntoCurrentBranch: "Scal do obecnej gałęzi", + Merge: "Scal do obecnej gałęzi", ConfirmQuit: "Na pewno chcesz wyjść z programu?", AllBranchesLogGraph: "Pokaż wszystkie logi gałęzi", UnsupportedGitService: "Nieobsługiwana usługa git", @@ -113,13 +111,13 @@ func polishTranslationSet() TranslationSet { SoftReset: "Miękki reset", SureSquashThisCommit: "Czy na pewno spłaszczyć ten commit do commita niżej?", Squash: "Spłaszcz", - PickCommit: "Wybierz commit (podczas zmiany bazy)", + PickCommitTooltip: "Wybierz commit (podczas zmiany bazy)", RevertCommit: "Odwróć commit", - DeleteCommit: "Usuń commit", + DropCommit: "Usuń commit", MoveDownCommit: "Przenieś commit 1 w dół", MoveUpCommit: "Przenieś commit 1 w górę", - EditCommit: "Edytuj commit", - AmendToCommit: "Popraw commit zmianami z poczekalni", + EditCommitTooltip: "Edytuj commit", + AmendCommitTooltip: "Popraw commit zmianami z poczekalni", FoundConflictsTitle: "Konflikty!", ViewMergeRebaseOptions: "Widok scalenia/opcje zmiany bazy", NotMergingOrRebasing: "W tej chwili nie scalasz ani nie zmieniasz bazy", @@ -162,8 +160,8 @@ func polishTranslationSet() TranslationSet { CommitFiles: "Pliki commita", ViewItemFiles: "Przeglądaj pliki commita", CommitFilesTitle: "Pliki commita", - CheckoutCommitFile: "Plik wybierania", - DiscardOldFileChange: "Porzuć zmiany commita dla tego pliku", + CheckoutCommitFileTooltip: "Plik wybierania", + DiscardOldFileChangeTooltip: "Porzuć zmiany commita dla tego pliku", DiscardFileChangesTitle: "Porzuć zmiany w pliku", DiscardFileChangesPrompt: "Czy na pewno porzucić zmiany w tym pliku? Jeśli ten plik był utworzony w tym commicie, zostanie usunięty", DisabledForGPG: "Funkcja niedostępna dla użytkowników GPG", @@ -171,7 +169,7 @@ func polishTranslationSet() TranslationSet { AutoStashTitle: "Automatyczny schowek", AutoStashPrompt: "Musisz schować i wyciągnąć zmiany żeby je przenosić. Robić to automatycznie? (enter/esc)", StashPrefix: "Automatyczne dodawanie zmian do schowka dla ", - ViewDiscardOptions: "Pokaż opcje porzucania zmian", + Discard: "Pokaż opcje porzucania zmian", Cancel: "Anuluj", DiscardAllChanges: "Porzuć wszystkie zmiany", DiscardUnstagedChanges: "Porzuć zmiany poza poczekalnią", @@ -180,8 +178,8 @@ func polishTranslationSet() TranslationSet { DiscardUntrackedFiles: "Porzuć pliki nieśledzone", HardReset: "Twardy reset", ViewResetOptions: "Wyświetl opcje resetu", - CreateFixupCommitDescription: "Utwórz commit naprawczy dla tego commita", - SquashAboveCommits: `Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash)`, + CreateFixupCommitTooltip: "Utwórz commit naprawczy dla tego commita", + SquashAboveCommitsTooltip: `Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash)`, SureSquashAboveCommits: `Na pewno chcesz spłaszczyć wszystkie commity naprawcze powyżej {{.commit}}?`, CreateFixupCommit: `Utwóż commit naprawczy`, SureCreateFixupCommit: `Na pewno utworzyć commit naprawczy dla commita {{.commit}}?`, diff --git a/pkg/i18n/russian.go b/pkg/i18n/russian.go index c3b05b403..b1ac91dbf 100644 --- a/pkg/i18n/russian.go +++ b/pkg/i18n/russian.go @@ -57,7 +57,7 @@ func RussianTranslationSet() TranslationSet { CredentialsPassphrase: "Введите пароль для SSH ключа", CredentialsPIN: "Введите PIN-код для SSH ключа", PassUnameWrong: "Неверный пароль, кодовая фраза и/или имя пользователя", - CommitChanges: "Сохранить изменения", + Commit: "Сохранить изменения", AmendLastCommit: "Правка последнего коммита", AmendLastCommitTitle: "Правка Последнего Коммита", SureToAmend: "Вы уверены, что хотите править последний коммит? Впоследствии можно изменить сообщение коммита на панели коммитов.", @@ -66,7 +66,7 @@ func RussianTranslationSet() TranslationSet { StatusTitle: "Статус", Menu: "Меню", Execute: "Выполнить", - ToggleStaged: "Переключить индекс", + Stage: "Переключить индекс", ToggleStagedAll: "Все проиндексированные/непроиндексированные", ToggleTreeView: "Переключить вид дерева файлов", OpenMergeTool: "Открыть внешний инструмент слияния (git mergetool)", @@ -101,8 +101,6 @@ func RussianTranslationSet() TranslationSet { CloseCancel: "Закрыть/отменить", Confirm: "Подтвердить", Quit: "Выйти", - SquashDown: "Объединить несколько коммитов в один нижний", - FixupCommit: "Объединить несколько коммитов в один отбросив сообщение коммита", NoCommitsThisBranch: "Нет коммитов для этой ветки", UpdateRefHere: "Обновить ветку '{{.ref}}' здесь", CannotSquashOrFixupFirstCommit: "Ниже нет коммита, который можно было бы объединить", @@ -110,20 +108,20 @@ func RussianTranslationSet() TranslationSet { SureFixupThisCommit: "Вы уверены, что хотите объединить несколько коммитов, отбросив сообщение коммита? Он будет объединён с коммитом ниже", SureSquashThisCommit: "Вы уверены, что хотите объединить несколько коммитов в нижний коммит?", Squash: "Объединить коммиты (Squash)", - PickCommit: "Выбрать коммит (в середине перебазирования)", + PickCommitTooltip: "Выбрать коммит (в середине перебазирования)", RevertCommit: "Отменить коммит", - RewordCommit: "Перефразировать коммит", - DeleteCommit: "Удалить коммит", + Reword: "Перефразировать коммит", + DropCommit: "Удалить коммит", MoveDownCommit: "Переместить коммит вниз на один", MoveUpCommit: "Переместить коммит вверх на один", - EditCommit: "Изменить коммит", - AmendToCommit: "Править последний коммит с проиндексированными изменениями", + EditCommitTooltip: "Изменить коммит", + AmendCommitTooltip: "Править последний коммит с проиндексированными изменениями", ResetAuthor: "Сброс автора коммита", SetAuthor: "Установить автора", - SetResetCommitAuthor: "Установить/убрать автора коммита", + AmendCommitAttribute: "Установить/убрать автора коммита", SetAuthorPromptTitle: "Установить автора (должно выглядеть как «Имя »)", SureResetCommitAuthor: "Поле автора этого автора будет обновлено в соответствии с настроенным пользователем. Это также обновляет временную метку автора. Продолжить?", - RenameCommitEditor: "Переписать коммит с помощью редактора", + RewordCommitEditor: "Переписать коммит с помощью редактора", Error: "Ошибка", PickHunk: "Выбрать эту часть", PickAllHunks: "Выбрать все части", @@ -179,7 +177,7 @@ func RussianTranslationSet() TranslationSet { IgnoreFile: `Добавить в .gitignore`, ExcludeFile: `Добавить в .git/info/exclude`, RefreshFiles: `Обновить файлы`, - MergeIntoCurrentBranch: `Слияние с текущей переключённой веткой`, + Merge: `Слияние с текущей переключённой веткой`, ConfirmQuit: `Вы уверены, что хотите выйти?`, SwitchRepo: `Переключиться на последний репозиторий`, AllBranchesLogGraph: `Показать все логи ветки`, @@ -192,13 +190,13 @@ func RussianTranslationSet() TranslationSet { NoAutomaticGitFetchBody: `Lazygit не может использовать «git fetch» в приватном репозитории; используйте «f» на панели файлов, чтобы запустить «git fetch» вручную`, FileEnter: `Проиндексировать отдельные части/строки для файла или свернуть/развернуть для каталога`, FileStagingRequirements: `Можно проиндексировать только отдельные строки для отслеживаемых файлов`, - StageSelection: `Переключить строку в проиндексированные / непроиндексированные`, + StageSelectionTooltip: `Переключить строку в проиндексированные / непроиндексированные`, DiscardSelection: `Отменить изменение (git reset)`, ToggleRangeSelect: `Переключить выборку перетаскивания`, ToggleSelectHunk: `Переключить выборку частей`, ToggleSelectionForPatch: `Добавить/удалить строку(и) для патча`, EditHunk: `Изменить эту часть`, - ToggleStagingPanel: `Переключиться на другую панель (проиндексированные/непроиндексированные изменения)`, + ToggleStagingView: `Переключиться на другую панель (проиндексированные/непроиндексированные изменения)`, ReturnToFilesPanel: `Вернуться к панели файлов`, FastForward: `Перемотать эту ветку вперёд из её upstream-ветки`, FastForwarding: "Получить изменения и перемотать вперёд", @@ -258,8 +256,8 @@ func RussianTranslationSet() TranslationSet { SelectNextHunk: "Выбрать следующую часть", ScrollDown: "Прокрутить вниз", ScrollUp: "Прокрутить вверх", - ScrollUpMainPanel: "Прокрутить вверх главную панель", - ScrollDownMainPanel: "Прокрутить вниз главную панель", + ScrollUpMainWindow: "Прокрутить вверх главную панель", + ScrollDownMainWindow: "Прокрутить вниз главную панель", AmendCommitTitle: "Править коммит (amend)", AmendCommitPrompt: "Вы уверены, что хотите править этот коммит проиндексированными файлами?", DropCommitTitle: "Удалить коммит", @@ -287,9 +285,9 @@ func RussianTranslationSet() TranslationSet { RemoteBranchesDynamicTitle: "Удалённые ветки (%s)", ViewItemFiles: "Просмотреть файлы выбранного элемента", CommitFilesTitle: "Сохранить Изменения Файлов", - CheckoutCommitFile: "Переключить файл", + CheckoutCommitFileTooltip: "Переключить файл", CanOnlyDiscardFromLocalCommits: "Изменения можно отменить только из локальных коммитов.", - DiscardOldFileChange: "Отменить изменения коммита в этом файле", + DiscardOldFileChangeTooltip: "Отменить изменения коммита в этом файле", DiscardFileChangesTitle: "Отменить изменения файла", DiscardFileChangesPrompt: "Вы уверены, что хотите отменить изменения коммита в этом файле? Если файл был создан в этом коммите, он будет удалён", DiscardAddedFileChangesPrompt: "Вы уверены, что хотите отменить изменения, внесённые в этот файл коммитом? Файл был добавлен в этот коммит, поэтому он снова будет удален.", @@ -304,7 +302,7 @@ func RussianTranslationSet() TranslationSet { AutoStashTitle: "Автосохранить изменения?", AutoStashPrompt: "Чтобы перенести изменения, их нужно сохранить и вынуть. Сделать это автоматически? (enter/esc)", StashPrefix: "Автосохранение изменений для", - ViewDiscardOptions: "Просмотреть параметры «отмены изменении»", + Discard: "Просмотреть параметры «отмены изменении»", Cancel: "Отменить", DiscardAllChanges: "Отменить все изменения", DiscardUnstagedChanges: "Отменить непроиндексированные изменения", @@ -314,8 +312,8 @@ func RussianTranslationSet() TranslationSet { DiscardStagedChanges: "Отменить проиндексированные изменения", HardReset: "Жёсткий сброс", ViewResetOptions: `Просмотреть параметры сброса`, - CreateFixupCommitDescription: `Создать fixup коммит для этого коммита`, - SquashAboveCommits: `Объединить все 'fixup!' коммиты выше в выбранный коммит (автосохранение)`, + CreateFixupCommitTooltip: `Создать fixup коммит для этого коммита`, + SquashAboveCommitsTooltip: `Объединить все 'fixup!' коммиты выше в выбранный коммит (автосохранение)`, SureSquashAboveCommits: `Вы уверены, что хотите объединить все fixup! коммиты выше {{.commit}}?`, CreateFixupCommit: `Создать fixup коммит`, SureCreateFixupCommit: `Вы уверены, что хотите создать fixup! коммит для коммита {{.commit}}?`, @@ -346,12 +344,12 @@ func RussianTranslationSet() TranslationSet { ViewPatchOptions: "Просмотреть пользовательские параметры патча", PatchOptionsTitle: "Параметры патча", NoPatchError: "Патч ещё не создан. Чтобы начать сборку патча, используйте «пробел» в файле коммита или введите, чтобы добавить определённые строки.", - EnterFile: "Введите файл, чтобы добавить выбранные строки в патч (или свернуть каталог переключения)", + EnterCommitFile: "Введите файл, чтобы добавить выбранные строки в патч (или свернуть каталог переключения)", ExitCustomPatchBuilder: `Выйти из сборщика пользовательских патчей`, EnterUpstream: `Введите upstream как ' '`, InvalidUpstream: "Недействительный upstream. Должен быть в формате ' '", ReturnToRemotesList: `Вернуться к списку удалённых репозитории`, - AddNewRemote: `Добавить новую удалённую ветку`, + NewRemote: `Добавить новую удалённую ветку`, NewRemoteName: `Название новой удалённой ветки`, NewRemoteUrl: `Ссылка новой удалённой ветки`, EditRemoteName: `Введите новое название для удалённое ветки {{.remoteName}}:`, @@ -360,12 +358,12 @@ func RussianTranslationSet() TranslationSet { RemoveRemotePrompt: "Вы уверены, что хотите удалить удалённую ветку?", DeleteRemoteBranch: "Удалить Удалённую Ветку", DeleteRemoteBranchMessage: "Вы уверены, что хотите удалить удалённую ветку", - SetAsUpstream: "Установить как upstream-ветку переключённую ветку", + SetAsUpstreamTooltip: "Установить как upstream-ветку переключённую ветку", SetUpstream: "Установить upstream-ветку из выбранной ветки", UnsetUpstream: "Убрать upstream-ветку из выбранной ветки", SetUpstreamTitle: "Установить upstream-ветку", SetUpstreamMessage: "Вы уверены, что хотите установить upstream-ветвь '{{.checkedOut}}' на '{{.selected}}'", - EditRemote: "Редактировать удалённый репозитории", + EditRemoteTooltip: "Редактировать удалённый репозитории", TagCommit: "Пометить коммит тегом", TagMenuTitle: "Создать тег", TagNameTitle: "Название тега", @@ -375,8 +373,9 @@ func RussianTranslationSet() TranslationSet { DeleteTagTitle: "Удалить тег", PushTagTitle: "Удалённый репозитории для отправки тега '{{.tagName}}' в:", PushTag: "Отправить тег", - CreateTag: "Создать тег", - FetchRemote: "Получение изменения из удалённого репозитория", + NewTag: "Создать тег", + FetchRemoteTooltip: "Получение изменения из удалённого репозитория", + FetchingRemoteStatus: "Получение статуса удалённого репозитория", CheckoutCommit: "Переключить коммит", SureCheckoutThisCommit: "Вы уверены, что хотите переключить коммит?", GitFlowOptions: "Показать параметры git-flow", @@ -395,7 +394,7 @@ func RussianTranslationSet() TranslationSet { RenameBranch: "Переименовать ветку", NewBranchNamePrompt: "Введите новое название ветки", RenameBranchWarning: "Эта ветвь отслеживает удалённый репозитории. Это действие переименует только имя локальной ветки, а не имя удалённой ветки. Продолжать?", - OpenMenu: "Открыть меню", + OpenKeybindingsMenu: "Открыть меню", ResetCherryPick: "Сбросить отобранную (скопированную | cherry-picked) выборку коммитов", NextTab: "Следующая вкладка", PrevTab: "Предыдущая вкладка", @@ -424,9 +423,9 @@ func RussianTranslationSet() TranslationSet { ExitDiffMode: "Выйти из режима сравнения", DiffingMenuTitle: "Сравнение", SwapDiff: "Обратное направление сравнении", - OpenDiffingMenu: "Открыть меню сравнении", + ViewDiffingOptions: "Открыть меню сравнении", // the actual view is the extras view which I intend to give more tabs in future but for now we'll only mention the command log part - OpenExtrasMenu: "Открыть меню журнала команд", + OpenCommandLogMenu: "Открыть меню журнала команд", ShowingGitDiff: "Показывает вывод для:", CommitDiff: "Разница коммита", CopyCommitShaToClipboard: "Скопировать SHA коммита в буфер обмена", @@ -438,9 +437,8 @@ func RussianTranslationSet() TranslationSet { CommitAuthor: "Автор коммита", CopyCommitAttributeToClipboard: "Скопировать атрибут коммита", CopyBranchNameToClipboard: "Скопировать название ветки в буфер обмена", - CopyFileNameToClipboard: "Скопировать название файла в буфер обмена", - CopyCommitFileNameToClipboard: "Скопировать закомиченное имя файла в буфер обмена", - CopySelectedTexToClipboard: "Скопировать выделенный текст в буфер обмена", + CopyPathToClipboard: "Скопировать название файла в буфер обмена", + CopySelectedTextToClipboard: "Скопировать выделенный текст в буфер обмена", CommitPrefixPatternError: "Ошибка в шаблоне commitPrefix", NoFilesStagedTitle: "Нет проиндексированных файлов", NoFilesStagedPrompt: "Нет проиндексированых файлов. Закоммитить все файлы?", @@ -456,7 +454,7 @@ func RussianTranslationSet() TranslationSet { RunningCustomCommandStatus: "Запуск пользовательской команды", SubmoduleStashAndReset: "Спрятать непроиндексированные изменения подмодуля и обновить", AndResetSubmodules: "И сбросить подмодули", - EnterSubmodule: "Ввести подмодуль", + EnterSubmoduleTooltip: "Ввести подмодуль", CopySubmoduleNameToClipboard: "Скопировать название подмодуля в буфер обмена", RemoveSubmodule: "Удалить подмодуль", RemoveSubmodulePrompt: "Вы уверены, что хотите удалить подмодуль '%s' и соответствующий ему каталог? Это необратимо.", @@ -464,14 +462,14 @@ func RussianTranslationSet() TranslationSet { NewSubmoduleName: "Названия нового подмодуля:", NewSubmoduleUrl: "URL нового подмодуля:", NewSubmodulePath: "Путь нового подмодуля:", - AddSubmodule: "Добавить новый подмодуль", + NewSubmodule: "Добавить новый подмодуль", AddingSubmoduleStatus: "Добавление подмодуля", UpdateSubmoduleUrl: "Обновить URL подмодуля '%s'", UpdatingSubmoduleUrlStatus: "Обновление URL", EditSubmoduleUrl: "Обновить URL подмодуля", InitializingSubmoduleStatus: "Инициализация подмодуля", - InitSubmodule: "Инициализировать подмодуль", - SubmoduleUpdate: "Обновить подмодуль", + InitSubmoduleTooltip: "Инициализировать подмодуль", + SubmoduleUpdateTooltip: "Обновить подмодуль", UpdatingSubmoduleStatus: "Обновление подмодуля", BulkInitSubmodules: "Массовая инициализация подмодулей", BulkUpdateSubmodules: "Массовое обновление подмодулей", diff --git a/pkg/i18n/traditional_chinese.go b/pkg/i18n/traditional_chinese.go index 03ac5d68e..76be7b6ef 100644 --- a/pkg/i18n/traditional_chinese.go +++ b/pkg/i18n/traditional_chinese.go @@ -90,7 +90,7 @@ func traditionalChineseTranslationSet() TranslationSet { CredentialsPassphrase: "輸入 SSH 金鑰的密碼", CredentialsPIN: "輸入 SSH 金鑰的 PIN 碼", PassUnameWrong: "密碼、密語或使用者名稱錯誤", - CommitChanges: "提交變更", + Commit: "提交變更", AmendLastCommit: "修正上次提交", AmendLastCommitTitle: "修正上次提交", SureToAmend: "是否確定要修正上次提交?之後你可以從提交面板中再次更改此次提交的訊息。", @@ -99,7 +99,7 @@ func traditionalChineseTranslationSet() TranslationSet { StatusTitle: "狀態", Menu: "功能表", Execute: "執行", - ToggleStaged: "切換預存", + Stage: "切換預存", ToggleStagedAll: "全部預存/取消預存", ToggleTreeView: "切換檔案樹狀視圖", OpenMergeTool: "開啟外部合併工具 (git mergetool)", @@ -134,8 +134,6 @@ func traditionalChineseTranslationSet() TranslationSet { CloseCancel: "關閉/取消", Confirm: "確認", Quit: "結束", - SquashDown: "向下壓縮", - FixupCommit: "修復提交 (Fixup)", NoCommitsThisBranch: "這個分支沒有提交", UpdateRefHere: "在這裡更新 '{{.ref}}' 分支", CannotSquashOrFixupFirstCommit: "沒有可以壓縮的提交", @@ -143,20 +141,20 @@ func traditionalChineseTranslationSet() TranslationSet { SureFixupThisCommit: "你確定要對這個提交進行 '修復' 嗎? 它將被合併到下面的提交中", SureSquashThisCommit: "你確定要把這個提交壓縮到下面的提交中嗎?", Squash: "壓縮 (Squash)", - PickCommit: "挑選提交 (於變基過程中)", + PickCommitTooltip: "挑選提交 (於變基過程中)", RevertCommit: "還原提交", - RewordCommit: "改寫提交", - DeleteCommit: "刪除提交", + Reword: "改寫提交", + DropCommit: "刪除提交", MoveDownCommit: "向下移動提交", MoveUpCommit: "向上移動提交", - EditCommit: "編輯提交", - AmendToCommit: "使用已預存的更改修正提交", + EditCommitTooltip: "編輯提交", + AmendCommitTooltip: "使用已預存的更改修正提交", ResetAuthor: "重設作者", SetAuthor: "設置作者", - SetResetCommitAuthor: "設置/重設提交作者", + AmendCommitAttribute: "設置/重設提交作者", SetAuthorPromptTitle: "設置作者 (格式如 '姓名 <電子郵件>')", SureResetCommitAuthor: "此提交的作者欄位將被更新以符合已配置的使用者。它也會更新作者的時間戳。繼續嗎?", - RenameCommitEditor: "使用編輯器改寫提交", + RewordCommitEditor: "使用編輯器改寫提交", Error: "錯誤", PickHunk: "挑選程式碼片段", PickAllHunks: "挑選所有程式碼片段", @@ -212,7 +210,7 @@ func traditionalChineseTranslationSet() TranslationSet { IgnoreFile: `添加到 .gitignore`, ExcludeFile: `添加到 .git/info/exclude`, RefreshFiles: `重新整理檔案`, - MergeIntoCurrentBranch: `合併到當前檢出的分支`, + Merge: `合併到當前檢出的分支`, ConfirmQuit: `你確定要結束嗎?`, SwitchRepo: `切換到最近使用的版本庫`, AllBranchesLogGraph: `顯示所有分支日誌`, @@ -225,13 +223,13 @@ func traditionalChineseTranslationSet() TranslationSet { NoAutomaticGitFetchBody: `lazygit 無法在私有庫使用 "git 擷取";在檔案面板中使用 'f' 手動執行 "git 擷取"`, FileEnter: `選擇檔案中的單個程式碼塊/行,或展開/折疊目錄`, FileStagingRequirements: `只能選擇跟踪檔案中的單個行`, - StageSelection: `切換現有行的狀態 (已預存/未預存)`, + StageSelectionTooltip: `切換現有行的狀態 (已預存/未預存)`, DiscardSelection: `刪除變更 (git reset)`, ToggleRangeSelect: `切換拖曳選擇`, ToggleSelectHunk: `切換選擇程式碼塊`, ToggleSelectionForPatch: `向 (或從) 補丁中添加/刪除行`, EditHunk: `編輯程式碼塊`, - ToggleStagingPanel: `切換至另一個面板 (已預存/未預存更改)`, + ToggleStagingView: `切換至另一個面板 (已預存/未預存更改)`, ReturnToFilesPanel: `返回檔案面板`, FastForward: `從上游快進此分支`, FastForwarding: "的擷取和快進中", @@ -289,8 +287,8 @@ func traditionalChineseTranslationSet() TranslationSet { SelectNextHunk: "選擇下一段", ScrollDown: "向下捲動", ScrollUp: "向上捲動", - ScrollUpMainPanel: "向上捲動主面板", - ScrollDownMainPanel: "向下捲動主面板", + ScrollUpMainWindow: "向上捲動主面板", + ScrollDownMainWindow: "向下捲動主面板", AmendCommitTitle: "修正提交", AmendCommitPrompt: "你確定要使用預存的檔案修正此提交嗎?", DropCommitTitle: "刪除提交", @@ -318,8 +316,8 @@ func traditionalChineseTranslationSet() TranslationSet { RemoteBranchesDynamicTitle: "遠端分支 (共 %s項)", ViewItemFiles: "檢視所選項目的檔案", CommitFilesTitle: "提交檔案", - CheckoutCommitFile: "檢出檔案", - DiscardOldFileChange: "捨棄此提交對此檔案的更改", + CheckoutCommitFileTooltip: "檢出檔案", + DiscardOldFileChangeTooltip: "捨棄此提交對此檔案的更改", DiscardFileChangesTitle: "捨棄檔案更改", DiscardFileChangesPrompt: "你確定要捨棄此提交對此檔案的更改嗎?如果這個檔案是在此提交中創建的,它將被刪除", DisabledForGPG: "此功能不適用於使用GPG的使用者", @@ -331,7 +329,7 @@ func traditionalChineseTranslationSet() TranslationSet { AutoStashTitle: "自動儲存?", AutoStashPrompt: "你必須儲存和彈出你的更改才能帶它們到其他地方。是否自動執行此操作?(enter/esc)", StashPrefix: "正在自動儲存更改:", - ViewDiscardOptions: "檢視“捨棄更改”的選項", + Discard: "檢視“捨棄更改”的選項", Cancel: "取消", DiscardAllChanges: "捨棄所有更改", DiscardUnstagedChanges: "捨棄未預存的更改", @@ -341,8 +339,8 @@ func traditionalChineseTranslationSet() TranslationSet { DiscardStagedChanges: "捨棄已預存的更改", HardReset: "硬重設", ViewResetOptions: "檢視重設選項", - CreateFixupCommitDescription: "為此提交建立修復提交", - SquashAboveCommits: "壓縮上方所有的“fixup!”提交 (自動壓縮)", + CreateFixupCommitTooltip: "為此提交建立修復提交", + SquashAboveCommitsTooltip: "壓縮上方所有的“fixup!”提交 (自動壓縮)", SureSquashAboveCommits: "你確定要壓縮{{.commit}}上方所有的fixup!提交嗎?", CreateFixupCommit: "建立修復提交", SureCreateFixupCommit: "你確定要為提交{{.commit}}建立fixup!提交嗎?", @@ -373,12 +371,12 @@ func traditionalChineseTranslationSet() TranslationSet { ViewPatchOptions: "檢視自訂補丁選項", PatchOptionsTitle: "補丁選項", NoPatchError: "尚未建立補丁。要開始建立補丁,請在提交檔案上使用空格或輸入以添加特定行", - EnterFile: "輸入檔案以將選定的行添加至補丁(或切換目錄折疊)", + EnterCommitFile: "輸入檔案以將選定的行添加至補丁(或切換目錄折疊)", ExitCustomPatchBuilder: `退出自訂補丁建立器`, EnterUpstream: `輸入上游為 ' '`, InvalidUpstream: "無效的上游。必須符合 ' ' 的格式", ReturnToRemotesList: `返回遠端列表`, - AddNewRemote: `新增遠端`, + NewRemote: `新增遠端`, NewRemoteName: `新遠端名稱:`, NewRemoteUrl: `新遠端 URL:`, EditRemoteName: `輸入更新 {{.remoteName}} 遠端名稱:`, @@ -387,12 +385,12 @@ func traditionalChineseTranslationSet() TranslationSet { RemoveRemotePrompt: "你確定要移除遠端嗎?", DeleteRemoteBranch: "刪除遠端分支", DeleteRemoteBranchMessage: "你確定要刪除遠端分支嗎?", - SetAsUpstream: "將此分支設為當前分支之上游", + SetAsUpstreamTooltip: "將此分支設為當前分支之上游", SetUpstream: "設定所選分支之上游", UnsetUpstream: "取消設定選定分支之上游", SetUpstreamTitle: "設定上游分支", SetUpstreamMessage: "你確定要將 '{{. selected}}' 設為 '{{.checkedOut}}' 的上游分支嗎?", - EditRemote: "編輯遠端", + EditRemoteTooltip: "編輯遠端", TagCommit: "打標籤到提交", TagMenuTitle: "建立標籤", TagNameTitle: "標籤名稱", @@ -401,8 +399,9 @@ func traditionalChineseTranslationSet() TranslationSet { LightweightTag: "輕量標籤", PushTagTitle: "推送標籤 '{{.tagName}}' 至遠端:", PushTag: "推送標籤", - CreateTag: "建立標籤", - FetchRemote: "擷取遠端", + NewTag: "建立標籤", + FetchRemoteTooltip: "擷取遠端", + FetchingRemoteStatus: "正在擷取遠端", CheckoutCommit: "檢出提交", SureCheckoutThisCommit: "你確定要檢出這個提交嗎?", GitFlowOptions: "顯示 git-flow 選項", @@ -421,7 +420,7 @@ func traditionalChineseTranslationSet() TranslationSet { RenameBranch: "重新命名分支", NewBranchNamePrompt: "為分支輸入新名稱", RenameBranchWarning: "此分支正在追蹤遠端分支。此操作僅會重新命名本地分支名稱,而不是遠端分支的名稱。是否繼續?", - OpenMenu: "開啟選單", + OpenKeybindingsMenu: "開啟選單", ResetCherryPick: "重設選定的揀選 (複製) 提交", NextTab: "下一個索引標籤", PrevTab: "上一個索引標籤", @@ -450,9 +449,9 @@ func traditionalChineseTranslationSet() TranslationSet { ExitDiffMode: "退出差異模式", DiffingMenuTitle: "差異比較", SwapDiff: "反轉差異方向", - OpenDiffingMenu: "開啟差異比較選單", + ViewDiffingOptions: "開啟差異比較選單", // the actual view is the extras view which I intend to give more tabs in future but for now we'll only mention the command log part - OpenExtrasMenu: "開啟命令記錄選單", + OpenCommandLogMenu: "開啟命令記錄選單", ShowingGitDiff: "顯示輸出:", CommitDiff: "提交差異", CopyCommitShaToClipboard: "複製提交 SHA 到剪貼簿", @@ -463,9 +462,8 @@ func traditionalChineseTranslationSet() TranslationSet { CommitAuthor: "提交者", CopyCommitAttributeToClipboard: "複製提交屬性", CopyBranchNameToClipboard: "複製分支名稱到剪貼簿", - CopyFileNameToClipboard: "複製檔案名稱到剪貼簿", - CopyCommitFileNameToClipboard: "複製提交的檔案名稱到剪貼簿", - CopySelectedTexToClipboard: "複製所選文本至剪貼簿", + CopyPathToClipboard: "複製檔案名稱到剪貼簿", + CopySelectedTextToClipboard: "複製所選文本至剪貼簿", CommitPrefixPatternError: "commitPrefix 模式錯誤", NoFilesStagedTitle: "沒有檔案預存", NoFilesStagedPrompt: "你沒有預存任何檔案。提交所有檔案嗎?", @@ -481,7 +479,7 @@ func traditionalChineseTranslationSet() TranslationSet { RunningCustomCommandStatus: "正在執行自訂命令", SubmoduleStashAndReset: "收藏未提交的子模組變更並更新", AndResetSubmodules: "以及重設子模組", - EnterSubmodule: "進入子模組", + EnterSubmoduleTooltip: "進入子模組", CopySubmoduleNameToClipboard: "複製子模組名稱到剪貼簿", RemoveSubmodule: "移除子模組", RemoveSubmodulePrompt: "是否確定要刪除子模組 '%s' 以及它相應的目錄?此操作是不可逆的。", @@ -489,14 +487,14 @@ func traditionalChineseTranslationSet() TranslationSet { NewSubmoduleName: "新子模組名稱:", NewSubmoduleUrl: "新子模組 URL:", NewSubmodulePath: "新子模組路徑:", - AddSubmodule: "新增子模組", + NewSubmodule: "新增子模組", AddingSubmoduleStatus: "正在新增子模組", UpdateSubmoduleUrl: "更新子模組 '%s' 的 URL", UpdatingSubmoduleUrlStatus: "正在更新 URL", EditSubmoduleUrl: "更新子模組 URL", InitializingSubmoduleStatus: "正在初始化子模組", - InitSubmodule: "初始化子模組", - SubmoduleUpdate: "更新子模組", + InitSubmoduleTooltip: "初始化子模組", + SubmoduleUpdateTooltip: "更新子模組", UpdatingSubmoduleStatus: "正在更新子模組", BulkInitSubmodules: "批量初始化子模組", BulkUpdateSubmodules: "批量更新子模組", diff --git a/pkg/integration/tests/filter_and_search/filter_menu.go b/pkg/integration/tests/filter_and_search/filter_menu.go index 5dc15b663..70c8244f8 100644 --- a/pkg/integration/tests/filter_and_search/filter_menu.go +++ b/pkg/integration/tests/filter_and_search/filter_menu.go @@ -23,19 +23,24 @@ var FilterMenu = NewIntegrationTest(NewIntegrationTestArgs{ Tap(func() { t.ExpectPopup().Menu(). Title(Equals("Keybindings")). - Filter("Toggle staged"). + Filter("Ignore"). Lines( // menu has filtered down to the one item that matches the filter - Contains(`Toggle staged`).IsSelected(), + Contains(`Ignore`).IsSelected(), ). Confirm() + + t.ExpectPopup().Menu(). + Title(Equals("Ignore or exclude file")). + Select(Contains("Add to .gitignore")). + Confirm() }) t.Views().Files(). IsFocused(). Lines( - // file has been staged - Contains(`A `).Contains(`myfile`).IsSelected(), + // file has been ignored + Contains(`.gitignore`).IsSelected(), ). // Upon opening the menu again, the filter should have been reset Press(keys.Universal.OptionMenu). diff --git a/pkg/integration/tests/filter_and_search/filter_menu_cancel_filter_with_escape.go b/pkg/integration/tests/filter_and_search/filter_menu_cancel_filter_with_escape.go index 8c84e1827..6fb7166ca 100644 --- a/pkg/integration/tests/filter_and_search/filter_menu_cancel_filter_with_escape.go +++ b/pkg/integration/tests/filter_and_search/filter_menu_cancel_filter_with_escape.go @@ -17,10 +17,10 @@ var FilterMenuCancelFilterWithEscape = NewIntegrationTest(NewIntegrationTestArgs t.ExpectPopup().Menu(). Title(Equals("Keybindings")). - Filter("Toggle staged"). + Filter("Ignore"). Lines( // menu has filtered down to the one item that matches the filter - Contains(`Toggle staged`).IsSelected(), + Contains(`Ignore`).IsSelected(), ) // Escape should cancel the filter, not close the menu diff --git a/pkg/integration/tests/interactive_rebase/squash_fixups_above_first_commit.go b/pkg/integration/tests/interactive_rebase/squash_fixups_above_first_commit.go index 4e5fe28f6..94324db77 100644 --- a/pkg/integration/tests/interactive_rebase/squash_fixups_above_first_commit.go +++ b/pkg/integration/tests/interactive_rebase/squash_fixups_above_first_commit.go @@ -34,7 +34,7 @@ var SquashFixupsAboveFirstCommit = NewIntegrationTest(NewIntegrationTestArgs{ Press(keys.Commits.SquashAboveCommits). Tap(func() { t.ExpectPopup().Confirmation(). - Title(Equals("Squash all 'fixup!' commits above selected commit (autosquash)")). + Title(Equals("Apply fixup commits")). Content(Contains("Are you sure you want to squash all fixup! commits above")). Confirm() }).