Skip to content

Commit 9c676d3

Browse files
gcampbell-msftcsigshanniavalera
authored
Localization - Translated Strings (#4827)
Co-authored-by: csigs <[email protected]> Co-authored-by: Hannia Valera <[email protected]>
1 parent 0dcf6b8 commit 9c676d3

78 files changed

Lines changed: 3120 additions & 65 deletions

File tree

Some content is hidden

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

i18n/chs/assets/policies.json.i18n.json

Lines changed: 212 additions & 0 deletions
Large diffs are not rendered by default.

i18n/chs/package.i18n.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"cmake-tools.command.cmake.launchTarget.title": "运行但不调试",
7575
"cmake-tools.command.cmake.launchTargetAll.title": "运行所有项目但不调试",
7676
"cmake-tools.command.cmake.selectLaunchTarget.title": "设置启动/调试目标",
77+
"cmake-tools.command.cmake.selectBuildAndLaunchTarget.title": "Set Build and Launch/Debug Target",
7778
"cmake-tools.command.cmake.stop.title": "取消生成",
7879
"cmake-tools.command.cmake.stopAll.title": "取消所有项目的生成",
7980
"cmake-tools.command.cmake.resetState.title": "重置 CMake Tools 扩展状态(用于故障排除)",
@@ -105,6 +106,7 @@
105106
"cmake-tools.configuration.cmake.generator.description": "要使用的 CMake 生成器。",
106107
"cmake-tools.configuration.cmake.toolset.description": "要在配置时使用的 CMake 工具集。",
107108
"cmake-tools.configuration.cmake.platform.description": "要在配置时使用的 CMake 平台。",
109+
"cmake-tools.configuration.cmake.shell.description": "Path to a shell executable to use when running CMake, CTest, and CPack commands (e.g., Git Bash or MSYS2). When set, all subprocess invocations are routed through this shell. Useful for embedded toolchains that require POSIX path translation. When null, the default system shell behavior is used.",
108110
"cmake-tools.configuration.cmake.configureArgs.description": "要在配置时传递给 CMake 的其他参数。使用 CMake 预设时,这些参数会临时追加到活动配置预设提供的参数中。",
109111
"cmake-tools.configuration.cmake.buildArgs.description": "要在生成时传递给 CMake 的其他参数。使用 CMake 预设时,这些参数会临时追加到活动生成预设提供的参数中。",
110112
"cmake-tools.configuration.cmake.buildToolArgs.description": "要在生成时传递给基础生成工具的其他参数。使用 CMake 预设时,这些参数会临时追加到活动生成预设提供的参数,以调用生成工具。",
@@ -124,8 +126,19 @@
124126
"cmake-tools.configuration.cmake.ctest.failurePatterns.actual": "实际测试输出的匹配组索引。默认为“未定义”。",
125127
"cmake-tools.configuration.cmake.ctest.failurePatterns.expected": "预期测试输出的匹配组索引。默认为“未定义”。",
126128
"cmake-tools.configuration.cmake.ctest.debugLaunchTarget.description": "在使用 CTest 调试测试时,从 launch.json 中获取目标名称以启动。默认情况下,如果目标不存在,将显示一个包含所有有空目标的选取器。",
129+
"cmake-tools.configuration.cmake.ctest.neverDebugTestsWithLaunchConfiguration.description": "When set to true, always debug tests without a launch configuration, bypassing the quick pick menu. Default is false.",
127130
"cmake-tools.configuration.cmake.parseBuildDiagnostics.description": "分析编译器输出以查找警告和错误。",
128131
"cmake-tools.configuration.cmake.enabledOutputParsers.description": "要使用的输出分析程序。支持的分析程序 `cmake`、`gcc`、`gnuld`(适用于 GNULD 样式的链接器输出)、`msvc`(适用于 Microsoft Visual C++)、`ghs`(适用于 Green Hills 编译器,具有 --no_wrap_diagnostics --brief_diagnostics),`diab`(适用于 Wind River Diab 编译器)以及 `iwyu`(适用于 include-what-you-use 诊断)。",
132+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.markdownDescription": "Additional problem matchers for build output. Use this to surface diagnostics from tools like clang-tidy, PCLint Plus, cppcheck, or custom scripts integrated via `add_custom_command`/`add_custom_target` in CMake.\r\n\r\nEach entry defines a `name` (used as the diagnostic source label), a `regexp`, and capture group indices for `file`, `line`, `column`, `severity`, `message`, and `code`.\r\n\r\nFor example, to match clang-tidy output like `/path/file.cpp:10:5: warning: some message [check-name]`:\r\n```json\r\n[\r\n {\r\n \"name\": \"clang-tidy\",\r\n \"regexp\": \"^(.+?):(\\\\d+):(\\\\d+):\\\\s+(warning|error|note):\\\\s+(.+?)\\\\s*(?:\\\\[(.+)\\\\])?$\",\r\n \"file\": 1,\r\n \"line\": 2,\r\n \"column\": 3,\r\n \"severity\": 4,\r\n \"message\": 5,\r\n \"code\": 6\r\n }\r\n]\r\n```\r\n\r\nCustom matchers run **after** the built-in parsers (`gcc`, `msvc`, etc.) so they do not steal lines from built-in compilers.",
133+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.name": "A unique name for this matcher, used as the diagnostic source label in the Problems pane.",
134+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.regexp": "The regular expression to match against each build output line.",
135+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.file": "The capture group index for the file path. Defaults to `1`.",
136+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.line": "The capture group index for the line number. Defaults to `2`.",
137+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.column": "The capture group index for the column number. Optional.",
138+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.severity.group": "The capture group index for the severity (should capture 'error', 'warning', or 'info').",
139+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.severity.fixed": "A fixed severity to apply to all matches from this pattern.",
140+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.message": "The capture group index for the diagnostic message. Defaults to `3`.",
141+
"cmake-tools.configuration.cmake.additionalBuildProblemMatchers.code": "The capture group index for an optional diagnostic code.",
129142
"cmake-tools.configuration.cmake.debugConfig.description": "要在调试目标时使用的调试配置。",
130143
"cmake-tools.configuration.cmake.debugConfig.symbolSearchPath.description": "Visual Studio 调试程序符号搜索路径。",
131144
"cmake-tools.configuration.cmake.debugConfig.additionalSOLibSearchPath.description": "用于搜索 .so 文件的 GDB 或 LLDB 的路径。",
@@ -231,6 +244,7 @@
231244
"cmake-tools.configuration.cmake.postRunCoverageTarget.description": "使用测试资源管理器运行覆盖率测试之后要生成的目标",
232245
"cmake-tools.configuration.cmake.coverageInfoFiles.description": "使用测试资源管理器运行覆盖率测试后要处理的 LCOV 覆盖率信息文件。",
233246
"cmake-tools.configuration.cmake.useFolderPropertyInBuildTargetDropdown.description": "控制默认生成目标下拉列表是否按 CMake 文件夹组分组。",
247+
"cmake-tools.configuration.cmake.setBuildTargetSameAsLaunchTarget.description": "When enabled, setting the launch/debug target automatically sets the build target to match. The build target can still be changed independently.",
234248
"cmake-tools.debugger.pipeName.description": "用于调试器通信的管道(在 Windows 上)或域套接字(在 Unix 上)的名称。",
235249
"cmake-tools.debugger.clean.description": "在配置之前清理。",
236250
"cmake-tools.debugger.configureAll.description": "为所有项目配置。",

i18n/chs/src/cmakeProject.i18n.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"generator.changed.restart.driver": "在生成器更改后重启 CMake 驱动程序。",
1010
"preferredGenerator.changed.restart.driver": "在 preferredGenerators 更改后重启 CMake 驱动程序。",
1111
"bad.executable": "CMake 可执行文件错误: {0}。请检查以确保它已安装,或者 {1} 设置的值包含正确的路径",
12+
"shell.changed.restart.driver": "Restarting the CMake driver after a shell change.",
1213
"targests.in.preset": "[预设中的目标]",
1314
"constructing.cmakeproject": "构造新的 CMakeProject 实例",
1415
"disposing.driver": "正在释放 CMake 驱动程序",

i18n/chs/src/ctest.i18n.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
"test.buildingPostRunCoverageTarget": "在运行覆盖率测试后为项目 {1} 生成 postRunCoverageTarget“{0}”。",
2828
"test.postRunCoverageTargetFailure": "在 {0} 的项目上生成目标 postRunCoverageTarget 失败。跳过覆盖率数据的处理。",
2929
"test.skip.run.build.failure": "由于生成失败而未运行测试。",
30+
"debug.without.launch.config": "Debug without launch configuration",
31+
"choose.debug.method": "Choose how to debug the test.",
32+
"yes": "Yes",
33+
"no": "No",
34+
"never.debug.with.launch.prompt": "Would you like to always debug tests without a launch configuration in this workspace?",
35+
"no.launch.config": "No launch configurations found.",
36+
"choose.launch.config": "Choose a launch configuration to debug the test with.",
3037
"test.skip.debug.build.failure": "由于生成失败而未调试测试。",
3138
"build.failed": "生成失败",
3239
"run.tests.profile": "运行测试",

i18n/chs/src/extension.i18n.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"cmake.finished.returned.unserializable": "{0} 已完成(已返回不可序列化的值)",
5050
"loading.extension.commands": "正在加载扩展命令",
5151
"register.command": "注册 CMakeTools 扩展命令 {0}",
52+
"bookmark.target.not.resolved": "Bookmark \"{0}\" could not be resolved to a target. The project may need to be reconfigured.",
5253
"search.project.outline": "输入搜索词以筛选项目大纲",
5354
"added.to": "已添加到",
5455
"removed.from": "已移除自",

i18n/chs/src/proc.i18n.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
{
77
"executing.command": "正在执行命令: {0}",
88
"execution.environment": " 环境为 {0}",
9-
"process.error": "命令: {0} 失败,出现错误: {1} 堆栈: {2}",
10-
"process.exit.with.signal": "命令: {0} 退出,出现代码: {1} 和信号: {2} 堆栈: {3}",
11-
"process.exit": "命令: {0} 退出,出现代码: {1} 堆栈: {2}",
12-
"process.exit.stdout": "有关标准输出的命令输出: {0} 堆栈: {1}",
13-
"process.exit.stderr": "有关标准错误的命令输出: {0} 堆栈: {1}",
9+
"process.error": "The command: {0} failed with error: {1}",
10+
"process.exit.with.signal": "The command: {0} exited with code: {1} and signal: {2}",
11+
"process.exit": "The command: {0} exited with code: {1}",
12+
"process.exit.stdout": "Command output on standard out: {0}",
13+
"process.exit.stderr": "Command output on standard error: {0}",
1414
"processing.data.event.stdout": "正在处理 proc stdout 中的 {0} 事件",
1515
"processing.data.event.stderr": "正在处理 proc stderr 中的 {0} 事件",
1616
"resolving.close.event": "正在解析 {0} 事件上的进程"

0 commit comments

Comments
 (0)