Skip to content

Commit 536f948

Browse files
committed
Localization - Translated Strings
1 parent bebf224 commit 536f948

File tree

91 files changed

+651
-157
lines changed

Some content is hidden

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

91 files changed

+651
-157
lines changed

Extension/i18n/chs/package.i18n.json

Lines changed: 9 additions & 6 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": "Set Visual Studio Developer Environment",
46+
"c_cpp.command.ClearVsDeveloperEnvironment.title": "Clear Visual Studio Developer Environment",
4547
"c_cpp.command.AddDebugConfiguration.title": "添加调试配置",
4648
"c_cpp.command.GenerateDoxygenComment.title": "生成 Doxygen 注释",
4749
"c_cpp.command.addSshTarget.title": "添加 SSH 目标",
@@ -104,11 +106,11 @@
104106
"c_cpp.configuration.vcFormat.indent.caseContentsWhenBlock.markdownDescription": "按 `#editor.tabSize#` 设置中指定的量缩进 case 语句后的大括号。",
105107
"c_cpp.configuration.vcFormat.indent.lambdaBracesWhenParameter.markdownDescription": "按 `#editor.tabSize#` 设置中指定的量,对用作函数参数的 Lambda 大括号进行缩进(相对于语句开头)。",
106108
"c_cpp.configuration.vcFormat.indent.gotoLabels.description": "goto 标签的位置。",
107-
"c_cpp.configuration.vcFormat.indent.gotoLabels.oneLeft.markdownDescription": "`#editor.tabSize#` 设置中指定的量将 goto 标签置于当前代码缩进的左侧。",
109+
"c_cpp.configuration.vcFormat.indent.gotoLabels.oneLeft.markdownDescription": "Position goto labels to the left of the current code indentation by the amount specified in the `#editor.tabSize#` setting.",
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": "Preprocessor directives are positioned to the left of the current code indentation by the amount specified in the `#editor.tabSize#` setting.",
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": "Remember the last used Visual Studio developer environment for the current workspace. This setting is only applicable for 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。",
@@ -417,9 +420,9 @@
417420
"c_cpp.debuggers.logging.category.warning.description": "突出显示应用程序流中的异常或意外事件,但不会导致应用程序执行停止的日志。",
418421
"c_cpp.debuggers.logging.category.error.description": "在当前执行流因失败而停止时突出显示的日志。这些应指示当前活动中的失败,而不是应用程序范围的失败。",
419422
"c_cpp.debuggers.logging.category.none.description": "不用于写入日志消息。指定事件日志类别不应写入任何消息。",
420-
"c_cpp.walkthrough.title": "C++ 开发入门",
423+
"c_cpp.walkthrough.title": "Get started with C++ development",
421424
"c_cpp.walkthrough.description": "深入了解 VS Code 丰富的 C++ 开发体验。",
422-
"c_cpp.walkthrough.set.up.title": "设置 C++ 环境",
425+
"c_cpp.walkthrough.set.up.title": "Set up your C++ environment",
423426
"c_cpp.walkthrough.activating.description": "激活 C++ 扩展以确定是否已设置 C++ 环境。\n正在激活扩展...",
424427
"c_cpp.walkthrough.no.compilers.windows.description": "无法在计算机上找到 C++ 编译器,这是使用 C++ 扩展所必需的。请按照右侧的说明安装一个编译器,然后单击下面的“查找我的新编译器”。\n[查找我的新编译器](command:C_Cpp.RescanCompilers?%22walkthrough%22)",
425428
"c_cpp.walkthrough.no.compilers.description": "在你的计算机上找不到 C++ 编译器,而使用 C++ 扩展需要该编译器。请选择“安装 C++ 编译器”,为你安装编译器,或者按照右侧的说明安装编译器,然后单击下面的“查找我的新编译器”。\n[安装 C++ 编译器](command:C_Cpp.InstallCompiler?%22walkthrough%22)\n[查找我的新编译器](command:C_Cpp.RescanCompilers?%22walkthrough%22)",
@@ -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": "Apply the Visual Studio developer environment",
435+
"c_cpp.walkthrough.command.prompt.description": "When using the Microsoft Visual Studio C++ compiler, the Visual Studio developer environment must be present.\r\n\r\nFollow the instructions on the right to relaunch or click the button below.\r\n[Set Developer Environment](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": "Apply Developer Environment",
21+
"cl.exe.not.available": "{0} requires the Visual Studio developer environment.",
22+
"update.dev.env": "Update Developer Environment",
23+
"cancel": "Cancel",
24+
"dev.env.not.applied": "The source code could not be built because the Visual Studio developer environment was not applied.",
25+
"dev.env.not.found": "The source code could not be built because the Visual C++ compiler could not be found.",
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": "No context provided",
8+
"not.windows": "The \"Set Visual Studio Developer Environment\" command is only available on Windows",
9+
"error.no.vs": "A Visual Studio installation with the C++ compiler was not found",
10+
"operation.cancelled": "The operation was cancelled",
11+
"no.hosts": "No hosts found",
12+
"config.dev.env": "Configuring developer environment...",
13+
"select.vs.install": "Select a Visual Studio installation",
14+
"advanced.options": "Advanced options...",
15+
"advanced.options.desc": "Select a specific host and target architecture, toolset version, etc.",
16+
"select.toolset": "Select a toolset version",
17+
"select.host.target": "Select a host and target architecture",
18+
"something.wrong": "Something went wrong: {0}",
19+
"dev.env.for": "{0} developer environment for {1}",
20+
"default.env": "Default environment for {0}",
21+
"host.target": "host = {0}, target = {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": "Apply the Visual Studio developer environment",
8+
"walkthrough.windows.dev.env.required": "The Visual Studio C++ compiler requires several environment variables to be set in order to successfully compile your code. If you are using a Windows machine with the Visual Studio C++ compiler, there are two ways you can ensure the environment is applied.",
9+
"walkthrough.windows.do.one": " You only need to do one of the following:",
10+
"walkthrough.windows.run.dev.command": "Run the {0} command",
11+
"walkthrough.windows.set.dev.environment": "C/C++: Set Visual Studio Developer Environment",
12+
"walkthrough.windows.start.from.dev.command": "Start VS Code from the {0}",
13+
"walkthrough.windows.relaunch.command.prompt": "To relaunch VS Code using the {0}",
14+
"walkthrough.close.vscode": "Close the current instance of VS Code.",
15+
"walkthrough.open.command.prompt": "Open the {0} by typing {1} in the Windows Start menu then select the {2}.",
16+
"walkthrough.windows.press.f5": "Type {0} into the command prompt and hit enter. This should relaunch VS Code in the same workspace and take you back to this walkthrough."
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": "Open the {0} by typing {1} in the Windows Start menu.",
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": "Open the {0} by typing {1} in the Windows Start menu.",
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": "Open the {0} by typing {1} in the Windows Start menu.",
1414
"walkthrough.windows.check.install": "通过在 {1} 中键入 {0} 来检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。",
1515
"walkthrough.windows.other.compilers": "其他编译器选项",
1616
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看 {0}。或者,可 {1}。",

0 commit comments

Comments
 (0)