移除侧边栏中显示git内置插件的外部链接.

This commit is contained in:
chriswang521 2023-05-31 14:27:49 +08:00
parent 94b3b77d00
commit 5e2b5b1585
3 changed files with 15 additions and 24 deletions

View File

@ -2649,13 +2649,6 @@
"when": "config.git.enabled", "when": "config.git.enabled",
"enablement": "git.state == initialized", "enablement": "git.state == initialized",
"group": "5_scm@1" "group": "5_scm@1"
},
{
"view": "explorer",
"contents": "%view.workbench.learnMore%",
"when": "config.git.enabled",
"enablement": "git.state == initialized",
"group": "5_scm@10"
} }
] ]
}, },

View File

@ -262,7 +262,7 @@
"colors.conflict": "Color for resources with conflicts.", "colors.conflict": "Color for resources with conflicts.",
"colors.submodule": "Color for submodule resources.", "colors.submodule": "Color for submodule resources.",
"view.workbench.scm.missing": { "view.workbench.scm.missing": {
"message": "A valid git installation was not detected, more details can be found in the [git output](command:git.showOutput).\nPlease [install git](https://git-scm.com/), or learn more about how to use git and source control in VS Code in [our docs](https://aka.ms/vscode-scm).\nIf you're using a different version control system, you can [search the Marketplace](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22) for additional extensions.", "message": "A valid git installation was not detected, more details can be found in the [git output](command:git.showOutput).\nPlease [install git](https://git-scm.com/).\nIf you're using a different version control system, you can [search the Marketplace](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22) for additional extensions.",
"comment": [ "comment": [
"{Locked='](command:git.showOutput'}", "{Locked='](command:git.showOutput'}",
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
@ -293,9 +293,9 @@
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
] ]
}, },
"view.workbench.scm.missing.guide": "Install Git, a popular source control system, to track code changes and collaborate with others. Learn more in our [Git guides](https://aka.ms/vscode-scm).", "view.workbench.scm.missing.guide": "Install Git, a popular source control system, to track code changes and collaborate with others.",
"view.workbench.scm.disabled": { "view.workbench.scm.disabled": {
"message": "If you would like to use git features, please enable git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", "message": "If you would like to use git features, please enable git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\n",
"comment": [ "comment": [
"{Locked='](command:workbench.action.openSettings?%5B%22git.enabled%22%5D'}", "{Locked='](command:workbench.action.openSettings?%5B%22git.enabled%22%5D'}",
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
@ -303,7 +303,7 @@
] ]
}, },
"view.workbench.scm.empty": { "view.workbench.scm.empty": {
"message": "In order to use git features, you can open a folder containing a git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nTo learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", "message": "In order to use git features, you can open a folder containing a git repository or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\n",
"comment": [ "comment": [
"{Locked='](command:vscode.openFolder'}", "{Locked='](command:vscode.openFolder'}",
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
@ -311,7 +311,7 @@
] ]
}, },
"view.workbench.scm.folder": { "view.workbench.scm.folder": {
"message": "The folder currently open doesn't have a git repository. You can initialize a repository which will enable source control features powered by git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\nTo learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", "message": "The folder currently open doesn't have a git repository. You can initialize a repository which will enable source control features powered by git.\n[Initialize Repository](command:git.init?%5Btrue%5D)\n",
"comment": [ "comment": [
"{Locked='](command:git.init?%5Btrue%5D'}", "{Locked='](command:git.init?%5Btrue%5D'}",
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
@ -319,7 +319,7 @@
] ]
}, },
"view.workbench.scm.workspace": { "view.workbench.scm.workspace": {
"message": "The workspace currently open doesn't have any folders containing git repositories. You can initialize a repository on a folder which will enable source control features powered by git.\n[Initialize Repository](command:git.init)\nTo learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", "message": "The workspace currently open doesn't have any folders containing git repositories. You can initialize a repository on a folder which will enable source control features powered by git.\n[Initialize Repository](command:git.init)\n",
"comment": [ "comment": [
"{Locked='](command:git.init'}", "{Locked='](command:git.init'}",
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
@ -327,7 +327,7 @@
] ]
}, },
"view.workbench.scm.emptyWorkspace": { "view.workbench.scm.emptyWorkspace": {
"message": "The workspace currently open doesn't have any folders containing git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\nTo learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).", "message": "The workspace currently open doesn't have any folders containing git repositories.\n[Add Folder to Workspace](command:workbench.action.addRootFolder)\n",
"comment": [ "comment": [
"{Locked='](command:workbench.action.addRootFolder'}", "{Locked='](command:workbench.action.addRootFolder'}",
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
@ -341,6 +341,5 @@
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code", "Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links" "Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
] ]
}, }
"view.workbench.learnMore": "To learn more about how to use git and source control in VS Code [read our docs](https://aka.ms/vscode-scm)."
} }

View File

@ -529,17 +529,16 @@
"submenu.stash": "存储", "submenu.stash": "存储",
"submenu.tags": "标记", "submenu.tags": "标记",
"view.workbench.cloneRepository": "可以在本地克隆存储库。\r\n[克隆存储库](command:git.clone '启用 git 扩展后立即克隆存储库')", "view.workbench.cloneRepository": "可以在本地克隆存储库。\r\n[克隆存储库](command:git.clone '启用 git 扩展后立即克隆存储库')",
"view.workbench.learnMore": "要详细了解如何在 VS Code 中使用 Git 和源代码管理,[请阅读我们的文档](https://aka.ms/vscode-scm)。", "view.workbench.scm.disabled": "如果要使用 git 功能,请在[设置](command:workbench.action.openSettings?%5B%22git.enabled%22%5D)中启用 git。\r\n",
"view.workbench.scm.disabled": "如果要使用 git 功能,请在[设置](command:workbench.action.openSettings?%5B%22git.enabled%22%5D)中启用 git。\r\n要了解有关如何在 VS Code 中使用 Git 和源代码管理的更多信息,[请阅读我们的文档](https://aka.ms/vscode-scm)。", "view.workbench.scm.empty": "为了使用 git 功能,可打开包含 git 存储库的文件夹或从 URL 克隆。\r\n[打开文件夹](command:vscode.openFolder)\r\n[克隆存储库](command:git.clone)\r\n",
"view.workbench.scm.empty": "为了使用 git 功能,可打开包含 git 存储库的文件夹或从 URL 克隆。\r\n[打开文件夹](command:vscode.openFolder)\r\n[克隆存储库](command:git.clone)\r\n要详细了解如何在 VS Code 中使用 Git 和源代码管理,[请阅读我们的文档](https://aka.ms/vscode-scm)。", "view.workbench.scm.emptyWorkspace": "当前打开的工作区没有任何包含 git 存储库的文件夹。\r\n[将文件夹添加到工作区](command:workbench.action.addRootFolder)\r\n",
"view.workbench.scm.emptyWorkspace": "当前打开的工作区没有任何包含 git 存储库的文件夹。\r\n[将文件夹添加到工作区](command:workbench.action.addRootFolder)\r\n要详细了解如何在 VS Code 中使用 Git 和源代码管理,[请阅读我们的文档](https://aka.ms/vscode-scm)。", "view.workbench.scm.folder": "当前打开的文件夹中没有 Git 存储库。可初始化一个存储库,它将实现 Git 提供支持的源代码管理功能。\r\n[初始化存储库](command:git.init?%5Btrue%5D)\r\n",
"view.workbench.scm.folder": "当前打开的文件夹中没有 Git 存储库。可初始化一个存储库,它将实现 Git 提供支持的源代码管理功能。\r\n[初始化存储库](command:git.init?%5Btrue%5D)\r\n要详细了解如何在 VS Code 中使用 Git 和源代码管理,[请阅读我们的文档](https://aka.ms/vscode-scm)。", "view.workbench.scm.missing": "未检测到有效的 git 安装,可在 [git 输出](command:git.showOutput)中找到更多详细信息。\r\n请[安装 git](https://git-scm.com/)。\r\n如果您使用的是其他版本的控制系统则可[搜索市场](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22)以获取其他扩展。",
"view.workbench.scm.missing": "未检测到有效的 git 安装,可在 [git 输出](command:git.showOutput)中找到更多详细信息。\r\n请[安装 git](https://git-scm.com/),或在[我们的文档](https://aka.ms/vscode-scm)中详细了解如何在 VS Code中使用 Git 和源代码管理。\r\n如果您使用的是其他版本的控制系统则可[搜索市场](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22)以获取其他扩展。", "view.workbench.scm.missing.guide": "安装 Git (一种流行的源代码管理系统),以跟踪代码更改并与他人协作。",
"view.workbench.scm.missing.guide": "安装 Git (一种流行的源代码管理系统),以跟踪代码更改并与他人协作。在我们的 [Git 指南](https://aka.ms/vscode-scm)中了解详细信息。",
"view.workbench.scm.missing.guide.linux": "源代码管理取决于将安装的 Git。\r\n[下载适用于 Linux 的 Git](https://git-scm.com/download/linux)\r\n安装后请 [重新加载](command:workbench.action.reloadWindow) (或 [执行故障排除](command:git.showOutput))。可以 [从市场] 安装其他源代码管理提供程序(command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22)。", "view.workbench.scm.missing.guide.linux": "源代码管理取决于将安装的 Git。\r\n[下载适用于 Linux 的 Git](https://git-scm.com/download/linux)\r\n安装后请 [重新加载](command:workbench.action.reloadWindow) (或 [执行故障排除](command:git.showOutput))。可以 [从市场] 安装其他源代码管理提供程序(command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22)。",
"view.workbench.scm.missing.guide.mac": "[下载适用于 macOS 的 Git](https://git-scm.com/download/mac)\r\n安装后请[重新加载](command:workbench.action.reloadWindow) (或[执行故障排除](command:git.showOutput))。可以[从商城]安装其他源代码管理提供程序(command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22)。", "view.workbench.scm.missing.guide.mac": "[下载适用于 macOS 的 Git](https://git-scm.com/download/mac)\r\n安装后请[重新加载](command:workbench.action.reloadWindow) (或[执行故障排除](command:git.showOutput))。可以[从商城]安装其他源代码管理提供程序(command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22)。",
"view.workbench.scm.missing.guide.windows": "[下载适用于 Windows 的 Git](https://git-scm.com/download/win)\r\n安装后请[重新加载](command:workbench.action.reloadWindow) (或[执行故障排除](command:git.showOutput))。可以[从商城]安装其他源代码管理提供程序(command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22)。", "view.workbench.scm.missing.guide.windows": "[下载适用于 Windows 的 Git](https://git-scm.com/download/win)\r\n安装后请[重新加载](command:workbench.action.reloadWindow) (或[执行故障排除](command:git.showOutput))。可以[从商城]安装其他源代码管理提供程序(command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22)。",
"view.workbench.scm.workspace": "当前打开的工作区中没有任何包含 Git 存储库的文件夹。可初始化某文件夹上的一个存储库,该存储库将实现 Git 提供支持的源代码管理功能。\r\n[初始化存储库](command:git.init)\r\n要详细了解如何在 VS Code 中使用 Git 和源代码管理,[请阅读我们的文档](https://aka.ms/vscode-scm)。" "view.workbench.scm.workspace": "当前打开的工作区中没有任何包含 Git 存储库的文件夹。可初始化某文件夹上的一个存储库,该存储库将实现 Git 提供支持的源代码管理功能。\r\n[初始化存储库](command:git.init)\r\n"
} }
} }
} }