{
  "title": "Git",
  "init": {
    "title": "初始化 Git",
    "notRepository": "当前目录不是 Git 仓库",
    "initButton": "初始化仓库",
    "hint": "点击按钮后将通过 AI 助手帮你完成初始化",
    "chatPrompt": "请帮我在当前工作区初始化 Git 仓库。"
  },
  "loading": {
    "text": "加载Git信息...",
    "hint": "如果加载时间过长，请点击刷新按钮"
  },
  "common": {
    "loading": "加载中...",
    "retry": "重试",
    "refresh": "刷新",
    "saving": "正在保存...",
    "processing": "处理中...",
    "unknown": "未知",
    "unknownError": "未知错误"
  },
  "actions": {
    "refresh": "刷新Git状态",
    "forceRefresh": "强制刷新",
    "push": "推送",
    "forcePush": "强推",
    "pull": "拉取",
    "stageAll": "暂存所有",
    "stageSelected": "暂存选中的 {{count}} 个文件",
    "selectFilesToStage": "请先选择要暂存的文件",
    "commit": "提交",
    "commitWithCount": "提交 ({{count}})",
    "aiGenerateCommit": "AI 生成提交信息",
    "cancelGenerate": "取消生成",
    "aiCodeReview": "AI 代码审查",
    "viewAllDiff": "查看所有差异",
    "discardFile": "恢复此文件",
    "deleteFile": "删除此文件",
    "discardAllChanges": "恢复所有更改",
    "copyCommitHash": "复制提交哈希",
    "resetToCommit": "重置到此提交",
    "createBranchFromCommit": "从此提交创建分支",
    "switchBranch": "切换到此分支",
    "createBranchFrom": "基于此分支新建分支",
    "deleteBranch": "删除分支",
    "viewBranchHistory": "点击查看提交历史",
    "viewBranchGraph": "查看分支图"
  },
  "tabs": {
    "changes": "变更文件",
    "commits": "提交历史",
    "branches": "分支列表",
    "changeDiff": "变更差异",
    "branchGraph": "Git 分支图",
    "branchCommitHistory": "{{branch}} 提交历史"
  },
  "search": {
    "files": "搜索文件...",
    "commits": "搜索提交...",
    "branches": "搜索分支...",
    "clear": "清除搜索"
  },
  "branchHistory": {
    "loading": "正在加载 {{branch}} 的提交历史...",
    "loadFailed": "加载提交历史失败",
    "loadFailedWithMessage": "加载失败: {{error}}",
    "retry": "重试",
    "selection": {
      "selectAll": "全选",
      "deselectAll": "取消全选"
    },
    "allAuthors": "全部作者",
    "authorPlaceholder": "作者",
    "cherryPick": "Cherry-pick",
    "cherryPickRunning": "执行中...",
    "cherryPickFailed": "Cherry-pick 失败",
    "cherryPickOperationFailed": "Cherry-pick 操作失败",
    "copied": "已复制",
    "copy": "点击复制",
    "refresh": "刷新",
    "details": {
      "fullHash": "完整哈希:",
      "commitTime": "提交时间:"
    },
    "notifications": {
      "cherryPickSuccess": "成功 cherry-pick {{count}} 个提交到 {{branch}} 分支",
      "cherryPickPartial": "已成功 cherry-pick {{count}} 个提交，但提交 {{hash}} 失败: {{error}}",
      "cherryPickFailedWithError": "Cherry-pick 提交 {{hash}} 失败: {{error}}"
    }
  },
  "graph": {
    "loading": "加载提交历史...",
    "loadFailedWithMessage": "加载失败: {{error}}",
    "empty": "没有提交历史",
    "title": "提交历史",
    "searchPlaceholder": "搜索提交信息、作者或哈希...",
    "searchPrevious": "上一个结果 (Shift+Enter)",
    "searchNext": "下一个结果 (Enter)",
    "noResults": "无结果",
    "tooltip": {
      "author": "作者",
      "hash": "哈希",
      "time": "时间",
      "refs": "引用:",
      "currentRefSuffix": "(当前)"
    }
  },
  "diffView": {
    "errors": {
      "repositoryPathEmpty": "仓库路径不能为空",
      "loadFailed": "加载差异失败"
    },
    "loading": "加载差异对比...",
    "loadFailedTitle": "加载差异失败",
    "workingTree": "工作区",
    "staged": "暂存区",
    "collapseAll": "折叠全部",
    "expandAll": "展开全部",
    "loadingData": "正在加载差异数据...",
    "empty": {
      "title": "没有发现差异",
      "workingTreeClean": "工作区没有变更",
      "noDiffBetweenCommits": "指定的提交之间没有差异",
      "selectRepository": "请选择一个 Git 仓库来查看差异"
    }
  },
  "diffEditor": {
    "saveFailedWithMessage": "保存失败: {{error}}",
    "confirmAcceptAll": "确定要接受所有更改并暂存文件吗？\n\n文件：{{filePath}}\n+{{additions}} 行，-{{deletions}} 行",
    "acceptFailedWithMessage": "接受更改失败: {{error}}",
    "confirmRejectAll": "确定要丢弃所有更改吗？此操作不可撤销！\n\n文件：{{filePath}}\n将丢弃 {{changes}} 处更改",
    "rejectFailedWithMessage": "拒绝更改失败: {{error}}",
    "completed": {
      "acceptedTitle": "已接受所有更改",
      "rejectedTitle": "已拒绝所有更改",
      "stagedHint": "文件已暂存，可以提交了",
      "rejectedHint": "所有更改已丢弃，文件已恢复"
    }
  },
  "review": {
    "noFilesToReview": "没有文件变更，无法进行代码审查",
    "displayMessage": "审查 Git 变更文件：\n{{files}}",
    "requestMessage": "请审查以下 Git 变更文件：\n\n{{files}}",
    "sendFailed": "发送代码审查请求失败"
  },
  "relativeTime": {
    "justNow": "刚刚",
    "minutesAgo": "{{count}} 分钟前",
    "hoursAgo": "{{count}} 小时前",
    "daysAgo": "{{count}} 天前",
    "weeksAgo": "{{count}} 周前",
    "monthsAgo": "{{count}} 月前",
    "yearsAgo": "{{count}} 年前"
  },
  "status": {
    "staged": "已暂存",
    "unstaged": "未暂存",
    "untracked": "未跟踪",
    "ahead": "领先远程",
    "behind": "落后远程",
    "modified": "M",
    "added": "A",
    "deleted": "D",
    "renamed": "R",
    "untrackedBadge": "U"
  },
  "fileGroups": {
    "unstaged": "未暂存",
    "untracked": "未跟踪",
    "staged": "已暂存",
    "unstagedWithCount": "未暂存 ({{count}})",
    "untrackedWithCount": "未跟踪 ({{count}})",
    "stagedWithCount": "已暂存 ({{count}})",
    "unstagedWithFilter": "未暂存 ({{filtered}} / {{total}})",
    "untrackedWithFilter": "未跟踪 ({{filtered}} / {{total}})",
    "stagedWithFilter": "已暂存 ({{filtered}} / {{total}})",
    "moreFiles": "还有 {{count}} 个文件未显示..."
  },
  "commit": {
    "inputPlaceholder": "输入提交信息...",
    "inputPlaceholderNoStaged": "暂存文件后输入提交信息...",
    "changedFiles": "变更文件 ({{count}})",
    "author": "作者",
    "unknown": "Unknown"
  },
  "branch": {
    "current": "当前"
  },
  "quickSwitch": {
    "searchPlaceholder": "搜索分支...",
    "loading": "加载中...",
    "notifications": {
      "switchSuccess": "已切换到分支 {{branch}}"
    },
    "errors": {
      "title": "Branch switch failed",
      "switchFailed": "Failed to switch branch",
      "switchFailedWithMessage": "Failed to switch branch: {{error}}",
      "localChanges": "Please commit or stash local changes first",
      "indexConflict": "Please resolve the current index conflicts first",
      "unexpected": "Unexpected error while switching branches"
    }
  },
  "branchSelect": {
    "title": "选择或创建分支",
    "inputPlaceholder": "输入新分支名...",
    "loading": "加载中...",
    "createNewLabel": "创建新分支:",
    "openAfterCreate": {
      "label": "创建后打开",
      "description": "创建完成后，立即将新的 worktree 作为工作区打开。"
    },
    "badges": {
      "inUse": "已使用"
    },
    "errors": {
      "loadFailed": "Failed to load branch list"
    }
  },
  "selection": {
    "selectAll": "全选所有未暂存文件",
    "deselectAll": "取消全选",
    "selectFolder": "选择此文件夹下所有文件",
    "deselectFolder": "取消选择此文件夹",
    "selectFile": "选择此文件",
    "deselectFile": "取消选择"
  },
  "empty": {
    "noChanges": "没有文件变更",
    "noMatchingFiles": "没有匹配的文件",
    "noCommits": "没有提交记录",
    "noMatchingCommits": "没有匹配的提交",
    "noBranches": "没有分支",
    "noMatchingBranches": "没有匹配的分支"
  },
  "tooltips": {
    "viewDiff": "点击查看差异",
    "expandDetails": "展开详情",
    "collapseDetails": "收起详情",
    "resizeFileList": "拖拽调整文件列表与差异区域宽度"
  },
  "dialog": {
    "createBranch": {
      "title": "从提交创建新分支",
      "description": "将从提交 {{hash}} 创建新分支",
      "placeholder": "请输入分支名称",
      "confirm": "创建",
      "cancel": "取消"
    },
    "createNewBranch": {
      "title": "创建新分支",
      "baseBranch": "基于分支",
      "nameLabel": "新分支名称",
      "namePlaceholder": "例如: feature/new-feature 或 bugfix/issue-123",
      "namingHintTitle": "分支命名建议：",
      "namingHints": {
        "featureLabel": "功能分支:",
        "featureExample": "feature/功能名",
        "bugfixLabel": "修复分支:",
        "bugfixExample": "bugfix/问题描述",
        "hotfixLabel": "热修复:",
        "hotfixExample": "hotfix/修复内容",
        "releaseLabel": "发布分支:",
        "releaseExample": "release/版本号"
      },
      "confirm": "创建分支",
      "cancel": "取消"
    }
  },
  "validation": {
    "branchNameInvalid": "分支名只能包含字母、数字、点、下划线、横线和斜杠",
    "branchNameExists": "分支名已存在",
    "branchNameEmpty": "分支名不能为空",
    "branchNameContainsDoubleDot": "分支名不能包含 \"..\"",
    "branchNameContainsDoubleSlash": "分支名不能包含 \"//\"",
    "branchNameDotEdge": "分支名不能以 \".\" 开头或结尾",
    "branchNameSlashEdge": "分支名不能以 \"/\" 开头或结尾",
    "branchNameSpaces": "分支名不能包含空格",
    "branchNameSpecialChars": "分支名不能包含特殊字符: ^ ~ : ? * [ \\",
    "branchNameAtBrace": "分支名不能包含 \"@{\"",
    "branchNameExistsWithName": "分支 \"{{name}}\" 已存在"
  },
  "operations": {
    "addFilesTitle": "添加文件",
    "commitChangesTitle": "提交更改",
    "pushTitle": "推送变更",
    "pushTitleForce": "推送变更（强制）",
    "pushProgress": "正在推送到远程仓库...",
    "pullTitle": "拉取变更",
    "pullProgress": "正在从远程仓库拉取...",
    "checkoutTitle": "切换到分支 {{branch}}",
    "createBranchTitle": "创建分支 {{branch}}",
    "deleteBranchTitle": "删除分支 {{branch}}",
    "resetFilesTitle": "重置文件"
  },
  "advancedOperations": {
    "merge": "合并分支",
    "rebase": "变基操作",
    "stash": "储藏变更",
    "applyStash": "应用储藏",
    "popStash": "弹出储藏",
    "dropStash": "删除储藏",
    "cherryPick": "Cherry-pick 提交",
    "revert": "撤销提交",
    "resetCommit": "重置提交"
  },
  "settingsView": {
    "title": "Git 设置",
    "loading": "加载 Git 设置...",
    "loadFailedTitle": "Failed to load settings",
    "retry": "重试",
    "refresh": "刷新设置",
    "saving": "保存中...",
    "save": "保存设置",
    "success": {
      "saveConfig": "设置已成功保存"
    },
    "errors": {
      "loadConfigFailed": "Failed to load configuration",
      "saveConfigFailed": "Failed to save configuration"
    },
    "tabs": {
      "user": "用户设置",
      "repository": "仓库设置",
      "advanced": "高级设置"
    },
    "sections": {
      "user": {
        "title": "用户信息",
        "description": "这些信息将用于 Git 提交的作者标识",
        "nameLabel": "用户名",
        "namePlaceholder": "输入您的姓名",
        "emailLabel": "邮箱地址",
        "emailPlaceholder": "输入您的邮箱"
      },
      "editor": {
        "title": "编辑器设置",
        "defaultEditorLabel": "默认编辑器"
      },
      "lineEndings": {
        "title": "行结束符",
        "autocrlfLabel": "自动转换 CRLF",
        "options": {
          "auto": "自动转换（Windows 推荐）",
          "input": "仅输入转换（macOS/Linux 推荐）",
          "disabled": "不转换"
        }
      },
      "remotes": {
        "title": "远程仓库",
        "urlLabel": "URL",
        "urlPlaceholder": "远程仓库 URL"
      },
      "core": {
        "title": "核心设置",
        "ignoreCaseLabel": "忽略文件名大小写",
        "ignoreCaseDescription": "在大小写不敏感的文件系统上启用此选项"
      },
      "branch": {
        "title": "分支配置",
        "branchLabel": "分支: {{branch}}",
        "remoteLabel": "远程",
        "mergeLabel": "合并分支"
      }
    }
  },
  "errors": {
    "addFailed": "Failed to add files",
    "commitFailed": "Failed to commit",
    "pushFailed": "Push failed",
    "pushFailedWithCheck": "Push failed. Please check your network connection and permissions.",
    "pullFailed": "Pull failed",
    "pullFailedWithCheck": "Pull failed. Please check your network connection and permissions.",
    "checkoutFailed": "Failed to switch branch",
    "createBranchFailed": "Failed to create branch",
    "deleteBranchFailed": "Failed to delete branch",
    "resetFilesFailed": "Failed to reset files",
    "resetCommitFailed": "Failed to reset to commit",
    "cherryPickFailed": "Cherry-pick failed",
    "cherryPickAbortFailed": "Failed to abort cherry-pick",
    "cherryPickContinueFailed": "Failed to continue cherry-pick",
    "refreshFailed": "Refresh failed",
    "checkoutFailedTitle": "Failed to switch branch",
    "createBranchFailedTitle": "Failed to create branch",
    "deleteBranchFailedTitle": "Failed to delete branch",
    "checkoutLocalChanges": "Please commit or stash local changes first",
    "checkoutIndexConflict": "Please resolve the current index conflicts first (unfinished merge or rebase may exist)",
    "branchNotFound": "Branch {{branch}} not found",
    "branchAlreadyExists": "Branch {{branch}} already exists",
    "branchNotMerged": "Branch {{branch}} is not fully merged. Use force delete if needed.",
    "cannotDeleteCurrentBranch": "Cannot delete the currently checked out branch {{branch}}"
  },
  "notifications": {
    "stageSuccess": "已暂存 {{count}} 个文件",
    "stageFailed": "暂存失败: {{error}}",
    "commitSuccess": "提交成功",
    "commitFailed": "提交失败: {{error}}",
    "fileRestored": "文件已恢复",
    "fileRestoreFailed": "恢复文件失败: {{error}}",
    "allChangesRestored": "已成功恢复所有更改",
    "restoreFailed": "恢复更改失败: {{error}}",
    "resetSuccess": "已重置到提交 {{hash}}",
    "resetFailed": "重置失败: {{error}}",
    "aiGenerateFailed": "AI 生成提交信息失败: {{error}}",
    "noFilesToGenerate": "没有文件变更，无法生成提交信息",
    "noStagedFiles": "没有已暂存的文件可以提交",
    "enterCommitMessage": "请输入提交信息",
    "selectFilesToStage": "请先选择要暂存的文件",
    "cannotDeleteCurrentBranch": "无法删除当前分支",
    "openDiffFailed": "打开文件差异失败: {{error}}",
    "openDiffFailedWithPath": "打开文件差异失败: {{error}}\n文件: {{file}}",
    "pushUpstreamSuccess": "已设置上游分支并推送到远程仓库",
    "pushSuccess": "已推送到远程仓库",
    "pushForceSuccess": "已强制推送到远程仓库",
    "pullSuccess": "已从远程仓库拉取最新变更",
    "checkoutSuccess": "已切换到分支 {{branch}}",
    "createBranchSuccess": "已创建分支 {{branch}}",
    "deleteBranchSuccess": "已删除分支 {{branch}}"
  },
  "confirm": {
    "discardFile": "警告：确定要恢复文件 \"{{file}}\" 吗？\n\n此操作不可恢复！",
    "deleteFile": "警告：确定要删除文件 \"{{file}}\" 吗？\n\n此操作不可恢复！",
    "discardAllChanges": "警告：此操作将会：\n\n1. 回退所有暂存区的更改\n2. 回退所有工作区的更改\n3. 删除所有未跟踪的文件\n\n此操作不可恢复！确定要继续吗？",
    "resetToCommit": "确定要重置到提交 {{hash}} 吗？\n\n这将移动当前分支指针到此提交。",
    "deleteBranch": "确定要删除分支 \"{{branch}}\" 吗？"
  }
}
