Skip to content
3 changes: 3 additions & 0 deletions Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "设为 `true` 以仅处理直接或间接包含为标头的文件,设为 `false` 则处理指定包含路径下的所有文件。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.databaseFilename": "所生成的符号数据库的路径。如果指定了相对路径,则它将相对于工作区的默认存储位置。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.path": "用于索引和分析工作区符号的路径列表(供“转到定义”、“查找所有引用”等使用)。默认情况下,在这些路径上进行搜索为递归搜索。指定 `*` 以指示非递归搜索。例如,`${workspaceFolder}` 将搜索所有子目录,而 `${workspaceFolder}/*` 将不进行搜索。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.recursiveIncludes.properties.reduce": "设置为 `always` 可始终将提供给 IntelliSense 的递归包含路径数减少到仅限当前由 #include 语句引用的路径。这需要首先分析文件以确定包含哪些标头。设置为 `never` 可将所有递归包含路径提供给 IntelliSense。当涉及到大量递归包含路径时,减少递归包含路径的数量可能会提高 IntelliSense 性能。如果不减少递归包含路径的数量,则可以通过避免需要分析文件以确定要提供的包含路径来提高 IntelliSense 性能。`default` 值目前会减少提供给 IntelliSense 的递归包含路径数。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.recursiveIncludes.properties.priority": "递归包含路径的优先级。如果设置为 `beforeSystemIncludes`,则会在系统包含路径之前搜索递归包含路径。如果设置为 `afterSystemIncludes` ,则会在系统包含路径后搜索递归包含路径。`beforeSystemIncludes` 将更密切地反映编译器的搜索顺序,而 `afterSystemIncludes` 则可能导致性能提升。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.recursiveIncludes.properties.order": "搜索递归包含的子目录的顺序。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.customConfigurationVariables": "可通过命令`${cpptools:activeConfigCustomVariable}` 查询的自定义变量,用于 `launch.json` 或 `tasks.json`. 中的输入变量。",
"c_cpp_properties.schema.json.definitions.env": "可以使用 `${变量}` 或 `${env:变量}` 语法在此文件中的任何位置重复使用的自定义变量。",
"c_cpp_properties.schema.json.definitions.version": "配置文件的版本。此属性由扩展托管。请勿更改它。",
Expand Down
13 changes: 8 additions & 5 deletions Extension/i18n/chs/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,17 @@
"c_cpp.configuration.default.cStandard.markdownDescription": "`cStandard` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.cppStandard.markdownDescription": "`cppStandard` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.configurationProvider.markdownDescription": "`configurationProvider` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.mergeConfigurations.markdownDescription": "设置为 `true` 以将包含路径、定义和强制包含与来自配置提供程序的包含路径、定义和强制包含合并。",
"c_cpp.configuration.default.mergeConfigurations.markdownDescription": "`mergeConfigurations` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.browse.path.markdownDescription": "未指定 `browse.path` 时要在配置中使用的值,或 `browse.path` 中存在 `${default}` 时要插入的值。",
"c_cpp.configuration.default.browse.databaseFilename.markdownDescription": "`browse.databaseFilename` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.browse.limitSymbolsToIncludedHeaders.markdownDescription": "`browse.limitSymbolsToIncludedHeaders` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.systemIncludePath.markdownDescription": "要用于系统包含路径的值。如果设置,则其将替换通过 `compilerPath` 和 `compileCommands` 设置获取的系统包含路径。",
"c_cpp.configuration.default.enableConfigurationSquiggles.markdownDescription": "控制扩展是否将报告在 `c_cpp_properties.json` 中检测到的错误。",
"c_cpp.configuration.default.customConfigurationVariables.markdownDescription": "未设置 `customConfigurationVariables` 时要在配置中使用的值,或 `${default}` 在 `customConfigurationVariables` 中作为键存在时要插入的值。",
"c_cpp.configuration.default.dotConfig.markdownDescription": "未指定 `dotConfig` 时要在配置中使用的值,或 `dotConfig` 中存在 `${default}` 时要插入的值。",
"c_cpp.configuration.default.dotConfig.markdownDescription": "`dotConfig` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.recursiveIncludes.reduce.markdownDescription": "`recursiveIncludes.reduce` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.recursiveIncludes.priority.markdownDescription": "`recursiveIncludes.priority` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.recursiveIncludes.order.markdownDescription": "`recursiveIncludes.order` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.experimentalFeatures.description": "控制“实验性”功能是否可用。",
"c_cpp.configuration.suggestSnippets.markdownDescription": "如果为 `true`,则由语言服务器提供片段。",
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "如果设置为 `default`,则假定工作区的文件系统在 Windows 上不区分大小写,在 macOS 或 Linux 上区分大小写。如果设置为 `enabled`,则假定工作区的文件系统在 Windows 上区分大小写。",
Expand Down Expand Up @@ -426,8 +429,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": "从 VS 的开发人员命令提示启动",
"c_cpp.walkthrough.command.prompt.description": "使用 Microsoft Visual Studio C++ 编译器时,C++ 扩展需要你从 VS 的开发人员命令提示符中启动 VS Code。请按照右侧的说明重新启动。\n[重新加载窗口](command:workbench.action.reloadWindow)",
"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.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 All @@ -448,4 +451,4 @@
"c_cpp.configuration.refactoring.includeHeader.never.description": "从不包含头文件。",
"c_cpp.languageModelTools.configuration.displayName": "C/C++ 配置",
"c_cpp.languageModelTools.configuration.userDescription": "活动 C 或 C++ 文件的配置,例如语言标准版本和目标平台。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"clear.this.problem": "清除此 {0} 问题",
"fix.this.problem": "修复此 {0} 问题",
"show.documentation.for": "显示 {0} 文档"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.relatedfilesprovider.error": "检索结果时出错。原因 {0}"
"copilot.relatedfilesprovider.error": "检索结果时出错。原因: {0}"
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/LanguageServer/lmTool.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"copilot.projectcontext.error": "检索项目上下文时出错。原因 {0}",
"copilot.projectcontext.error": "检索项目上下文时出错。原因: {0}",
"copilot.cppcontext.error": "检索 #cpp 上下文时出错。"
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/SSH/sshCommandRunner.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"ssh.continuing.command.canceled": "已取消任务 \"{0}\",但基础命令可能不会终止。请手动进行检查。",
"ssh.process.failed": "\"{0}\" 进程失败: {1}",
"ssh.wrote.data.to.terminal": "\"{0}\" 已将数据写入终端: \"{1}\"。"
}
}
4 changes: 3 additions & 1 deletion Extension/i18n/chs/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,5 +317,7 @@
"refactor_extract_missing_return": "在所选代码中,一些控制路径退出而没有设置返回值。这只受标量、数字、和指针返回类型支持。",
"expand_selection": "展开选择(以启用“提取到函数”)",
"file_not_found_in_path2": "在 compile_commands.json 文件中找不到 \"{0}\"。此文件将改用文件夹“{1}”中的 c_cpp_properties.json 中包含的 \"includePath\"。",
"copilot_hover_link": "生成 Copilot 摘要"
"copilot_hover_link": "生成 Copilot 摘要",
"browse_path_not_found": "无法为不存在的文件夹 {0} 中的文件编制索引",
"license_terms": "C/C++ 扩展只能与 Microsoft Visual Studio、Visual Studio for Mac、Visual Studio Code、Azure DevOps、Team Foundation Server 以及后续的 Microsoft 产品和服务一起使用,以开发和测试您的应用程序。"
}
9 changes: 8 additions & 1 deletion Extension/i18n/chs/ui/settings.html.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"edit.configurations.in.json": "编辑 JSON 文件中的配置",
"edit.configurations.json": "C/C++: 编辑配置(JSON)",
"check.the.schema": "转到 {0},详细了解 C/C++ 属性。",
"cpp.properties.schema.reference": "C/C++ 属性架构参考",
"view.schema.reference": "属性架构引用",
"intellisense.configurations": "IntelliSense 配置",
"intellisense.configurations.description": "使用此编辑器编辑在基础 {0} 文件中定义的 IntelliSense 设置。在此编辑器中所做的更改仅适用于所选的配置。要一次编辑多个配置,请转到 {1}。",
Expand Down Expand Up @@ -65,5 +66,11 @@
"limit.symbols": "浏览: 将符号限制为包含的标头",
"limit.symbols.checkbox": "如果为 {0} (或已勾选),则标记分析器将仅分析在 {1} 中由源文件直接或间接包含的代码文件。如果为 {2} (或未选中),标记分析器将分析在 {3} 列表内指定路径中找到的所有代码文件。",
"database.filename": "浏览: 数据库文件名",
"database.filename.description": "所生成的符号数据库的路径。这指示扩展将标记分析器的符号数据库保存在工作区默认存储位置以外的其他位置。如果指定了相对路径,则它将相对于工作区的默认存储位置(而不是工作区文件夹本身)。{0} 变量可用于指定相对于工作区文件夹的路径(例如 {1})。"
"database.filename.description": "所生成的符号数据库的路径。这指示扩展将标记分析器的符号数据库保存在工作区默认存储位置以外的其他位置。如果指定了相对路径,则它将相对于工作区的默认存储位置(而不是工作区文件夹本身)。{0} 变量可用于指定相对于工作区文件夹的路径(例如 {1})。",
"recursiveIncludes.reduce": "递归包括: 优先级",
"recursiveIncludes.reduce.description": "设置为 {0} 可将提供给 IntelliSense 的递归包含路径数减少到仅限当前由 #include 语句引用的路径。这需要首先分析文件以确定包含哪些文件。设置为 {1} 可将所有递归包含路径提供给 IntelliSense。当涉及到大量递归包含路径时,减少递归包含路径的数量可能会提高 IntelliSense 性能。如果不减少递归包含路径的数量,则可以通过避免需要分析文件以确定要提供的包含路径来提高 IntelliSense 性能。",
"recursiveIncludes.priority": "递归包括: 优先级",
"recursiveIncludes.priority.description": "递归包含路径的优先级。如果设置为 {0},则将在系统包含路径之前搜索递归包含路径。如果设置为 {1},则将在系统包含路径之后搜索递归包含路径。",
"recursiveIncludes.order": "递归包括: 优先级",
"recursiveIncludes.order.description": "搜索递归包含路径下子目录的顺序。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"walkthrough.linux.build.and.debug.active.file": "构建和调试活动文件",
"walkthrough.linux.after.running": "首次运行和调试 C++ 文件后,你将注意到项目 {0} 的文件夹内有两个新文件: {1} 和 {2}。",
"walkthrough.linux.for.more.complex": "对于更复杂的生成和调试场景,可以在 {0} 和 {1} 中自定义生成任务和调试配置。例如,如果在从命令行生成时通常会将参数传递给编译器,则可以使用 {3} 属性以在 {2} 中指定这些参数。同样,可以定义要传递给程序的参数,以在 {4} 中进行调试。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"walkthrough.mac.build.and.debug.active.file": "构建和调试活动文件",
"walkthrough.mac.after.running": "首次运行和调试 C++ 文件后,你将注意到项目 {0} 的文件夹内有两个新文件: {1} 和 {2}。",
"walkthrough.mac.for.more.complex": "对于更复杂的生成和调试场景,可以在 {0} 和 {1} 中自定义生成任务和调试配置。例如,如果在从命令行生成时通常会将参数传递给编译器,则可以使用 {3} 属性以在 {2} 中指定这些参数。同样,可以定义要传递给程序的参数,以在 {4} 中进行调试。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"walkthrough.windows.build.and.debug.active.file": "构建和调试活动文件",
"walkthrough.windows.after.running": "首次运行和调试 C++ 文件后,你将注意到项目 {0} 的文件夹内有两个新文件: {1} 和 {2}。",
"walkthrough.windows.for.more.complex": "对于更复杂的生成和调试场景,可以在 {0} 和 {1} 中自定义生成任务和调试配置。例如,如果在从命令行生成时通常会将参数传递给编译器,则可以使用 {3} 属性以在 {2} 中指定这些参数。同样,可以定义要传递给程序的参数,以在 {4} 中进行调试。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看 {0}。或者,可 {1}。",
"walkthrough.windows.link.title1": "在 VS Code 中使用 C++ 和 适用于 Linux 的 Windows 子系统(WSL)",
"walkthrough.windows.link.title2": "在带 MinGW 的 Windows 上安装 GCC"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"walkthrough.windows.text3": "如果面向的是 Windows 中的 Linux,请查看 {0}。或者,可 {1}。",
"walkthrough.windows.link.title1": "在 VS Code 中使用 C++ 和 适用于 Linux 的 Windows 子系统(WSL)",
"walkthrough.windows.link.title2": "在带 MinGW 的 Windows 上安装 GCC"
}
}
3 changes: 3 additions & 0 deletions Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "設為 `true`,就會只處理直接或間接以標頭形式包含的檔案。設為 `false`,則會處理位於指定 include 路徑下的所有檔案。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.databaseFilename": "產生的符號資料庫路徑。如果指定了相對路徑,就會是相對於工作區預設儲存位置的路徑。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.path": "用來為工作區符號進行索引編製與剖析的路徑清單 (供 [移至定義]、[尋找所有參考] 等使用)。根據預設,會以遞迴方式搜尋這些路徑。指定 `*` 表示非遞迴搜尋。例如,`${workspaceFolder}` 將在所有子目錄中搜尋,`${workspaceFolder}/*` 則不會。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.recursiveIncludes.properties.reduce": "設定為 `always`,可使 IntelliSense 始終僅提供目前由 #include 陳述式參考的遞迴包含路徑。這需要先剖析檔案,以確定包含哪些標頭。設定為 `never` 以將所有遞迴包含路徑提供給 IntelliSense。當涉及非常大量的遞迴包含路徑時,減少遞迴包含路徑數目可能會改善 IntelliSense 的效能。不減少遞迴包含路徑的數量,可避免需要剖析檔案以決定要提供哪些包含路徑,從而 IntelliSense 效能。目前的 `default` 值會減少 IntelliSense 提供的遞迴包含路徑數量。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.recursiveIncludes.properties.priority": "遞迴包含路徑的優先順序。如果設定為 `beforeSystemIncludes`,則會在系統包含路徑之前搜尋遞迴包含路徑。如果設定為 `afterSystemIncludes`,系統會在包含路徑之後搜尋遞迴包含路徑。`beforeSystemIncludes` 會更密切地反映編譯器的搜尋順序,而 `afterSystemIncludes` 可能會改善效能。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.recursiveIncludes.properties.order": "搜尋遞迴包含之子目錄的順序。",
"c_cpp_properties.schema.json.definitions.configurations.items.properties.customConfigurationVariables": "可透過命令 `${cpptools:activeConfigCustomVariable}` 查詢的自訂變數,用於 `launch.json` 或 `tasks.json` 的輸入變數。",
"c_cpp_properties.schema.json.definitions.env": "可以透過使用 `${變數}` 或 `${env:變數}` 語法,在此檔案中任何地方重複使用的自訂變數。",
"c_cpp_properties.schema.json.definitions.version": "組態檔版本。此屬性受延伸模組管理,請勿變更。",
Expand Down
Loading