Skip to content

Commit 14e31e0

Browse files
authored
Corrected localized strings (#9419)
1 parent 8bff10f commit 14e31e0

File tree

103 files changed

+499
-395
lines changed

Some content is hidden

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

103 files changed

+499
-395
lines changed

Extension/i18n/chs/package.i18n.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@
2929
"c_cpp.command.RunCodeAnalysisOnActiveFile.title": "在活动文件上运行 Code Analysis",
3030
"c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "在打开的文件上运行 Code Analysis",
3131
"c_cpp.command.RunCodeAnalysisOnAllFiles.title": "在所有文件上运行 Code Analysis",
32-
"c_cpp.command.ClearCodeAnalysisSquiggles.title": "清除 Code Analysis 波形曲线",
32+
"c_cpp.command.RemoveAllCodeAnalysisProblems.title": "清除所有代码分析问题",
3333
"c_cpp.command.BuildAndDebugFile.title": "调试 C/C++ 文件",
3434
"c_cpp.command.BuildAndRunFile.title": "运行 C/C++ 文件",
35+
"c_cpp.command.AddDebugConfiguration.title": "添加调试配置",
3536
"c_cpp.configuration.maxConcurrentThreads.markdownDescription": "用于语言服务处理的最大并发线程数。该值是一个提示,且不能始终使用。默认值 `null` (空)使用可用的逻辑处理器数。",
3637
"c_cpp.configuration.maxCachedProcesses.markdownDescription": "用于语言服务处理的最大缓存进程数。默认值 `null` (空)使用可用逻辑处理器数的两倍。",
3738
"c_cpp.configuration.maxMemory.markdownDescription": "可用于语言服务处理的最大内存(以 MB 为单位)。超过此内存使用量后,将缓存且并发运行较少的进程。默认值 `null` (空)使用系统的空闲内存。",
@@ -47,12 +48,20 @@
4748
"c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "要与文件路径匹配的 glob 模式。设置为 `true` 或 `false` 以启用或禁用模式。",
4849
"c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "对匹配文件同辈进行其他检查。将 `$(basename)` 用作匹配文件名变量。",
4950
"c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "如果为 `true`,则代码分析将在文件打开或保存后自动在文件上运行。",
51+
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showDisable.markdownDescription": "如果为`true`,`禁用'代码操作将在可用时显示(下次运行代码分析时)。使用`禁用'代码操作时,它会将警告代码添加到 `C_Cpp.codeAnalysis.clangTidy.checks.disabled`设置。",
52+
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showDocumentation.markdownDescription": "如果为`true`,“显示文档”代码操作将在可用时显示(下次运行代码分析时)。",
53+
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.description": "控制哪些“清除”代码分析问题代码操作选项可用。更改设置以显示更多选项可能需要重新运行代码分析。",
54+
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.None.description": "不显示“清除”代码操作。",
55+
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.AllOnly.description": "仅显示“全部清除”代码操作(如果只有一种类型,则显示“清除所有<type>”,如果只有一个问题,则显示“清除此项”)。",
56+
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.AllAndAllType.description": "如果存在多个问题类型,显示“全部清除”代码操作和“清除所有 <type>”代码操作(或如果<type>只有一个问题,显示“清除此项”)",
57+
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.AllAndAllTypeAndThis.description": "如果有多个问题类型,显示“全部清除”,如果有多个 <type> 问题,显示“清除所有 <type>”以及显示“清除此项”代码操作",
5058
"c_cpp.configuration.codeAnalysis.clangTidy.enabled.markdownDescription": "如果为 `true`,则在 `#C_Cpp.codeAnalysis.runAutomatically#` 为 `true` (默认值)时,将启用并自动运行使用 `clang-tidy` 的代码分析。",
5159
"c_cpp.configuration.codeAnalysis.clangTidy.path.markdownDescription": "`clang-tidy` 可执行文件的完整路径。如果未指定,并且 `clang-tidy` 在环境路径中可用,则使用该路径。如果在环境路径中找不到,则将使用与扩展捆绑的 `clang-tidy`。",
5260
"c_cpp.configuration.codeAnalysis.clangTidy.config.markdownDescription": "指定 YAML/JSON 格式的 `clang-tidy` 配置: `{Checks: '-*,clang-analyzer-*', CheckOptions: [{键: x, 值: y}]}`。当值为空时,`clang-tidy` 将尝试为其父目录中的每个源文件查找名为 `.clang-tidy` 的文件。",
5361
"c_cpp.configuration.codeAnalysis.clangTidy.fallbackConfig.markdownDescription": "指定 YAML/JSON 格式的 `clang-tidy` 配置,以在未设置 `#C_Cpp.codeAnalysis.clangTidy.config#`,并且未找到 `.clang-tidy` 文件: `{Checks: '-*,clang-analyzer-*', CheckOptions: [{键: x, 值: y}]}` 时将其用作回退。",
5462
"c_cpp.configuration.codeAnalysis.clangTidy.headerFilter.markdownDescription": "与要从中输出诊断的标头名称匹配的 POSIX 扩展正则表达式 (ERE)。始终显示来自每个翻译单元的主文件的诊断。支持 `${workspaceFolder}` 变量(如果不存在 `.clang-tidy` 文件,则该变量将用作默认回退值)。如果此选项不是 `null` (空),则将替代 `.clang-tidy` 文件中的 `HeaderFilterRegex` 选项(如果有)。",
5563
"c_cpp.configuration.codeAnalysis.clangTidy.args.markdownDescription": "要传递给 `clang-tidy` 的其他命令行参数。这些优先于等效的 `C_Cpp.codeAnalysis.clangTidy.*` 设置。",
64+
"c_cpp.configuration.codeAnalysis.clangTidy.useBuildPath.markdownDescription": "如果设置了 `true` 和 `compileCommands`,则 `-p=<build-path>` 参数将传递给 `clang-tidy`,而不是在 `--` 之后传递生成参数。如果未设置环境变量以便可以找到系统包含项,则此操作可能不起作用。",
5665
"c_cpp.configuration.codeAnalysis.clangTidy.checks.enabled.markdownDescription": "已启用的 `clang-tidy` 检查列表。这些值将追加到 `.clang-tidy` 文件中的 `Checks` 或 `#C_Cpp.codeAnalysis.clangTidy.config#` (如果有)。除非显式禁用,否则始终使用默认检查 `clang-analyzer-*`。",
5766
"c_cpp.configuration.codeAnalysis.clangTidy.checks.disabled.markdownDescription": "已禁用的 `clang-tidy` 检查列表。该值将追加到 `.clang-tidy` 文件中的 `Checks` 或 `#C_Cpp.codeAnalysis.clangTidy.config#` (如果有)。",
5867
"c_cpp.configuration.formatting.description": "配置格式设置引擎。",
@@ -214,9 +223,11 @@
214223
"c_cpp.configuration.filesExcludeBoolean.markdownDescription": "要与文件路径匹配的 glob 模式。设置为 `true` 或 `false` 以启用或禁用模式。",
215224
"c_cpp.configuration.filesExcludeWhen.markdownDescription": "对匹配文件同辈进行其他检查。将 `$(basename)` 用作匹配文件名变量。",
216225
"c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "如果为 `true`,则调试程序 shell 命令替换将使用过时的反引号 ``(`)``。",
217-
"c_cpp.contributes.views.cppReferencesView.title": "C/C++: 其他引用结果。",
226+
"c_cpp.configuration.legacyCompilerArgsBehavior.markdownDescription": "启用 v1.10.0 以前的行为,以了解在编译器参数设置中如何处理 shell 转义。从 v1.10.0 开始,参数数组在默认情况下不再需要或支持 shell 转义。",
227+
"c_cpp.configuration.legacyCompilerArgsBehavior.deprecationMessage": "此设置是临时的,用于支持转换为 v1.10.0 中更正后的行为。",
228+
"c_cpp.contributes.views.cppReferencesView.title": "C/C++: 其他引用结果",
218229
"c_cpp.contributes.viewsWelcome.contents": "要了解有关 launch.json 的信息,请参阅 [配置 C/C++ 调试](https://code.visualstudio.com/docs/cpp/launch-json-reference)。",
219-
"c_cpp.configuration.debugShortcut.description": " C++ 文件的编辑器标题栏中显示“运行和调试播放”按钮",
230+
"c_cpp.configuration.debugShortcut.description": "显示 C++ 文件编辑器标题栏中的“运行和调试”播放按钮和“添加调试配置”齿轮。",
220231
"c_cpp.debuggers.pipeTransport.description": "如果存在,这会指示调试程序使用其他可执行文件作为管道来连接到远程计算机,此管道将在 VS Code 和已启用 MI 的调试程序后端可执行文件(如 gdb)之间中继标准输入/输入。",
221232
"c_cpp.debuggers.pipeTransport.default.pipeProgram": "输入管道程序名称的完全限定的路径,例如 '/usr/bin/ssh'。",
222233
"c_cpp.debuggers.pipeTransport.default.debuggerPath": "目标计算机上调试程序的完整路径,例如 /usr/bin/gdb。",
@@ -318,7 +329,7 @@
318329
"c_cpp.semanticTokenTypes.templateType.description": "C++ 模板类型的样式。",
319330
"c_cpp.semanticTokenTypes.operatorOverload.description": "C++ 重载运算符的样式。",
320331
"c_cpp.semanticTokenTypes.memberOperatorOverload.description": "C++ 重载运算符成员函数的样式。",
321-
"c_cpp.semanticTokenTypes.newOperator.description": "C++ `` 或 `删除` 运算符的样式。",
332+
"c_cpp.semanticTokenTypes.newOperator.description": "C++ `new` 或 `delete` 运算符的样式。",
322333
"c_cpp.semanticTokenTypes.customLiteral.description": "C++ 用户定义文本的样式。",
323334
"c_cpp.semanticTokenTypes.numberLiteral.description": "C++ 用户定义文本数字的样式。",
324335
"c_cpp.semanticTokenTypes.stringLiteral.description": "C++ 用户定义文本字符串的样式。",

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
{
77
"default.configuration.menuitem": "默认配置",
88
"select.configuration": "选择配置",
9-
"debugger.deprecated.config": "密钥“{0}”已弃用。请改用“{1}”。",
109
"debugger.not.available": "类型为“{0}”的调试程序仅在 Windows 上可用。在当前 OS 平台上使用类型“{1}”。",
10+
"debugger.deprecated.config": "密钥“{0}”已弃用。请改用“{1}”。",
1111
"lldb.framework.install.xcode": "详细信息",
1212
"lldb.framework.not.found": "找不到用于 lldb-mi 的 \"LLDB.framework\"。请安装 XCode 或 XCode 命令行工具。",
1313
"debugger.launchConfig": "启动配置:",
@@ -23,6 +23,9 @@
2323
"replacing.editorPath": "正在将 {0}“{1}”替换为“{2}”。",
2424
"resolving.variables.in.sourcefilemap": "正在解析 {0} 中的变量...",
2525
"open.envfile": "打开 {0}",
26+
"recently.used.task": "最近使用的任务",
27+
"configured.task": "已配置的任务",
28+
"detected.task": "检测到的任务",
2629
"cannot.build.non.cpp": "无法生成和调试,因为活动文件不是 C 或 C++ 源文件。",
2730
"no.compiler.found": "未找到编译程序",
2831
"select.debug.configuration": "选择调试配置",

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,5 @@
44
*--------------------------------------------------------------------------------------------*/
55
// Do not edit this file. It is machine generated.
66
{
7-
"build.and.debug.active.file": "生成和调试活动文件",
8-
"single_file_mode_not_available": "此命令不能用于单文件模式。",
9-
"cannot.build.non.cpp": "无法生成和调试,因为活动文件不是 C 或 C++ 源文件。",
10-
"no.compiler.found": "未找到编译程序",
11-
"select.configuration": "选择配置",
12-
"cl.exe.not.available": "仅当从 VS 开发人员命令提示符处运行 VS Code 时,{0} 生成和调试才可用。"
7+
"add.debug.configuration.not.available.for.single.file": "添加调试配置不适用于单个文件。"
138
}

Extension/i18n/chs/src/LanguageServer/client.i18n.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@
44
*--------------------------------------------------------------------------------------------*/
55
// Do not edit this file. It is machine generated.
66
{
7+
"fix_all_code_analysis_problems": "修复所有代码分析问题",
8+
"clear_all_code_analysis_problems": "清除所有代码分析问题",
79
"c.cpp.debug.protocol": "C/C++ 调试协议",
810
"c.cpp.warnings": "C/C++ 配置警告",
11+
"fix_all_type_problems": "修复所有 {0} 问题",
12+
"disable_all_type_problems": "禁用所有 {0} 问题",
13+
"clear_all_type_problems": "清除所有{0}问题",
14+
"clear_this_problem": "清除此 {0} 问题",
15+
"fix_this_problem": "修复此 {0} 问题",
16+
"show_documentation_for": "显示 {0} 文档",
917
"unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}",
1018
"check.permissions": "EPERM: 检查“{0}”的权限",
1119
"server.crashed2": "在过去 3 分钟内,语言服务器崩溃了 5 次。它不会重新启动。",

Extension/i18n/chs/src/LanguageServer/extension.i18n.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66
{
77
"learn.how.to.install.a.library": "了解如何使用 vcpkg 为此标头安装库",
88
"copy.vcpkg.command": "将用于安装“{0}”的 vcpkg 命令复制到剪贴板",
9-
"more.info.button": "详细信息",
10-
"ignore.button": "忽略",
11-
"vsix.platform.incompatible": "已安装的 C/C++ 扩展与系统不匹配。",
12-
"vsix.platform.mismatching": "已安装的 C/C++ 扩展与系统兼容,但与系统不匹配。",
139
"client.not.found": "未找到客户端",
1410
"configuration.select.first": "首先打开一个文件夹以选择配置",
1511
"configuration.provider.select.first": "首先打开一个文件夹以选择配置提供程序",
1612
"edit.configurations.open.first": "首先打开一个文件夹以编辑配置",
13+
"code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。",
1714
"add.includepath.open.first": "首先打开一个要添加到 {0} 的文件夹"
1815
}

Extension/i18n/chs/src/LanguageServer/settings.i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
*--------------------------------------------------------------------------------------------*/
55
// Do not edit this file. It is machine generated.
66
{
7-
"editorconfig.default.behavior": "代码格式设置使用 .editorconfig 中的设置,而不是 .clang-format 中的设置。有关详细信息,请参阅文档了解 'C_Cpp.formatting' 设置的 'Default' 值。"
7+
"editorconfig.default.behavior": "代码格式设置使用 .editorconfig 中的设置,而不是 .clang-format 中的设置。有关详细信息,请参阅文档了解C_Cpp.formatting设置的Default值。"
88
}

Extension/i18n/chs/src/main.i18n.json

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,9 @@
44
*--------------------------------------------------------------------------------------------*/
55
// Do not edit this file. It is machine generated.
66
{
7-
"architecture.not.supported": "体系结构 {0} 不受支持。",
8-
"apline.containers.not.supported": "Alpine 容器不受支持。",
9-
"download.button": "转到下载页",
10-
"native.binaries.not.supported": "此 {0} {1} 版本的扩展与你的 OS 不兼容,请下载并安装 \"{2}\" 版本的扩展。",
11-
"extension.installation.failed": "C/C++ 扩展安装失败。为使函数正常工作,需要修复或重新安装 C/C++ 语言功能的扩展。",
12-
"remove.extension": "尝试修复",
13-
"json.files.missing": "C/C++ 扩展安装失败。为使函数正常工作,需要重新安装 C/C++ 语言功能的扩展。",
14-
"initialization.failed": "C/C++ 扩展安装失败。有关详细信息,请查看输出窗口。",
15-
"updating.dependencies": "正在更新 C/C++ 依赖项...",
16-
"failed.at.stage": "在阶段 {0} 失败",
17-
"failed.at.stage2": "如果在脱机环境中工作或反复看到此错误,请尝试从 {0} 下载预包含了所有依赖项的扩展版本,然后使用 VS Code 中的“从 VSIX 安装”命令来安装它。",
18-
"finished.installing.dependencies": "已完成安装依赖项",
19-
"failed.installing.dependencies": "未能安装依赖项"
7+
"macos.version.deprecated": "C/C++ 扩展的版本比 {0} 更新的版本至少需要 macOS 版本 {1}。",
8+
"more.info.button": "详细信息",
9+
"ignore.button": "忽略",
10+
"vsix.platform.incompatible": "已安装的 C/C++ 扩展与系统不匹配。",
11+
"vsix.platform.mismatching": "已安装的 C/C++ 扩展与系统兼容,但与系统不匹配。"
2012
}

Extension/i18n/chs/src/nativeStrings.i18n.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,10 @@
216216
"inline_macro": "内联宏",
217217
"unable_to_access_browse_database": "无法访问浏览数据库。({0})",
218218
"default_compiler_path_modified_explicit_intellisense_mode": "IntelliSenseMode 已更改,因为它与检测到的编译器不匹配。请考虑改为设置 \"compilerPath\"。将 \"compilerPath\" 设为 \"\" 以禁用系统包含和定义的检测。",
219-
"clear_code_analysis_squiggles": "清除代码分析波形曲线",
219+
"remove_all_code_analysis_problems": "删除所有代码分析问题",
220220
"multiple_locations_note": "(多个位置)",
221221
"folder_tag": "文件夹",
222-
"file_tag": "文件"
222+
"file_tag": "文件",
223+
"compiler_default_language_standard_version_old": "编译器返回默认语言标准版本:{0}。由于此版本是旧版本,因此将尝试使用较新版本 {1} 作为默认版本。",
224+
"unexpected_output_from_clang_tidy": "来自 clang-tidy 的意外输出:{0}。应为:{1}。"
223225
}

Extension/i18n/chs/ui/settings.html.i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@
6464
"limit.symbols": "浏览: 将符号限制为包含的标头",
6565
"limit.symbols.checkbox": "如果为 {0} (或已勾选),则标记分析器将仅分析在 {1} 中由源文件直接或间接包含的代码文件。如果为 {2} (或未选中),标记分析器将分析在 {3} 列表内指定路径中找到的所有代码文件。",
6666
"database.filename": "浏览: 数据库文件名",
67-
"database.filename.description": "所生成的符号数据库的路径。这指示扩展将标记分析器的符号数据库保存在工作区默认存储位置以外的其他位置。如果指定了相对路径,则它将相对于工作区的默认存储位置(而不是工作区文件夹本身)。{0} 变量可用于指定相对于工作区文件夹的路径(例如 {1})"
67+
"database.filename.description": "所生成的符号数据库的路径。这指示扩展将标记分析器的符号数据库保存在工作区默认存储位置以外的其他位置。如果指定了相对路径,则它将相对于工作区的默认存储位置(而不是工作区文件夹本身)。{0} 变量可用于指定相对于工作区文件夹的路径(例如 {1})"
6868
}

0 commit comments

Comments
 (0)