-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.nls.zh-CN.json
More file actions
42 lines (42 loc) · 4 KB
/
Copy pathpackage.nls.zh-CN.json
File metadata and controls
42 lines (42 loc) · 4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"extension.displayName": "Git ID Switcher",
"extension.description": "一键切换多个 Git 配置文件。SSH 密钥和 GPG 签名联动,支持子模块批量应用。",
"command.selectIdentity": "选择身份",
"command.showCurrentIdentity": "显示当前身份",
"command.showDocumentation": "显示文档",
"command.deleteIdentity": "删除身份",
"config.title": "Git ID Switcher",
"config.category.identity": "Git ID Switcher: 身份管理",
"config.category.submodule": "Git ID Switcher: 子模块",
"config.category.display": "Git ID Switcher: 通知和显示",
"config.category.logging": "Git ID Switcher: 调试",
"config.category.advanced": "Git ID Switcher: 其他",
"config.identities": "要切换的 Git 身份列表",
"config.identities.markdown": "Git 配置文件列表。每个配置文件可以设置以下内容:\n- `id`: 唯一标识符(仅限字母数字、连字符、下划线;不可重复;必填)\n- `name`: Git user.name(必填)\n- `email`: Git user.email(必填)\n- `service`: Git 托管服务(如 GitHub、GitLab、Bitbucket)\n- `icon`: 状态栏显示的表情符号(例:🏠, 💼)\n- `description`: 此身份的备注(例:公司用、个人用)\n- `sshKeyPath`: SSH 私钥路径(例:~/.ssh/id_ed25519_work)\n- `sshHost`: SSH 配置主机别名(例:github-work、gitlab-personal)\n- `gpgKeyId`: 用于提交签名的 GPG 密钥 ID(例:ABCD1234EF567890)",
"config.identities.id": "唯一标识符(仅限字母数字、连字符、下划线;不可重复;必填)",
"config.identities.name": "Git user.name(必填)",
"config.identities.email": "Git user.email(必填)",
"config.identities.service": "Git 托管服务(如 GitHub、GitLab、Bitbucket)",
"config.identities.icon": "状态栏显示的表情符号(例:🏠, 💼)",
"config.identities.description": "此身份的备注(例:公司用、个人用)",
"config.identities.sshKeyPath": "SSH 私钥路径(例:~/.ssh/id_ed25519_work)",
"config.identities.sshHost": "SSH 配置主机别名(例:github-work、gitlab-personal)",
"config.identities.gpgKeyId": "用于提交签名的 GPG 密钥 ID(例:ABCD1234EF567890)",
"config.defaultIdentity": "未选择身份时使用的默认身份 ID",
"config.autoSwitchSshKey": "更改身份时自动切换 SSH 密钥",
"config.applyToSubmodules": "切换时自动将身份应用到 Git 子模块",
"config.submoduleDepth": "子模块的应用深度(1〜5,1 = 仅直接子模块)",
"config.showNotifications": "切换身份时显示通知",
"config.includeIconInGitConfig": "在 Git config user.name 中包含图标表情符号(影响提交历史)。设为 false 时,图标仅在编辑器界面中显示。",
"config.logging.fileEnabled": "将审计日志保存到文件(记录身份切换、SSH 密钥操作等)",
"config.logging.level": "日志详细程度(DEBUG=全部记录,ERROR=仅错误)。记录所选级别及以上。",
"config.logging.filePath": "日志文件路径(例:~/.git-id-switcher/security.log)",
"config.logging.maxFileSize": "轮换前的最大文件大小(字节,默认:10MB)",
"config.logging.maxFiles": "保留的轮换文件最大数量(默认:5)",
"config.logging.redactAllSensitive": "启用后,日志中的所有值都将被遮蔽(最大隐私模式)",
"config.category.syncCheck": "Git ID Switcher: 同步检查",
"config.syncCheck.enabled": "检查所选配置文件是否与实际的 git config 匹配。检测到不匹配时,状态栏会显示警告。",
"config.syncCheck.onFocusReturn": "当编辑器窗口重新获得焦点时运行同步检查(例如,从可能更改了 git config 的终端切换回来后)。",
"config.commandTimeouts": "命令的自定义超时值(毫秒)",
"config.commandTimeouts.markdown": "覆盖默认命令超时。示例:\n```json\n{\n \"git\": 15000,\n \"ssh-add\": 10000\n}\n```\n默认值:git=10000ms、ssh-add=5000ms、ssh-keygen=5000ms、其他=30000ms"
}