Skip to content

Commit 217b3dc

Browse files
committed
Localization - Translated Strings
1 parent 544c672 commit 217b3dc

File tree

85 files changed

+617
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+617
-123
lines changed

Extension/i18n/chs/package.i18n.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "清除所有代码分析问题",
4343
"c_cpp.command.BuildAndDebugFile.title": "调试 C/C++ 文件",
4444
"c_cpp.command.BuildAndRunFile.title": "运行 C/C++ 文件",
45+
"c_cpp.command.SetVsDeveloperEnvironment.title": "设置 Visual Studio 开发人员环境",
46+
"c_cpp.command.ClearVsDeveloperEnvironment.title": "清除 Visual Studio 开发人员环境",
4547
"c_cpp.command.AddDebugConfiguration.title": "添加调试配置",
4648
"c_cpp.command.GenerateDoxygenComment.title": "生成 Doxygen 注释",
4749
"c_cpp.command.addSshTarget.title": "添加 SSH 目标",
@@ -269,6 +271,7 @@
269271
"c_cpp.contributes.views.sshTargetsView.title": "Cpptools: SSH 目标",
270272
"c_cpp.contributes.viewsWelcome.contents": "要了解有关 launch.json 的信息,请参阅 [配置 C/C++ 调试](https://code.visualstudio.com/docs/cpp/launch-json-reference)。",
271273
"c_cpp.configuration.debugShortcut.description": "显示 C++ 文件编辑器标题栏中的“运行和调试”播放按钮和“添加调试配置”齿轮。",
274+
"c_cpp.configuration.persistVsDeveloperEnvironment.description": "记住当前工作区上次使用的 Visual Studio 开发人员环境。此设置仅适用于 Windows。",
272275
"c_cpp.debuggers.pipeTransport.description": "如果存在,这会指示调试程序使用其他可执行文件作为管道来连接到远程计算机,此管道将在 VS Code 和已启用 MI 的调试程序后端可执行文件(如 gdb)之间中继标准输入/输入。",
273276
"c_cpp.debuggers.pipeTransport.default.pipeProgram": "输入管道程序名称的完全限定的路径,例如 '/usr/bin/ssh'。",
274277
"c_cpp.debuggers.pipeTransport.default.debuggerPath": "目标计算机上调试程序的完整路径,例如 /usr/bin/gdb。",
@@ -428,8 +431,8 @@
428431
"c_cpp.walkthrough.create.cpp.file.title": "创建 C++ 文件",
429432
"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)",
430433
"c_cpp.walkthrough.create.cpp.file.altText": "使用 C++ 项目打开 C++ 文件或文件夹。",
431-
"c_cpp.walkthrough.command.prompt.title": "从 Developer Command Prompt for VS 启动",
432-
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 编译器时,C++ 扩展需要你从 Developer Command Prompt for VS 启动 VS Code。请按照右侧的说明重新启动\n[重新加载窗口](command:workbench.action.reloadWindow)",
434+
"c_cpp.walkthrough.command.prompt.title": "应用 Visual Studio 开发人员环境",
435+
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 编译器时,必须存在 Visual Studio 开发人员环境。\n\n请按照右侧说明重新启动,或单击下面的按钮\n[设置开发人员环境](command:C_Cpp.SetVsDeveloperEnvironment?%22walkthrough%22)",
433436
"c_cpp.walkthrough.run.debug.title": "运行并调试 C++ 文件",
434437
"c_cpp.walkthrough.run.debug.mac.description": "打开你的 C++ 文件,在编辑器右上角点击播放按钮,或者在文件上按 F5。选择“clang++ - 构建和调试活动文件”以使用调试器运行。",
435438
"c_cpp.walkthrough.run.debug.linux.description": "打开 C++ 文件,在编辑器右上角点击播放按钮,或者在文件上按 F5。选择“g++ - 构建和调试活动文件”以使用调试器运行。",

Extension/i18n/chs/src/Debugger/configurationProvider.i18n.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
"pre.Launch.Task": "preLaunchTask: {0}",
1818
"debugger.path.not.exists": "找不到 {0} 调试器。将忽略 {1} 的调试配置。",
1919
"build.and.debug.active.file": "构建和调试活动文件",
20-
"cl.exe.not.available": "{0} 仅在 VS Code 从 {1} 中运行时才可用。",
20+
"apply.dev.env": "应用开发人员环境",
21+
"cl.exe.not.available": "{0} 需要 Visual Studio 开发人员环境。",
22+
"update.dev.env": "更新开发人员环境",
23+
"cancel": "取消",
24+
"dev.env.not.applied": "由于未应用 Visual Studio 开发人员环境,无法生成源代码。",
25+
"dev.env.not.found": "由于找不到 Visual C++ 编译器,无法生成源代码。",
2126
"lldb.find.failed": "缺少 lldb-mi 可执行文件的依赖项“{0}”。",
2227
"lldb.search.paths": "搜索范围:",
2328
"lldb.install.help": "要解决此问题,请通过 Apple App Store 安装 XCode,或通过在终端窗口运行“{0}”来安装 XCode 命令行工具。",
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"no.context.provided": "未提供上下文",
8+
"not.windows": "“设置 Visual Studio 开发人员环境”命令仅在 Windows 上可用",
9+
"error.no.vs": "找不到带有 C++ 编译器的 Visual Studio 安装项",
10+
"operation.cancelled": "已取消此操作",
11+
"no.hosts": "找不到主机",
12+
"config.dev.env": "正在配置开发人员环境...",
13+
"select.vs.install": "选择 Visual Studio 安装",
14+
"advanced.options": "高级选项...",
15+
"advanced.options.desc": "选择特定的主机和目标体系结构构、工具集版本等",
16+
"select.toolset": "选择工具集版本",
17+
"select.host.target": "选择主机和目标体系结构",
18+
"something.wrong": "出现问题: {0}",
19+
"dev.env.for": "{1} 的 {0} 开发人员环境",
20+
"default.env": "{0} 的默认环境",
21+
"host.target": "主机 = {0},目标 = {1}"
22+
}

Extension/i18n/chs/walkthrough/devcommandprompt/open-developer-command-prompt.md.i18n.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
*--------------------------------------------------------------------------------------------*/
55
// Do not edit this file. It is machine generated.
66
{
7-
"walkthrough.open.command.prompt": "通过在 Windows“开始”菜单中键入“{1}”打开 {0}。选择 {2} 将自动导航到当前打开的文件夹。",
8-
"walkthrough.windows.press.f5": "在命令提示符中键入“{0}”,然后按 Enter。此操作应会重新启动 VS Code 并将你带回此演练。"
7+
"walkthrough.windows.title.apply.dev.env": "应用 Visual Studio 开发人员环境",
8+
"walkthrough.windows.dev.env.required": "Visual Studio C++ 编译器需要设置多个环境变量才能成功编译代码。如果正在 Windows 计算机上使用 Visual Studio C++ 编译器,有两种方法可确保应用了相应环境。",
9+
"walkthrough.windows.do.one": " 只需要执行以下操作之一:",
10+
"walkthrough.windows.run.dev.command": "运行 {0} 命令",
11+
"walkthrough.windows.set.dev.environment": "C/C++: 设置 Visual Studio 开发人员环境",
12+
"walkthrough.windows.start.from.dev.command": "从 {0} 启动 VS Code",
13+
"walkthrough.windows.relaunch.command.prompt": "使用 {0} 重新启动 VS Code",
14+
"walkthrough.close.vscode": "关闭 VS Code 的当前实例。",
15+
"walkthrough.open.command.prompt": "通过在 Windows“开始”菜单中键入 {1} 来打开 {0},然后选择 {2}。",
16+
"walkthrough.windows.press.f5": "在命令提示符中键入 {0},然后按 Enter。这应会重新启动同一工作区中的 VS Code,并将你带回此演练。"
917
}

Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows.md.i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"walkthrough.windows.link.install": "安装",
1717
"walkthrough.windows.note1": "注意",
1818
"walkthrough.windows.note1.text": "可以使用 Visual Studio 生成工具中的 C++ 工具集以及 Visual Studio Code 以编译、生成并验证任何 C++ 代码库,前提是同时具有有效的 Visual Studio 许可证(社区版、专业版或企业版),且正积极将其用于开发该 C++ 代码库。",
19-
"walkthrough.windows.open.command.prompt": "通过在 Windows “开始”菜单中键入{1}”打开 {0}。",
19+
"walkthrough.windows.open.command.prompt": "通过在 Windows“开始”菜单中键入 {1} 来打开 {0}。",
2020
"walkthrough.windows.check.install": "通过在 {1} 中键入 {0} 来检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。"
2121
}

Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"walkthrough.windows.note1": "注意",
1111
"walkthrough.windows.note1.text": "可以使用 Visual Studio 生成工具中的 C++ 工具集以及 Visual Studio Code 以编译、生成并验证任何 C++ 代码库,前提是同时具有有效的 Visual Studio 许可证(社区版、专业版或企业版),且正积极将其用于开发该 C++ 代码库。",
1212
"walkthrough.windows.verify.compiler": "验证编译器安装",
13-
"walkthrough.windows.open.command.prompt": "通过在 Windows “开始”菜单中键入{1}”打开 {0}。",
13+
"walkthrough.windows.open.command.prompt": "通过在 Windows“开始”菜单中键入 {1} 来打开 {0}。",
1414
"walkthrough.windows.check.install": "通过在 {1} 中键入 {0} 来检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
1515
"walkthrough.windows.other.compilers": "其他编译器选项",
1616
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看 {0}。或者,可 {1}。",

Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"walkthrough.windows.note1": "注意",
1111
"walkthrough.windows.note1.text": "可以使用 Visual Studio 生成工具中的 C++ 工具集以及 Visual Studio Code 以编译、生成并验证任何 C++ 代码库,前提是同时具有有效的 Visual Studio 许可证(社区版、专业版或企业版),且正积极将其用于开发该 C++ 代码库。",
1212
"walkthrough.windows.verify.compiler": "验证编译器安装",
13-
"walkthrough.windows.open.command.prompt": "通过在 Windows “开始”菜单中键入{1}”打开 {0}。",
13+
"walkthrough.windows.open.command.prompt": "通过在 Windows“开始”菜单中键入 {1} 来打开 {0}。",
1414
"walkthrough.windows.check.install": "通过在 {1} 中键入 {0} 来检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
1515
"walkthrough.windows.other.compilers": "其他编译器选项",
1616
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看 {0}。或者,可 {1}。",

Extension/i18n/cht/package.i18n.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "清除所有程式碼分析問題",
4343
"c_cpp.command.BuildAndDebugFile.title": "偵錯 C/C++ 檔案",
4444
"c_cpp.command.BuildAndRunFile.title": "執行 C/C++ 檔案",
45+
"c_cpp.command.SetVsDeveloperEnvironment.title": "設定 Visual Studio 開發人員環境",
46+
"c_cpp.command.ClearVsDeveloperEnvironment.title": "清除 Visual Studio 開發人員環境",
4547
"c_cpp.command.AddDebugConfiguration.title": "新增偵錯組態",
4648
"c_cpp.command.GenerateDoxygenComment.title": "產生 Doxygen 註解",
4749
"c_cpp.command.addSshTarget.title": "新增 SSH 目標",
@@ -108,7 +110,7 @@
108110
"c_cpp.configuration.vcFormat.indent.gotoLabels.leftmostColumn.markdownDescription": "將 goto 標籤固定在程式碼的最左側。",
109111
"c_cpp.configuration.vcFormat.indent.gotoLabels.none.markdownDescription": "將不會格式化 goto 標籤。",
110112
"c_cpp.configuration.vcFormat.indent.preprocessor.description": "前置處理器指示詞的位置。",
111-
"c_cpp.configuration.vcFormat.indent.preprocessor.oneLeft.markdownDescription": "前置處理器指令會以 `#editor.tabSize#` 設定中指定的數量,定位於目前程式碼縮排的左邊",
113+
"c_cpp.configuration.vcFormat.indent.preprocessor.oneLeft.markdownDescription": "前置處理器指示詞會以 `#editor.tabSize#` 設定中指定的數量,定位於目前程式碼縮排的左側",
112114
"c_cpp.configuration.vcFormat.indent.preprocessor.leftmostColumn.markdownDescription": "前置處理器指示詞位於程式碼的最左側。",
113115
"c_cpp.configuration.vcFormat.indent.preprocessor.none.markdownDescription": "將不會格式化前置處理器指示詞。",
114116
"c_cpp.configuration.vcFormat.indent.accessSpecifiers.markdownDescription": "存取指定名稱會依據 `#editor.tabSize#` 設定中指定的數量,按照類別或結構定義的相對位置縮排。",
@@ -269,6 +271,7 @@
269271
"c_cpp.contributes.views.sshTargetsView.title": "Cpptools: SSH 目標",
270272
"c_cpp.contributes.viewsWelcome.contents": "如需深入了解 launch.json,請參閱 [設定 C/C++ 偵錯](https://code.visualstudio.com/docs/cpp/launch-json-reference)。",
271273
"c_cpp.configuration.debugShortcut.description": "在 C++ 檔案的編輯器標題列中顯示 [執行及偵錯] 播放按鈕和 [新增偵錯組態] 齒輪。",
274+
"c_cpp.configuration.persistVsDeveloperEnvironment.description": "記住目前工作區上次使用的 Visual Studio 開發人員環境。此設定僅適用於 Windows。",
272275
"c_cpp.debuggers.pipeTransport.description": "出現時,會指示偵錯工具使用另一個可執行檔來連線至遠端電腦,該管道會在 VS Code 與 MI 啟用偵錯工具後端可執行檔之間傳送標準輸入/輸出 (例如 gdb)。",
273276
"c_cpp.debuggers.pipeTransport.default.pipeProgram": "輸入管道程式名稱的完整路徑,例如 '/usr/bin/ssh'。",
274277
"c_cpp.debuggers.pipeTransport.default.debuggerPath": "目標機器的偵錯工具完整路徑,例如 /use/bin/gdb。",
@@ -428,8 +431,8 @@
428431
"c_cpp.walkthrough.create.cpp.file.title": "建立 C++ 檔案",
429432
"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)",
430433
"c_cpp.walkthrough.create.cpp.file.altText": "使用 C++ 專案開啟 C++ 檔案或資料夾。",
431-
"c_cpp.walkthrough.command.prompt.title": "從 Developer Command Prompt for VS 中啟動",
432-
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 編譯器時,C++ 延伸模組會要求您在 Developer Command Prompt for VS 中啟動 VS Code。請遵循右側的指示來重新啟動\n[重新載入視窗](command:workbench.action.reloadWindow)",
434+
"c_cpp.walkthrough.command.prompt.title": "套用 Visual Studio 開發人員環境",
435+
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 編譯器時,必須存在 Visual Studio 開發人員環境。\n\n請遵循右側的指示重新啟動,或按一下下方的按鈕\n[設定開發人員環境](command:C_Cpp.SetVsDeveloperEnvironment?%22walkthrough%22)",
433436
"c_cpp.walkthrough.run.debug.title": "執行和偵錯您的 C++ 檔案",
434437
"c_cpp.walkthrough.run.debug.mac.description": "開啟您的 C++ 檔案,然後按一下編輯器右上角的執行按鈕,或在開啟檔案上時按 F5。選取 [clang++ - 建置及偵錯使用中的檔案] 以使用偵錯工具執行。",
435438
"c_cpp.walkthrough.run.debug.linux.description": "開啟您的 C++ 檔案,然後按一下編輯器右上角的執行按鈕,或在開啟檔案上時按 F5。選取 [g++ - 建置及偵錯使用中的檔案] 以使用偵錯工具執行。",

Extension/i18n/cht/src/Debugger/configurationProvider.i18n.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
"pre.Launch.Task": "preLaunchTask: {0}",
1818
"debugger.path.not.exists": "找不到 {0} 偵錯工具。已略過 {1} 的偵錯組態。",
1919
"build.and.debug.active.file": "建置及偵錯使用中的檔案",
20-
"cl.exe.not.available": "{0} 僅限於從 {1} 執行 VS Code 時使用。",
20+
"apply.dev.env": "套用開發人員環境",
21+
"cl.exe.not.available": "{0} 需要 Visual Studio 開發人員環境。",
22+
"update.dev.env": "更新開發人員環境",
23+
"cancel": "取消",
24+
"dev.env.not.applied": "由於未套用 Visual Studio 開發人員環境,原始程式碼無法建置。",
25+
"dev.env.not.found": "由於找不到 Visual C++ 編譯器,原始程式碼無法建置。",
2126
"lldb.find.failed": "缺少 lldb-mi 可執行檔的相依性 '{0}'。",
2227
"lldb.search.paths": "已在下列位置中搜尋:",
2328
"lldb.install.help": "若要解決此問題,請透過 Apple App Store 安裝 XCode,或在終端機視窗中執行 '{0}' 以安裝 XCode 命令列工具。",
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"no.context.provided": "未提供內容",
8+
"not.windows": "\"Set Visual Studio Developer Environment\" 命令僅可在 Windows 使用",
9+
"error.no.vs": "找不到包含 C++ 編譯器的 Visual Studio 安裝",
10+
"operation.cancelled": "作業已取消",
11+
"no.hosts": "找不到主機",
12+
"config.dev.env": "正在設定開發人員環境...",
13+
"select.vs.install": "選取 Visual Studio 安裝",
14+
"advanced.options": "進階選項...",
15+
"advanced.options.desc": "選取特定主機和目標結構、工具集版本等。",
16+
"select.toolset": "選取工具集版本",
17+
"select.host.target": "選取主機和目標結構",
18+
"something.wrong": "發生錯誤: {0}",
19+
"dev.env.for": "{1} 的 {0} 開發人員環境",
20+
"default.env": "{0} 的預設環境",
21+
"host.target": "host = {0}, target = {1}"
22+
}

0 commit comments

Comments
 (0)