Skip to content

Commit 80161f1

Browse files
authored
Merge pull request #8268 from microsoft/localization
2 parents b2f2a4c + 4c48a2b commit 80161f1

File tree

57 files changed

+207
-181
lines changed

Some content is hidden

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

57 files changed

+207
-181
lines changed

Extension/i18n/chs/package.i18n.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"c_cpp.configuration.vcFormat.indent.withinParentheses.indent.markdownDescription": "根据 `#C_Cpp.vcFormat.indent.multiLineRelativeTo#` 缩进新行。",
4343
"c_cpp.configuration.vcFormat.indent.preserveWithinParentheses.description": "在现有代码中,保留括号内新行现有的缩进对齐方式。",
4444
"c_cpp.configuration.vcFormat.indent.caseLabels.markdownDescription": "按 `#editor.tabSize#` 设置中指定的量缩进标签(相对于开关语句)。",
45-
"c_cpp.configuration.vcFormat.indent.caseContents.markdownDescription": "按 `#editor.tabSize#` 设置中指定的量缩进用例块内的代码(相对于其标签)。",
45+
"c_cpp.configuration.vcFormat.indent.caseContents.markdownDescription": "按 `#editor.tabSize#` 设置中指定的量缩进 `case` 块内的代码(相对于其标签)。",
4646
"c_cpp.configuration.vcFormat.indent.caseContentsWhenBlock.markdownDescription": "按 `#editor.tabSize#` 设置中指定的量缩进 case 语句后的大括号。",
4747
"c_cpp.configuration.vcFormat.indent.lambdaBracesWhenParameter.markdownDescription": "按 `#editor.tabSize#` 设置中指定的量,对用作函数参数的 Lambda 大括号进行缩进(相对于语句开头)。",
4848
"c_cpp.configuration.vcFormat.indent.gotoLabels.description": "goto 标签的位置。",
@@ -218,6 +218,7 @@
218218
"c_cpp.debuggers.customLaunchSetupCommands.description": "如果已提供,将使用其他命令替换用于启动目标的默认命令。例如,附加到目标进程的命令可以为 \"-target-attach\"。如果是空命令列表,将不会用任何内容替换启动命令。此功能可在向调试程序提供启动选项作为命令行选项时很有用。示例: \"customLaunchSetupCommands\": [ { \"text\": \"target-run\", \"description\": \"run target\", \"ignoreFailures\": false }]。",
219219
"c_cpp.debuggers.launchCompleteCommand.description": "调试程序完全安装后,为了使目标进程运行而执行的命令。允许的值为 \"exec-run\"\"exec-continue\"\"None\"。默认值为 \"exec-run\"",
220220
"c_cpp.debuggers.cppdbg.visualizerFile.description": "调试此进程时要使用的 .natvis 文件。此选项与 GDB 整齐打印不兼容。如果使用此设置,请同时查看 \"showDisplayString\"",
221+
"c_cpp.debuggers.cppdbg.svdPath.description": "嵌入设备的 SVD 文件的完整路径。",
221222
"c_cpp.debuggers.cppvsdbg.visualizerFile.description": "调试此进程时要使用的 .natvis 文件。",
222223
"c_cpp.debuggers.showDisplayString.description": "指定了 visualizerFile 时,showDisplayString 将启用显示字符串。启用此选项可能会导致调试期间的性能下降。",
223224
"c_cpp.debuggers.environment.description": "要添加到程序环境的环境变量。示例: [ { \"name\": \"config\", \"value\": \"Debug\" } ],而不是 [ { \"config\": \"Debug\" } ]。",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,5 +214,6 @@
214214
"nvcc_host_compile_command_not_found": "在 nvcc 的输出中找不到主机编译命令。",
215215
"unable_to_locate_forced_include": "找不到 forced include: {0}",
216216
"inline_macro": "内联宏",
217-
"unable_to_access_browse_database": "无法访问浏览数据库。({0})"
217+
"unable_to_access_browse_database": "无法访问浏览数据库。({0})",
218+
"default_compiler_path_modified_explicit_intellisense_mode": "IntelliSenseMode 已更改,因为它与检测到的编译器不匹配。请考虑改为设置 “compilerPath”。将 “compilerPath” 设为 “” 以禁用系统包含和定义的检测。"
218219
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@
5555
"compile.commands": "编译命令",
5656
"compile.commands.description": "工作区的 {0} 文件的完整路径。将使用在此文件中所发现的包含路径和定义,而不是为 {1} 和 {2} 设置设定的值。如果编译命令数据库不包含与你在编辑器中打开的文件对应的翻译单元条目,则将显示一条警告消息,并且扩展将改用 {3} 和 {4} 设置。",
5757
"merge.configurations": "合并配置",
58-
"merge.configurations.description": "如果为 true(或选中),则将包含路径、定义和强制包含与来自配置提供程序包含路径、定义和强制包含合并。",
58+
"merge.configurations.description": "如果为 {0} (或已选中),则将包含路径、定义和强制包含与来自配置提供程序包含路径、定义和强制包含合并。",
5959
"browse.path": "浏览: 路径",
6060
"browse.path.description": "标记分析器的路径列表,它用于搜索源文件所包含的标头。如果省略,{0} 将用作 {1}。默认情况下,以递归方式搜索这些路径。指定 {2} 可指示非递归搜索。例如: {3} 将在所有子目录中搜索,而 {4} 不会。",
6161
"one.browse.path.per.line": "每行一个浏览路径。",
6262
"limit.symbols": "浏览: 将符号限制为包含的标头",
63-
"limit.symbols.checkbox": "如果为 true (或已勾选),则标记分析器将仅分析在 {0} 中由源文件直接或间接包含的代码文件。如果为 false (或未选中),标记分析器将分析在 {1} 列表中指定的路径中找到的所有代码文件",
63+
"limit.symbols.checkbox": "如果为 {0} (或已勾选),则标记分析器将仅分析在 {1} 中由源文件直接或间接包含的代码文件。如果为 {2} (或未选中),标记分析器将分析在 {3} 列表内指定路径中找到的所有代码文件",
6464
"database.filename": "浏览: 数据库文件名",
6565
"database.filename.description": "所生成的符号数据库的路径。这指示扩展将标记分析器的符号数据库保存在工作区默认存储位置以外的其他位置。如果指定了相对路径,则它将相对于工作区的默认存储位置(而不是工作区文件夹本身)。{0} 变量可用于指定相对于工作区文件夹的路径(例如 {1})"
6666
}

Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"c_cpp_properties.schema.json.definitions.configurations.items.properties.cStandard": "用於 IntelliSense 的 C 語言標準版本。注意: GNU 標準僅會用於查詢設定編譯器以取得 GNU 定義,而 IntelliSense 將會模擬相同的 C 標準版本。",
1111
"c_cpp_properties.schema.json.definitions.configurations.items.properties.cppStandard": "用於 IntelliSense 的 C++ 語言標準版本。注意: GNU 標準僅會用於查詢設定編譯器以取得 GNU 定義,而 IntelliSense 將會模擬相同的 C++ 標準版本。",
1212
"c_cpp_properties.schema.json.definitions.configurations.items.properties.compileCommands": "工作區 `compile_commands.json` 檔案的完整路徑。",
13-
"c_cpp_properties.schema.json.definitions.configurations.items.properties.includePath": "IntelliSense 引擎在搜尋包含的標頭時使用的路徑清單。在這些路徑上的搜尋不會遞迴。請指定 `**` 以表示遞迴搜尋。例如 `${workspaceFolder}/**` 會搜尋所有子目錄,而 `${workspaceFolder}` 不會。此路徑通常不應包含系統 include; 請改為設定 `#C_Cpp.default.compilerPath#`。",
13+
"c_cpp_properties.schema.json.definitions.configurations.items.properties.includePath": "IntelliSense 引擎在搜尋包含的標頭時使用的路徑清單。在這些路徑上的搜尋不會遞迴。請指定 `**` 以表示遞迴搜尋。例如 `${workspaceFolder}/**` 會搜尋所有子目錄,而 `${workspaceFolder}` 不會。此路徑通常不應包含系統 include; 請改為設定 `C_Cpp.default.compilerPath`。",
1414
"c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "供 Intellisense 引擎在 Mac 架構中搜尋包含的標頭時使用的路徑清單。僅支援用於 Mac 組態。",
1515
"c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "要在 Windows 上使用的 Windows SDK 包含路徑版本,例如 `10.0.17134.0`。",
1616
"c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "剖析檔案時,IntelliSense 引擎要使用的前置處理器定義清單。您可使用 `=` 來設定值,例如 `VERSION=1`。",
17-
"c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "要使用的 IntelliSense 模式 (對應到 MSVC、gcc 或 Clang 的平台及架構變體)。如果未設定或設為 `${default}`,延伸模組會選擇該平台的預設。Windows 預設為 `windows-msvc-x64`、Linux 預設為 `linux-gcc-x64`、macOS 預設為 `macos-clang-x64`。僅指定 `<compiler>-<architecture>` 變體 (例如 `gcc-x64`) 的 IntelliSense 模式即為舊版模式,會依據主機平台自動轉換為 `<platform>-<compiler>-<architecture>` 變體。",
17+
"c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "要使用的 IntelliSense 模式 (對應到 MSVC、gcc 或 Clang 的平台及架構變體)。如果未設定或設為 `${default}`,延伸模組會選擇該平台的預設。Windows 預設為 `windows-msvc-x64`、Linux 預設為 `linux-gcc-x64`、macOS 預設為 `macos-clang-x64`。僅指定 `<編譯器>-<結構>` 變體 (例如 `gcc-x64`) 的 IntelliSense 模式即為舊版模式,會依據主機平台自動轉換為 `<平台>-<編譯器>-<結構>` 變體。",
1818
"c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "應包含在編譯單位中任何 include 檔案之前的檔案清單。",
1919
"c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "提供原始程式檔 IntelliSense 組態資訊的 VS Code 延伸模組識別碼。",
2020
"c_cpp_properties.schema.json.definitions.configurations.items.properties.mergeConfigurations": "設定為 `true` 以合併包含路徑、定義和強制包含來自設定提供者的路徑。",

0 commit comments

Comments
 (0)