diff --git a/docs/keybindings/Keybindings_zh-CN.md b/docs/keybindings/Keybindings_zh-CN.md index cf9b146021f..dd11589093e 100644 --- a/docs/keybindings/Keybindings_zh-CN.md +++ b/docs/keybindings/Keybindings_zh-CN.md @@ -2,7 +2,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct # Lazygit 按键绑定 -_Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ +_图例:`` 意味着ctrl+b, `意味着Alt+b, `B` 意味着shift+b_ ## 全局键绑定 @@ -11,28 +11,28 @@ _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. | +| `` @ `` | 打开命令日志菜单 | 查看命令日志的选项,例如显示/隐藏命令日志以及聚焦命令日志 | +| `` P `` | 推送 | 推送当前分支到它的上游。如果上游为配置,你可以在弹窗中配置上游分支。 | +| `` p `` | 拉取 | 从当前分支的远程分支获取改动。如果上游为配置,你可以在弹窗中配置上游分支。 | | `` ) `` | Increase rename similarity threshold | Increase the similarity threshold for a deletion and addition pair to be treated as a rename. | | `` ( `` | Decrease rename similarity threshold | Decrease the similarity threshold for a deletion and addition pair to be treated as a rename. | -| `` } `` | 扩大差异视图中显示的上下文范围 | 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. | +| `` } `` | 扩大差异视图中显示的上下文范围 | 增加diff视图中围绕更改显示的上下文数量 | +| `` { `` | 缩小差异视图中显示的上下文范围 | 减少diff视图中围绕更改显示的上下文数量 | | `` : `` | Execute shell command | Bring up a prompt where you can enter a shell command to execute. | | `` `` | 查看自定义补丁选项 | | -| `` 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`. | -| `` + `` | 下一屏模式(正常/半屏/全屏) | | +| `` m `` | 查看 合并/变基 选项 | 查看当前合并或变基的中止、继续、跳过选项 | +| `` R `` | 刷新 | 刷新git状态(即在后台上运行`git status`,`git branch`等命令以更新面板内容) 不会运行`git fetch` | +| `` + `` | 下一屏模式(正常/半屏/全屏) | | | `` _ `` | 上一屏模式 | | | `` ? `` | 打开菜单 | | -| `` `` | 查看按路径过滤选项 | View options for filtering the commit log, so that only commits matching the filter 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. | +| `` `` | 查看按路径过滤选项 | 查看用于过滤提交日志的选项,以便仅显示与过滤器匹配的提交。 | +| `` W `` | 打开 diff 菜单 | 查看与比较两个引用相关的选项,例如与选定的 ref 进行比较,输入要比较的 ref,然后反转比较方向。 | +| `` `` | 打开 diff 菜单 | 查看与比较两个引用相关的选项,例如与选定的 ref 进行比较,输入要比较的 ref,然后反转比较方向。 | | `` 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. | +| `` `` | 切换是否在差异视图中显示空白字符差异 | 切换是否在diff视图中显示空白更改 | +| `` z `` | (通过 reflog)撤销「实验功能」 | Reflog将用于确定运行哪个git命令来撤消最后一个git命令。这并不包括对工作树的更改,只考虑提交。 | +| `` `` | (通过 reflog)重做「实验功能」 | Reflog将用于确定运行哪个git命令来重做上一个git命令。这并不包括对工作树的更改,只考虑提交。 | ## 列表面板导航 @@ -43,8 +43,8 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | `` < `` | 滚动到顶部 | | | `` > `` | 滚动到底部 | | | `` v `` | 切换拖动选择 | | -| `` `` | Range select down | | -| `` `` | Range select up | | +| `` `` | 向下扩展选择范围 | | +| `` `` | 向上扩展选择范围 | | | `` / `` | 开始搜索 | | | `` H `` | 向左滚动 | | | `` L `` | 向右滚动 | | @@ -56,27 +56,17 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 将提交的 hash 复制到剪贴板 | | -| `` `` | 检出 | 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). | +| `` `` | 检出 | 检出所选择的提交作为分离HEAD。 | +| `` y `` | 复制提交属性到剪贴板 | 复制提交属性到剪贴板(例如,hash、URL、diff、消息、作者)。 | | `` o `` | 在浏览器中打开提交 | | | `` n `` | 从提交创建新分支 | | -| `` 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) | | +| `` g `` | 查看重置选项 | 查看重置选项 (soft/mixed/hard) 用于重置到选择项 | +| `` C `` | 复制提交(拣选) | 标记提交为已复制。然后,在本地提交视图中,你可以按 `V` (Cherry-Pick) 将已复制的提交粘贴到已检出的分支中。任何时候都可以按 `` 来取消选择。 | +| `` `` | 重置已拣选(复制)的提交 | | +| `` `` | 使用外部差异比较工具(git difftool) | | | `` `` | 查看提交 | | -| `` w `` | View worktree options | | -| `` / `` | Filter the current view by text | | - -## Worktrees - -| Key | Action | Info | -|-----|--------|-------------| -| `` n `` | New worktree | | -| `` `` | Switch | Switch to the selected worktree. | -| `` o `` | Open in editor | | -| `` 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 | | +| `` w `` | 查看工作区选项 | | +| `` / `` | 通过文本过滤当前视图 | | ## 分支页面 @@ -84,42 +74,42 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ |-----|--------|-------------| | `` `` | 将分支名称复制到剪贴板 | | | `` i `` | 显示 git-flow 选项 | | -| `` `` | 检出 | Checkout selected item. | +| `` `` | 检出 | 检出选中的项目 | | `` n `` | 新分支 | | | `` o `` | 创建抓取请求 | | | `` O `` | 创建抓取请求选项 | | | `` `` | 将抓取请求 URL 复制到剪贴板 | | -| `` 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 `` | 合并到当前检出的分支 | View options for merging the selected item into the current branch (regular merge, squash merge) | -| `` f `` | 从上游快进此分支 | Fast-forward selected branch from its upstream. | +| `` c `` | 按名称检出 | 按名称检出。在输入框中,您可以输入'-' 来切换到最后一个分支。 | +| `` F `` | 强制检出 | 强制检出所选分支。这将在检出所选分支之前放弃工作目录中的所有本地更改。 | +| `` d `` | 删除 | 查看本地/远程分支的删除选项 | +| `` r `` | 将已检出的分支变基到该分支 | 将检出的分支变基到所选的分支上。 | +| `` M `` | 合并到当前检出的分支 | Merge selected branch into currently checked out branch. | +| `` f `` | 从上游快进此分支 | 将当前分支直接移动到远程追踪分支的最新提交 | | `` T `` | 创建标签 | | -| `` s `` | Sort order | | +| `` 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. | -| `` `` | Open external diff tool (git difftool) | | +| `` u `` | 查看上游选项 | 查看与分支上游相关的选项,例如设置/取消设置上游和重置为上游。 | +| `` `` | 使用外部差异比较工具(git difftool) | | | `` `` | 查看提交 | | -| `` w `` | View worktree options | | -| `` / `` | Filter the current view by text | | +| `` w `` | 查看工作区选项 | | +| `` / `` | 通过文本过滤当前视图 | | ## 子提交 | Key | Action | Info | |-----|--------|-------------| | `` `` | 将提交的 hash 复制到剪贴板 | | -| `` `` | 检出 | 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). | +| `` `` | 检出 | 检出所选择的提交作为分离HEAD。 | +| `` y `` | 复制提交属性到剪贴板 | 复制提交属性到剪贴板(例如,hash、URL、diff、消息、作者)。 | | `` o `` | 在浏览器中打开提交 | | | `` n `` | 从提交创建新分支 | | -| `` 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) | | +| `` g `` | 查看重置选项 | 查看重置选项 (soft/mixed/hard) 用于重置到选择项 | +| `` C `` | 复制提交(拣选) | 标记提交为已复制。然后,在本地提交视图中,你可以按 `V` (Cherry-Pick) 将已复制的提交粘贴到已检出的分支中。任何时候都可以按 `` 来取消选择。 | +| `` `` | 重置已拣选(复制)的提交 | | +| `` `` | 使用外部差异比较工具(git difftool) | | | `` `` | 查看提交的文件 | | -| `` w `` | View worktree options | | +| `` w `` | 查看工作区选项 | | | `` / `` | 开始搜索 | | ## 子模块 @@ -127,104 +117,114 @@ _Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ | Key | Action | Info | |-----|--------|-------------| | `` `` | 将子模块名称复制到剪贴板 | | -| `` `` | Enter | 输入子模块 | -| `` d `` | Remove | Remove the selected submodule and its corresponding directory. | -| `` u `` | Update | 更新子模块 | +| `` `` | 进入 | 输入子模块 | +| `` d `` | 删除 | 删除选定的子模块及其相应的目录 | +| `` u `` | 更新 | 更新子模块 | | `` n `` | 添加新的子模块 | | | `` e `` | 更新子模块 URL | | -| `` i `` | Initialize | 初始化子模块 | +| `` i `` | 初始化 | 初始化子模块 | | `` b `` | 查看批量子模块选项 | | -| `` / `` | Filter the current view by text | | +| `` / `` | 通过文本过滤当前视图 | | + +## 工作区 + +| Key | Action | Info | +|-----|--------|-------------| +| `` n `` | 新建工作树 | | +| `` `` | 切换 | 切换到选中的工作树 | +| `` o `` | 在编辑器中编写 | | +| `` d `` | 删除 | 删除选定的工作树。这将删除工作树的目录以及 .git 目录中有关工作树的元数据。 | +| `` / `` | 通过文本过滤当前视图 | | ## 提交 | Key | Action | Info | |-----|--------|-------------| | `` `` | 将提交的 hash 复制到剪贴板 | | -| `` `` | 重置已拣选(复制)的提交 | | +| `` `` | 重置已拣选(复制)的提交 | | | `` b `` | 查看二分查找选项 | | -| `` 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 squash, but the selected commit's message will be discarded. | -| `` r `` | 改写提交 | Reword the selected commit's message. | +| `` s `` | 压缩(Squash) | 将已选提交压缩到该提交之下。这些选定的提交的消息会附加到该提交的消息之下。 | +| `` f `` | 修正(fixup) | 将选定的提交合并到其下面的提交中。与压缩类似,但所选提交的消息将被丢弃。 | +| `` r `` | 改写提交 | 重写所选提交的消息。 | | `` R `` | 使用编辑器重命名提交 | | -| `` 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 | 选择提交(变基过程中) | +| `` d `` | 删除提交 | 删除选中的提交。这将通过变基从分支中删除该提交,如果该提交修改的内容依赖于后续的提交,则需要解决合并冲突。 | +| `` e `` | 编辑(开始交互式变基) | 编辑提交 | +| `` i `` | 开始交互式变基 | 为分支上的提交启动交互式变基。这将包括从 HEAD 提交到第一个合并提交或主分支提交的所有提交。 +如果您想从所选提交启动交互式变基,请按 `e`。 | +| `` p `` | 拣选(Pick) | 选择提交(变基过程中) | | `` F `` | 为此提交创建修正 | 创建修正提交 | -| `` S `` | Apply fixup commits | 压缩在所选提交之上的所有“fixup!”提交(自动压缩) | +| `` S `` | 应用该修复提交 | 压缩在所选提交之上的所有“fixup!”提交(自动压缩) | | `` `` | 下移提交 | | | `` `` | 上移提交 | | -| `` V `` | 粘贴提交(拣选) | | -| `` 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). | +| `` V `` | 粘贴提交(拣选) | | +| `` B `` | 标记一个主提交用于变基 | 选择下一次变基的主提交。当您变基到一个分支时,只有高于主提交的提交才会被引入。这使用“git rebase --onto”命令。 | +| `` A `` | 修补(Amend) | 用已暂存的变更来修补提交 | +| `` a `` | 修补提交属性 | 设置或重置提交的作者,或添加其他作者。 | +| `` t `` | 撤销(Revert) | 为所选提交创建还原提交,这会反向应用所选提交的更改。 | +| `` T `` | 标签提交 | 创建一个新标签指向所选提交。你可以在弹窗中输入标签名称和描述(可选)。 | +| `` `` | 打开日志菜单 | 查看提交日志的选项,例如更改排序顺序、隐藏 git graph、显示整个 git graph。 | +| `` `` | 检出 | 检出所选择的提交作为分离HEAD。 | +| `` y `` | 复制提交属性到剪贴板 | 复制提交属性到剪贴板(例如,hash、URL、diff、消息、作者)。 | | `` o `` | 在浏览器中打开提交 | | | `` n `` | 从提交创建新分支 | | -| `` 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) | | +| `` g `` | 查看重置选项 | 查看重置选项 (soft/mixed/hard) 用于重置到选择项 | +| `` C `` | 复制提交(拣选) | 标记提交为已复制。然后,在本地提交视图中,你可以按 `V` (Cherry-Pick) 将已复制的提交粘贴到已检出的分支中。任何时候都可以按 `` 来取消选择。 | +| `` `` | 使用外部差异比较工具(git difftool) | | | `` `` | 查看提交的文件 | | -| `` w `` | View worktree options | | +| `` w `` | 查看工作区选项 | | | `` / `` | 开始搜索 | | -## 提交文件 +## 提交信息 | Key | Action | Info | |-----|--------|-------------| -| `` `` | 将文件名复制到剪贴板 | | -| `` c `` | 检出 | 检出文件 | -| `` d `` | Remove | 放弃对此文件的提交更改 | -| `` o `` | 打开文件 | Open file in default application. | -| `` e `` | Edit | Open file in external editor. | -| `` `` | Open external diff tool (git difftool) | | -| `` `` | 补丁中包含的切换文件 | 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. | -| `` / `` | 开始搜索 | | +| `` `` | 确认 | | +| `` `` | 关闭 | | -## 提交讯息 +## 提交文件 | Key | Action | Info | |-----|--------|-------------| -| `` `` | 确认 | | -| `` `` | 关闭 | | +| `` `` | 将文件名复制到剪贴板 | | +| `` c `` | 检出 | 检出文件 | +| `` d `` | 删除 | 放弃对此文件的提交变更 | +| `` o `` | 打开文件 | 使用默认程序打开该文件 | +| `` e `` | 编辑 | 使用外部编辑器打开文件 | +| `` `` | 使用外部差异比较工具(git difftool) | | +| `` `` | 补丁中包含的切换文件 | 切换文件是否包含在自定义补丁中。请参阅 https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches。 | +| `` a `` | 操作所有文件 | 添加或删除所有提交中的文件到自定义的补丁中。请参阅 https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches。 | +| `` `` | 输入文件以将所选行添加到补丁中(或切换目录折叠) | 如果已选择一个文件,则Enter进入该文件,以便您可以向自定义补丁添加/删除单独的行。如果选择了目录,则切换目录。 | +| `` ` `` | 切换文件树视图 | 在平铺部署与树布局之间切换文件视图。平铺布局在一个列表中展示所有文件路径,树布局则根据目录分组展示。 | +| `` / `` | 开始搜索 | | ## 文件 | Key | Action | Info | |-----|--------|-------------| | `` `` | 将文件名复制到剪贴板 | | -| `` `` | 切换暂存状态 | Toggle staged for selected file. | -| `` `` | Filter files by status | | -| `` y `` | Copy to clipboard | | -| `` c `` | 提交更改 | Commit staged changes. | -| `` w `` | 提交更改而无需预先提交钩子 | | +| `` `` | 切换暂存状态 | 为选定的文件切换暂存状态 | +| `` `` | 通过状态过滤文件 | | +| `` y `` | 复制到剪贴板 | | +| `` c `` | 提交变更 | 提交暂存文件 | +| `` 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 `` | Edit | Open file in external editor. | -| `` o `` | 打开文件 | Open file in default application. | +| `` C `` | 提交变更(使用编辑器编辑提交信息) | | +| `` `` | 找到用于修复的基准提交 | 找到您当前变更所基于的提交,以便于修正/改进该提交。这样做可以省去您逐一查看分支提交来确定应该修正/改进哪个提交的麻烦。请参阅文档: | +| `` e `` | 编辑 | 使用外部编辑器打开文件 | +| `` o `` | 打开文件 | 使用默认程序打开该文件 | | `` i `` | 忽略文件 | | | `` r `` | 刷新文件 | | -| `` 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. | +| `` s `` | 贮藏 | 贮藏所有变更.若要使用其他贮藏变体,请使用查看贮藏选项快捷键 | +| `` S `` | 查看贮藏选项 | 查看贮藏选项(例如:贮藏所有、贮藏已暂存变更、贮藏未暂存变更) | +| `` a `` | 切换所有文件的暂存状态 | 切换工作区中所有文件的已暂存/未暂存状态 | +| `` `` | 暂存单个 块/行 用于文件, 或 折叠/展开 目录 | 如果选中的是一个文件,则会进入到暂存视图,以便可以暂存单个代码块/行。如果选中的是一个目录,则会折叠/展开这个目录 | +| `` d `` | 查看'放弃变更'选项 | 查看选中文件的放弃变更选项 | | `` g `` | 查看上游重置选项 | | -| `` 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) | Run `git mergetool`. | -| `` f `` | 抓取 | Fetch changes from remote. | +| `` D `` | 重置 | 查看工作树的重置选项(例如:清除工作树)。 | +| `` ` `` | 切换文件树视图 | 在平铺部署与树布局之间切换文件视图。平铺布局在一个列表中展示所有文件路径,树布局则根据目录分组展示。 | +| `` `` | 使用外部差异比较工具(git difftool) | | +| `` M `` | 打开外部合并工具(git mergetool) | 执行 `git mergetool`. | +| `` f `` | 抓取 | 从远程获取变更 | | `` / `` | 开始搜索 | | ## 构建补丁中 @@ -234,10 +234,10 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | 选择上一个区块 | | | `` `` | 选择下一个区块 | | | `` v `` | 切换拖动选择 | | -| `` a `` | 切换选择区块 | Toggle hunk selection mode. | +| `` a `` | 切换选择代码块 | 切换代码块选择模式 | | `` `` | 将选中文本复制到剪贴板 | | -| `` o `` | 打开文件 | Open file in default application. | -| `` e `` | 编辑文件 | Open file in external editor. | +| `` o `` | 打开文件 | 使用默认程序打开该文件 | +| `` e `` | 编辑文件 | 使用外部编辑器打开文件 | | `` `` | 添加/移除 行到补丁 | | | `` `` | 退出逐行模式 | | | `` / `` | 开始搜索 | | @@ -246,15 +246,15 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` `` | 检出 | 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. | -| `` `` | Open external diff tool (git difftool) | | +| `` `` | 检出 | 检出选择的标签作为分离的HEAD | +| `` n `` | 创建标签 | 基于当前提交创建一个新标签。你将在弹窗中输入标签名称和描述(可选)。 | +| `` d `` | 删除 | 查看本地/远程标签的删除选项 | +| `` P `` | 推送标签 | 推送选择的标签到远端。你将在弹窗中选择一个远端。 | +| `` g `` | 重置 | 查看重置选项 (soft/mixed/hard) 用于重置到选择项 | +| `` `` | 使用外部差异比较工具(git difftool) | | | `` `` | 查看提交 | | -| `` w `` | View worktree options | | -| `` / `` | Filter the current view by text | | +| `` w `` | 查看工作区选项 | | +| `` / `` | 通过文本过滤当前视图 | | ## 正在合并 @@ -266,10 +266,10 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | 选择底部块 | | | `` `` | 选择上一个冲突 | | | `` `` | 选择下一个冲突 | | -| `` z `` | 撤销 | Undo last merge conflict resolution. | -| `` e `` | 编辑文件 | Open file in external editor. | -| `` o `` | 打开文件 | Open file in default application. | -| `` M `` | 打开外部合并工具 (git mergetool) | Run `git mergetool`. | +| `` z `` | 撤销 | 撤消上次合并冲突解决 | +| `` e `` | 编辑文件 | 使用外部编辑器打开文件 | +| `` o `` | 打开文件 | 使用默认程序打开该文件 | +| `` M `` | 打开外部合并工具(git mergetool) | 执行 `git mergetool`. | | `` `` | 返回文件面板 | | ## 正在暂存 @@ -279,19 +279,19 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | 选择上一个区块 | | | `` `` | 选择下一个区块 | | | `` v `` | 切换拖动选择 | | -| `` a `` | 切换选择区块 | Toggle hunk selection mode. | +| `` a `` | 切换选择代码块 | 切换代码块选择模式 | | `` `` | 将选中文本复制到剪贴板 | | | `` `` | 切换暂存状态 | 切换行暂存状态 | -| `` 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) | 当选择未暂存的变更时,使用git reset丢弃该变更。当选择已暂存的变更时,取消暂存该变更 | +| `` o `` | 打开文件 | 使用默认程序打开该文件 | +| `` e `` | 编辑文件 | 使用外部编辑器打开文件 | | `` `` | 返回文件面板 | | -| `` `` | 切换到其他面板 | Switch to other view (staged/unstaged changes). | -| `` E `` | Edit hunk | Edit selected hunk in external editor. | -| `` c `` | 提交更改 | Commit staged changes. | -| `` w `` | 提交更改而无需预先提交钩子 | | -| `` 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 `` | 编辑代码块 | 在外部编辑器中编辑选中的代码块 | +| `` c `` | 提交变更 | 提交暂存文件 | +| `` w `` | 提交变更而无需预先提交钩子 | | +| `` C `` | 提交变更(使用编辑器编辑提交信息) | | +| `` `` | 找到用于修复的基准提交 | 找到您当前变更所基于的提交,以便于修正/改进该提交。这样做可以省去您逐一查看分支提交来确定应该修正/改进哪个提交的麻烦。请参阅文档: | | `` / `` | 开始搜索 | | ## 正常 @@ -305,8 +305,8 @@ If you would instead like to start an interactive rebase from the selected commi | Key | Action | Info | |-----|--------|-------------| -| `` o `` | 打开配置文件 | Open file in default application. | -| `` e `` | 编辑配置文件 | Open file in external editor. | +| `` o `` | 打开配置文件 | 使用默认程序打开该文件 | +| `` e `` | 编辑配置文件 | 使用外部编辑器打开文件 | | `` u `` | 检查更新 | | | `` `` | 切换到最近的仓库 | | | `` a `` | 显示所有分支的日志 | | @@ -324,46 +324,46 @@ If you would instead like to start an interactive rebase from the selected commi |-----|--------|-------------| | `` `` | 执行 | | | `` `` | 关闭 | | -| `` / `` | Filter the current view by text | | +| `` / `` | 通过文本过滤当前视图 | | ## 贮藏 | Key | Action | Info | |-----|--------|-------------| -| `` `` | 应用 | 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 | | +| `` `` | 应用 | 将贮藏项应用到您的工作目录。 | +| `` g `` | 应用并删除 | 将存储项应用到工作目录并删除存储项。 | +| `` d `` | 删除 | 从贮藏列表中删除该贮藏项 | +| `` n `` | 新分支 | 从选定的贮藏项创建一个新分支。这是通过 git 检查创建贮藏项的提交,从该提交创建一个新分支,然后将贮藏项作为附加提交应用到新分支来实现的。 | +| `` r `` | 重命名贮藏 | | | `` `` | 查看提交的文件 | | -| `` w `` | View worktree options | | -| `` / `` | Filter the current view by text | | +| `` w `` | 查看工作区选项 | | +| `` / `` | 通过文本过滤当前视图 | | ## 远程分支 | Key | Action | Info | |-----|--------|-------------| | `` `` | 将分支名称复制到剪贴板 | | -| `` `` | 检出 | Checkout a new local branch based on the selected remote branch, or the remote branch as a detached head. | +| `` `` | 检出 | 基于当前选中的远程分支检出一个新的本地分支,或者将远程分支作分离的HEAD。 | | `` n `` | 新分支 | | -| `` M `` | 合并到当前检出的分支 | View options for merging the selected item into the current branch (regular merge, squash merge) | -| `` 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 `` | 查看重置选项 | View reset options (soft/mixed/hard) for resetting onto selected item. | -| `` `` | Open external diff tool (git difftool) | | +| `` M `` | 合并到当前检出的分支 | Merge selected branch into currently checked out branch. | +| `` r `` | 将已检出的分支变基到该分支 | 将检出的分支变基到所选的分支上。 | +| `` d `` | 删除 | 从远程删除远程分支。 | +| `` u `` | 设置为上游 | 设置为检出分支的上游 | +| `` s `` | 排序 | | +| `` g `` | 查看重置选项 | 查看重置选项 (soft/mixed/hard) 用于重置到选择项 | +| `` `` | 使用外部差异比较工具(git difftool) | | | `` `` | 查看提交 | | -| `` w `` | View worktree options | | -| `` / `` | Filter the current view by text | | +| `` w `` | 查看工作区选项 | | +| `` / `` | 通过文本过滤当前视图 | | ## 远程页面 | Key | Action | Info | |-----|--------|-------------| -| `` `` | View branches | | +| `` `` | 查看分支 | | | `` n `` | 添加新的远程仓库 | | -| `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | -| `` e `` | Edit | 编辑远程仓库 | +| `` d `` | 删除 | 删除选中的远程。从远程跟踪远程分支的任何本地分支都不会受到影响。 | +| `` e `` | 编辑 | 编辑远程仓库 | | `` f `` | 抓取 | 抓取远程仓库 | -| `` / `` | Filter the current view by text | | +| `` / `` | 通过文本过滤当前视图 | | diff --git a/docs/keybindings/Keybindings_zh-TW.md b/docs/keybindings/Keybindings_zh-TW.md index 024bd25553e..9ffc983d7b0 100644 --- a/docs/keybindings/Keybindings_zh-TW.md +++ b/docs/keybindings/Keybindings_zh-TW.md @@ -12,8 +12,8 @@ _說明:`` 表示 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. | +| `` P `` | 推送 | 推送到遠端。如果沒有設定遠端,會開啟設定視窗。 | +| `` p `` | 拉取 | 從遠端同步當前分支。如果沒有設定遠端,會開啟設定視窗。 | | `` ) `` | Increase rename similarity threshold | Increase the similarity threshold for a deletion and addition pair to be treated as a rename. | | `` ( `` | Decrease rename similarity threshold | Decrease the similarity threshold for a deletion and addition pair to be treated as a rename. | | `` } `` | 增加差異檢視中顯示變更周圍上下文的大小 | Increase the amount of the context shown around changes in the diff view. | @@ -60,8 +60,8 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B | `` v `` | 切換拖曳選擇 | | | `` a `` | 切換選擇程式碼塊 | Toggle hunk selection mode. | | `` `` | 複製所選文本至剪貼簿 | | -| `` o `` | 開啟檔案 | Open file in default application. | -| `` e `` | 編輯檔案 | Open file in external editor. | +| `` o `` | 開啟檔案 | 使用預設軟體開啟 | +| `` e `` | 編輯檔案 | 使用外部編輯器開啟 | | `` `` | 向 (或從) 補丁中添加/刪除行 | | | `` `` | 退出自訂補丁建立器 | | | `` / `` | 搜尋 | | @@ -84,9 +84,9 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+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`. | +| `` e `` | 編輯檔案 | 使用外部編輯器開啟 | +| `` o `` | 開啟檔案 | 使用預設軟體開啟 | +| `` M `` | 開啟外部合併工具 | 執行 `git mergetool`。 | | `` `` | 返回檔案面板 | | ## 主面板(預存) @@ -100,12 +100,12 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B | `` `` | 複製所選文本至剪貼簿 | | | `` `` | 切換預存 | 切換現有行的狀態 (已預存/未預存) | | `` 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. | +| `` o `` | 開啟檔案 | 使用預設軟體開啟 | +| `` e `` | 編輯檔案 | 使用外部編輯器開啟 | | `` `` | 返回檔案面板 | | | `` `` | 切換至另一個面板 (已預存/未預存更改) | Switch to other view (staged/unstaged changes). | | `` E `` | 編輯程式碼塊 | Edit selected hunk in external editor. | -| `` c `` | 提交變更 | Commit staged changes. | +| `` c `` | 提交變更 | 提交暫存區變更 | | `` w `` | 沒有預提交 hook 就提交更改 | | | `` 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: | @@ -131,7 +131,7 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B | `` 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) | | +| `` `` | 開啟外部差異工具 (git difftool) | | | `` `` | 檢視所選項目的檔案 | | | `` w `` | 檢視工作目錄選項 | | | `` / `` | 搜尋 | | @@ -156,7 +156,7 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B |-----|--------|-------------| | `` n `` | New worktree | | | `` `` | Switch | Switch to the selected worktree. | -| `` o `` | Open in editor | | +| `` o `` | 在編輯器中開啟 | | | `` 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. | | `` / `` | 搜尋 | | @@ -169,22 +169,22 @@ _說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B | `` b `` | 查看二分選項 | | | `` 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 squash, but the selected commit's message will be discarded. | -| `` r `` | 改寫提交 | Reword the selected commit's message. | +| `` r `` | 改寫提交 | 改寫選中的提交訊息 | | `` R `` | 使用編輯器改寫提交 | | | `` 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. +| `` e `` | 編輯(開始互動變基) | 編輯提交 | +| `` i `` | 開始互動變基 | 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 | 挑選提交 (於變基過程中) | +| `` p `` | 挑選 | 挑選提交 (於變基過程中) | | `` F `` | 建立修復提交 | 為此提交建立修復提交 | | `` S `` | 壓縮上方所有「fixup」提交(自動壓縮) | 是否壓縮上方 {{.commit}} 所有「fixup」提交? | | `` `` | 向下移動提交 | | | `` `` | 向上移動提交 | | | `` V `` | 貼上提交 (揀選) | | | `` B `` | 為了變基已標注提交為基準提交 | 請為了下一次變基選擇一項基準提交;此將執行 `git rebase --onto`。 | -| `` A `` | Amend | 使用已預存的更改修正提交 | +| `` A `` | 修改 | 使用已預存的更改修正提交 | | `` 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 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. | @@ -193,7 +193,7 @@ If you would instead like to start an interactive rebase from the selected commi | `` n `` | 從提交建立新分支 | | | `` 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) | | +| `` `` | 開啟外部差異工具 (git difftool) | | | `` `` | 檢視所選項目的檔案 | | | `` w `` | 檢視工作目錄選項 | | | `` / `` | 搜尋 | | @@ -212,9 +212,9 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | 複製檔案名稱到剪貼簿 | | | `` c `` | 檢出 | 檢出檔案 | | `` 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) | | +| `` o `` | 開啟檔案 | 使用預設軟體開啟 | +| `` e `` | 編輯 | 使用外部編輯器開啟 | +| `` `` | 開啟外部差異工具 (git difftool) | | | `` `` | 切換檔案是否包含在補丁中 | 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. | @@ -246,7 +246,7 @@ If you would instead like to start an interactive rebase from the selected commi | `` 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) | | +| `` `` | 開啟外部差異工具 (git difftool) | | | `` `` | 檢視提交 | | | `` w `` | 檢視工作目錄選項 | | | `` / `` | 搜尋 | | @@ -257,23 +257,23 @@ 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 `` | 根據名稱檢出 | 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. | +| `` d `` | 刪除 | View delete options for local/remote branch. | | `` r `` | 將已檢出的分支變基至此分支 | Rebase the checked-out branch onto the selected branch. | | `` M `` | 合併到當前檢出的分支 | View options for merging the selected item into the current branch (regular merge, squash merge) | -| `` f `` | 從上游快進此分支 | Fast-forward selected branch from its upstream. | +| `` f `` | 從上游快進此分支 | 從遠端快進所選的分支 | | `` T `` | 建立標籤 | | -| `` s `` | Sort order | | +| `` s `` | 排序規則 | | | `` g `` | 檢視重設選項 | | | `` R `` | 重新命名分支 | | -| `` u `` | 檢視上游設定 | 檢視有關上游分支的設定(例如重設至上游) | -| `` `` | Open external diff tool (git difftool) | | +| `` u `` | 檢視遠端設定 | 檢視有關遠端分支的設定(例如重設至遠端) | +| `` `` | 開啟外部差異工具 (git difftool) | | | `` `` | 檢視提交 | | | `` w `` | 檢視工作目錄選項 | | | `` / `` | 搜尋 | | @@ -284,10 +284,10 @@ If you would instead like to start an interactive rebase from the selected commi |-----|--------|-------------| | `` `` | 檢出 | 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. | +| `` d `` | 刪除 | 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. | -| `` `` | Open external diff tool (git difftool) | | +| `` g `` | 重設 | View reset options (soft/mixed/hard) for resetting onto selected item. | +| `` `` | 開啟外部差異工具 (git difftool) | | | `` `` | 檢視提交 | | | `` w `` | 檢視工作目錄選項 | | | `` / `` | 搜尋 | | @@ -299,35 +299,35 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | 複製檔案名稱到剪貼簿 | | | `` `` | 切換預存 | Toggle staged for selected file. | | `` `` | 篩選檔案 (預存/未預存) | | -| `` y `` | Copy to clipboard | | -| `` c `` | 提交變更 | Commit staged changes. | +| `` y `` | 複製到剪貼簿 | | +| `` c `` | 提交變更 | 提交暫存區變更 | | `` 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 `` | Edit | Open file in external editor. | -| `` o `` | 開啟檔案 | Open file in default application. | +| `` e `` | 編輯 | 使用外部編輯器開啟 | +| `` o `` | 開啟檔案 | 使用預設軟體開啟 | | `` i `` | 忽略或排除檔案 | | | `` r `` | 重新整理檔案 | | -| `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | +| `` s `` | 收藏 | 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 `` | Discard | View options for discarding changes to the selected file. | -| `` g `` | 檢視上游重設選項 | | -| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | +| `` d `` | 捨棄 | 檢視選中變動進行捨棄復原 | +| `` g `` | 檢視遠端重設選項 | | +| `` D `` | 重設 | 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) | Run `git mergetool`. | -| `` f `` | 擷取 | Fetch changes from remote. | +| `` `` | 開啟外部差異工具 (git difftool) | | +| `` M `` | 開啟外部合併工具 | 執行 `git mergetool`。 | +| `` f `` | 擷取 | 同步遠端異動 | | `` / `` | 搜尋 | | ## 狀態 | Key | Action | Info | |-----|--------|-------------| -| `` o `` | 開啟設定檔案 | Open file in default application. | -| `` e `` | 編輯設定檔案 | Open file in external editor. | +| `` o `` | 開啟設定檔案 | 使用預設軟體開啟 | +| `` e `` | 編輯設定檔案 | 使用外部編輯器開啟 | | `` u `` | 檢查更新 | | | `` `` | 切換到最近使用的版本庫 | | | `` a `` | 顯示所有分支日誌 | | @@ -346,7 +346,7 @@ If you would instead like to start an interactive rebase from the selected commi | `` `` | View branches | | | `` n `` | 新增遠端 | | | `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | -| `` e `` | Edit | 編輯遠端 | +| `` e `` | 編輯 | 編輯遠端 | | `` f `` | 擷取 | 擷取遠端 | | `` / `` | 搜尋 | | @@ -359,11 +359,11 @@ If you would instead like to start an interactive rebase from the selected commi | `` n `` | 新分支 | | | `` M `` | 合併到當前檢出的分支 | View options for merging the selected item into the current branch (regular merge, squash merge) | | `` 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 | | +| `` d `` | 刪除 | Delete the remote branch from the remote. | +| `` u `` | 設置為遠端 | 將此分支設為當前分支之遠端 | +| `` s `` | 排序規則 | | | `` g `` | 檢視重設選項 | View reset options (soft/mixed/hard) for resetting onto selected item. | -| `` `` | Open external diff tool (git difftool) | | +| `` `` | 開啟外部差異工具 (git difftool) | | | `` `` | 檢視提交 | | | `` w `` | 檢視工作目錄選項 | | | `` / `` | 搜尋 | | diff --git a/pkg/i18n/translations/zh-CN.json b/pkg/i18n/translations/zh-CN.json index 9a3463a7775..86c66410d2a 100644 --- a/pkg/i18n/translations/zh-CN.json +++ b/pkg/i18n/translations/zh-CN.json @@ -5,79 +5,176 @@ "BranchesTitle": "分支", "CommitsTitle": "提交", "StashTitle": "贮藏", - "UnstagedChanges": "未暂存更改", - "StagedChanges": "已暂存更改", + "SnakeTitle": "贪吃蛇", + "EasterEgg": "彩蛋", + "UnstagedChanges": "未暂存变更", + "StagedChanges": "已暂存变更", "MainTitle": "主要", "StagingTitle": "正在暂存", "MergingTitle": "正在合并", + "SquashMergeUncommittedTitle": "压缩合并并保持未提交状态", + "SquashMergeCommittedTitle": "压缩合并,然后提交", + "SquashMergeUncommitted": "将分支 ‘{{.selectedBranch}}’ 压缩合并到工作树中", + "SquashMergeCommitted": "将分支 '{{.selectedBranch}}' 压缩合并为单个提交,到 '{{.checkedOutBranch}}' 分支中。", + "RegularMergeTooltip": "将分支 '{{.selectedBranch}}' 合并到 '{{.checkedOutBranch}}'", "NormalTitle": "正常", + "LogTitle": "日志", "CommitSummary": "提交信息", "CredentialsUsername": "用户名", "CredentialsPassword": "密码", "CredentialsPassphrase": "输入 SSH 密钥的密码", + "CredentialsPIN": "为 SSH key 输入PIN", "PassUnameWrong": "密码 和/或 用户名错误", - "Commit": "提交更改", + "Commit": "提交变更", + "CommitTooltip": "提交暂存文件", "AmendLastCommit": "修补最后一次提交", "AmendLastCommitTitle": "修补最后一次提交", - "SureToAmend": "您确定要修补上一次提交吗?之后您可以从提交面板更改提交消息。", - "NoCommitToAmend": "没有需要提交的修补。", - "CommitChangesWithEditor": "提交更改(使用编辑器编辑提交信息)", + "SureToAmend": "您确定要修补上一次提交吗?之后您可以从提交面板更改提交消息", + "NoCommitToAmend": "没有需要提交的修补", + "CommitChangesWithEditor": "提交变更(使用编辑器编辑提交信息)", + "FindBaseCommitForFixup": "找到用于修复的基准提交", + "FindBaseCommitForFixupTooltip": "找到您当前变更所基于的提交,以便于修正/改进该提交。这样做可以省去您逐一查看分支提交来确定应该修正/改进哪个提交的麻烦。请参阅文档: ", + "NoBaseCommitsFound": "没有找到接触提交", + "MultipleBaseCommitsFoundStaged": "找到了多个基础提交(尝试一次暂存更少的变更)", + "MultipleBaseCommitsFoundUnstaged": "找到了多个基础提交(尝试暂存部分变更)", + "BaseCommitIsAlreadyOnMainBranch": "此变更内容所在的提交已经存在于主分支上了", + "BaseCommitIsNotInCurrentView": "基础提交不在当前视图中", + "HunksWithOnlyAddedLinesWarning": "差异中仅包含添加行,小心检查这些是否属于已找到的主提交。\n\n是否继续?", "StatusTitle": "状态", "GlobalTitle": "全局键绑定", "Menu": "菜单", "Execute": "执行", "Stage": "切换暂存状态", + "StageTooltip": "为选定的文件切换暂存状态", "ToggleStagedAll": "切换所有文件的暂存状态", + "ToggleStagedAllTooltip": "切换工作区中所有文件的已暂存/未暂存状态", "ToggleTreeView": "切换文件树视图", - "OpenMergeTool": "打开外部合并工具 (git mergetool)", + "ToggleTreeViewTooltip": "在平铺部署与树布局之间切换文件视图。平铺布局在一个列表中展示所有文件路径,树布局则根据目录分组展示。", + "OpenDiffTool": "使用外部差异比较工具(git difftool)", + "OpenMergeTool": "打开外部合并工具(git mergetool)", + "OpenMergeToolTooltip": "执行 `git mergetool`.", "Refresh": "刷新", + "RefreshTooltip": "刷新git状态(即在后台上运行`git status`,`git branch`等命令以更新面板内容) 不会运行`git fetch`", "Push": "推送", "Pull": "拉取", + "PushTooltip": "推送当前分支到它的上游。如果上游为配置,你可以在弹窗中配置上游分支。", + "PullTooltip": "从当前分支的远程分支获取改动。如果上游为配置,你可以在弹窗中配置上游分支。", "Scroll": "滚动", + "FileFilter": "通过状态过滤文件", + "CopyToClipboardMenu": "复制到剪贴板", + "CopyFileName": "文件名", + "CopyFilePath": "路径", + "CopyFileDiffTooltip": "如果存在已暂存更改,该命令将仅作用于它们。否则将作用于所有未暂存更改。", + "CopySelectedDiff": "比较选中的文件", + "CopyAllFilesDiff": "对比全部文件", + "NoContentToCopyError": "无可复制内容", + "FileNameCopiedToast": "文件名已复制至剪贴板", + "FilePathCopiedToast": "文件路径已复制至剪贴板", + "FileDiffCopiedToast": "文件差异已复制至剪贴板", + "AllFilesDiffCopiedToast": "全部文件差异已复制至剪贴板", + "FilterStagedFiles": "仅显示已暂存文件", + "FilterUnstagedFiles": "仅显示未暂存文件", + "ResetFilter": "重置过滤", "MergeConflictsTitle": "合并冲突", "Checkout": "检出", - "NoChangedFiles": "没有更改过文件", + "CheckoutTooltip": "检出选中的项目", + "CantCheckoutBranchWhilePulling": "当前分支在拉取远端时,无法检出到其他分支。", + "TagCheckoutTooltip": "检出选择的标签作为分离的HEAD", + "RemoteBranchCheckoutTooltip": "基于当前选中的远程分支检出一个新的本地分支,或者将远程分支作分离的HEAD。", + "CantPullOrPushSameBranchTwice": "在推送或拉取分支的过程中,你不能再次推送或拉取同一个分支", + "NoChangedFiles": "没有变更的文件", "SoftReset": "软重置", "AlreadyCheckedOutBranch": "您已经检出至此分支", - "SureForceCheckout": "您确定要强制检出吗?您将丢失所有本地更改", + "SureForceCheckout": "您确定要强制检出吗?您将丢失所有本地变更", "ForceCheckoutBranch": "强制检出分支", "BranchName": "分支名称", - "NewBranchNameBranchOff": "新分支名称(基于 {{.branchName}})", + "NewBranchNameBranchOff": "新分支名称(基于 {{.branchName}})", "CantDeleteCheckOutBranch": "您不能删除已检出的分支!", + "DeleteBranchTitle": "删除分支'{{.selectedBranchName}}'?", + "DeleteLocalBranch": "删除本地分支", + "DeleteRemoteBranchOption": "删除远程分支", + "DeleteRemoteBranchPrompt": "你确定要从'{{.upstream}}'中删除远程分支'{{.selectedBranchName}}'?", + "ForceDeleteBranchTitle": "强制删除分支", "ForceDeleteBranchMessage": "{{.selectedBranchName}} 还没有被完全合并。您确定要删除它吗?", "RebaseBranch": "将已检出的分支变基到该分支", + "RebaseBranchTooltip": "将检出的分支变基到所选的分支上。", "CantRebaseOntoSelf": "您不能将分支变基到其自身", "CantMergeBranchIntoItself": "您不能将分支合并到其自身", "ForceCheckout": "强制检出", + "ForceCheckoutTooltip": "强制检出所选分支。这将在检出所选分支之前放弃工作目录中的所有本地更改。", "CheckoutByName": "按名称检出", + "CheckoutByNameTooltip": "按名称检出。在输入框中,您可以输入'-' 来切换到最后一个分支。", + "RemoteBranchCheckoutTitle": "检出 {{.branchName}}", + "RemoteBranchCheckoutPrompt": "您希望已什么方式检出到该分支?", + "CheckoutTypeNewBranch": "新建本地分支", + "CheckoutTypeNewBranchTooltip": "检出远程分支到本地,并跟踪它。", + "CheckoutTypeDetachedHead": "分离HEAD", + "CheckoutTypeDetachedHeadTooltip": "将远程分支检出作为分离HEAD,如果您只想用来测试而不是正式使用,这会很有用。您之后仍可以根据它创建本地分支。", "NewBranch": "新分支", + "NewBranchFromStashTooltip": "从选定的贮藏项创建一个新分支。这是通过 git 检查创建贮藏项的提交,从该提交创建一个新分支,然后将贮藏项作为附加提交应用到新分支来实现的。", "NoBranchesThisRepo": "此仓库中没有分支", "CommitWithoutMessageErr": "您必须编写提交消息才能进行提交", "Close": "关闭", "CloseCancel": "关闭", "Confirm": "确认", "Quit": "退出", - "Fixup": "修正(fixup)", + "SquashTooltip": "将已选提交压缩到该提交之下。这些选定的提交的消息会附加到该提交的消息之下。", + "CannotSquashOrFixupFirstCommit": "下面没有可以压缩的提交", + "Fixup": "修正(fixup)", + "FixupTooltip": "将选定的提交合并到其下面的提交中。与压缩类似,但所选提交的消息将被丢弃。", "SureFixupThisCommit": "您确定要“修正”此提交吗?它将合并到下面的提交中", "SureSquashThisCommit": "您确定要将这个提交压缩到下面的提交中吗?", - "Squash": "压缩", - "PickCommitTooltip": "选择提交(变基过程中)", + "Squash": "压缩(Squash)", + "SquashMerge": "压缩合并", + "PickCommitTooltip": "选择提交(变基过程中)", + "Pick": "拣选(Pick)", + "CantPickDisabledReason": "在变基期间,无法选择提交", + "Edit": "编辑", "RevertCommit": "还原提交", + "Revert": "撤销(Revert)", + "RevertCommitTooltip": "为所选提交创建还原提交,这会反向应用所选提交的更改。", "Reword": "改写提交", + "CommitRewordTooltip": "重写所选提交的消息。", "DropCommit": "删除提交", + "DropCommitTooltip": "删除选中的提交。这将通过变基从分支中删除该提交,如果该提交修改的内容依赖于后续的提交,则需要解决合并冲突。", "MoveDownCommit": "下移提交", "MoveUpCommit": "上移提交", + "CannotMoveAnyFurther": "无法进一步移动", + "EditCommit": "编辑(开始交互式变基)", "EditCommitTooltip": "编辑提交", - "AmendCommitTooltip": "用已暂存的更改来修补提交", + "AmendCommitTooltip": "用已暂存的变更来修补提交", + "Amend": "修补(Amend)", + "ResetAuthor": "重置作者", + "ResetAuthorTooltip": "将提交作者重置为当前配置的用户。这也将更新作者的时间戳", + "SetAuthor": "设置作者", + "SetAuthorTooltip": "基于提示设置作者", + "AddCoAuthor": "添加共同作者", + "AmendCommitAttribute": "修补提交属性", + "AmendCommitAttributeTooltip": "设置或重置提交的作者,或添加其他作者。", + "SetAuthorPromptTitle": "设置作者(格式为 'Name ')", + "AddCoAuthorPromptTitle": "添加共同作者(格式为 'Name ')", + "AddCoAuthorTooltip": "添加共同作者 使用GitHub/GitLab元数据共同作者(Co-authored-by)", + "SureResetCommitAuthor": "将更新提交的作者名称,同时也将更新提交时间,是否继续?", "RewordCommitEditor": "使用编辑器重命名提交", "NoCommitsThisBranch": "该分支没有提交", + "UpdateRefHere": "更新分支到 '{{.ref}}'", + "ExecCommandHere": "在这里执行以下命令:", "Error": "错误", "Undo": "撤销", - "UndoReflog": "(通过 reflog)撤销「实验功能」", - "RedoReflog": "(通过 reflog)重做「实验功能」", + "UndoReflog": "(通过 reflog)撤销「实验功能」", + "RedoReflog": "(通过 reflog)重做「实验功能」", + "UndoTooltip": "Reflog将用于确定运行哪个git命令来撤消最后一个git命令。这并不包括对工作树的更改,只考虑提交。", + "RedoTooltip": "Reflog将用于确定运行哪个git命令来重做上一个git命令。这并不包括对工作树的更改,只考虑提交。", + "UndoMergeResolveTooltip": "撤消上次合并冲突解决", + "DiscardAllTooltip": "丢弃'{{.path}}'中已暂存和未暂存的变更", + "DiscardUnstagedTooltip": "丢弃'{{.path}}'中未暂存的变更", + "DiscardUnstagedDisabled": "选中的项目既没有已暂存的变更也没有未暂存的变更", "Pop": "应用并删除", + "StashPopTooltip": "将存储项应用到工作目录并删除存储项。", "Drop": "删除", + "StashDropTooltip": "从贮藏列表中删除该贮藏项", "Apply": "应用", + "StashApplyTooltip": "将贮藏项应用到您的工作目录。", "NoStashEntries": "没有贮藏条目", "StashDrop": "删除贮藏", "SureDropStashEntry": "您确定要删除此贮藏条目吗?", @@ -86,27 +183,47 @@ "StashApply": "应用贮藏", "SureApplyStashEntry": "您确定要应用此贮藏条目?", "NoTrackedStagedFilesStash": "没有可以贮藏的已跟踪/暂存文件", - "StashChanges": "贮藏更改", + "NoFilesToStash": "没有需要贮藏的文件", + "StashChanges": "贮藏变更", + "RenameStash": "重命名贮藏", + "RenameStashPrompt": "重命名贮藏: {{.stashName}}", "OpenConfig": "打开配置文件", "EditConfig": "编辑配置文件", "ForcePush": "强制推送", "ForcePushPrompt": "您的分支已与远程分支不同。按‘esc’取消,或‘enter’强制推送.", "ForcePushDisabled": "您的分支已与远程分支不同, 并且您已经禁用了强行推送", + "UpdatesRejected": "更新被拒绝。在下次推送前,请先抓取并检查远程分支。", "UpdatesRejectedAndForcePushDisabled": "更新被拒绝,您已禁用强制推送", "CheckForUpdate": "检查更新", "CheckingForUpdates": "正在检查更新…", + "UpdateAvailableTitle": "有可用更新!", + "UpdateAvailable": "下载并安装版本 {{.newVersion}}?", + "UpdateInProgressWaitingStatus": "更新中", + "UpdateCompletedTitle": "更新完成!", + "UpdateCompleted": "已成功安装更新,重新启动 lazygit 使其生效。", + "FailedToRetrieveLatestVersionErr": "检索版本信息失败", "OnLatestVersionErr": "已是最新版本", - "MajorVersionErr": "新版本 ({{.newVersion}}) 与当前版本 ({{.currentVersion}}) 相比,具有非向后兼容的更改", + "MajorVersionErr": "新版本({{.newVersion}})与当前版本({{.currentVersion}})相比,具有非向后兼容的更改", "CouldNotFindBinaryErr": "在 {{.url}} 处找不到任何二进制文件", + "UpdateFailedErr": "更新失败: {{.errMessage}}", + "ConfirmQuitDuringUpdateTitle": "当前正在更新中...", + "ConfirmQuitDuringUpdate": "当前正在更新中,你确定要退出吗?", "MergeToolTitle": "合并工具", "MergeToolPrompt": "确定要打开 `git mergetool` 吗?", - "IntroPopupMessage": "\n感谢使用 lazygit!你真的太棒了。下面几点你可能会感兴趣:\n\n 1) 观看此视频,快速了解 lazygit 的功能:\n https://youtu.be/CPLdltN7wgE\n\n 2) 记得看看最新发行说明:\n https://github.com/jesseduffield/lazygit/releases\n\n 3) 使用 git 说明你是一位程序员!你可以和我们一起让 lazygit 变得更好。\n 考虑为本项目做些贡献吧:\n https://github.com/jesseduffield/lazygit\n 你也可以直接赞助,并告诉我哪里需要改进,点右下角的捐赠按钮就好了。\n 哪怕只是给仓库点个星星也很棒!\n", + "IntroPopupMessage": "\n感谢使用 lazygit!你真的太棒了。下面几点你可能会感兴趣:\n\n 1) 观看此视频,快速了解 lazygit 的功能:\n https://youtu.be/CPLdltN7wgE\n\n 2) 记得看看最新发行说明:\n https://github.com/jesseduffield/lazygit/releases\n\n 3) 使用 git 说明你是一位程序员!你可以和我们一起让 lazygit 变得更好。\n 考虑为本项目做些贡献吧:\n https://github.com/jesseduffield/lazygit\n 你也可以直接赞助,并告诉我哪里需要改进,点右下角的捐赠按钮就好了。\n 哪怕只是给仓库点个星星也很棒!\n", + "DeprecatedEditConfigWarning": "englishDeprecatedEditConfigWarning", "GitconfigParseErr": "由于存在未加引号的'\\'字符,因此 Gogit 无法解析您的 gitconfig 文件。删除它们应该可以解决问题。", "EditFile": "编辑文件", + "EditFileTooltip": "使用外部编辑器打开文件", "OpenFile": "打开文件", + "OpenFileTooltip": "使用默认程序打开该文件", + "OpenInEditor": "在编辑器中编写", "IgnoreFile": "添加到 .gitignore", + "ExcludeFile": "添加到 .git/info/exclude", "RefreshFiles": "刷新文件", "Merge": "合并到当前检出的分支", + "RegularMerge": "常规合并", + "MergeBranchTooltip": "Merge selected branch into currently checked out branch.", "ConfirmQuit": "您确定要退出吗?", "SwitchRepo": "切换到最近的仓库", "AllBranchesLogGraph": "显示所有分支的日志", @@ -114,31 +231,48 @@ "CopyPullRequestURL": "将抓取请求 URL 复制到剪贴板", "NoBranchOnRemote": "该分支在远程上不存在. 您需要先将其推送到远程.", "Fetch": "抓取", + "FetchTooltip": "从远程获取变更", "NoAutomaticGitFetchTitle": "无法自动进行 \"git fetch\"", "NoAutomaticGitFetchBody": "Lazygit 不能在私人仓库中使用 \"git fetch\"; 请在文件面板中使用 'f' 手动运行 \"git fetch\"", "FileEnter": "暂存单个 块/行 用于文件, 或 折叠/展开 目录", + "FileEnterTooltip": "如果选中的是一个文件,则会进入到暂存视图,以便可以暂存单个代码块/行。如果选中的是一个目录,则会折叠/展开这个目录", "FileStagingRequirements": "只能暂存跟踪文件的单独行", "StageSelectionTooltip": "切换行暂存状态", - "DiscardSelection": "取消变更 (git reset)", - "ToggleSelectHunk": "切换选择区块", + "DiscardSelection": "取消变更(git reset)", + "DiscardSelectionTooltip": "当选择未暂存的变更时,使用git reset丢弃该变更。当选择已暂存的变更时,取消暂存该变更", + "ToggleSelectHunk": "切换选择代码块", + "ToggleSelectHunkTooltip": "切换代码块选择模式", "ToggleSelectionForPatch": "添加/移除 行到补丁", + "EditHunk": "编辑代码块", + "EditHunkTooltip": "在外部编辑器中编辑选中的代码块", "ToggleStagingView": "切换到其他面板", + "ToggleStagingViewTooltip": "切换到其他视图(已暂存/未暂存的变更)", "ReturnToFilesPanel": "返回文件面板", "FastForward": "从上游快进此分支", + "FastForwardTooltip": "将当前分支直接移动到远程追踪分支的最新提交", "FastForwarding": "抓取并快进", "FoundConflictsTitle": "自动合并失败", + "ViewConflictsMenuItem": "查看冲突", + "AbortMenuItem": "关于 %s", "PickHunk": "选中区块", "PickAllHunks": "选中所有区块", "ViewMergeRebaseOptions": "查看 合并/变基 选项", + "ViewMergeRebaseOptionsTooltip": "查看当前合并或变基的中止、继续、跳过选项", + "ViewMergeOptions": "查看 合并(merge) 选项", + "ViewRebaseOptions": "View rebase opGlobalTitletions", "NotMergingOrRebasing": "您目前既不进行变基也不进行合并", + "AlreadyRebasing": "在变基时无法执行此操作", "RecentRepos": "最近的仓库", "MergeOptionsTitle": "合并选项", "RebaseOptionsTitle": "变基选项", - "CommitSummaryTitle": "提交讯息", + "CommitSummaryTitle": "提交信息", + "CommitDescriptionTitle": "提交信息说明", + "CommitDescriptionSubTitle": "按 {{.togglePanelKeyBinding}} 键切换焦点, {{.commitMenuKeybinding}} 打开菜单", "LocalBranchesTitle": "分支页面", "SearchTitle": "搜索", "TagsTitle": "标签页面", "MenuTitle": "菜单", + "CommitMenuTitle": "提交 菜单", "RemotesTitle": "远程页面", "RemoteBranchesTitle": "远程分支", "PatchBuildingTitle": "构建补丁中", @@ -146,17 +280,33 @@ "SecondaryTitle": "次要", "ReflogCommitsTitle": "Reflog 页面", "ConflictsResolved": "已解决所有冲突。是否继续?", + "Continue": "继续", + "RebasingTitle": "变基 '{{.checkedOutBranch}}'", + "RebasingFromBaseCommitTitle": "从标记的几点变基'{{.checkedOutBranch}}'", + "SimpleRebase": "简单变基到 '{{.ref}}'", + "InteractiveRebase": "交互式变基到 '{{.ref}}'", + "RebaseOntoBaseBranch": "变基到主分支 ({{.baseBranch}})", + "InteractiveRebaseTooltip": "由于交互式变基被中断,所以你可以在继续变基之前更新TODO提交。", + "RebaseOntoBaseBranchTooltip": "将已检出的分支变基到主分支上 (例如:最近的主分支).", + "MustSelectTodoCommits": "在变基过程中, 该操作仅在选中TODO提交时有效。", "FwdNoUpstream": "此分支没有上游,无法快进", "FwdNoLocalUpstream": "此分支的远程未在本地注册,无法快进", "FwdCommitsToPush": "此分支带有尚未推送的提交,无法快进", + "PullRequestNoUpstream": "没有设置上游的分支无法执行拉取请求", "ErrorOccurred": "发生错误!请在以下位置创建 issue", "NoRoom": "空间不足", "YouAreHere": "您在这里", + "YouDied": "你死了!", "RewordNotSupported": "当前不支持交互式重新基准化时的重新措词提交", - "CherryPickCopy": "复制提交(拣选)", - "PasteCommits": "粘贴提交(拣选)", + "ChangingThisActionIsNotAllowed": "不允许更改这类变基待办项目", + "CherryPickCopy": "复制提交(拣选)", + "CherryPickCopyTooltip": "标记提交为已复制。然后,在本地提交视图中,你可以按 `{{.paste}}` (Cherry-Pick) 将已复制的提交粘贴到已检出的分支中。任何时候都可以按 `{{.escape}}` 来取消选择。", + "CherryPickCopyRangeTooltip": "将上次已复制的提交到当前选中的提交都标记为已复制", + "PasteCommits": "粘贴提交(拣选)", "SureCherryPick": "您确定要将选中的提交进行拣选到这个分支吗?", - "CherryPick": "拣选 (Cherry-Pick)", + "CherryPick": "拣选(Cherry-Pick)", + "CannotCherryPickNonCommit": "无法拣选TODO类型的提交", + "CannotCherryPickMergeCommit": "不支持拣选合并类型的提交", "Donate": "捐助", "AskQuestion": "提问咨询", "PrevLine": "选择上一行", @@ -171,71 +321,128 @@ "ScrollUp": "向上滚动", "ScrollUpMainWindow": "向上滚动主面板", "ScrollDownMainWindow": "向下滚动主面板", - "AmendCommitTitle": "修改提交", - "AmendCommitPrompt": "您确定要使用暂存文件来修改此提交吗?", + "AmendCommitTitle": "修补(amend)提交", + "AmendCommitPrompt": "您确定要使用暂存文件来修补此提交吗?", "DropCommitTitle": "删除提交", "DropCommitPrompt": "您确定要删除此提交吗?", + "DropUpdateRefPrompt": "您确定要删除选定的 update-ref 待办事项吗?除非中止变基,否则这是不可逆转的。", "PullingStatus": "正在拉取", "PushingStatus": "正在推送", "FetchingStatus": "正在抓取", "SquashingStatus": "正在压缩", "FixingStatus": "正在修正", "DeletingStatus": "正在删除", + "DroppingStatus": "删除中...", "MovingStatus": "正在移动", "RebasingStatus": "正在变基", - "AmendingStatus": "正在修改", + "MergingStatus": "合并中...", + "LowercaseRebasingStatus": "变基中...", + "LowercaseMergingStatus": "合并中...", + "AmendingStatus": "正在修补", "CherryPickingStatus": "正在拣选", "UndoingStatus": "正在撤销", "RedoingStatus": "正在重做", - "CheckingOutStatus": "长子检出", + "CheckingOutStatus": "正在检出", "CommittingStatus": "正在提交", + "RevertingStatus": "还原中...", + "CreatingFixupCommitStatus": "正在创建一个修复提交", "CommitFiles": "提交文件", + "SubCommitsDynamicTitle": "提交 (%s)", + "CommitFilesDynamicTitle": "比较文件差异 (%s)", + "RemoteBranchesDynamicTitle": "远程分支 (%s)", "ViewItemFiles": "查看提交的文件", + "ViewItemFilesTooltip": "查看所选项的修改文件", "CommitFilesTitle": "提交文件", "CheckoutCommitFileTooltip": "检出文件", - "DiscardOldFileChangeTooltip": "放弃对此文件的提交更改", - "DiscardFileChangesTitle": "放弃文件更改", - "DiscardFileChangesPrompt": "您确定要舍弃此提交对该文件的更改吗?如果此文件是在此提交中创建的,它将被删除", + "CanOnlyDiscardFromLocalCommits": "只能从本地提交中丢弃更改", + "Remove": "删除", + "DiscardOldFileChangeTooltip": "放弃对此文件的提交变更", + "DiscardFileChangesTitle": "放弃文件变更", + "DiscardFileChangesPrompt": "您确定要舍弃此提交对该文件的变更吗?如果此文件是在此提交中创建的,它将被删除", "DisabledForGPG": "该功能不适用于使用 GPG 的用户", "CreateRepo": "当前目录不在 git 仓库中。是否在此目录创建一个新的 git 仓库?(y/n): ", + "BareRepo": "您已经尝试在空仓库中打开Lazygit,但是Lazygit还不支持空仓库。打开最近的仓库吗?(y / n) ", + "InitialBranch": "分支名称? (git的默认值为空): ", + "NoRecentRepositories": "必须在git存储库中打开lazygit。没有有效的最近存储库。即将退出...", + "IncorrectNotARepository": "'notARepository'的值不正确。它应该是“prompt”,“create”,“skip”或“quit”中的一个。", "AutoStashTitle": "自动存储?", - "AutoStashPrompt": "您必须隐藏并弹出更改以使更改生效。自动执行?(enter/esc)", - "StashPrefix": "自动隐藏更改 ", - "Discard": "查看'放弃更改'选项", + "AutoStashPrompt": "您必须隐藏并弹出变更以使变更生效。自动执行?(enter/esc)", + "StashPrefix": "自动隐藏变更 ", + "Discard": "查看'放弃变更'选项", + "DiscardChangesTitle": "放弃变更", + "DiscardFileChangesTooltip": "查看选中文件的放弃变更选项", "Cancel": "取消", - "DiscardAllChanges": "放弃所有更改", + "DiscardAllChanges": "放弃所有变更", "DiscardUnstagedChanges": "放弃未暂存的变更", "DiscardAllChangesToAllFiles": "清空工作区", "DiscardAnyUnstagedChanges": "丢弃未暂存的变更", "DiscardUntrackedFiles": "丢弃未跟踪的文件", + "DiscardStagedChanges": "丢弃已暂存的变更", "HardReset": "硬重置", + "BranchDeleteTooltip": "查看本地/远程分支的删除选项", + "TagDeleteTooltip": "查看本地/远程标签的删除选项", + "Delete": "删除", + "Reset": "重置", + "ResetTooltip": "查看重置选项 (soft/mixed/hard) 用于重置到选择项", "ViewResetOptions": "查看重置选项", + "FileResetOptionsTooltip": "查看工作树的重置选项(例如:清除工作树)。", "CreateFixupCommit": "为此提交创建修正", "CreateFixupCommitTooltip": "创建修正提交", - "SquashAboveCommitsTooltip": "压缩在所选提交之上的所有“fixup!”提交(自动压缩)", + "CreateAmendCommit": "创建 'amend!' 提交", + "FixupMenu_Fixup": "修复提交", + "FixupMenu_FixupTooltip": "允许你修复另一个提交并保持原本的提交信息", + "FixupMenu_AmendWithChanges": "基于当前变动内容修改提交", + "FixupMenu_AmendWithChangesTooltip": "允许你修复另一个提交并修改提交信息", + "FixupMenu_AmendWithoutChanges": "修改提交(不含变动内容,类似reword)", + "FixupMenu_AmendWithoutChangesTooltip": "允许您修改另一个提交的提交消息而不更改其内容", + "SquashAboveCommitsTooltip": "压缩在所选提交之上的所有“fixup!”提交(自动压缩)", + "SquashCommitsAboveSelectedTooltip": "压缩当前选中提交下的所有修复提交(自动压缩)", + "SquashCommitsInCurrentBranchTooltip": "压缩当前分支中的所有修复提交(自动压缩)", + "SquashAboveCommits": "应用该修复提交", + "SquashCommitsInCurrentBranch": "在当前分支", + "SquashCommitsAboveSelectedCommit": "在选定提交之上", + "CannotSquashCommitsInCurrentBranch": "在当前分支中无法压缩提交:因为分离HEAD提交是一个合并提交或者已经存在于主分支中", "ExecuteCustomCommand": "执行自定义命令", + "ExecuteCustomCommandTooltip": "弹出一个提示符,您可以在其中输入要执行的 shell 命令。不要与预配置的自定义命令混淆。", "CustomCommand": "自定义命令:", - "CommitChangesWithoutHook": "提交更改而无需预先提交钩子", + "CommitChangesWithoutHook": "提交变更而无需预先提交钩子", "SkipHookPrefixNotConfigured": "您尚未配置用于跳过钩子的提交消息前缀。请在您的配置中设置 `git.skipHookPrefix ='WIP'`", "ResetTo": "重置为", + "ResetSoftTooltip": "将 HEAD 重置为所选提交,并将当前提交和所选提交之间的更改保留为已暂存更改。", + "ResetMixedTooltip": "将 HEAD 重置为所选提交,并将当前提交和所选提交之间的更改保留为未暂存的更改。", + "ResetHardTooltip": "将 HEAD 重置为所选提交,并丢弃当前提交和所选提交之间的所有更改,以及工作树中的所有当前修改。", "PressEnterToReturn": "按下 Enter 键返回 lazygit", "ViewStashOptions": "查看贮藏选项", - "StashAllChanges": "将所有更改加入贮藏", - "StashAllChangesKeepIndex": "将已暂存的更改加入贮藏", + "ViewStashOptionsTooltip": "查看贮藏选项(例如:贮藏所有、贮藏已暂存变更、贮藏未暂存变更)", + "Stash": "贮藏", + "StashTooltip": "贮藏所有变更.若要使用其他贮藏变体,请使用查看贮藏选项快捷键", + "StashAllChanges": "将所有变更加入贮藏", + "StashStagedChanges": "贮藏已暂存变更", + "StashAllChangesKeepIndex": "将已暂存的变更加入贮藏", + "StashUnstagedChanges": "贮藏未暂存变更", + "StashIncludeUntrackedChanges": "贮藏所有变更,包括未跟踪的文件", "StashOptions": "贮藏选项", "NotARepository": "错误:必须在 git 仓库中运行", + "WorkingDirectoryDoesNotExist": "错误:当前工作目录不存在", "Jump": "跳到面板", "ScrollLeftRight": "左右滚动", "ScrollLeft": "向左滚动", "ScrollRight": "向右滚动", "DiscardPatch": "丢弃补丁", "DiscardPatchConfirm": "您一次只能通过一个提交或贮藏条目构建补丁。需要放弃当前补丁吗?", + "DiscardPatchSameCommitConfirm": "您当前已将更改添加到此提交的补丁中。放弃当前补丁?", "CantPatchWhileRebasingError": "处于合并或变基状态时,您无法构建修补程序或运行修补程序命令", "ToggleAddToPatch": "补丁中包含的切换文件", + "ToggleAddToPatchTooltip": "切换文件是否包含在自定义补丁中。请参阅 {{.doc}}。", + "ToggleAllInPatch": "操作所有文件", + "ToggleAllInPatchTooltip": "添加或删除所有提交中的文件到自定义的补丁中。请参阅 {{.doc}}。", + "UpdatingPatch": "正在更新补丁", "ViewPatchOptions": "查看自定义补丁选项", "PatchOptionsTitle": "补丁选项", "NoPatchError": "尚未创建补丁。你可以在提交中的文件上按下“空格”或使用“回车”添加其中的特定行以开始构建补丁", - "EnterCommitFile": "输入文件以将所选行添加到补丁中(或切换目录折叠)", + "EmptyPatchError": "补丁还是空的。首先将一些文件或行添加到您的补丁中。", + "EnterCommitFile": "输入文件以将所选行添加到补丁中(或切换目录折叠)", + "EnterCommitFileTooltip": "如果已选择一个文件,则Enter进入该文件,以便您可以向自定义补丁添加/删除单独的行。如果选择了目录,则切换目录。", "ExitCustomPatchBuilder": "退出逐行模式", "EnterUpstream": "以这种格式输入上游:'<远程仓库> <分支名称>'", "InvalidUpstream": "上游格式无效,格式应当为:' '", @@ -243,51 +450,92 @@ "NewRemote": "添加新的远程仓库", "NewRemoteName": "新远程仓库名称:", "NewRemoteUrl": "新远程仓库 URL:", + "ViewBranches": "查看分支", "EditRemoteName": "输入远程仓库 {{.remoteName}} 的新名称:", "EditRemoteUrl": "输入远程仓库 {{.remoteName}} 的新 URL:", "RemoveRemote": "删除远程", + "RemoveRemoteTooltip": "删除选中的远程。从远程跟踪远程分支的任何本地分支都不会受到影响。", "RemoveRemotePrompt": "您确定要删除远程仓库吗?", "DeleteRemoteBranch": "删除远程分支", "DeleteRemoteBranchMessage": "您确定要删除远程分支吗?", + "DeleteRemoteBranchTooltip": "从远程删除远程分支。", + "SetAsUpstream": "设置为上游", "SetAsUpstreamTooltip": "设置为检出分支的上游", "SetUpstream": "设置为检出分支的上游", + "UnsetUpstream": "取消已选分支的上游", + "ViewDivergenceFromUpstream": "查看与上游的差异", + "ViewDivergenceFromBaseBranch": "查看主分支({{.baseBranch}})与上游的差异", + "CouldNotDetermineBaseBranch": "无法确定主分支", + "DivergenceSectionHeaderLocal": "本地", + "DivergenceSectionHeaderRemote": "远端", + "ViewUpstreamResetOptions": "重置已检出的分支到上游{{.upstream}}", + "ViewUpstreamResetOptionsTooltip": "查看用于将检出分支重置到 {{upstream}} 的选项。注意:这不会将选定的分支重置到上游,而是将检出的分支重置到上游。", + "ViewUpstreamRebaseOptions": "将检出分支的上游重新设置为 {{.upstream}}", + "ViewUpstreamRebaseOptionsTooltip": "查看将检出分支变基到 {{upstream}} 的选项。注意:这不会将所选分支重新设置为上游,而是将检出分支重新设置为上游。", + "UpstreamGenericName": "所选分支的上游", "SetUpstreamTitle": "设置上游分支", "SetUpstreamMessage": "您确定要将 {{.checkedOut}} 的上游分支设置为 {{.selected}} 吗?", "EditRemoteTooltip": "编辑远程仓库", "TagCommit": "标签提交", + "TagCommitTooltip": "创建一个新标签指向所选提交。你可以在弹窗中输入标签名称和描述(可选)。", "TagMenuTitle": "创建标签", "TagNameTitle": "标签名称", "TagMessageTitle": "标签消息", "LightweightTag": "轻量标签", "AnnotatedTag": "附注标签", + "DeleteTagTitle": "要删除 '{{.tagName}}' 标签?", + "DeleteLocalTag": "删除本地标签", + "DeleteRemoteTag": "删除远程标签", + "SelectRemoteTagUpstream": "被删除标签'{{.tagName}}'的远端", + "DeleteRemoteTagPrompt": "你确定要从'{{.upstream}}'中删除远程标签'{{.tagName}}'吗?", + "RemoteTagDeletedMessage": "远程标签已删除", "PushTagTitle": "将 {{.tagName}} 推送到远程仓库:", "PushTag": "推送标签", + "PushTagTooltip": "推送选择的标签到远端。你将在弹窗中选择一个远端。", "NewTag": "创建标签", + "NewTagTooltip": "基于当前提交创建一个新标签。你将在弹窗中输入标签名称和描述(可选)。", + "CreatingTag": "创建标签", + "ForceTag": "强制标记标签", + "ForceTagPrompt": "该标签‘{{.tagName}}’已存在。请按{{.cancelKey}}取消,或者按{{.confirmKey}}覆盖它。", "FetchRemoteTooltip": "抓取远程仓库", "FetchingRemoteStatus": "抓取远程仓库中", "CheckoutCommit": "检出提交", + "CheckoutCommitTooltip": "检出所选择的提交作为分离HEAD。", "SureCheckoutThisCommit": "您确定要检出此提交吗?", "GitFlowOptions": "显示 git-flow 选项", "NotAGitFlowBranch": "这似乎不是 git flow 分支", "NewBranchNamePrompt": "输入分支的新名称", "IgnoreTracked": "忽略跟踪文件", + "ExcludeTracked": "排除跟踪文件", "IgnoreTrackedPrompt": "您确定要忽略已跟踪的文件吗?", + "ExcludeTrackedPrompt": "您确定要排除已跟踪的文件吗?", "ViewResetToUpstreamOptions": "查看上游重置选项", - "NextScreenMode": "下一屏模式(正常/半屏/全屏)", + "NextScreenMode": "下一屏模式(正常/半屏/全屏)", "PrevScreenMode": "上一屏模式", "StartSearch": "开始搜索", + "StartFilter": "通过文本过滤当前视图", "Panel": "面板", "Keybindings": "按键绑定", + "KeybindingsLegend": "图例:`` 意味着ctrl+b, `意味着Alt+b, `B` 意味着shift+b", + "KeybindingsMenuSectionLocal": "本地", + "KeybindingsMenuSectionGlobal": "全局", + "KeybindingsMenuSectionNavigation": "导航", "RenameBranch": "重命名分支", + "Upstream": "上游", + "UpstreamTooltip": "查看所选分支的上游选项,例如设置/取消设置上游和重置为上游。", + "BranchUpstreamOptionsTitle": "上游选项", + "ViewBranchUpstreamOptions": "查看上游选项", + "ViewBranchUpstreamOptionsTooltip": "查看与分支上游相关的选项,例如设置/取消设置上游和重置为上游。", + "UpstreamNotSetError": "所选分支没有上游(或者上游没有存储在本地)", "NewGitFlowBranchPrompt": "新的 {{.branchType}} 名称:", "RenameBranchWarning": "该分支正在跟踪远程仓库。此操作将仅会重命名本地分支名称,而不会重命名远程分支的名称。确定继续?", "OpenKeybindingsMenu": "打开菜单", - "ResetCherryPick": "重置已拣选(复制)的提交", + "ResetCherryPick": "重置已拣选(复制)的提交", "NextTab": "下一个标签", "PrevTab": "上一个标签", "CantUndoWhileRebasing": "进行基础调整时无法撤消", "CantRedoWhileRebasing": "变基时无法重做", - "MustStashWarning": "将补丁拉出到索引中需要存储和取消存储所做的更改。如果出现问题,您将可以从存储中访问文件。继续?", + "MustStashWarning": "将补丁拉出到索引中需要存储和取消存储所做的变更。如果出现问题,您将可以从存储中访问文件。继续?", "MustStashTitle": "必须保存进度", "ConfirmationTitle": "确认面板", "PrevPage": "上一页", @@ -295,13 +543,17 @@ "GotoTop": "滚动到顶部", "GotoBottom": "滚动到底部", "FilteringBy": "过滤依据", - "ResetInParentheses": "(重置)", + "ResetInParentheses": "(重置)", "OpenFilteringMenu": "查看按路径过滤选项", + "OpenFilteringMenuTooltip": "查看用于过滤提交日志的选项,以便仅显示与过滤器匹配的提交。", "FilterBy": "过滤", "ExitFilterMode": "停止按路径过滤", "FilterPathOption": "输入要过滤的路径", + "FilterAuthorOption": "输入作者进行过滤", "EnterFileName": "输入路径:", + "EnterAuthor": "输入作者:", "FilteringMenuTitle": "正在过滤", + "WillCancelExistingFilterTooltip": "注意:这将取消现有的过滤器", "MustExitFilterModeTitle": "命令不可用", "MustExitFilterModePrompt": "命令在过滤模式下不可用。退出过滤模式?", "Diff": "差异", @@ -311,10 +563,22 @@ "DiffingMenuTitle": "正在 diff", "SwapDiff": "反向 diff", "ViewDiffingOptions": "打开 diff 菜单", + "ViewDiffingOptionsTooltip": "查看与比较两个引用相关的选项,例如与选定的 ref 进行比较,输入要比较的 ref,然后反转比较方向。", "OpenCommandLogMenu": "打开命令日志菜单", + "OpenCommandLogMenuTooltip": "查看命令日志的选项,例如显示/隐藏命令日志以及聚焦命令日志", "ShowingGitDiff": "显示输出:", + "CommitDiff": "比较提交差异", "CopyCommitHashToClipboard": "将提交的 hash 复制到剪贴板", + "CommitHash": "提交的 hash", + "CommitURL": "提交URL", "CopyCommitMessageToClipboard": "将提交消息复制到剪贴板", + "PasteCommitMessageFromClipboard": "从剪贴板粘贴提交信息", + "SurePasteCommitMessage": "粘贴将覆盖当前提交消息,继续吗?", + "CommitMessage": "提交信息", + "CommitSubject": "提交主题", + "CommitAuthor": "作者", + "CopyCommitAttributeToClipboard": "复制提交属性到剪贴板", + "CopyCommitAttributeToClipboardTooltip": "复制提交属性到剪贴板(例如,hash、URL、diff、消息、作者)。", "CopyBranchNameToClipboard": "将分支名称复制到剪贴板", "CopyPathToClipboard": "将文件名复制到剪贴板", "CommitPrefixPatternError": "提交前缀模式错误", @@ -323,18 +587,21 @@ "NoFilesStagedPrompt": "您尚未暂存任何文件。提交所有文件?", "BranchNotFoundTitle": "找不到分支", "BranchNotFoundPrompt": "找不到分支。创建一个新分支命名为:", + "BranchUnknown": "未知的分支", "DiscardChangeTitle": "取消暂存选中的行", - "DiscardChangePrompt": "您确定要删除所选的行(git reset)吗?这是不可逆的。\n要禁用此对话框,请将 'gui.skipDiscardChangeWarning' 的配置键设置为 true", + "DiscardChangePrompt": "您确定要删除所选的行(git reset)吗?这是不可逆的。\n要禁用此对话框,请将 'gui.skipDiscardChangeWarning' 的配置键设置为 true", "CreateNewBranchFromCommit": "从提交创建新分支", "BuildingPatch": "正在构建补丁", "ViewCommits": "查看提交", - "MinGitVersionError": "Git 版本必须至少为 2.20(即从 2018 年开始的版本)。请更新 git。或者在 https://github.com/jesseduffield/lazygit/issues 上提出一个问题,以使 lazygit 更加向后兼容。", + "MinGitVersionError": "Git 版本必须至少为 2.20(即从 2018 年开始的版本)。请更新 git。或者在 https://github.com/jesseduffield/lazygit/issues 上提出一个问题,以使 lazygit 更加向后兼容。", "RunningCustomCommandStatus": "正在运行自定义命令", - "SubmoduleStashAndReset": "存放未提交的子模块更改和更新", + "SubmoduleStashAndReset": "存放未提交的子模块变更和更新", "AndResetSubmodules": "和重置子模块", "EnterSubmoduleTooltip": "输入子模块", + "Enter": "进入", "CopySubmoduleNameToClipboard": "将子模块名称复制到剪贴板", "RemoveSubmodule": "删除子模块", + "RemoveSubmoduleTooltip": "删除选定的子模块及其相应的目录", "RemoveSubmodulePrompt": "您确定要删除子模块 '%s' 及其对应的目录吗?这是不可逆的。", "ResettingSubmoduleStatus": "正在重置子模块", "NewSubmoduleName": "新的子模块名称:", @@ -347,6 +614,8 @@ "EditSubmoduleUrl": "更新子模块 URL", "InitializingSubmoduleStatus": "正在初始化子模块", "InitSubmoduleTooltip": "初始化子模块", + "Update": "更新", + "Initialize": "初始化", "SubmoduleUpdateTooltip": "更新子模块", "UpdatingSubmoduleStatus": "正在更新子模块", "BulkInitSubmodules": "批量初始化子模块", @@ -359,15 +628,22 @@ "SubmodulesTitle": "子模块", "NavigationTitle": "列表面板导航", "SuggestionsCheatsheetTitle": "意见建议", - "SuggestionsTitle": "意见建议 (点击 %s 以聚焦)", + "SuggestionsTitle": "意见建议(按 %s 键以切换焦点)", + "SuggestionsSubtitle": "(按 %s 键进行删除, %s 键进行编辑)", "ExtrasTitle": "附加", "PushingTagStatus": "推送标签", "PullRequestURLCopiedToClipboard": "抓取请求网址已复制到剪贴板", - "CommitMessageCopiedToClipboard": "提交消息复制到剪贴板", + "CommitDiffCopiedToClipboard": "复制提交差异到剪贴板", + "CommitURLCopiedToClipboard": "复制提交URL到剪贴板", + "CommitMessageCopiedToClipboard": "复制提交消息到剪贴板", + "CommitSubjectCopiedToClipboard": "复制提交主题到剪贴板", + "CommitAuthorCopiedToClipboard": "复制作者到剪贴板", + "PatchCopiedToClipboard": "已复制补丁内容到剪贴板", "CopiedToClipboard": "复制到剪贴板", "ErrCannotEditDirectory": "无法编辑目录:您只能编辑单个文件", "ErrStageDirWithInlineMergeConflicts": "无法 暂存/取消暂存 包含具有内联合并冲突的文件的目录。请先解决合并冲突", "ErrRepositoryMovedOrDeleted": "找不到仓库。它可能已被移动或删除 ¯\\_(ツ)_/¯", + "ErrWorktreeMovedOrRemoved": "找不到工作树,它可能被删除或者移走了。 ¯\\\\_(ツ)_/¯", "CommandLog": "命令日志", "ToggleShowCommandLog": "切换 显示/隐藏 命令日志", "FocusCommandLog": "焦点命令日志", @@ -375,8 +651,14 @@ "RandomTip": "随机小提示", "SelectParentCommitForMerge": "选择父提交进行合并", "ToggleWhitespaceInDiffView": "切换是否在差异视图中显示空白字符差异", + "ToggleWhitespaceInDiffViewTooltip": "切换是否在diff视图中显示空白更改", + "IgnoreWhitespaceDiffViewSubTitle": "(忽略空白)", + "IgnoreWhitespaceNotSupportedHere": "该视图不支持忽略空白", "IncreaseContextInDiffView": "扩大差异视图中显示的上下文范围", + "IncreaseContextInDiffViewTooltip": "增加diff视图中围绕更改显示的上下文数量", "DecreaseContextInDiffView": "缩小差异视图中显示的上下文范围", + "DecreaseContextInDiffViewTooltip": "减少diff视图中围绕更改显示的上下文数量", + "DiffContextSizeChanged": "将diff上下文大小更改为%d", "CreatePullRequestOptions": "创建抓取请求选项", "DefaultBranch": "默认分支", "SelectBranch": "选择分支", @@ -387,60 +669,178 @@ "LoadingCommits": "正在加载提交", "MustSpecifyOriginError": "指定分支时,必须同时指定远程", "GitOutput": "Git 输出:", - "GitCommandFailed": "Git 命令执行失败。查看命令日志了解详情 (使用 %s 打开)", + "GitCommandFailed": "Git 命令执行失败。查看命令日志了解详情(使用 %s 打开)", "AbortTitle": "放弃 %s", "AbortPrompt": "您确定要放弃当前 %s 吗?", "OpenLogMenu": "打开日志菜单", + "OpenLogMenuTooltip": "查看提交日志的选项,例如更改排序顺序、隐藏 git graph、显示整个 git graph。", "LogMenuTitle": "提交日志选项", - "ToggleShowGitGraphAll": "切换显示完整 git 分支图 (向 `git log` 命令传入 `--all` 选项)", + "ToggleShowGitGraphAll": "切换显示完整 git 分支图(向 `git log` 命令传入 `--all` 选项)", "ShowGitGraph": "显示 git 分支图", + "SortOrder": "排序", + "SortAlphabetical": "字母顺序", + "SortByDate": "日期大小", + "SortByRecency": "新旧程度", + "SortBasedOnReflog": "(基于reflog)", "SortCommits": "提交排序", - "CantChangeContextSizeError": "无法在补丁构建模式下更改上下文,因为我们在发布该功能时懒得支持它。 如果你真的想要这么做,请告诉我们!", + "CantChangeContextSizeError": "无法在补丁构建模式下变更上下文,因为我们在发布该功能时懒得支持它。 如果你真的想要这么做,请告诉我们!", "OpenCommitInBrowser": "在浏览器中打开提交", "ViewBisectOptions": "查看二分查找选项", + "ConfirmRevertCommit": "你确定要恢复{{.selectedCommit}}?", + "RewordInEditorTitle": "在编辑器中重写", + "RewordInEditorPrompt": "您确定要在编辑器中重写此提交吗?", + "CheckoutPrompt": "您确定要检出 '%s' 吗?", + "HardResetAutostashPrompt": "您确定要硬重置到 '%s' 吗?如有必要,将执行自动贮藏。", + "UpstreamGone": "(上游不存在)", + "NukeDescription": "如果您想让工作树中的所有更改消失,可以这样做。如果存在受污染的子模块更改,这会将这些更改贮藏在子模块中。", + "DiscardStagedChangesDescription": "这将创建一个仅包含已暂存更改的新贮藏条目,然后这些更改删除,以便工作树仅保留未暂存的更改。", + "EmptyOutput": "", + "Patch": "补丁", + "CustomPatch": "自定义补丁", + "CommitsCopied": "已复制这些提交", + "CommitCopied": "已复制提交", + "ResetPatch": "重置补丁", + "ResetPatchTooltip": "清理当前补丁", + "ApplyPatch": "应用补丁", + "ApplyPatchTooltip": "应用当前补丁到工作树中", + "ApplyPatchInReverse": "反向应用补丁", + "ApplyPatchInReverseTooltip": "反向应用当前补丁到工作树中", + "RemovePatchFromOriginalCommit": "从原来的提交 (%s) 中删除补丁", + "RemovePatchFromOriginalCommitTooltip": "从这些提交中删除该补丁。这是通过在提交时启动交互式变基,反向应用补丁,然后继续变基来实现的。如果之后的提交依赖于补丁,您可能需要解决冲突。", + "MovePatchOutIntoIndex": "将补丁移出到索引中", + "MovePatchOutIntoIndexTooltip": "将补丁从提交中移出并移入到索引中。这是通过在提交时启动交互式变基、反向应用补丁、继续变基直至完成,然后将补丁应用到索引来实现的。如果之后的提交依赖于补丁,您可能需要解决冲突。", + "MovePatchIntoNewCommit": "引入补丁到新提交中", + "MovePatchIntoNewCommitTooltip": "将补丁从提交中移出并移至位于原始提交之上的新提交中。这是通过在原始提交处启动交互式变基,反向应用补丁,然后将补丁应用到索引并将其作为新提交提交,然后继续变基直至完成来实现的。如果以后的提交依赖于补丁,您可能需要解决冲突。", + "MovePatchToSelectedCommit": "移动补丁到所选提交 (%s)", + "MovePatchToSelectedCommitTooltip": "将补丁从其原始提交修改到选定的提交中。 实现这一点的方法是在原始提交时启动交互式重置,反向应用补丁, 然后在应用补丁和修改选定的提交之前,继续将其重新建立到选定的提交上。 重置将继续完成。如果源代码和目标代码提交之间的提交取决于补丁,您可能需要解决冲突。", + "CopyPatchToClipboard": "复制补丁到剪贴板", + "NoMatchesFor": "%s %s 没有匹配项", + "MatchesFor": "正在匹配'%s' (%d of %d) %s", + "SearchKeybindings": "%s: 下一个匹配项, %s: 上一个匹配项, %s: 退出搜索模式", + "SearchPrefix": "搜索: ", + "FilterPrefix": "过滤: ", + "ExitSearchMode": "%s:退出搜索模式", + "ExitTextFilterMode": "%s:退出过滤模式", + "Switch": "切换", + "SwitchToWorktree": "切换至工作树", + "SwitchToWorktreeTooltip": "切换到选中的工作树", + "AlreadyCheckedOutByWorktree": "该分支由工作树 {{.worktreeName}} 检出,您想切换到该工作树吗?", + "BranchCheckedOutByWorktree": "该分支 {{.branchName}} 由工作树 {{.worktreeName}} 签出", + "DetachWorktreeTooltip": "这将在工作树上运行“git checkout --detach”,以便它停止占用分支,但工作树的工作树将保持不变。", + "Switching": "正在切换", + "RemoveWorktree": "移除工作区", + "RemoveWorktreeTitle": "移除工作区", + "DetachWorktree": "分离工作树", + "DetachingWorktree": "正在分离工作树", + "WorktreesTitle": "工作区", + "WorktreeTitle": "工作区", + "RemoveWorktreePrompt": "你确定要删除工作树 {{.worktreeName}}' ?", + "ForceRemoveWorktreePrompt": "'{{.worktreeName}}' 包含已修改或未跟踪的文件(说实话,它可能包含两者)。您确定要删除它吗?", + "RemovingWorktree": "正在删除工作树", + "AddingWorktree": "添加工作区", + "CantDeleteCurrentWorktree": "您不能删除当前的工作树!", + "AlreadyInWorktree": "您已经在选中的工作树", + "CantDeleteMainWorktree": "您不能移除主工作树!", + "NoWorktreesThisRepo": "没有工作区", + "MissingWorktree": "(缺失)", + "MainWorktree": "(主要)", + "NewWorktree": "新建工作树", + "NewWorktreePath": "新建工作树路径", + "NewWorktreeBase": "新建工作树基于ref", + "RemoveWorktreeTooltip": "删除选定的工作树。这将删除工作树的目录以及 .git 目录中有关工作树的元数据。", + "BranchNameCannotBeBlank": "分支名称不能为空", + "NewBranchName": "新分支名称", + "NewBranchNameLeaveBlank": "新分支名称(为空则默认检出为 {{.default}})", + "ViewWorktreeOptions": "查看工作区选项", + "CreateWorktreeFrom": "从 {{.ref}} 创建工作树", + "CreateWorktreeFromDetached": "从 {{.ref}} 创建工作树(分离)", + "LcWorktree": "工作区", + "ChangingDirectoryTo": "将目录更改为 {{.path}}", + "Name": "名称", + "Branch": "分支", + "Path": "路径", + "MarkedBaseCommitStatus": "已标记一个主提交用于变基", + "MarkAsBaseCommit": "标记一个主提交用于变基", + "MarkAsBaseCommitTooltip": "选择下一次变基的主提交。当您变基到一个分支时,只有高于主提交的提交才会被引入。这使用“git rebase --onto”命令。", + "MarkedCommitMarker": "↑↑↑ 将从这里开始变基 ↑↑↑", + "PleaseGoToURL": "清查看 {{.url}}", + "NoCopiedCommits": "未复制提交", + "DisabledMenuItemPrefix": "不可用: ", + "QuickStartInteractiveRebase": "开始交互式变基", + "QuickStartInteractiveRebaseTooltip": "为分支上的提交启动交互式变基。这将包括从 HEAD 提交到第一个合并提交或主分支提交的所有提交。\n如果您想从所选提交启动交互式变基,请按 `{{.editKey}}`。", + "CannotQuickStartInteractiveRebase": "无法启动交互式变基:HEAD 提交是合并提交或存在于主分支上,因此没有适当的主提交来启动变基。您可以通过选择提交并按 `{{.editKey}}` 从特定提交启动交互式变基。", "ToggleRangeSelect": "切换拖动选择", + "RangeSelectUp": "向上扩展选择范围", + "RangeSelectDown": "向下扩展选择范围", + "RangeSelectNotSupported": "该操作不支持范围选择,请选择单个项目", + "NoItemSelected": "没有条目被选中", + "SelectedItemIsNotABranch": "选中的条目不是一个分支", + "SelectedItemDoesNotHaveFiles": "选中的条目中没有", + "RangeSelectNotSupportedForSubmodules": "子模块不支持范围选择", + "OldCherryPickKeyWarning": "The 'c' key is no longer the default key for copying commits to cherry pick. Please use `{{.copy}}` instead (and `{{.paste}}` to paste). The reason for this change is that the 'v' key for selecting a range of lines when staging is now also used for selecting a range of lines in any list view, meaning that we needed to find a new key for pasting commits, and if we're going to now use `{{.paste}}` for pasting commits, we may as well use `{{.copy}}` for copying them. If you want to configure the keybindings to get the old behaviour, set the following in your config:\n\nkeybinding:\n universal:\n toggleRangeSelect: \n commits:\n cherryPickCopy: 'c'\n pasteCommits: 'v'", + "CommandDoesNotSupportOpeningInEditor": "该命令不支持切换到编辑器", "Actions": { "CheckoutCommit": "检出提交", "CheckoutTag": "检出标签", "CheckoutBranch": "检出分支", "ForceCheckoutBranch": "强制检出分支", + "DeleteLocalBranch": "删除本地分支", + "DeleteBranch": "删除分支", "Merge": "合并", + "SquashMerge": "压缩合并", "RebaseBranch": "变基分支", "RenameBranch": "重命名分支", "CreateBranch": "建立分支", "FastForwardBranch": "快进分支", "CherryPick": "(拣选) 粘贴提交", "CheckoutFile": "检出文件", - "DiscardOldFileChange": "放弃旧文件更改", + "DiscardOldFileChange": "放弃旧文件变更", "SquashCommitDown": "向下压缩提交", "FixupCommit": "修正提交", "RewordCommit": "改写提交", "DropCommit": "删除提交", "EditCommit": "编辑提交", - "AmendCommit": "修改提交", + "AmendCommit": "提交修补", + "ResetCommitAuthor": "重设作者", + "SetCommitAuthor": "设置作者", + "AddCommitCoAuthor": "添加其他的提交作者", "RevertCommit": "还原提交", "CreateFixupCommit": "创建修正提交", "SquashAllAboveFixupCommits": "压缩以上所有的修正提交", "MoveCommitUp": "上移提交", "MoveCommitDown": "下移提交", "CopyCommitMessageToClipboard": "将提交消息复制到剪贴板", + "CopyCommitSubjectToClipboard": "复制提交主题到剪贴板", + "CopyCommitDiffToClipboard": "复制提交差异到剪贴板", + "CopyCommitHashToClipboard": "复制完整的提交哈希到剪贴板", + "CopyCommitURLToClipboard": "复制提交URL到剪贴板", + "CopyCommitAuthorToClipboard": "复制提交作者到剪贴板", + "CopyCommitAttributeToClipboard": "复制到剪贴板", + "CopyPatchToClipboard": "复制路径到剪贴板", "CustomCommand": "自定义命令", - "DiscardAllChangesInDirectory": "丢弃目录中的所有更改", - "DiscardUnstagedChangesInDirectory": "丢弃目录中未暂存的更改", - "DiscardAllChangesInFile": "丢弃文件中的所有更改", - "DiscardAllUnstagedChangesInFile": "丢弃文件中所有未暂存的更改", + "DiscardAllChangesInDirectory": "丢弃目录中的所有变更", + "DiscardUnstagedChangesInDirectory": "丢弃目录中未暂存的变更", + "DiscardAllChangesInFile": "丢弃文件中的所有变更", + "DiscardAllUnstagedChangesInFile": "丢弃文件中所有未暂存的变更", "StageFile": "暂存文件", + "StageResolvedFiles": "合并冲突已解决的已暂存文件", "UnstageFile": "取消暂存文件", "UnstageAllFiles": "取消暂存所有文件", "StageAllFiles": "暂存所有文件", "IgnoreExcludeFile": "忽略文件", - "Commit": "提交 (Commit)", + "IgnoreFileErr": "无法忽略 .gitignore", + "ExcludeFile": "排除文件", + "ExcludeGitIgnoreErr": "无法排除.gitignore", + "Commit": "提交(Commit)", "EditFile": "编辑文件", - "Push": "推送 (Push)", - "Pull": "拉取 (Pull)", + "Push": "推送(Push)", + "Pull": "拉取(Pull)", "OpenFile": "打开文件", - "StashAllChanges": "贮藏所有更改", - "StashStagedChanges": "贮藏暂存的更改", + "StashAllChanges": "贮藏所有变更", + "StashAllChangesKeepIndex": "贮藏所有更改并保持索引", + "StashStagedChanges": "贮藏暂存的变更", + "StashUnstagedChanges": "贮藏所有未暂存更改", + "StashIncludeUntrackedChanges": "贮藏所有更改包括未跟踪的文件", "GitFlowFinish": "git flow 结果", "GitFlowStart": "git flow 开始", "CopyToClipboard": "复制到剪贴板", @@ -455,7 +855,8 @@ "RemoveRemote": "移除远程", "UpdateRemote": "更新远程", "ApplyPatch": "应用补丁", - "Stash": "贮藏 (Stash)", + "Stash": "贮藏(Stash)", + "RenameStash": "重命名贮藏", "RemoveSubmodule": "删除子模块", "ResetSubmodule": "重置子模块", "AddSubmodule": "添加子模块", @@ -467,36 +868,64 @@ "UpdateSubmodule": "更新子模块", "CreateLightweightTag": "创建轻量标签", "CreateAnnotatedTag": "创建附注标签", + "DeleteLocalTag": "删除本地标签", + "DeleteRemoteTag": "删除远程标签", "PushTag": "推送标签", "NukeWorkingTree": "Nuke 工作树", - "DiscardUnstagedFileChanges": "放弃未暂存的文件更改", + "DiscardUnstagedFileChanges": "放弃未暂存的文件变更", "RemoveUntrackedFiles": "删除未跟踪的文件", + "RemoveStagedFiles": "移除贮藏文件", "SoftReset": "软重置", "MixedReset": "混合重置", "HardReset": "硬重置", "Undo": "撤销", "Redo": "重做", "CopyPullRequestURL": "复制拉取请求 URL", + "OpenDiffTool": "打开差异比较工具", "OpenMergeTool": "打开合并工具", "OpenCommitInBrowser": "在浏览器中打开提交", "OpenPullRequest": "在浏览器中打开拉取请求", - "StartBisect": "开始二分查找 (Bisect)", + "StartBisect": "开始二分查找(Bisect)", "ResetBisect": "重置二分查找", "BisectSkip": "二分查找跳过", - "BisectMark": "二分查找标记" + "BisectMark": "二分查找标记", + "RemoveWorktree": "移除工作区", + "AddWorktree": "添加工作区" }, "Bisect": { "MarkStart": "将 %s 标记为 %s (start bisect)", "ResetTitle": "重置 'git bisect'", "ResetPrompt": "您确定要重置 'git bisect' 吗?", "ResetOption": "重置二分查找", + "ChooseTerms": "二选一", + "OldTermPrompt": "旧/好的提交:", + "NewTermPrompt": "新/坏的提交:", "BisectMenuTitle": "二分查找", "Mark": "将 %s 标记为 %s", "SkipCurrent": "跳过 %s", + "SkipSelected": "跳过所选提交(%s)", "CompleteTitle": "二分查找完成", "CompletePrompt": "二分查找完成!以下提交引入了此变更:\n\n%s\n\n您现在要重置 'git bisect' 吗?", - "CompletePromptIndeterminate": "二分查找完成!一些提交被跳过了,所以下列提交中的任何一个都可能引入了此变更:\n\n%s\n\n您现在要重置 'git bisect' 吗?" + "CompletePromptIndeterminate": "二分查找完成!一些提交被跳过了,所以下列提交中的任何一个都可能引入了此变更:\n\n%s\n\n您现在要重置 'git bisect' 吗?", + "Bisecting": "二分查找中" }, - "Log": {}, - "BreakingChangesByVersion": {} + "Log": { + "EditRebase": "开始基于 '{{.ref}}' 进行交互式变基", + "MoveCommitUp": "向下移动 TODO: '{{.shortHash}}'", + "MoveCommitDown": "向上移动 TODO: '{{.shortHash}}'", + "CherryPickCommits": "拣选提交:\n'{{.commitLines}}'", + "HandleUndo": "撤销最后一次的冲突解决方案", + "HandleMidRebaseCommand": "将提交 {{.shortHash}} 的变基操作更新为 '{{.action}}'", + "RemoveFile": "正在删除路径 '{{.path}}'", + "CopyToClipboard": "正在复制 '{{.str}}' 到剪贴板", + "Remove": "删除 '{{.filename}}'", + "CreateFileWithContent": "正在创建文件 '{{.path}}'", + "AppendingLineToFile": "将 '{{.line}}' 附加到文件 '{{.filename}}'", + "EditRebaseFromBaseCommit": "开始从'{{.baseCommit}}'进行交互式变基到'{{.targetBranchName}}‘" + }, + "BreakingChangesTitle": "重大变化", + "BreakingChangesMessage": "您正在更新到 lazygit 的新版本,其中含有中断的更改。请阅读下面的说明,并在必要时更新您的配置。\n欲了解更多信息,请参阅 的完整版本说明。", + "BreakingChangesByVersion": { + "0.41.0": "- 当您按“g”调出 git 重置菜单时,“mixed”选项现在是第一个也是默认选项,而不是“soft”。这是因为“mixed”是最常用的选项。\n- 提交消息面板现在默认自动硬换行(即,当您到达页边距时,它会添加换行符)。您可以像这样调整配置:\n\ngit:\n commit:\n autoWrapCommitMessage: true\n autoWrapWidth: 72\n\n- “v”键已在暂存视图中用于启动范围选择,但现在您可以使用它在任何视图中启动范围选择。不幸的是,这与粘贴提交(cherry-pick)的“v”键绑定冲突,因此现在粘贴提交是通过“shift+V”完成的,为了一致性,复制提交现在是通过“shift+C”而不是“c”。请注意,“v”键绑定只是启动范围选择的一种方法:您可以使用 shift+向上/向下箭头。因此,如果您想配置cherry-pick键绑定以获得旧行为,请在配置中设置以下内容:\n\nkeybinding:\n universal:\n toggleRangeSelect: \n commits:\n cherryPickCopy: 'c'\n pasteCommits: 'v'\n\n- 使用“shift-S”压缩修复现在会弹出一个菜单,默认选项是压缩分支中的所有修复提交。仅压缩所选提交之上的修复提交的原始行为仍然可以作为该菜单中的第二个选项使用。\n- Push/pull/fetch 加载状态现在显示在分支上,而不是在弹出窗口中。这允许您例如并行获取多个分支并查看每个分支的状态。\n- 提交视图中的 git 日志图现在始终默认显示(以前仅在视图最大化时显示)。如果你发现这太冗余了,你可以通过 ctrl+L -> 'Show git graph' -> 'when maximized' 将其改回来\n- 在远程分支上按空格用于显示输入新本地分支名称的提示,以从远程分支检出。现在它只是直接检查远程分支,让您在同名的新本地分支或分离的头之间进行选择。旧的行为仍然可以通过“n”键绑定使用。\n- 默认情况下,过滤(例如按“/”时)不太模糊;它现在只匹配子字符串。多个子字符串可以通过用空格分隔来匹配。如果您想恢复到旧的行为,请在配置中设置以下内容:\n\ngui:\n filterMode: 'fuzzy'\n\t " + } } diff --git a/pkg/i18n/translations/zh-TW.json b/pkg/i18n/translations/zh-TW.json index 497528cb0ca..06320f63d34 100644 --- a/pkg/i18n/translations/zh-TW.json +++ b/pkg/i18n/translations/zh-TW.json @@ -12,6 +12,8 @@ "MainTitle": "主要", "StagingTitle": "主面板(預存)", "MergingTitle": "主面板(合併)", + "SquashMergeUncommittedTitle": "壓縮合併但不提交", + "SquashMergeCommittedTitle": "壓縮合併並提交", "NormalTitle": "主面板(一般)", "LogTitle": "版本記錄", "CommitSummary": "提交摘要", @@ -21,6 +23,7 @@ "CredentialsPIN": "SSH 金鑰 PIN 碼", "PassUnameWrong": "密碼、密語或使用者名稱錯誤", "Commit": "提交變更", + "CommitTooltip": "提交暫存區變更", "AmendLastCommit": "修改上次提交", "AmendLastCommitTitle": "修改上次提交", "SureToAmend": "是否確定要修改上次提交?之後你可以從提交面板中再次更改此次提交的訊息。", @@ -33,17 +36,32 @@ "Stage": "切換預存", "ToggleStagedAll": "全部預存/取消預存", "ToggleTreeView": "顯示檔案樹狀視圖", - "OpenMergeTool": "開啟外部合併工具 (git mergetool)", + "OpenDiffTool": "開啟外部差異工具 (git difftool)", + "OpenMergeTool": "開啟外部合併工具", + "OpenMergeToolTooltip": "執行 `git mergetool`。", "Refresh": "重新整理", "Push": "推送", "Pull": "拉取", + "PushTooltip": "推送到遠端。如果沒有設定遠端,會開啟設定視窗。", + "PullTooltip": "從遠端同步當前分支。如果沒有設定遠端,會開啟設定視窗。", "Scroll": "捲動", "FileFilter": "篩選檔案 (預存/未預存)", + "CopyToClipboardMenu": "複製到剪貼簿", + "CopyFileName": "檔案名稱", + "CopyFilePath": "路徑", + "CopyFileDiffTooltip": "如果有已預存的項目,此指令只考慮它們。否則,它將考慮所有未暫存的項目。", + "CopySelectedDiff": "所選檔案的差異", + "CopyAllFilesDiff": "所有檔案的差異", + "FileNameCopiedToast": "檔案名稱已複製", + "FilePathCopiedToast": "檔案路徑已複製", + "FileDiffCopiedToast": "已複製檔案差異", + "AllFilesDiffCopiedToast": "已複製所有檔案差異", "FilterStagedFiles": "僅顯示預存的檔案", "FilterUnstagedFiles": "僅顯示未預存的檔案", "ResetFilter": "重設篩選", "MergeConflictsTitle": "合併衝突", "Checkout": "檢出", + "CheckoutTooltip": "檢出選定的項目。", "NoChangedFiles": "沒有變更的檔案", "SoftReset": "軟重設", "AlreadyCheckedOutBranch": "你已經檢出這個分支了", @@ -52,12 +70,18 @@ "BranchName": "分支名稱", "NewBranchNameBranchOff": "新的分支名稱 (根據 '{{.branchName}}' 分支創建)", "CantDeleteCheckOutBranch": "無法刪除已檢出的分支!", + "DeleteRemoteBranchPrompt": "確定要刪除遠端 {{.upstream}} 的標籤 '{{.selectedBranchName}}'?", "ForceDeleteBranchMessage": "'{{.selectedBranchName}}' 分支尚未完全合併。是否刪除?", "RebaseBranch": "將已檢出的分支變基至此分支", "CantRebaseOntoSelf": "無法將分支變基至自己", "CantMergeBranchIntoItself": "無法將一個分支合併至自己", "ForceCheckout": "強制檢出", "CheckoutByName": "根據名稱檢出", + "RemoteBranchCheckoutTitle": "檢出 {{.branchName}}", + "CheckoutTypeNewBranch": "新本地分支", + "CheckoutTypeNewBranchTooltip": "將遠端分支檢出為追蹤它的本地分支。", + "CheckoutTypeDetachedHead": "分離 HEAD", + "CheckoutTypeDetachedHeadTooltip": "將遠端分支檢出為分離的 HEAD,在只想測試但不動工時很實用。您稍後仍能根據它建立一個本地分支。", "NewBranch": "新分支", "NoBranchesThisRepo": "這個版本庫中沒有分支", "CommitWithoutMessageErr": "沒有提交訊息,無法提交", @@ -71,15 +95,22 @@ "SureSquashThisCommit": "是否要把這個提交壓縮到下面的提交中?", "Squash": "壓縮 (Squash)", "PickCommitTooltip": "挑選提交 (於變基過程中)", + "Pick": "挑選", + "Edit": "編輯", "RevertCommit": "還原提交", + "Revert": "還原", "Reword": "改寫提交", + "CommitRewordTooltip": "改寫選中的提交訊息", "DropCommit": "刪除提交", "MoveDownCommit": "向下移動提交", "MoveUpCommit": "向上移動提交", + "EditCommit": "編輯(開始互動變基)", "EditCommitTooltip": "編輯提交", "AmendCommitTooltip": "使用已預存的更改修正提交", + "Amend": "修改", "ResetAuthor": "重設作者", "SetAuthor": "設定作者", + "AddCoAuthor": "添加合作者", "AmendCommitAttribute": "設定/重設提交作者", "SetAuthorPromptTitle": "設定作者(格式:「姓名 <電子郵件>」)", "SureResetCommitAuthor": "為了符合已配置的使用者,此作者的提交欄位以及時間戳將被更新。是否繼續?", @@ -131,15 +162,19 @@ "ConfirmQuitDuringUpdate": "正在進行更新,是否結束?", "MergeToolTitle": "合併工具", "MergeToolPrompt": "是否開啟 'git mergetool'?", - "IntroPopupMessage": "\n感謝使用 lazygit!這裡有一些資源可供參考:\n\n 1) 📺lazygit 教學📺:\n https://youtu.be/CPLdltN7wgE\n\n 2) 📣釋出說明📣:\n https://github.com/jesseduffield/lazygit/releases\n\n 3) 💖如果你想要貢獻一份心力你可以💖:\n 改進 lazygit 原始碼:https://github.com/jesseduffield/lazygit\n 按右下角的捐款斗內我們\n 或單存添加 lazygit 到你的 star 清單內以增加曝光度都能大力的幫助我們!\n", + "IntroPopupMessage": "\n感謝使用 lazygit!這裡有一些資源可供參考:\n\n 1) 📺lazygit 教學📺:\n https://youtu.be/CPLdltN7wgE\n\n 2) 📣發佈說明📣:\n https://github.com/jesseduffield/lazygit/releases\n\n 3) 💖如果你想要貢獻一份心力你可以💖:\n 改進 lazygit 原始碼:https://github.com/jesseduffield/lazygit\n 按右下角的捐款斗內我們\n 或單純添加 lazygit 到你的 star 清單內以增加曝光度都能大力的幫助我們!\n", "DeprecatedEditConfigWarning": "\n### Deprecated config warning ###\n\n以下設定已被取代並將於未來版本中刪除:\n{{configs}}\n\n編輯器設定教學:\n\n https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#configuring-file-editing\n\n", "GitconfigParseErr": "Gogit 無法解析你的 gitconfig 檔案,因為存在未引用的 '\\' 字符,刪除它們應該可以解決這個問題。", "EditFile": "編輯檔案", + "EditFileTooltip": "使用外部編輯器開啟", "OpenFile": "開啟檔案", + "OpenFileTooltip": "使用預設軟體開啟", + "OpenInEditor": "在編輯器中開啟", "IgnoreFile": "添加到 .gitignore", "ExcludeFile": "添加到 .git/info/exclude", "RefreshFiles": "重新整理檔案", "Merge": "合併到當前檢出的分支", + "RegularMerge": "一般合併", "ConfirmQuit": "是否結束?", "SwitchRepo": "切換到最近使用的版本庫", "AllBranchesLogGraph": "顯示所有分支日誌", @@ -147,6 +182,7 @@ "CopyPullRequestURL": "複製拉取請求的 URL 到剪貼板", "NoBranchOnRemote": "這個分支在遠端不存在。需要先將其推送至遠端。", "Fetch": "擷取", + "FetchTooltip": "同步遠端異動", "NoAutomaticGitFetchTitle": "手動 git 擷取", "NoAutomaticGitFetchBody": "lazygit 無法在私有庫使用 \"git 擷取\";在檔案面板中使用 'f' 手動執行 \"git 擷取\"", "FileEnter": "選擇檔案中的單個程式碼塊/行,或展開/折疊目錄", @@ -159,11 +195,15 @@ "ToggleStagingView": "切換至另一個面板 (已預存/未預存更改)", "ReturnToFilesPanel": "返回檔案面板", "FastForward": "從上游快進此分支", + "FastForwardTooltip": "從遠端快進所選的分支", "FastForwarding": "的擷取和快進中", "FoundConflictsTitle": "自動合併失敗", + "ViewConflictsMenuItem": "檢視衝突", + "AbortMenuItem": "關於%s", "PickHunk": "挑選程式碼片段", "PickAllHunks": "挑選所有程式碼片段", "ViewMergeRebaseOptions": "查看合併/變基選項", + "ViewRebaseOptions": "查看合併/變基選項", "NotMergingOrRebasing": "你當前既不在變基也不在合併中", "AlreadyRebasing": "無法在變基期間執行此操作", "RecentRepos": "最近的版本庫", @@ -188,9 +228,10 @@ "SimpleRebase": "簡單變基 變基至 '{{.ref}}'", "InteractiveRebase": "互動變基 變基至 '{{.ref}}'", "InteractiveRebaseTooltip": "開始一個互動變基,以中斷開始,這樣你可以在繼續之前更新TODO提交", - "FwdNoUpstream": "無法快進無上游分支", + "FwdNoUpstream": "無法快進無遠端的分支 ", "FwdNoLocalUpstream": "無法快進尚未在本地註冊的遠端分支", "FwdCommitsToPush": "無法快進帶有尚未推送的提交的分支", + "PullRequestNoUpstream": "無法對沒有遠端的分支拉取", "ErrorOccurred": "發生錯誤!請在此詢問錯誤:", "NoRoom": "無足夠的空間", "YouAreHere": "你在這", @@ -238,9 +279,9 @@ "CommittingStatus": "提交中", "RevertingStatus": "還原中", "CommitFiles": "提交檔案", - "SubCommitsDynamicTitle": "提交 (共 %s項)", - "CommitFilesDynamicTitle": "差異檔案 (共 %s項)", - "RemoteBranchesDynamicTitle": "遠端分支 (共 %s項)", + "SubCommitsDynamicTitle": "提交(%s)", + "CommitFilesDynamicTitle": "差異檔案(%s)", + "RemoteBranchesDynamicTitle": "遠端分支(%s)", "ViewItemFiles": "檢視所選項目的檔案", "CommitFilesTitle": "提交檔案", "CheckoutCommitFileTooltip": "檢出檔案", @@ -255,6 +296,9 @@ "AutoStashTitle": "是否自動收藏?", "AutoStashPrompt": "必須收藏並拾起變更才得以繼續操作。是否自動執行?(Enter/Esc)", "StashPrefix": "自動收藏 ", + "Discard": "捨棄", + "DiscardChangesTitle": "捨棄變更", + "DiscardFileChangesTooltip": "檢視選中變動進行捨棄復原", "Cancel": "取消", "DiscardAllChanges": "刪除所有變更", "DiscardUnstagedChanges": "刪除未預存變更", @@ -263,6 +307,8 @@ "DiscardUntrackedFiles": "刪除未追蹤檔案", "DiscardStagedChanges": "刪除已預存變更", "HardReset": "強制重設", + "Delete": "刪除", + "Reset": "重設", "ViewResetOptions": "檢視重設選項", "CreateFixupCommit": "建立修復提交", "CreateFixupCommitTooltip": "為此提交建立修復提交", @@ -275,6 +321,7 @@ "ResetTo": "重設至", "PressEnterToReturn": "按 Enter 返回到 lazygit", "ViewStashOptions": "檢視收藏選項", + "Stash": "收藏", "StashAllChanges": "收藏所有變更", "StashStagedChanges": "收藏已預存變更", "StashAllChangesKeepIndex": "收藏所有變更並保留預存區", @@ -297,8 +344,8 @@ "NoPatchError": "尚未建立補丁。要開始建立補丁,請在提交檔案上使用空格或輸入以添加特定行", "EnterCommitFile": "輸入檔案以將選定的行添加至補丁(或切換目錄折疊)", "ExitCustomPatchBuilder": "退出自訂補丁建立器", - "EnterUpstream": "輸入上游為 ' '", - "InvalidUpstream": "無效的上游。必須符合 ' ' 的格式", + "EnterUpstream": "輸入遠端為 ' '", + "InvalidUpstream": "無效的遠端分支名稱。必須符合 ' ' 的格式", "ReturnToRemotesList": "返回遠端列表", "NewRemote": "新增遠端", "NewRemoteName": "新遠端名稱:", @@ -309,10 +356,18 @@ "RemoveRemotePrompt": "你確定要移除遠端?", "DeleteRemoteBranch": "刪除遠端分支", "DeleteRemoteBranchMessage": "你確定要刪除遠端分支?", - "SetAsUpstreamTooltip": "將此分支設為當前分支之上游", - "SetUpstream": "設定所選分支之上游", - "UnsetUpstream": "取消設定選定分支之上游", - "SetUpstreamTitle": "設定上游分支", + "SetAsUpstream": "設置為遠端", + "SetAsUpstreamTooltip": "將此分支設為當前分支之遠端", + "SetUpstream": "設定選定分支的遠端分支", + "UnsetUpstream": "重置選定分支的遠端", + "ViewDivergenceFromUpstream": "檢視與遠端的差異", + "DivergenceSectionHeaderLocal": "本地", + "ViewUpstreamResetOptions": "重設當前分支進 {{.upstream}}", + "ViewUpstreamResetOptionsTooltip": "查看重設當前分支進 {{upstream}} 的選項。注意:此動作不會重置所選的遠端,而是將當前分支重置到遠端", + "ViewUpstreamRebaseOptions": "將當前分支變基到 {{.upstream}}", + "ViewUpstreamRebaseOptionsTooltip": "查看變基當前分支到 {{upstream}} 的選項。注意:此動作不會變基所選的遠端,而是將當前分支變基到遠端", + "UpstreamGenericName": "選定分支的選端", + "SetUpstreamTitle": "設定遠端分支", "SetUpstreamMessage": "你確定要將 '{{. selected}}' 設為 '{{.checkedOut}}' 的上游分支?", "EditRemoteTooltip": "編輯遠端", "TagCommit": "打標籤到提交", @@ -321,6 +376,8 @@ "TagMessageTitle": "標籤訊息", "LightweightTag": "輕量標籤", "AnnotatedTag": "附註標籤", + "DeleteLocalTag": "刪除本地標籤", + "DeleteRemoteTagPrompt": "確定要刪除遠端 {{.upstream}} 的標籤 '{{.tagName}}'?", "PushTagTitle": "推送標籤 '{{.tagName}}' 至遠端:", "PushTag": "推送標籤", "NewTag": "建立標籤", @@ -334,7 +391,7 @@ "IgnoreTracked": "忽略已追蹤檔案", "ExcludeTracked": "排除已追蹤檔案", "IgnoreTrackedPrompt": "你確定要忽略一個已追蹤的檔案?", - "ViewResetToUpstreamOptions": "檢視上游重設選項", + "ViewResetToUpstreamOptions": "檢視遠端重設選項", "NextScreenMode": "下一個螢幕模式(常規/半螢幕/全螢幕)", "PrevScreenMode": "上一個螢幕模式", "StartSearch": "搜尋", @@ -342,11 +399,15 @@ "Panel": "面板", "Keybindings": "鍵盤快捷鍵", "KeybindingsLegend": "說明:`` 表示 Ctrl+B、`` 表示 Alt+B,`B`表示 Shift+B", + "KeybindingsMenuSectionLocal": "本地", + "KeybindingsMenuSectionGlobal": "全域", "RenameBranch": "重新命名分支", - "BranchUpstreamOptionsTitle": "上游分支設定", - "ViewBranchUpstreamOptions": "檢視上游設定", - "ViewBranchUpstreamOptionsTooltip": "檢視有關上游分支的設定(例如重設至上游)", - "UpstreamNotSetError": "目標分支沒有上游分支(或其上游分支未儲存於本地)", + "Upstream": "遠端", + "UpstreamTooltip": "查看所選分支的遠端設定(例如設置/重置遠端)", + "BranchUpstreamOptionsTitle": "上游遠端設定", + "ViewBranchUpstreamOptions": "檢視遠端設定", + "ViewBranchUpstreamOptionsTooltip": "檢視有關遠端分支的設定(例如重設至遠端)", + "UpstreamNotSetError": "目標分支沒有遠端對應分支(或其遠端分支未儲存於本地)", "NewGitFlowBranchPrompt": "{{.branchType}} 名稱:", "RenameBranchWarning": "此分支正在追蹤遠端分支。此操作僅會重新命名本地分支名稱,而不是遠端分支的名稱。是否繼續?", "OpenKeybindingsMenu": "開啟選單", @@ -475,6 +536,11 @@ "LogMenuTitle": "提交記錄選項", "ToggleShowGitGraphAll": "切換顯示整個 git 圖表(將 `--all` 標誌傳遞給 `git log`)", "ShowGitGraph": "顯示 git 圖表", + "SortOrder": "排序規則", + "SortAlphabetical": "依字母", + "SortByDate": "依時間", + "SortByRecency": "依最近使用", + "SortBasedOnReflog": "(依據歷史記錄)", "SortCommits": "提交排序順序", "CantChangeContextSizeError": "在製作補丁期間無法更改上下文大小,因為當發布功能時我們太懒了以至於沒有支援它。如果你真的需要它,請告訴我們!", "OpenCommitInBrowser": "在瀏覽器中開啟提交", @@ -484,8 +550,8 @@ "RewordInEditorPrompt": "是否在編輯器中改寫此提交?", "CheckoutPrompt": "是否檢出 '%s' ?", "HardResetAutostashPrompt": "是否強制重設為 '%s' ?如果需要會進行自動存儲。", - "UpstreamGone": "(上游已經不存在)", - "NukeDescription": "如果你想讓所有工作樹上的變更消失,這就是要做的方式。如果有未提交的子模組變更,它將把這些變更藏在子模組中。", + "UpstreamGone": "(遠端已經不存在)", + "NukeDescription": "如果你想讓所有工作樹上的變更消失,這就是正確的選項。如果有未提交的子模組變更,它們將被收藏在子模組中。", "DiscardStagedChangesDescription": "這將創建一個新的存儲條目,其中只包含預存檔案,然後如果存儲條目不需要,將其刪除,因此工作樹僅保留未預存的變更。", "EmptyOutput": "<空輸出>", "Patch": "補丁", @@ -547,12 +613,14 @@ "PleaseGoToURL": "請開啟 URL:{{.url}}", "NoCopiedCommits": "未複製提交", "DisabledMenuItemPrefix": "已停用:", + "QuickStartInteractiveRebase": "開始互動變基", "ToggleRangeSelect": "切換拖曳選擇", "Actions": { "CheckoutCommit": "檢出提交", "CheckoutTag": "檢出標籤", "CheckoutBranch": "檢出分支", "ForceCheckoutBranch": "強制檢出分支", + "DeleteLocalBranch": "刪除本地分支", "DeleteBranch": "刪除分支", "Merge": "合併", "RebaseBranch": "變基分支", @@ -615,7 +683,7 @@ "MovePatchIntoIndex": "將補丁移動到索引中", "MovePatchIntoNewCommit": "將補丁移動到新提交中", "DeleteRemoteBranch": "刪除遠端分支", - "SetBranchUpstream": "設置分支上游", + "SetBranchUpstream": "設置遠端分支", "AddRemote": "添加遠端", "RemoveRemote": "移除遠端", "UpdateRemote": "更新遠端", @@ -633,12 +701,13 @@ "UpdateSubmodule": "更新子模塊", "CreateLightweightTag": "建立輕量標籤", "CreateAnnotatedTag": "建立附註標籤", + "DeleteLocalTag": "刪除本地標籤", "PushTag": "推送標籤", "NukeWorkingTree": "清空工作樹", "DiscardUnstagedFileChanges": "放棄未預存的檔案更改", "RemoveUntrackedFiles": "移除未追蹤的檔案", "RemoveStagedFiles": "移除已預存的檔案", - "SoftReset": "軟重設", + "SoftReset": "軟重設(保留變動)", "MixedReset": "混合重設", "HardReset": "強制重設", "Undo": "復原", @@ -665,6 +734,8 @@ "CompletePromptIndeterminate": "二分查找完成!有一些提交被跳過,因此以下任何提交皆可能引進更改:\n\n%s\n\n是否重設 `git bisect`?", "Bisecting": "二分查找中" }, - "Log": {}, + "Log": { + "CopyToClipboard": "{{.str}} 已複製" + }, "BreakingChangesByVersion": {} }