设置界面支持版本控制和github账号管理
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
"mcp": "MCP",
|
||||
"skills": "Skills",
|
||||
"shortcuts": "快捷键",
|
||||
"version_control": "版本控制",
|
||||
"system": "系统"
|
||||
}
|
||||
},
|
||||
@@ -128,6 +129,55 @@
|
||||
"unknown": "更新失败,请稍后重试。"
|
||||
}
|
||||
},
|
||||
"VersionControlSettings": {
|
||||
"loading": "加载中...",
|
||||
"sectionTitle": "版本控制",
|
||||
"sectionDescription": "配置 Git 可执行文件并管理 GitHub 账号。",
|
||||
"gitTitle": "Git 配置",
|
||||
"gitDescription": "配置应用使用的 Git 可执行文件。",
|
||||
"gitDetected": "已检测到 Git",
|
||||
"gitNotFound": "未在系统中找到 Git",
|
||||
"gitVersion": "版本",
|
||||
"gitPath": "路径",
|
||||
"customGitPath": "自定义 Git 路径",
|
||||
"customGitPathPlaceholder": "/usr/bin/git",
|
||||
"customGitPathHint": "留空则使用自动检测的路径。",
|
||||
"test": "测试",
|
||||
"testing": "测试中...",
|
||||
"testSuccess": "Git 可执行文件有效。",
|
||||
"testFailed": "Git 测试失败:{message}",
|
||||
"save": "保存",
|
||||
"saving": "保存中...",
|
||||
"saveSuccess": "Git 设置已保存。",
|
||||
"saveFailed": "保存失败:{message}",
|
||||
"githubTitle": "GitHub 账号",
|
||||
"githubDescription": "管理用于身份验证的 GitHub 账号。令牌存储在本地。",
|
||||
"noAccounts": "暂无 GitHub 账号。",
|
||||
"addAccount": "添加账号",
|
||||
"serverUrl": "服务器地址",
|
||||
"serverUrlPlaceholder": "https://github.com",
|
||||
"token": "个人访问令牌",
|
||||
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
|
||||
"tokenHint": "在 GitHub → Settings → Developer settings → Personal access tokens 中生成令牌。",
|
||||
"validateAndAdd": "验证并添加",
|
||||
"validating": "验证中...",
|
||||
"addSuccess": "账号 {username} 添加成功。",
|
||||
"addFailed": "添加账号失败:{message}",
|
||||
"testConnection": "测试",
|
||||
"connectionSuccess": "连接成功。",
|
||||
"connectionFailed": "连接失败:{message}",
|
||||
"setDefault": "设为默认",
|
||||
"defaultLabel": "默认",
|
||||
"defaultSet": "默认账号已更新。",
|
||||
"removeAccount": "删除",
|
||||
"removeConfirmTitle": "删除账号",
|
||||
"removeConfirmMessage": "确定要删除账号「{username}」吗?",
|
||||
"removeConfirm": "删除",
|
||||
"removeCancel": "取消",
|
||||
"removeSuccess": "账号已删除。",
|
||||
"scopes": "权限范围",
|
||||
"loadFailed": "加载设置失败:{message}"
|
||||
},
|
||||
"ShortcutSettings": {
|
||||
"sectionTitle": "快捷键",
|
||||
"resetDefault": "恢复默认",
|
||||
|
||||
Reference in New Issue
Block a user