1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-04 10:34:55 +02:00
lazygit/pkg/i18n/chinese.go

578 lines
38 KiB
Go
Raw Normal View History

2022-03-26 04:26:45 +02:00
/*
本翻译文件中的词语的翻译参考了 https://github.com/progit/progit2-zh/blob/master/TRANSLATION_NOTES.asc。
下方的术语对照表是对其的补充
2021-05-19 11:55:26 +02:00
2022-03-26 04:26:45 +02:00
Translation in this file refer to https://github.com/progit/progit2-zh/blob/master/TRANSLATION_NOTES.asc.
Glossary below is a supplement of that documentation.
2021-09-13 12:18:52 +02:00
2022-03-26 04:26:45 +02:00
Glossary 术语对照表
2021-09-13 12:18:52 +02:00
2022-03-26 04:26:45 +02:00
change 更改
fixup 修正
reset 重置
2021-09-13 12:18:52 +02:00
2022-03-26 04:26:45 +02:00
*/
package i18n
2021-09-13 12:18:52 +02:00
2021-05-19 11:55:26 +02:00
const chineseIntroPopupMessage = `
2022-03-26 04:26:45 +02:00
感谢使用 lazygit你真的太棒了下面几点你可能会感兴趣
2021-05-19 11:55:26 +02:00
1) 观看此视频快速了解 lazygit 的功能
2021-05-19 11:55:26 +02:00
https://youtu.be/CPLdltN7wgE
2022-03-26 04:26:45 +02:00
2) 记得看看最新发行说明
2021-05-19 11:55:26 +02:00
https://github.com/jesseduffield/lazygit/releases
2022-03-26 04:26:45 +02:00
3) 使用 git 说明你是一位程序员你可以和我们一起让 lazygit 变得更好
考虑为本项目做些贡献吧
2021-05-19 11:55:26 +02:00
https://github.com/jesseduffield/lazygit
2022-03-26 04:26:45 +02:00
你也可以直接赞助并告诉我哪里需要改进点右下角的捐赠按钮就好了
哪怕只是给仓库点个星星也很棒
2021-05-19 11:55:26 +02:00
`
2022-03-26 04:26:45 +02:00
// exporting this so we can use it in tests
2021-05-19 11:55:26 +02:00
func chineseTranslationSet() TranslationSet {
return TranslationSet{
NotEnoughSpace: "没有足够的空间来渲染面板",
DiffTitle: "差异",
FilesTitle: "文件",
BranchesTitle: "分支",
CommitsTitle: "提交",
2021-09-13 12:18:52 +02:00
StashTitle: "贮藏",
UnstagedChanges: `未暂存更改`,
StagedChanges: `已暂存更改`,
2021-05-19 11:55:26 +02:00
MainTitle: "主要",
StagingTitle: "正在暂存",
2022-03-26 04:26:45 +02:00
MergingTitle: "正在合并",
2021-05-19 11:55:26 +02:00
NormalTitle: "正常",
CommitMessage: "提交信息",
CredentialsUsername: "用户名",
CredentialsPassword: "密码",
2021-09-13 12:18:52 +02:00
CredentialsPassphrase: "输入 SSH 密钥的密码",
PassUnameWrong: "密码 和/或 用户名错误",
2021-05-19 11:55:26 +02:00
CommitChanges: "提交更改",
2021-09-13 12:18:52 +02:00
AmendLastCommit: "修补最后一次提交",
SureToAmend: "您确定要修补上一次提交吗?之后您可以从提交面板更改提交消息。",
NoCommitToAmend: "没有需要提交的修补。",
CommitChangesWithEditor: "提交更改(使用编辑器编辑提交信息)",
2021-05-19 11:55:26 +02:00
StatusTitle: "状态",
LcNavigate: "导航",
LcMenu: "菜单",
LcExecute: "执行",
2021-09-13 12:18:52 +02:00
LcToggleStaged: "切换暂存状态",
LcToggleStagedAll: "切换所有文件的暂存状态",
2021-05-19 11:55:26 +02:00
LcToggleTreeView: "切换文件树视图",
2022-03-26 04:26:45 +02:00
LcOpenMergeTool: "打开外部合并工具 (git mergetool)",
2021-05-19 11:55:26 +02:00
LcRefresh: "刷新",
2021-09-13 12:18:52 +02:00
LcPush: "推送",
LcPull: "拉取",
2021-05-19 11:55:26 +02:00
LcScroll: "滚动",
MergeConflictsTitle: "合并冲突",
2021-09-13 12:18:52 +02:00
LcCheckout: "检出",
NoChangedFiles: "没有更改过文件",
2021-05-19 11:55:26 +02:00
NoFilesDisplay: "没有文件可显示",
NotAFile: "不是文件",
2022-03-26 04:26:45 +02:00
PullWait: "正在拉取…",
PushWait: "正在推送…",
FetchWait: "正在抓取…",
2021-09-13 12:18:52 +02:00
LcSoftReset: "软重置",
2022-03-26 04:26:45 +02:00
AlreadyCheckedOutBranch: "您已经检出至此分支",
2021-09-13 12:18:52 +02:00
SureForceCheckout: "您确定要强制检出吗?您将丢失所有本地更改",
ForceCheckoutBranch: "强制检出分支",
2021-05-19 11:55:26 +02:00
BranchName: "分支名称",
2021-09-13 12:18:52 +02:00
NewBranchNameBranchOff: "新分支名称(基于 {{.branchName}})",
CantDeleteCheckOutBranch: "您不能删除已检出的分支!",
2021-05-19 11:55:26 +02:00
DeleteBranch: "删除分支",
2021-09-13 12:18:52 +02:00
DeleteBranchMessage: "您确定要删除分支 {{.selectedBranchName}} 吗?",
ForceDeleteBranchMessage: "{{.selectedBranchName}} 还没有被完全合并。您确定要删除它吗?",
LcRebaseBranch: "将已检出的分支变基到该分支",
CantRebaseOntoSelf: "您不能将分支变基到其自身",
CantMergeBranchIntoItself: "您不能将分支合并到其自身",
LcForceCheckout: "强制检出",
LcCheckoutByName: "按名称检出",
2021-05-19 11:55:26 +02:00
LcNewBranch: "新分支",
LcDeleteBranch: "删除分支",
2021-09-13 12:18:52 +02:00
NoBranchesThisRepo: "此仓库中没有分支",
CommitMessageConfirm: "{{.keyBindClose}}:关闭,{{.keyBindNewLine}}:新行,{{.keyBindConfirm}}:确认",
CommitWithoutMessageErr: "您必须编写提交消息才能进行提交",
CloseConfirm: "{{.keyBindClose}}:关闭,{{.keyBindConfirm}}:确认",
2021-05-19 11:55:26 +02:00
LcClose: "关闭",
LcQuit: "退出",
2021-09-13 12:18:52 +02:00
LcSquashDown: "向下压缩",
2021-05-19 11:55:26 +02:00
LcResetToThisCommit: "重置为此提交",
2021-09-13 12:18:52 +02:00
LcFixupCommit: "修正提交(fixup)",
2021-05-19 11:55:26 +02:00
NoCommitsThisBranch: "该分支没有提交",
2021-09-13 12:18:52 +02:00
OnlySquashTopmostCommit: "只能压缩最顶层的提交",
YouNoCommitsToSquash: "您没有提交可以压缩",
Fixup: "修正(fixup)",
SureFixupThisCommit: "您确定要“修正”此提交吗?它将合并到下面的提交中",
SureSquashThisCommit: "您确定要将这个提交压缩到下面的提交中吗?",
2021-05-19 11:55:26 +02:00
Squash: "压缩",
2021-09-13 12:18:52 +02:00
LcPickCommit: "选择提交(变基过程中)",
2021-05-19 11:55:26 +02:00
LcRevertCommit: "还原提交",
2022-01-02 01:34:33 +02:00
LcRewordCommit: "改写提交",
2021-05-19 11:55:26 +02:00
LcDeleteCommit: "删除提交",
LcMoveDownCommit: "下移提交",
LcMoveUpCommit: "上移提交",
LcEditCommit: "编辑提交",
2021-09-13 12:18:52 +02:00
LcAmendToCommit: "用已暂存的更改来修补提交",
2021-05-19 11:55:26 +02:00
LcRenameCommitEditor: "使用编辑器重命名提交",
Error: "错误",
2021-09-13 12:18:52 +02:00
LcSelectHunk: "切换区块",
LcNavigateConflicts: "浏览冲突",
LcPickHunk: "选中区块",
LcPickAllHunks: "选中所有区块",
2021-05-19 11:55:26 +02:00
LcUndo: "撤销",
2021-09-13 12:18:52 +02:00
LcUndoReflog: "(通过 reflog)撤销「实验功能」",
LcRedoReflog: "(通过 reflog)重做「实验功能」",
LcPop: "应用并删除",
2021-05-19 11:55:26 +02:00
LcDrop: "删除",
2021-09-13 12:18:52 +02:00
LcApply: "应用",
NoStashEntries: "没有贮藏条目",
StashDrop: "删除贮藏",
SureDropStashEntry: "您确定要删除此贮藏条目吗?",
StashPop: "应用并删除贮藏",
SurePopStashEntry: "您确定要应用并删除此贮藏条目吗?",
StashApply: "应用贮藏",
SureApplyStashEntry: "您确定要应用此贮藏条目?",
NoTrackedStagedFilesStash: "没有可以贮藏的已跟踪/暂存文件",
StashChanges: "贮藏更改",
2021-05-19 11:55:26 +02:00
MergeAborted: "合并中止",
OpenConfig: "打开配置文件",
EditConfig: "编辑配置文件",
ForcePush: "强制推送",
2021-09-13 12:18:52 +02:00
ForcePushPrompt: "您的分支已与远程分支不同。按‘esc’取消,或‘enter’强制推送.",
ForcePushDisabled: "您的分支已与远程分支不同, 并且您已经禁用了强行推送",
2021-05-19 11:55:26 +02:00
UpdatesRejectedAndForcePushDisabled: "更新被拒绝,您已禁用强制推送",
LcCheckForUpdate: "检查更新",
2022-03-26 04:26:45 +02:00
CheckingForUpdates: "正在检查更新…",
OnLatestVersionErr: "已是最新版本",
MajorVersionErr: "新版本 ({{.newVersion}}) 与当前版本 ({{.currentVersion}}) 相比,具有非向后兼容的更改",
2021-09-13 12:18:52 +02:00
CouldNotFindBinaryErr: "在 {{.url}} 处找不到任何二进制文件",
2021-05-19 11:55:26 +02:00
MergeToolTitle: "合并工具",
MergeToolPrompt: "确定要打开 `git mergetool` 吗?",
IntroPopupMessage: chineseIntroPopupMessage,
2021-09-13 12:18:52 +02:00
GitconfigParseErr: `由于存在未加引号的'\'字符,因此 Gogit 无法解析您的 gitconfig 文件。删除它们应该可以解决问题。`,
2021-06-15 00:25:07 +02:00
LcEditFile: `编辑文件`,
LcOpenFile: `打开文件`,
LcIgnoreFile: `添加到 .gitignore`,
LcRefreshFiles: `刷新文件`,
2021-09-13 12:18:52 +02:00
LcMergeIntoCurrentBranch: `合并到当前检出的分支`,
ConfirmQuit: `您确定要退出吗?`,
2021-06-15 00:25:07 +02:00
SwitchRepo: `切换到最近的仓库`,
2021-09-13 12:18:52 +02:00
LcAllBranchesLogGraph: `显示所有分支的日志`,
UnsupportedGitService: `不支持的 git 服务`,
LcCreatePullRequest: `创建抓取请求`,
LcCopyPullRequestURL: `将抓取请求 URL 复制到剪贴板`,
NoBranchOnRemote: `该分支在远程上不存在. 您需要先将其推送到远程.`,
LcFetch: `抓取`,
NoAutomaticGitFetchTitle: `无法自动进行 "git fetch"`,
NoAutomaticGitFetchBody: `Lazygit 不能在私人仓库中使用 "git fetch"; 请在文件面板中使用 'f' 手动运行 "git fetch"`,
2021-06-15 00:25:07 +02:00
FileEnter: `暂存单个 块/行 用于文件, 或 折叠/展开 目录`,
FileStagingRequirements: `只能暂存跟踪文件的单独行`,
2021-09-13 12:18:52 +02:00
StageSelection: `切换行暂存状态`,
ResetSelection: `取消变更 (git reset)`,
2021-06-15 00:25:07 +02:00
ToggleDragSelect: `切换拖动选择`,
2021-09-13 12:18:52 +02:00
ToggleSelectHunk: `切换选择区块`,
ToggleSelectionForPatch: `添加/移除 行到补丁`,
2021-06-15 00:25:07 +02:00
TogglePanel: `切换到其他面板`,
ReturnToFilesPanel: `返回文件面板`,
2021-09-13 12:18:52 +02:00
FastForward: `从上游快进此分支`,
Fetching: "抓取并快进 {{.from}} -> {{.to}} ...",
FoundConflicts: "冲突!需要中止操作请按‘esc’, 否则按‘enter’",
2021-06-15 00:25:07 +02:00
FoundConflictsTitle: "自动合并失败",
2021-09-13 12:18:52 +02:00
PickHunk: "选中区块",
PickAllHunks: "选中所有区块",
2021-06-15 00:25:07 +02:00
ViewMergeRebaseOptions: "查看 合并/变基 选项",
2021-09-13 12:18:52 +02:00
NotMergingOrRebasing: "您目前既不进行变基也不进行合并",
2021-06-15 00:25:07 +02:00
RecentRepos: "最近的仓库",
MergeOptionsTitle: "合并选项",
RebaseOptionsTitle: "变基选项",
CommitMessageTitle: "提交讯息",
2022-03-26 04:26:45 +02:00
LocalBranchesTitle: "分支页面",
2021-06-15 00:25:07 +02:00
SearchTitle: "搜索",
2021-09-13 12:18:52 +02:00
TagsTitle: "标签页面",
2021-06-15 00:25:07 +02:00
MenuTitle: "菜单",
2021-09-13 12:18:52 +02:00
RemotesTitle: "远程页面",
RemoteBranchesTitle: "远程分支(在远程页面中)",
PatchBuildingTitle: "构建补丁中",
2021-06-15 00:25:07 +02:00
InformationTitle: "信息",
SecondaryTitle: "次要",
2022-03-26 04:26:45 +02:00
ReflogCommitsTitle: "Reflog 页面",
2021-06-15 00:25:07 +02:00
GlobalTitle: "全局键绑定",
2021-09-13 12:18:52 +02:00
ConflictsResolved: "已解决所有冲突。是否继续?",
2021-06-15 00:25:07 +02:00
RebasingTitle: "变基",
2021-09-13 12:18:52 +02:00
ConfirmRebase: "您确定要将分支 {{.checkedOutBranch}} 变基到 {{.selectedBranch}} 吗?",
ConfirmMerge: "您确定要将分支 {{.selectedBranch}} 合并到 {{.checkedOutBranch}} 吗?",
2022-03-26 04:26:45 +02:00
FwdNoUpstream: "此分支没有上游,无法快进",
FwdNoLocalUpstream: "此分支的远程未在本地注册,无法快进",
FwdCommitsToPush: "此分支带有尚未推送的提交,无法快进",
2021-09-13 12:18:52 +02:00
ErrorOccurred: "发生错误!请在以下位置创建 issue",
2022-03-26 04:26:45 +02:00
NoRoom: "空间不足",
2021-09-13 12:18:52 +02:00
YouAreHere: "您在这里",
2021-06-15 00:25:07 +02:00
LcRewordNotSupported: "当前不支持交互式重新基准化时的重新措词提交",
2021-09-13 12:18:52 +02:00
LcCherryPickCopy: "复制提交(拣选)",
LcCherryPickCopyRange: "复制提交范围(拣选)",
LcPasteCommits: "粘贴提交(拣选)",
SureCherryPick: "您确定要将选中的提交进行拣选到这个分支吗?",
2022-03-26 04:26:45 +02:00
CherryPick: "拣选 (Cherry-Pick)",
CannotRebaseOntoFirstCommit: "您不能以交互方式变基 (rebase) 至第一次提交",
CannotSquashOntoSecondCommit: "您不能压缩 (squash) 或修正 (fixup) 第二个提交",
2021-06-15 00:25:07 +02:00
Donate: "捐助",
2022-03-26 04:26:45 +02:00
AskQuestion: "提问咨询",
2021-06-15 00:25:07 +02:00
PrevLine: "选择上一行",
NextLine: "选择下一行",
2021-09-13 12:18:52 +02:00
PrevHunk: "选择上一个区块",
NextHunk: "选择下一个区块",
2021-06-15 00:25:07 +02:00
PrevConflict: "选择上一个冲突",
NextConflict: "选择下一个冲突",
2021-08-24 14:38:34 +02:00
SelectPrevHunk: "选择顶部块",
SelectNextHunk: "选择底部块",
2021-06-15 00:25:07 +02:00
ScrollDown: "向下滚动",
ScrollUp: "向上滚动",
LcScrollUpMainPanel: "向上滚动主面板",
LcScrollDownMainPanel: "向下滚动主面板",
AmendCommitTitle: "修改提交",
2021-09-13 12:18:52 +02:00
AmendCommitPrompt: "您确定要使用暂存文件来修改此提交吗?",
2021-06-15 00:25:07 +02:00
DeleteCommitTitle: "删除提交",
2021-09-13 12:18:52 +02:00
DeleteCommitPrompt: "您确定要删除此提交吗?",
SquashingStatus: "正在压缩",
FixingStatus: "正在修正",
2021-06-15 00:25:07 +02:00
DeletingStatus: "正在删除",
MovingStatus: "正在移动",
2022-03-26 04:26:45 +02:00
RebasingStatus: "正在变基",
AmendingStatus: "正在修改",
CherryPickingStatus: "正在拣选",
2021-06-15 00:25:07 +02:00
UndoingStatus: "正在撤销",
RedoingStatus: "正在重做",
2022-03-26 04:26:45 +02:00
CheckingOutStatus: "长子检出",
2021-06-15 00:25:07 +02:00
CommittingStatus: "正在提交",
CommitFiles: "提交文件",
2022-02-13 09:26:44 +02:00
LcViewItemFiles: "查看提交的文件",
2021-06-15 00:25:07 +02:00
CommitFilesTitle: "提交文件",
2021-09-13 12:18:52 +02:00
LcCheckoutCommitFile: "检出文件",
2021-06-15 00:25:07 +02:00
LcDiscardOldFileChange: "放弃对此文件的提交更改",
DiscardFileChangesTitle: "放弃文件更改",
2021-09-13 12:18:52 +02:00
DiscardFileChangesPrompt: "您确定要舍弃此提交对该文件的更改吗?如果此文件是在此提交中创建的,它将被删除",
DisabledForGPG: "该功能不适用于使用 GPG 的用户",
2022-03-26 04:26:45 +02:00
CreateRepo: "当前目录不在 git 仓库中。是否在此目录创建一个新的 git 仓库?(y/n): ",
2021-09-13 12:18:52 +02:00
AutoStashTitle: "自动存储?",
AutoStashPrompt: "您必须隐藏并弹出更改以使更改生效。自动执行?(enter/esc)",
2021-06-15 00:25:07 +02:00
StashPrefix: "自动隐藏更改 ",
2022-03-26 04:26:45 +02:00
LcViewDiscardOptions: "查看'放弃更改'选项",
2021-06-15 00:25:07 +02:00
LcCancel: "取消",
LcDiscardAllChanges: "放弃所有更改",
2021-11-16 11:06:46 +02:00
LcDiscardUnstagedChanges: "放弃未暂存的变更",
2021-09-13 12:18:52 +02:00
LcDiscardAllChangesToAllFiles: "清空工作区",
LcDiscardAnyUnstagedChanges: "丢弃未暂存的变更",
2021-06-15 00:25:07 +02:00
LcDiscardUntrackedFiles: "丢弃未跟踪的文件",
LcHardReset: "硬重置",
LcViewResetOptions: `查看重置选项`,
2021-09-13 12:18:52 +02:00
LcCreateFixupCommit: `为此提交创建修正`,
LcSquashAboveCommits: `压缩在所选提交之上的所有“fixup!”提交(自动压缩)`,
SquashAboveCommits: `压缩在所选提交之上的所有“fixup!”提交(自动压缩)`,
SureSquashAboveCommits: `您确定要压缩在 {{.commit}} 之上的所有“fixup!”提交吗?`,
2021-06-15 00:25:07 +02:00
CreateFixupCommit: `创建修正提交`,
2021-09-13 12:18:52 +02:00
SureCreateFixupCommit: `您确定要对 {{.commit}} 创建修正提交吗?`,
2021-06-15 00:25:07 +02:00
LcExecuteCustomCommand: "执行自定义命令",
2021-09-13 12:18:52 +02:00
CustomCommand: "自定义命令:",
2021-06-15 00:25:07 +02:00
LcCommitChangesWithoutHook: "提交更改而无需预先提交钩子",
2021-09-13 12:18:52 +02:00
SkipHookPrefixNotConfigured: "您尚未配置用于跳过钩子的提交消息前缀。请在您的配置中设置 `git.skipHookPrefix ='WIP'`",
2021-06-15 00:25:07 +02:00
LcResetTo: `重置为`,
2021-09-13 12:18:52 +02:00
PressEnterToReturn: "按下 Enter 键返回 lazygit",
2022-03-26 04:26:45 +02:00
LcViewStashOptions: "查看贮藏选项",
2021-09-13 12:18:52 +02:00
LcStashAllChanges: "将所有更改加入贮藏",
LcStashStagedChanges: "将已暂存的更改加入贮藏",
LcStashOptions: "贮藏选项",
NotARepository: "错误:必须在 git 仓库中运行",
2021-06-15 00:25:07 +02:00
LcJump: "跳到面板",
2022-03-26 04:26:45 +02:00
LcScrollLeftRight: "左右滚动",
LcScrollLeft: "向左滚动",
LcScrollRight: "向右滚动",
2021-06-15 00:25:07 +02:00
DiscardPatch: "丢弃补丁",
2021-09-13 12:18:52 +02:00
DiscardPatchConfirm: "您一次只能通过一个提交或贮藏条目构建补丁。需要放弃当前补丁吗?",
2021-06-15 00:25:07 +02:00
CantPatchWhileRebasingError: "处于合并或变基状态时,您无法构建修补程序或运行修补程序命令",
LcToggleAddToPatch: "补丁中包含的切换文件",
ViewPatchOptions: "查看自定义补丁选项",
PatchOptionsTitle: "补丁选项",
2021-09-13 12:18:52 +02:00
NoPatchError: "尚未创建补丁。你可以在提交中的文件上按下“空格”或使用“回车”添加其中的特定行以开始构建补丁",
LcEnterFile: "输入文件以将所选行添加到补丁中(或切换目录折叠)",
2021-06-15 00:25:07 +02:00
ExitLineByLineMode: `退出逐行模式`,
2022-03-26 04:26:45 +02:00
EnterUpstream: `以这种格式输入上游:'<远程仓库> <分支名称>'`,
InvalidUpstream: "上游格式无效,格式应当为:'<remote> <branchname>'",
2021-09-13 12:18:52 +02:00
ReturnToRemotesList: `返回远程仓库列表`,
LcAddNewRemote: `添加新的远程仓库`,
2022-03-26 04:26:45 +02:00
LcNewRemoteName: `新远程仓库名称:`,
LcNewRemoteUrl: `新远程仓库 URL:`,
2021-09-13 12:18:52 +02:00
LcEditRemoteName: `输入远程仓库 {{.remoteName}} 的新名称:`,
LcEditRemoteUrl: `输入远程仓库 {{.remoteName}} 的新 URL:`,
2021-06-15 00:25:07 +02:00
LcRemoveRemote: `删除远程`,
2021-09-13 12:18:52 +02:00
LcRemoveRemotePrompt: "您确定要删除远程仓库吗?",
2021-06-15 00:25:07 +02:00
DeleteRemoteBranch: "删除远程分支",
2021-09-13 12:18:52 +02:00
DeleteRemoteBranchMessage: "您确定要删除远程分支吗?",
2021-06-15 00:25:07 +02:00
LcSetUpstream: "设置为检出分支的上游",
SetUpstreamTitle: "设置上游分支",
2021-09-13 12:18:52 +02:00
SetUpstreamMessage: "您确定要将 {{.checkedOut}} 的上游分支设置为 {{.selected}} 吗?",
LcEditRemote: "编辑远程仓库",
2021-06-15 00:25:07 +02:00
LcTagCommit: "标签提交",
2022-03-26 04:26:45 +02:00
TagMenuTitle: "创建标签",
TagNameTitle: "标签名称:",
TagMessageTitle: "标签消息:",
LcAnnotatedTag: "附注标签",
LcLightweightTag: "轻量标签",
2021-06-15 00:25:07 +02:00
LcDeleteTag: "删除标签",
DeleteTagTitle: "删除标签",
2021-09-13 12:18:52 +02:00
DeleteTagPrompt: "您确定要删除标签 {{.tagName}} 吗?",
PushTagTitle: "将 {{.tagName}} 推送到远程仓库:",
2021-06-15 00:25:07 +02:00
LcPushTag: "推送标签",
LcCreateTag: "创建标签",
2022-03-26 04:26:45 +02:00
CreateTagTitle: "标签名称:",
2021-09-13 12:18:52 +02:00
LcFetchRemote: "抓取远程仓库",
FetchingRemoteStatus: "抓取远程仓库中",
LcCheckoutCommit: "检出提交",
SureCheckoutThisCommit: "您确定要检出此提交吗?",
LcGitFlowOptions: "显示 git-flow 选项",
NotAGitFlowBranch: "这似乎不是 git flow 分支",
NewGitFlowBranchPrompt: "新的 {{.branchType}} 名称:",
2021-06-15 00:25:07 +02:00
IgnoreTracked: "忽略跟踪文件",
2021-09-13 12:18:52 +02:00
IgnoreTrackedPrompt: "您确定要忽略已跟踪的文件吗?",
2021-06-15 00:25:07 +02:00
LcViewResetToUpstreamOptions: "查看上游重置选项",
LcNextScreenMode: "下一屏模式(正常/半屏/全屏)",
LcPrevScreenMode: "上一屏模式",
LcStartSearch: "开始搜索",
Panel: "面板",
2021-09-13 12:18:52 +02:00
Keybindings: "按键绑定",
2021-06-15 00:25:07 +02:00
LcRenameBranch: "重命名分支",
2021-09-13 12:18:52 +02:00
NewBranchNamePrompt: "输入分支的新名称",
RenameBranchWarning: "该分支正在跟踪远程仓库。此操作将仅会重命名本地分支名称,而不会重命名远程分支的名称。确定继续?",
2021-06-15 00:25:07 +02:00
LcOpenMenu: "打开菜单",
LcCloseMenu: "关闭菜单",
2021-09-13 12:18:52 +02:00
LcResetCherryPick: "重置已拣选(复制)的提交",
2021-06-15 00:25:07 +02:00
LcNextTab: "下一个标签",
LcPrevTab: "上一个标签",
LcCantUndoWhileRebasing: "进行基础调整时无法撤消",
LcCantRedoWhileRebasing: "变基时无法重做",
MustStashWarning: "将补丁拉出到索引中需要存储和取消存储所做的更改。如果出现问题,您将可以从存储中访问文件。继续?",
2021-09-13 12:18:52 +02:00
MustStashTitle: "必须保存进度",
2021-06-15 00:25:07 +02:00
ConfirmationTitle: "确认面板",
LcPrevPage: "上一页",
LcNextPage: "下一页",
LcGotoTop: "滚动到顶部",
LcGotoBottom: "滚动到底部",
LcFilteringBy: "过滤依据",
2021-09-13 12:18:52 +02:00
ResetInParentheses: "(重置)",
2021-06-15 00:25:07 +02:00
LcOpenFilteringMenu: "查看按路径过滤选项",
LcFilterBy: "过滤",
LcExitFilterMode: "停止按路径过滤",
LcFilterPathOption: "输入要过滤的路径",
2021-10-23 02:25:37 +02:00
EnterFileName: "输入路径:",
2021-06-15 00:25:07 +02:00
FilteringMenuTitle: "正在过滤",
MustExitFilterModeTitle: "命令不可用",
MustExitFilterModePrompt: "命令在过滤模式下不可用。退出过滤模式?",
2021-09-13 12:18:52 +02:00
LcDiff: "差异",
2022-03-26 04:26:45 +02:00
LcEnterRefToDiff: "输入 ref 以 diff",
2021-09-13 12:18:52 +02:00
LcEnteRefName: "输入 ref:",
2021-06-15 00:25:07 +02:00
LcExitDiffMode: "退出差异模式",
2022-03-26 04:26:45 +02:00
DiffingMenuTitle: "正在 diff",
2021-09-13 12:18:52 +02:00
LcSwapDiff: "反向 diff",
LcOpenDiffingMenu: "打开 diff 菜单",
2022-03-26 04:26:45 +02:00
// 实际视图 (actual view) 是附加视图 (extras view),未来,我打算为附加视图提供更多选项卡,但现在,上面的文本只需要提及“命令日志”这个部分
2021-05-19 11:55:26 +02:00
LcOpenExtrasMenu: "打开命令日志菜单",
2022-03-26 04:26:45 +02:00
LcShowingGitDiff: "显示输出:",
2021-09-13 12:18:52 +02:00
LcCopyCommitShaToClipboard: "将提交的 SHA 复制到剪贴板",
2021-05-19 11:55:26 +02:00
LcCopyCommitMessageToClipboard: "将提交消息复制到剪贴板",
LcCopyBranchNameToClipboard: "将分支名称复制到剪贴板",
LcCopyFileNameToClipboard: "将文件名复制到剪贴板",
LcCopyCommitFileNameToClipboard: "将提交的文件名复制到剪贴板",
2022-03-26 04:26:45 +02:00
LcCopySelectedTexToClipboard: "将选中文本复制到剪贴板",
2021-05-19 11:55:26 +02:00
LcCommitPrefixPatternError: "提交前缀模式错误",
NoFilesStagedTitle: "没有暂存文件",
NoFilesStagedPrompt: "您尚未暂存任何文件。提交所有文件?",
BranchNotFoundTitle: "找不到分支",
2021-09-13 12:18:52 +02:00
BranchNotFoundPrompt: "找不到分支。创建一个新分支命名为:",
2022-03-26 04:26:45 +02:00
UnstageLinesTitle: "取消暂存选中的行",
2021-09-13 12:18:52 +02:00
UnstageLinesPrompt: "您确定要删除所选的行(git reset)吗?这是不可逆的。\n要禁用此对话框,请将 'gui.skipUnstageLineWarning' 的配置键设置为 true",
2021-05-19 11:55:26 +02:00
LcCreateNewBranchFromCommit: "从提交创建新分支",
2021-09-13 12:18:52 +02:00
LcBuildingPatch: "正在构建补丁",
2021-05-19 11:55:26 +02:00
LcViewCommits: "查看提交",
2022-03-26 04:26:45 +02:00
MinGitVersionError: "Git 版本必须至少为 2.0(即从 2014 年开始的版本)。请更新 git。或者在 https://github.com/jesseduffield/lazygit/issues 上提出一个问题,以使 lazygit 更加向后兼容。",
2021-09-13 12:18:52 +02:00
LcRunningCustomCommandStatus: "正在运行自定义命令",
2021-05-19 11:55:26 +02:00
LcSubmoduleStashAndReset: "存放未提交的子模块更改和更新",
LcAndResetSubmodules: "和重置子模块",
LcEnterSubmodule: "输入子模块",
LcCopySubmoduleNameToClipboard: "将子模块名称复制到剪贴板",
RemoveSubmodule: "删除子模块",
LcRemoveSubmodule: "删除子模块",
2022-03-26 04:26:45 +02:00
RemoveSubmodulePrompt: "您确定要删除子模块 '%s' 及其对应的目录吗?这是不可逆的。",
2021-09-13 12:18:52 +02:00
LcResettingSubmoduleStatus: "正在重置子模块",
LcNewSubmoduleName: "新的子模块名称:",
LcNewSubmoduleUrl: "新的子模块 URL:",
LcNewSubmodulePath: "新的子模块路径:",
2021-05-19 11:55:26 +02:00
LcAddSubmodule: "添加新的子模块",
LcAddingSubmoduleStatus: "添加子模块",
2022-03-26 04:26:45 +02:00
LcUpdateSubmoduleUrl: "更新子模块 '%s' 的 URL",
2021-09-13 12:18:52 +02:00
LcUpdatingSubmoduleUrlStatus: "更新 URL 中",
LcEditSubmoduleUrl: "更新子模块 URL",
LcInitializingSubmoduleStatus: "正在初始化子模块",
2021-05-19 11:55:26 +02:00
LcInitSubmodule: "初始化子模块",
LcSubmoduleUpdate: "更新子模块",
2021-09-13 12:18:52 +02:00
LcUpdatingSubmoduleStatus: "正在更新子模块",
2021-05-19 11:55:26 +02:00
LcBulkInitSubmodules: "批量初始化子模块",
LcBulkUpdateSubmodules: "批量更新子模块",
2021-09-13 12:18:52 +02:00
LcBulkDeinitSubmodules: "批量反初始化子模块",
2021-05-19 11:55:26 +02:00
LcViewBulkSubmoduleOptions: "查看批量子模块选项",
LcBulkSubmoduleOptions: "批量子模块选项",
LcRunningCommand: "运行命令",
SubCommitsTitle: "子提交",
SubmodulesTitle: "子模块",
NavigationTitle: "列表面板导航",
2021-10-23 02:25:37 +02:00
SuggestionsCheatsheetTitle: "意见建议",
2022-03-26 04:26:45 +02:00
SuggestionsTitle: "意见建议 (点击 %s 以聚焦)",
ExtrasTitle: "附加",
2021-05-19 11:55:26 +02:00
PushingTagStatus: "推送标签",
2021-09-13 12:18:52 +02:00
PullRequestURLCopiedToClipboard: "抓取请求网址已复制到剪贴板",
2021-05-19 11:55:26 +02:00
CommitMessageCopiedToClipboard: "提交消息复制到剪贴板",
LcCopiedToClipboard: "复制到剪贴板",
2021-09-13 12:18:52 +02:00
ErrCannotEditDirectory: "无法编辑目录:您只能编辑单个文件",
2021-05-19 11:55:26 +02:00
ErrStageDirWithInlineMergeConflicts: "无法 暂存/取消暂存 包含具有内联合并冲突的文件的目录。请先解决合并冲突",
2021-09-13 12:18:52 +02:00
ErrRepositoryMovedOrDeleted: "找不到仓库。它可能已被移动或删除 ¯\\_(ツ)_/¯",
2021-05-19 11:55:26 +02:00
CommandLog: "命令日志",
ToggleShowCommandLog: "切换 显示/隐藏 命令日志",
FocusCommandLog: "焦点命令日志",
2021-09-13 12:18:52 +02:00
CommandLogHeader: "您可以通过按 '%s' 隐藏或集中显示该面板,或使用 `gui.showCommandLog: false`\n将其永久隐藏在您的配置中",
2022-03-26 04:26:45 +02:00
RandomTip: "随机小提示",
2021-09-02 06:16:53 +02:00
SelectParentCommitForMerge: "选择父提交进行合并",
2022-03-26 04:26:45 +02:00
ToggleWhitespaceInDiffView: "切换是否在差异视图中显示空白字符差异",
IgnoringWhitespaceInDiffView: "将会在差异视图中忽略空格字符差异",
ShowingWhitespaceInDiffView: "将会在差异视图中显示空白字符差异",
IncreaseContextInDiffView: "扩大差异视图中显示的上下文范围",
DecreaseContextInDiffView: "缩小差异视图中显示的上下文范围",
2021-09-13 12:18:52 +02:00
CreatePullRequest: "创建抓取请求",
CreatePullRequestOptions: "创建抓取请求选项",
LcCreatePullRequestOptions: "创建抓取请求选项",
2021-09-02 06:16:53 +02:00
LcDefaultBranch: "默认分支",
LcSelectBranch: "选择分支",
2022-03-26 04:26:45 +02:00
SelectConfigFile: "选择配置文件",
NoConfigFileFoundErr: "找不到配置文件",
LcLoadingFileSuggestions: "正在加载文件建议",
LcLoadingCommits: "正在加载提交",
MustSpecifyOriginError: "指定分支时,必须同时指定远程",
GitOutput: "Git 输出:",
GitCommandFailed: "Git 命令执行失败。查看命令日志了解详情 (使用 %s 打开)",
AbortTitle: "放弃 %s",
AbortPrompt: "您确定要放弃当前 %s 吗?",
LcOpenLogMenu: "打开日志菜单",
LogMenuTitle: "提交日志选项",
ToggleShowGitGraphAll: "切换显示完整 git 分支图 (向 `git log` 命令传入 `--all` 选项)",
ShowGitGraph: "显示 git 分支图",
SortCommits: "提交排序",
CantChangeContextSizeError: "无法在补丁构建模式下更改上下文,因为我们在发布该功能时懒得支持它。 如果你真的想要这么做,请告诉我们!",
LcOpenCommitInBrowser: "在浏览器中打开提交",
LcViewBisectOptions: "查看二分查找选项",
2022-01-05 03:01:59 +02:00
Actions: Actions{
2021-06-15 00:25:07 +02:00
// TODO: combine this with the original keybinding descriptions (those are all in lowercase atm)
2021-05-19 11:55:26 +02:00
CheckoutCommit: "检出提交",
2022-03-26 04:26:45 +02:00
CheckoutReflogCommit: "检出 reflog 提交",
2021-05-19 11:55:26 +02:00
CheckoutTag: "检出标签",
CheckoutBranch: "检出分支",
ForceCheckoutBranch: "强制检出分支",
DeleteBranch: "删除分支",
Merge: "合并",
RebaseBranch: "变基分支",
RenameBranch: "重命名分支",
CreateBranch: "建立分支",
2022-03-26 04:26:45 +02:00
CherryPick: "(拣选) 粘贴提交",
2021-05-19 11:55:26 +02:00
CheckoutFile: "检出文件",
DiscardOldFileChange: "放弃旧文件更改",
2021-09-13 12:18:52 +02:00
SquashCommitDown: "向下压缩提交",
2021-05-19 11:55:26 +02:00
FixupCommit: "修正提交",
RewordCommit: "改写提交",
DropCommit: "删除提交",
EditCommit: "编辑提交",
AmendCommit: "修改提交",
RevertCommit: "还原提交",
CreateFixupCommit: "创建修正提交",
2022-03-26 04:26:45 +02:00
SquashAllAboveFixupCommits: "压缩以上所有的修正提交",
CreateLightweightTag: "创建轻量标签",
CreateAnnotatedTag: "创建附注标签",
2021-05-19 11:55:26 +02:00
CopyCommitMessageToClipboard: "将提交消息复制到剪贴板",
2022-03-26 04:26:45 +02:00
MoveCommitUp: "上移提交",
2021-05-19 11:55:26 +02:00
MoveCommitDown: "下移提交",
CustomCommand: "自定义命令",
2022-03-26 04:26:45 +02:00
DiscardAllChangesInDirectory: "丢弃目录中的所有更改",
DiscardUnstagedChangesInDirectory: "丢弃目录中未暂存的更改",
DiscardAllChangesInFile: "丢弃文件中的所有更改",
2021-05-19 11:55:26 +02:00
DiscardAllUnstagedChangesInFile: "丢弃文件中所有未暂存的更改",
StageFile: "暂存文件",
2022-03-26 04:26:45 +02:00
UnstageFile: "取消暂存文件",
2021-05-19 11:55:26 +02:00
UnstageAllFiles: "取消暂存所有文件",
StageAllFiles: "暂存所有文件",
IgnoreFile: "忽略文件",
2022-03-26 04:26:45 +02:00
Commit: "提交 (Commit)",
2021-05-19 11:55:26 +02:00
EditFile: "编辑文件",
2022-03-26 04:26:45 +02:00
Push: "推送 (Push)",
Pull: "拉取 (Pull)",
2021-05-19 11:55:26 +02:00
OpenFile: "打开文件",
2022-03-26 04:26:45 +02:00
StashAllChanges: "贮藏所有更改",
StashStagedChanges: "贮藏暂存的更改",
GitFlowFinish: "Git flow 结果",
GitFlowStart: "Git Flow 开始",
2021-05-19 11:55:26 +02:00
CopyToClipboard: "复制到剪贴板",
2022-03-26 04:26:45 +02:00
CopySelectedTextToClipboard: "将选中文本复制到剪贴板",
2021-05-19 11:55:26 +02:00
RemovePatchFromCommit: "从提交中删除补丁",
MovePatchToSelectedCommit: "将补丁移动到选定的提交",
MovePatchIntoIndex: "将补丁移到索引",
MovePatchIntoNewCommit: "将补丁移到新提交中",
DeleteRemoteBranch: "删除远程分支",
SetBranchUpstream: "设置分支上游",
AddRemote: "添加远程",
RemoveRemote: "移除远程",
2022-03-26 04:26:45 +02:00
UpdateRemote: "更新远程",
ApplyPatch: "应用补丁",
Stash: "贮藏 (Stash)",
2021-05-19 11:55:26 +02:00
RemoveSubmodule: "删除子模块",
ResetSubmodule: "重置子模块",
AddSubmodule: "添加子模块",
2022-03-26 04:26:45 +02:00
UpdateSubmoduleUrl: "更新子模块 URL",
2021-05-19 11:55:26 +02:00
InitialiseSubmodule: "初始化子模块",
BulkInitialiseSubmodules: "批量初始化子模块",
BulkUpdateSubmodules: "批量更新子模块",
BulkDeinitialiseSubmodules: "批量取消初始化子模块",
UpdateSubmodule: "更新子模块",
DeleteTag: "删除标签",
PushTag: "推送标签",
2022-03-26 04:26:45 +02:00
NukeWorkingTree: "Nuke 工作树",
2021-05-19 11:55:26 +02:00
DiscardUnstagedFileChanges: "放弃未暂存的文件更改",
RemoveUntrackedFiles: "删除未跟踪的文件",
SoftReset: "软重置",
MixedReset: "混合重置",
HardReset: "硬重置",
FastForwardBranch: "快进分支",
Undo: "撤销",
Redo: "重做",
2022-03-26 04:26:45 +02:00
CopyPullRequestURL: "复制拉取请求 URL",
OpenMergeTool: "打开合并工具",
OpenCommitInBrowser: "在浏览器中打开提交",
OpenPullRequest: "在浏览器中打开拉取请求",
StartBisect: "开始二分查找 (Bisect)",
ResetBisect: "重置二分查找",
BisectSkip: "二分查找跳过",
BisectMark: "二分查找标记",
},
Bisect: Bisect{
Mark: "将 %s 标记为 %s",
MarkStart: "将 %s 标记为 %s (start bisect)",
Skip: "跳过 %s",
ResetTitle: "重置 'git bisect'",
ResetPrompt: "您确定要重置 'git bisect' 吗?",
ResetOption: "重置二分查找",
BisectMenuTitle: "二分查找",
CompleteTitle: "二分查找完成",
CompletePrompt: "二分查找完成!以下提交引入了此变更:\n\n%s\n\n您现在要重置 'git bisect' 吗?",
CompletePromptIndeterminate: "二分查找完成!一些提交被跳过了,所以下列提交中的任何一个都可能引入了此变更:\n\n%s\n\n您现在要重置 'git bisect' 吗?",
2021-05-19 11:55:26 +02:00
},
}
}