Skip to content

Commit b9bd78e

Browse files
authored
[Auto] Localization - Translated Strings (#10204)
1 parent 21bc17a commit b9bd78e

File tree

90 files changed

+1303
-159
lines changed

Some content is hidden

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

90 files changed

+1303
-159
lines changed

Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"c_cpp_properties.schema.json.definitions.configurations.items.properties.name": "配置标识符。 `Mac`、`Linux` 和 `Win32` 是将在这些平台上自动选择的配置的特殊标识符,但标识符可以为任何内容。",
88
"c_cpp_properties.schema.json.definitions.configurations.items.properties.compilerPath": "正在使用的编译器的完整路径(例如 `/usr/bin/gcc`),以启用更准确的 IntelliSense。",
9-
"c_cpp_properties.schema.json.definitions.configurations.items.properties.compilerArgs": "用于修改使用的包含或定义的编译器参数,例如 `-nostdinc++`、`-m32` 等。",
9+
"c_cpp_properties.schema.json.definitions.configurations.items.properties.compilerArgs": "用于修改所使用的包含或定义的编译器参数,例如 `-nostdinc++`、`-m32` 等。采用其他空格分隔参数的参数应在数组中作为单独的参数输入,例如,对于`--sysroot <arg>`使用`\"--sysroot\", \"<arg>\"`",
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` 文件的完整路径。",

Extension/i18n/chs/package.i18n.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"c_cpp.command.configurationProviderSelect.title": "更改配置提供程序...",
1717
"c_cpp.command.configurationEditJSON.title": "编辑配置(JSON)",
1818
"c_cpp.command.configurationEditUI.title": "编辑配置(UI)",
19+
"c_cpp.command.selectDefaultCompiler.title": "选择默认编译器",
1920
"c_cpp.command.switchHeaderSource.title": "切换标头/源",
2021
"c_cpp.command.enableErrorSquiggles.title": "启用错误波形曲线",
2122
"c_cpp.command.disableErrorSquiggles.title": "禁用错误波形曲线",
@@ -65,7 +66,7 @@
6566
"c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "要与文件路径匹配的 glob 模式。设置为 `true` 或 `false` 以启用或禁用模式。",
6667
"c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "对匹配文件同辈进行其他检查。将 `$(basename)` 用作匹配文件名变量。",
6768
"c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "如果为 `true`,则代码分析将在文件打开或保存后自动在文件上运行。",
68-
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showDisable.markdownDescription": "如果为`true`,'禁用'代码操作将在可用时显示(下次运行代码分析时)。使用'禁用'代码操作时,它会将警告代码添加到 `C_Cpp.codeAnalysis.clangTidy.checks.disabled`设置。",
69+
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showDisable.markdownDescription": "如果为 `true`,'禁用'代码操作将在可用时显示(下次运行代码分析时)。使用'禁用'代码操作时,它会将警告代码添加到 `C_Cpp.codeAnalysis.clangTidy.checks.disabled` 设置。",
6970
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showDocumentation.markdownDescription": "如果为 `true`,“显示文档”代码操作将在可用时显示(下次运行代码分析时)。",
7071
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.description": "控制哪些“清除”代码分析问题代码操作选项可用。更改设置以显示更多选项可能需要重新运行代码分析。",
7172
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.None.description": "不显示“清除”代码操作。",
@@ -400,9 +401,9 @@
400401
"c_cpp.semanticTokenTypes.stringLiteral.description": "C++ 用户定义文本字符串的样式。",
401402
"c_cpp.semanticTokenModifiers.global.description": "用于全局符号的样式。",
402403
"c_cpp.semanticTokenModifiers.local.description": "用于本地符号的样式。",
403-
"c_cpp.debuggers.logging.natvisDiagnostics.description": "Optional flag to determine whether diagnostic natvis messages should be logged to the Debug Console. Defaults to None.",
404-
"c_cpp.debuggers.logging.category.verbose.description": "Logs that are used for interactive investigation during development. These logs should primarily contain information useful for debugging and have no long-term value.",
405-
"c_cpp.debuggers.logging.category.warning.description": "Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop.",
406-
"c_cpp.debuggers.logging.category.error.description": "Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a failure in the current activity, not an application-wide failure.",
407-
"c_cpp.debuggers.logging.category.none.description": "Not used for writing log messages. Specifies that a logging category should not write any messages."
404+
"c_cpp.debuggers.logging.natvisDiagnostics.description": "可选标志,用于确定是否应将诊断 natvis 消息记录到调试控制台。默认为 None",
405+
"c_cpp.debuggers.logging.category.verbose.description": "开发期间用于交互式调查的日志。这些日志应主要包含可用于调试的信息,并且不具有长期价值。",
406+
"c_cpp.debuggers.logging.category.warning.description": "突出显示应用程序流中的异常或意外事件,但不会导致应用程序执行停止的日志。",
407+
"c_cpp.debuggers.logging.category.error.description": "在当前执行流因失败而停止时突出显示的日志。这些应指示当前活动中的失败,而不是应用程序范围的失败。",
408+
"c_cpp.debuggers.logging.category.none.description": "不用于写入日志消息。指定事件日志类别不应写入任何消息。"
408409
}

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
{
77
"unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}",
88
"check.permissions": "EPERM: 检查“{0}”的权限",
9+
"select.compile.commands": "选择要为 IntelliSense 配置的编译器",
10+
"found.string": "在 {0} 找到",
11+
"setCompiler.message": "未配置编译器。除非设置自己的配置,否则 IntelliSense 可能无法正常工作。",
12+
"selectCompiler.string": "选择编译器",
13+
"selectAnotherCompiler.string": "在我的计算机上选择另一个编译器",
14+
"installCompiler.string": "帮助我安装编译器",
15+
"noConfig.string": "请勿配置编译器(不推荐)",
16+
"confirmCompiler.string": "",
17+
"selectCompiler.message": "已找到编译器 {0}。是否要使用此编译器配置 IntelliSense?",
18+
"server.crashed.restart": "语言服务器崩溃。正在重新启动...",
919
"server.crashed2": "在过去 3 分钟内,语言服务器崩溃了 5 次。它不会重新启动。",
1020
"loggingLevel.changed": "{0} 已更改为: {1}",
1121
"provider.configure.folder": "{0} 想要为“{1}”文件夹配置 IntelliSense。",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"copy.vcpkg.command": "将用于安装“{0}”的 vcpkg 命令复制到剪贴板",
99
"on.disabled.command": "当 `C_Cpp.intelliSenseEngine` 设置为 `disabled` 时,无法执行与 IntelliSense 相关的命令。",
1010
"client.not.found": "未找到客户端",
11-
"configuration.select.first": "首先打开一个文件夹以选择配置",
12-
"configuration.provider.select.first": "首先打开一个文件夹以选择配置提供程序",
11+
"configuration.select.first": "首先打开一个文件夹以选择配置",
12+
"configuration.provider.select.first": "首先打开一个文件夹以选择配置提供程序",
1313
"edit.configurations.open.first": "首先打开一个文件夹以编辑配置",
1414
"code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。",
1515
"add.includepath.open.first": "首先打开一个要添加到 {0} 的文件夹"
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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+
"running.tagparser.text": "分析工作区",
8+
"paused.tagparser.text": "分析工作区: 已暂停",
9+
"complete.tagparser.text": "分析完毕",
10+
"initializing.tagparser.text": "正在初始化工作区",
11+
"indexing.tagparser.text": "正在索引工作区",
12+
"rescan.tagparse.text": "重新扫描工作区",
13+
"c.cpp.parsing.open.files.tooltip": "正在分析打开的文件",
14+
"click.to.preview": "单击以预览结果",
15+
"updating.intellisense.text": "IntelliSense: 正在更新",
16+
"idle.intellisense.text": "IntelliSense: 就绪",
17+
"absent.intellisense.text": "IntelliSense: 未配置",
18+
"running.analysis.text": "Code Analysis: 正在运行",
19+
"paused.analysis.text": "Code Analysis: 已暂停",
20+
"mode.analysis.prefix": "Code Analysis 模式:",
21+
"select.command": "选择命令...",
22+
"cpptools.status.configuration": "选择配置",
23+
"c.cpp.references.statusbar": "C/C++ 引用状态",
24+
"cpptools.status.intellisense": "C/C++ IntelliSense 状态",
25+
"cpptools.status.tagparser": "C/C++ 标记分析器状态",
26+
"cpptools.detail.tagparser": "正在初始化...",
27+
"cpptools.status.codeanalysis": "C/C++ Code Analysis 状态",
28+
"c.cpp.codeanalysis.statusbar.runNow": "立即运行",
29+
"configuration.notselected.text": "配置: 未选择",
30+
"configuration.selected.text": "选择配置",
31+
"tagparser.pause.text": "暂停",
32+
"tagparser.resume.text": "继续",
33+
"intellisense.select.text": "选择编译器",
34+
"rescan.intellisense.text": "重新扫描",
35+
"rescan.intellisense.tooltip": "重新扫描 IntelliSense",
36+
"mode.codeanalysis.status": "自动",
37+
"c.cpp.codeanalysis.statusbar.showCodeAnalysisOptions": "选项",
38+
"startup.codeanalysis.status": "正在启动...",
39+
"c.cpp.codeanalysis.statusbar.showRunNowOptions": "立即运行",
40+
"running.analysis.processed.tooltip": "正在运行 {0}: {1} / {2} ({3}%)",
41+
"select.a.configuration": "选择配置...",
42+
"edit.configuration.ui": "编辑配置(UI)",
43+
"edit.configuration.json": "编辑配置(JSON)",
44+
"select.configuration.provider": "选择配置提供程序...",
45+
"active": "活动",
46+
"none": "",
47+
"disable.configuration.provider": "禁用活动配置提供程序(如果适用)。",
48+
"select.compile.commands": "选择 compile_commands.json...",
49+
"select.workspace": "选择工作区文件夹…",
50+
"resume.parsing": "恢复工作区分析",
51+
"pause.parsing": "暂停工作区分析",
52+
"cancel.analysis": "取消 {0}",
53+
"resume.analysis": "恢复 {0}",
54+
"pause.analysis": "暂停 {0}",
55+
"another.analysis": "启动另一个 {0}...",
56+
"active.analysis": "在活动文件上运行 Code Analysis",
57+
"all.analysis": "在所有文件上运行 Code Analysis",
58+
"open.analysis": "在打开的文件上运行 Code Analysis"
59+
}

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

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@
167167
"overloads": "还有 %d 个重载",
168168
"specialization": "还有 1 个专业化",
169169
"specializations": "还有 %d 个专业化",
170+
"compiler": "注意: 未完全配置 IntelliSense。使用“选择默认编译器”命令完成配置。",
170171
"expands_to": "扩展到:",
171172
"attention_label": "注意:",
172173
"author_label": "作者:",
@@ -243,8 +244,8 @@
243244
"compiler_default_language_standard_version_old": "编译器返回默认语言标准版本:{0}。由于此版本是旧版本,因此将尝试使用较新版本 {1} 作为默认版本。",
244245
"unexpected_output_from_clang_tidy": "来自 clang-tidy 的意外输出:{0}。应为:{1}。",
245246
"generate_doxygen_comment": "生成 Doxygen 注释",
246-
"offer_create_declaration": "在 {1} 中创建 {0} 声明",
247-
"offer_create_definition": "在 {1} 中创建 {0} 定义",
247+
"offer_create_declaration": "在 {1} 中创建{0}声明",
248+
"offer_create_definition": "在 {1} 中创建{0}定义",
248249
"function_definition_not_found": "找不到“{0}”的函数定义。",
249250
"cm_attributes": "属性",
250251
"cm_bases": "基项",
@@ -274,5 +275,22 @@
274275
"cm_usingaliases": "Using 别名",
275276
"cm_usingdirectives": "Using 指令",
276277
"cm_variables": "变量",
277-
"cm_addfunction": "自动添加函数"
278+
"cm_addfunction": "自动添加函数",
279+
"e_com_virtual_redundant": "在与 vsCMFunctionComMethod 一起使用时,vsCMFunctionVirtual 是多余的,并且不可指定。",
280+
"e_static_com_method": "vsCMFunctionComMethod 不能是静态的。",
281+
"e_invalid_ftype": "无效的 C/C++ 文件: \"%s\"",
282+
"e_fname_to_long": "文件名太长: \"%s\"",
283+
"e_create_file": "无法创建文件 \"%s\"",
284+
"e_access_file": "无法访问目录或文件 \"%s\" 以进行写入。",
285+
"e_invalid_pathname": "文件路径 \"%s\" 无效。",
286+
"e_cm_file_not_in_project": "找不到文件“%s”。",
287+
"refactor_create_declaration_definition_failed": "创建声明/定义失败: %s",
288+
"refactor_create_default_delete": "无法创建函数 \"%s\" 。不支持创建默认函数或已删除的函数。",
289+
"refactor_function_copied_to_clipboard": "函数签名已复制到剪贴板。",
290+
"refactor_function_not_created": "无法创建函数'%s'。",
291+
"refactor_ambiguous_locations": "无法找到函数“%s”的明确位置。",
292+
"refactor_file_not_in_project": "找不到文件“%s”。",
293+
"refactor_not_class_namespace": "找不到类或命名空间'%s'。",
294+
"refactor_operation_unsupported": "此操作不支持“%s”。",
295+
"unknown_error": "未知错误。"
278296
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"specify.a.compiler": "指定编译器路径或从下拉列表中选择检测到的编译器路径。",
2828
"no.compiler.paths.detected": "(未检测到编译器路径)",
2929
"compiler.args": "编译器参数",
30-
"compiler.arguments": "用于修改所使用的包含或定义的编译器参数,例如 {0}、{1} 等。",
30+
"compiler.arguments": "用于修改所使用的包含或定义的编译器参数,例如 {0}、{1} 等。采用其他空格分隔参数的参数应在数组中作为为单独的参数输入,例如,对于 {2} 使用 {3}。",
3131
"one.argument.per.line": "每行一个参数。",
3232
"intellisense.mode": "IntelliSense 模式",
3333
"intellisense.mode.description": "要使用的 IntelliSense 模式,该模式映射到 MSVC、gcc 或 Clang 的平台和体系结构变体。如果未设置或设置为 {0},则扩展将选择该平台的默认值。Windows 默认为 {1},Linux 默认为 {2},macOS 默认为 {3}。选择特定 IntelliSense 模式以替代 {4} 模式。仅指定 {5} 变体(例如 {6})的 IntelliSense 模式是旧模式,它们会根据主机平台自动转换为 {7} 变体。",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"c_cpp_properties.schema.json.definitions.configurations.items.properties.name": "組態識別碼。`Mac`、`Linux` 及 `Win32` 是會在這些平台上自動選取之組態的特殊識別碼,但識別碼可以是任何內容。",
88
"c_cpp_properties.schema.json.definitions.configurations.items.properties.compilerPath": "所用編譯器的完整路徑,例如 `/usr/bin/gcc`,讓 IntelliSense 更準確。",
9-
"c_cpp_properties.schema.json.definitions.configurations.items.properties.compilerArgs": "用來修改所用 include 或 define 的編譯器引數,例如 `-nostdinc++`、`-m32` 等。",
9+
"c_cpp_properties.schema.json.definitions.configurations.items.properties.compilerArgs": "用來修改所用 include 或 define 的編譯器引數,例如 `-nostdinc++`、`-m32` 等。採用其他空格分隔引數的引數應在陣列中輸入為個別的引數,例如,針對 `--sysroot <arg>` 使用 `\"--sysroot\", \"<arg>\"`。",
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` 檔案的完整路徑。",

0 commit comments

Comments
 (0)