Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Extension/i18n/chs/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "清除所有代码分析问题",
"c_cpp.command.BuildAndDebugFile.title": "调试 C/C++ 文件",
"c_cpp.command.BuildAndRunFile.title": "运行 C/C++ 文件",
"c_cpp.command.SetVsDeveloperEnvironment.title": "设置 Visual Studio 开发人员环境",
"c_cpp.command.ClearVsDeveloperEnvironment.title": "清除 Visual Studio 开发人员环境",
"c_cpp.command.AddDebugConfiguration.title": "添加调试配置",
"c_cpp.command.GenerateDoxygenComment.title": "生成 Doxygen 注释",
"c_cpp.command.addSshTarget.title": "添加 SSH 目标",
Expand Down Expand Up @@ -269,6 +271,7 @@
"c_cpp.contributes.views.sshTargetsView.title": "Cpptools: SSH 目标",
"c_cpp.contributes.viewsWelcome.contents": "要了解有关 launch.json 的信息,请参阅 [配置 C/C++ 调试](https://code.visualstudio.com/docs/cpp/launch-json-reference)。",
"c_cpp.configuration.debugShortcut.description": "显示 C++ 文件编辑器标题栏中的“运行和调试”播放按钮和“添加调试配置”齿轮。",
"c_cpp.configuration.persistVsDeveloperEnvironment.description": "记住当前工作区上次使用的 Visual Studio 开发人员环境。此设置仅适用于 Windows。",
"c_cpp.debuggers.pipeTransport.description": "如果存在,这会指示调试程序使用其他可执行文件作为管道来连接到远程计算机,此管道将在 VS Code 和已启用 MI 的调试程序后端可执行文件(如 gdb)之间中继标准输入/输入。",
"c_cpp.debuggers.pipeTransport.default.pipeProgram": "输入管道程序名称的完全限定的路径,例如 '/usr/bin/ssh'。",
"c_cpp.debuggers.pipeTransport.default.debuggerPath": "目标计算机上调试程序的完整路径,例如 /usr/bin/gdb。",
Expand Down Expand Up @@ -428,8 +431,8 @@
"c_cpp.walkthrough.create.cpp.file.title": "创建 C++ 文件",
"c_cpp.walkthrough.create.cpp.file.description": "[打开](command:toSide:workbench.action.files.openFile)或[创建](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)一个 C++ 文件。请确保将其保存为 \".cpp\" 扩展名,例如 \"helloworld.cpp\"。\n[创建 C++ 文件](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)",
"c_cpp.walkthrough.create.cpp.file.altText": "使用 C++ 项目打开 C++ 文件或文件夹。",
"c_cpp.walkthrough.command.prompt.title": "从 Developer Command Prompt for VS 启动",
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 编译器时,C++ 扩展需要你从 Developer Command Prompt for VS 启动 VS Code。请按照右侧的说明重新启动。\n[重新加载窗口](command:workbench.action.reloadWindow)",
"c_cpp.walkthrough.command.prompt.title": "应用 Visual Studio 开发人员环境",
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 编译器时,必须存在 Visual Studio 开发人员环境。\n\n请按照右侧说明重新启动,或单击下面的按钮。\n[设置开发人员环境](command:C_Cpp.SetVsDeveloperEnvironment?%22walkthrough%22)",
"c_cpp.walkthrough.run.debug.title": "运行并调试 C++ 文件",
"c_cpp.walkthrough.run.debug.mac.description": "打开你的 C++ 文件,在编辑器右上角点击播放按钮,或者在文件上按 F5。选择“clang++ - 构建和调试活动文件”以使用调试器运行。",
"c_cpp.walkthrough.run.debug.linux.description": "打开 C++ 文件,在编辑器右上角点击播放按钮,或者在文件上按 F5。选择“g++ - 构建和调试活动文件”以使用调试器运行。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
"pre.Launch.Task": "preLaunchTask: {0}",
"debugger.path.not.exists": "找不到 {0} 调试器。将忽略 {1} 的调试配置。",
"build.and.debug.active.file": "构建和调试活动文件",
"cl.exe.not.available": "{0} 仅在 VS Code 从 {1} 中运行时才可用。",
"apply.dev.env": "应用开发人员环境",
"cl.exe.not.available": "{0} 需要 Visual Studio 开发人员环境。",
"update.dev.env": "更新开发人员环境",
"cancel": "取消",
"dev.env.not.applied": "由于未应用 Visual Studio 开发人员环境,无法生成源代码。",
"dev.env.not.found": "由于找不到 Visual C++ 编译器,无法生成源代码。",
"lldb.find.failed": "缺少 lldb-mi 可执行文件的依赖项“{0}”。",
"lldb.search.paths": "搜索范围:",
"lldb.install.help": "要解决此问题,请通过 Apple App Store 安装 XCode,或通过在终端窗口运行“{0}”来安装 XCode 命令行工具。",
Expand Down
22 changes: 22 additions & 0 deletions Extension/i18n/chs/src/LanguageServer/devcmd.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"no.context.provided": "未提供上下文",
"not.windows": "“设置 Visual Studio 开发人员环境”命令仅在 Windows 上可用",
"error.no.vs": "找不到带有 C++ 编译器的 Visual Studio 安装项",
"operation.cancelled": "已取消此操作",
"no.hosts": "找不到主机",
"config.dev.env": "正在配置开发人员环境...",
"select.vs.install": "选择 Visual Studio 安装",
"advanced.options": "高级选项...",
"advanced.options.desc": "选择特定的主机和目标体系结构构、工具集版本等",
"select.toolset": "选择工具集版本",
"select.host.target": "选择主机和目标体系结构",
"something.wrong": "出现问题: {0}",
"dev.env.for": "{1} 的 {0} 开发人员环境",
"default.env": "{0} 的默认环境",
"host.target": "主机 = {0},目标 = {1}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"walkthrough.open.command.prompt": "通过在 Windows“开始”菜单中键入“{1}”打开 {0}。选择 {2} 将自动导航到当前打开的文件夹。",
"walkthrough.windows.press.f5": "在命令提示符中键入“{0}”,然后按 Enter。此操作应会重新启动 VS Code 并将你带回此演练。"
"walkthrough.windows.title.apply.dev.env": "应用 Visual Studio 开发人员环境",
"walkthrough.windows.dev.env.required": "Visual Studio C++ 编译器需要设置多个环境变量才能成功编译代码。如果正在 Windows 计算机上使用 Visual Studio C++ 编译器,有两种方法可确保应用了相应环境。",
"walkthrough.windows.do.one": " 只需要执行以下操作之一:",
"walkthrough.windows.run.dev.command": "运行 {0} 命令",
"walkthrough.windows.set.dev.environment": "C/C++: 设置 Visual Studio 开发人员环境",
"walkthrough.windows.start.from.dev.command": "从 {0} 启动 VS Code",
"walkthrough.windows.relaunch.command.prompt": "使用 {0} 重新启动 VS Code",
"walkthrough.close.vscode": "关闭 VS Code 的当前实例。",
"walkthrough.open.command.prompt": "通过在 Windows“开始”菜单中键入 {1} 来打开 {0},然后选择 {2}。",
"walkthrough.windows.press.f5": "在命令提示符中键入 {0},然后按 Enter。这应会重新启动同一工作区中的 VS Code,并将你带回此演练。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"walkthrough.windows.link.install": "安装",
"walkthrough.windows.note1": "注意",
"walkthrough.windows.note1.text": "可以使用 Visual Studio 生成工具中的 C++ 工具集以及 Visual Studio Code 以编译、生成并验证任何 C++ 代码库,前提是同时具有有效的 Visual Studio 许可证(社区版、专业版或企业版),且正积极将其用于开发该 C++ 代码库。",
"walkthrough.windows.open.command.prompt": "通过在 Windows “开始”菜单中键入{1}”打开 {0}。",
"walkthrough.windows.open.command.prompt": "通过在 Windows“开始”菜单中键入 {1} 来打开 {0}。",
"walkthrough.windows.check.install": "通过在 {1} 中键入 {0} 来检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"walkthrough.windows.note1": "注意",
"walkthrough.windows.note1.text": "可以使用 Visual Studio 生成工具中的 C++ 工具集以及 Visual Studio Code 以编译、生成并验证任何 C++ 代码库,前提是同时具有有效的 Visual Studio 许可证(社区版、专业版或企业版),且正积极将其用于开发该 C++ 代码库。",
"walkthrough.windows.verify.compiler": "验证编译器安装",
"walkthrough.windows.open.command.prompt": "通过在 Windows “开始”菜单中键入{1}”打开 {0}。",
"walkthrough.windows.open.command.prompt": "通过在 Windows“开始”菜单中键入 {1} 来打开 {0}。",
"walkthrough.windows.check.install": "通过在 {1} 中键入 {0} 来检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
"walkthrough.windows.other.compilers": "其他编译器选项",
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看 {0}。或者,可 {1}。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"walkthrough.windows.note1": "注意",
"walkthrough.windows.note1.text": "可以使用 Visual Studio 生成工具中的 C++ 工具集以及 Visual Studio Code 以编译、生成并验证任何 C++ 代码库,前提是同时具有有效的 Visual Studio 许可证(社区版、专业版或企业版),且正积极将其用于开发该 C++ 代码库。",
"walkthrough.windows.verify.compiler": "验证编译器安装",
"walkthrough.windows.open.command.prompt": "通过在 Windows “开始”菜单中键入{1}”打开 {0}。",
"walkthrough.windows.open.command.prompt": "通过在 Windows“开始”菜单中键入 {1} 来打开 {0}。",
"walkthrough.windows.check.install": "通过在 {1} 中键入 {0} 来检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
"walkthrough.windows.other.compilers": "其他编译器选项",
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看 {0}。或者,可 {1}。",
Expand Down
9 changes: 6 additions & 3 deletions Extension/i18n/cht/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "清除所有程式碼分析問題",
"c_cpp.command.BuildAndDebugFile.title": "偵錯 C/C++ 檔案",
"c_cpp.command.BuildAndRunFile.title": "執行 C/C++ 檔案",
"c_cpp.command.SetVsDeveloperEnvironment.title": "設定 Visual Studio 開發人員環境",
"c_cpp.command.ClearVsDeveloperEnvironment.title": "清除 Visual Studio 開發人員環境",
"c_cpp.command.AddDebugConfiguration.title": "新增偵錯組態",
"c_cpp.command.GenerateDoxygenComment.title": "產生 Doxygen 註解",
"c_cpp.command.addSshTarget.title": "新增 SSH 目標",
Expand Down Expand Up @@ -108,7 +110,7 @@
"c_cpp.configuration.vcFormat.indent.gotoLabels.leftmostColumn.markdownDescription": "將 goto 標籤固定在程式碼的最左側。",
"c_cpp.configuration.vcFormat.indent.gotoLabels.none.markdownDescription": "將不會格式化 goto 標籤。",
"c_cpp.configuration.vcFormat.indent.preprocessor.description": "前置處理器指示詞的位置。",
"c_cpp.configuration.vcFormat.indent.preprocessor.oneLeft.markdownDescription": "前置處理器指令會以 `#editor.tabSize#` 設定中指定的數量,定位於目前程式碼縮排的左邊。",
"c_cpp.configuration.vcFormat.indent.preprocessor.oneLeft.markdownDescription": "前置處理器指示詞會以 `#editor.tabSize#` 設定中指定的數量,定位於目前程式碼縮排的左側。",
"c_cpp.configuration.vcFormat.indent.preprocessor.leftmostColumn.markdownDescription": "前置處理器指示詞位於程式碼的最左側。",
"c_cpp.configuration.vcFormat.indent.preprocessor.none.markdownDescription": "將不會格式化前置處理器指示詞。",
"c_cpp.configuration.vcFormat.indent.accessSpecifiers.markdownDescription": "存取指定名稱會依據 `#editor.tabSize#` 設定中指定的數量,按照類別或結構定義的相對位置縮排。",
Expand Down Expand Up @@ -269,6 +271,7 @@
"c_cpp.contributes.views.sshTargetsView.title": "Cpptools: SSH 目標",
"c_cpp.contributes.viewsWelcome.contents": "如需深入了解 launch.json,請參閱 [設定 C/C++ 偵錯](https://code.visualstudio.com/docs/cpp/launch-json-reference)。",
"c_cpp.configuration.debugShortcut.description": "在 C++ 檔案的編輯器標題列中顯示 [執行及偵錯] 播放按鈕和 [新增偵錯組態] 齒輪。",
"c_cpp.configuration.persistVsDeveloperEnvironment.description": "記住目前工作區上次使用的 Visual Studio 開發人員環境。此設定僅適用於 Windows。",
"c_cpp.debuggers.pipeTransport.description": "出現時,會指示偵錯工具使用另一個可執行檔來連線至遠端電腦,該管道會在 VS Code 與 MI 啟用偵錯工具後端可執行檔之間傳送標準輸入/輸出 (例如 gdb)。",
"c_cpp.debuggers.pipeTransport.default.pipeProgram": "輸入管道程式名稱的完整路徑,例如 '/usr/bin/ssh'。",
"c_cpp.debuggers.pipeTransport.default.debuggerPath": "目標機器的偵錯工具完整路徑,例如 /use/bin/gdb。",
Expand Down Expand Up @@ -428,8 +431,8 @@
"c_cpp.walkthrough.create.cpp.file.title": "建立 C++ 檔案",
"c_cpp.walkthrough.create.cpp.file.description": "[開啟](command:toSide:workbench.action.files.openFile) 或 [建立](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D) C++ 檔案。務必使用 \".cpp\" 副檔名來儲存它,例如 \"helloworld.cpp\"。\n[建立 C++ 檔案](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)",
"c_cpp.walkthrough.create.cpp.file.altText": "使用 C++ 專案開啟 C++ 檔案或資料夾。",
"c_cpp.walkthrough.command.prompt.title": "從 Developer Command Prompt for VS 中啟動",
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 編譯器時,C++ 延伸模組會要求您在 Developer Command Prompt for VS 中啟動 VS Code。請遵循右側的指示來重新啟動。\n[重新載入視窗](command:workbench.action.reloadWindow)",
"c_cpp.walkthrough.command.prompt.title": "套用 Visual Studio 開發人員環境",
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 編譯器時,必須存在 Visual Studio 開發人員環境。\n\n請遵循右側的指示重新啟動,或按一下下方的按鈕。\n[設定開發人員環境](command:C_Cpp.SetVsDeveloperEnvironment?%22walkthrough%22)",
"c_cpp.walkthrough.run.debug.title": "執行和偵錯您的 C++ 檔案",
"c_cpp.walkthrough.run.debug.mac.description": "開啟您的 C++ 檔案,然後按一下編輯器右上角的執行按鈕,或在開啟檔案上時按 F5。選取 [clang++ - 建置及偵錯使用中的檔案] 以使用偵錯工具執行。",
"c_cpp.walkthrough.run.debug.linux.description": "開啟您的 C++ 檔案,然後按一下編輯器右上角的執行按鈕,或在開啟檔案上時按 F5。選取 [g++ - 建置及偵錯使用中的檔案] 以使用偵錯工具執行。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
"pre.Launch.Task": "preLaunchTask: {0}",
"debugger.path.not.exists": "找不到 {0} 偵錯工具。已略過 {1} 的偵錯組態。",
"build.and.debug.active.file": "建置及偵錯使用中的檔案",
"cl.exe.not.available": "{0} 僅限於從 {1} 執行 VS Code 時使用。",
"apply.dev.env": "套用開發人員環境",
"cl.exe.not.available": "{0} 需要 Visual Studio 開發人員環境。",
"update.dev.env": "更新開發人員環境",
"cancel": "取消",
"dev.env.not.applied": "由於未套用 Visual Studio 開發人員環境,原始程式碼無法建置。",
"dev.env.not.found": "由於找不到 Visual C++ 編譯器,原始程式碼無法建置。",
"lldb.find.failed": "缺少 lldb-mi 可執行檔的相依性 '{0}'。",
"lldb.search.paths": "已在下列位置中搜尋:",
"lldb.install.help": "若要解決此問題,請透過 Apple App Store 安裝 XCode,或在終端機視窗中執行 '{0}' 以安裝 XCode 命令列工具。",
Expand Down
22 changes: 22 additions & 0 deletions Extension/i18n/cht/src/LanguageServer/devcmd.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"no.context.provided": "未提供內容",
"not.windows": "\"Set Visual Studio Developer Environment\" 命令僅可在 Windows 使用",
"error.no.vs": "找不到包含 C++ 編譯器的 Visual Studio 安裝",
"operation.cancelled": "作業已取消",
"no.hosts": "找不到主機",
"config.dev.env": "正在設定開發人員環境...",
"select.vs.install": "選取 Visual Studio 安裝",
"advanced.options": "進階選項...",
"advanced.options.desc": "選取特定主機和目標結構、工具集版本等。",
"select.toolset": "選取工具集版本",
"select.host.target": "選取主機和目標結構",
"something.wrong": "發生錯誤: {0}",
"dev.env.for": "{1} 的 {0} 開發人員環境",
"default.env": "{0} 的預設環境",
"host.target": "host = {0}, target = {1}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"walkthrough.open.command.prompt": "在 Windows [開始] 功能表中輸入 \"{1}\",以開啟 {0}。選取 {2},這會自動瀏覽至您目前開啟的資料夾。",
"walkthrough.windows.press.f5": "在命令提示字元中輸入 \"{0}\",然後按 Enter。這應該會重新啟動 VS Code,並帶您回到此逐步解說。"
"walkthrough.windows.title.apply.dev.env": "套用 Visual Studio 開發人員環境",
"walkthrough.windows.dev.env.required": "Visual Studio C++ 編譯器需要設定數個環境變數,才能成功編譯你的程式碼。如果您將 Windows 機器與 Visual Studio C++ 編譯器一起使用,可以透過兩種方式確保環境已套用。",
"walkthrough.windows.do.one": " 您只需要執行下列其中一項:",
"walkthrough.windows.run.dev.command": "執行 {0} 命令",
"walkthrough.windows.set.dev.environment": "C/C++: 設定 Visual Studio 開發人員環境",
"walkthrough.windows.start.from.dev.command": "從 {0} 啟動 VS Code",
"walkthrough.windows.relaunch.command.prompt": "若要使用 {0} 重新啟動 VS Code",
"walkthrough.close.vscode": "關閉目前的 VS Code 執行個體。",
"walkthrough.open.command.prompt": "在 Windows [開始] 功能表中輸入 {1} 以開啟 {0},然後選取 {2}。",
"walkthrough.windows.press.f5": "在命令提示字元中輸入 {0},然後點擊 Enter。這應該會在相同的工作區中重新啟動 VS Code,並帶您回到此逐步解說。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"walkthrough.windows.link.install": "安裝",
"walkthrough.windows.note1": "備註",
"walkthrough.windows.note1.text": "您可以使用 Visual Studio Build Tools 中的 C++ 工具組以及 Visual Studio Code 來編譯、組建及驗證任何 C++ 程式碼基底,只要您也擁有有效的 Visual Studio 授權 (社群版、專業版或企業版),且您正積極開發該 C++ 程式碼基底。",
"walkthrough.windows.open.command.prompt": "在 Windows [開始] 功能表中輸入 '{1}',以開啟 {0}。",
"walkthrough.windows.open.command.prompt": "在 Windows [開始] 功能表中輸入 {1} 以開啟 {0}。",
"walkthrough.windows.check.install": "將 {0} 輸入 {1},以檢查您的 Microsoft Visual C++ 安裝。畫面會顯示版本的著作權訊息以及基本的使用說明。"
}
Loading