Skip to content

Commit

Permalink
Localization - Translated Strings (#3539)
Browse files Browse the repository at this point in the history
  • Loading branch information
csigs authored Feb 12, 2024
1 parent 969ad34 commit 033a834
Show file tree
Hide file tree
Showing 208 changed files with 6,036 additions and 212 deletions.
51 changes: 39 additions & 12 deletions i18n/chs/package.i18n.json

Large diffs are not rendered by default.

255 changes: 255 additions & 0 deletions i18n/chs/schemas/CMakePresets-v6-schema.json.i18n.json

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions i18n/chs/src/cmakeProject.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@
"loading.new.test.preset": "正在将新的测试预设加载到 CMake 驱动程序",
"unable.to.set.test.preset": "无法设置测试预设 {0}。",
"error.on.switch.test.preset": "测试预设切换错误({0})",
"resolving.package.preset": "解析选定的包预设",
"failed.resolve.package.preset": "未能解析包预设: {0}",
"configurePreset.not.set.package.preset": "{1} 包预设中未设置 {0}",
"loading.new.package.preset": "将新包预设加载到 CMake 驱动程序中",
"unable.to.set.package.preset": "无法设置包预设 {0}。",
"error.on.switch.package.preset": "包预设切换错误 ({0})",
"resolving.workflow.preset": "解析选定的工作流预设",
"failed.resolve.workflow.preset": "未能解析工作流预设: {0}",
"configurePreset.not.set.workflow.preset": "工作流预设 {1} 中未设置 {0}",
"loading.new.workflow.preset": "将新工作流预设加载到 CMake 驱动程序中",
"unable.to.set.workflow.preset": "无法设置工作流预设 {0}。",
"error.on.switch.workflow.preset": "切换工作流预设时出错 ({0})",
"disposing.extension": "正在释放 CMake 工具扩展",
"extension.dispose": "扩展释放",
"using.user.generator": "从用户配置使用生成器: {0}",
Expand Down Expand Up @@ -75,6 +87,7 @@
"cannot.copy.compile.commands": "无法复制 {1},因为它在 {0} 处不存在",
"failed.to.create.parent.directory.2": "已尝试将编译数据库复制到 {0},但未能创建父目录 {1}: {2}",
"failed.to.merge": "无法将合并编译数据库写入 {0}: {1}",
"load.compile.commands": "尝试引入 compile_commands.json 时失败: {0}",
"no.cache.available": "无法使用现有缓存进行配置",
"configuring.project": "正在配置项目",
"preparing.to.configure": "正在准备配置",
Expand All @@ -90,6 +103,7 @@
"saving.open.files.before": "在配置/生成前保存打开的文件",
"saving.open.files.failed": "无法保存打开的文件",
"yes.button": "",
"do.not.show.not.saved.again": "确定(不再显示)",
"not.saved.continue.anyway": "未保存所有打开的文档。是否仍要继续?",
"no.button": "",
"saving.open.files": "正在保存打开的文件",
Expand Down Expand Up @@ -123,12 +137,14 @@
"target.to.build.description": "要生成的目标",
"build.failed": "生成失败。",
"driver.died.after.build.succeeded": "CMake 驱动程序在生成成功后立即终止。",
"driver.died.before.workflow": "CMake 驱动程序在启动工作流之前已终止。",
"select.a.launch.target": "为 {0} 选择启动目标",
"no.executable.target.found.to.launch": "找不到可启动的可执行目标。请检查:",
"have.you.called.add_executable": "是否已在 CMake 项目中调用了 add_executable()?",
"have.you.configured": "是否执行了成功的 CMake 配置?",
"no.program.will.be.executed": "不会执行任何程序",
"project.configuration.failed": "项目配置失败。",
"launch.with.overrides": "注意: 你正在启动目标,并且正在从 VS Code 设置中应用一些环境替代。",
"set.up.and.build.project.before.debugging": "请先设置和生成 CMake 项目,然后再进行调试。",
"target.debugging.unsupported": "旧驱动程序不再支持目标调试",
"learn.more.button": "了解详细信息",
Expand Down
14 changes: 13 additions & 1 deletion i18n/chs/src/cmakeTaskProvider.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"build": "生成",
"install": "安装",
"test": "测试",
"package": "",
"workflow": "工作流",
"configure": "配置",
"clean": "清理",
"clean.rebuild": "清理重新生成",
Expand Down Expand Up @@ -37,5 +39,15 @@
"ctest.failed": "未找到测试预设 {0}。测试失败。",
"ctest.run.terminated": "CTest 运行已终止",
"ctest.finished": "CTest 已完成",
"test.failed": "CTest 运行失败。"
"test.failed": "CTest 运行失败。",
"package.started": "包任务已启动...",
"package.preset.not.found": "未找到包预设。",
"cpack.failed": "未找到包预设 {0}。CPack 失败。",
"cpack.run.terminated": "CPack 运行已终止",
"cpack.finished": "CPack 已完成",
"workflow.started": "工作流任务已启动...",
"workflow.preset.not.found": "找不到工作流预设。",
"workflow.failed": "找不到工作流预设 {0}。工作流失败。",
"workflow.run.terminated": "工作流运行已终止",
"workflow.finished": "工作流已完成"
}
23 changes: 23 additions & 0 deletions i18n/chs/src/contextKeyExpr.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"contextkey.scanner.hint.didYouMean1": "你指的是 {0} 吗?",
"contextkey.scanner.hint.didYouMean2": "你指的是 {0} 还是 {1}?",
"contextkey.scanner.hint.didYouMean3": "你指的是 {0}、{1} 还是 {2}?",
"contextkey.scanner.hint.didYouForgetToOpenOrCloseQuote": "忘记左引号或右引号了吗?",
"contextkey.scanner.hint.didYouForgetToEscapeSlash": "忘记转义 \"/\"(斜杠)字符了吗? 在该字符前放置两个反斜杠以进行转义,例如 \"\\\\/\"",
"contextkey.parser.error.emptyString": "上下文键表达式为空",
"contextkey.parser.error.emptyString.hint": "忘记写入表达式了吗? 还可以放置 \"false\"\"true\" 以始终分别评估为 false 或 true。",
"contextkey.parser.error.noInAfterNot": "\"not\" 后面的 \"in\"",
"contextkey.parser.error.closingParenthesis": "右括号 \")\"",
"contextkey.parser.error.unexpectedToken": "意外的令牌",
"contextkey.parser.error.unexpectedToken.hint": "忘记在令牌之前放置 && 或 || 了吗?",
"contextkey.parser.error.unexpectedEOF": "意外的表达式结尾",
"contextkey.parser.error.unexpectedEOF.hint": "忘记放置上下文键了吗?",
"contextkey.parser.error.expectedButGot": "应为: {0}\n收到的: \"{1}\"",
"contextkey.scanner.errorForLinterWithHint": "意外的令牌。提示: {0}",
"contextkey.scanner.errorForLinter": "意外的令牌。"
}
11 changes: 11 additions & 0 deletions i18n/chs/src/cpack.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"cpack.path.not.set": "未设置 CPath 路径",
"package.preset.not.set": "未设置包预设",
"cpack.run.terminated": "CPack 运行已终止",
"cpack.finished.with.code": "CTest 已完成,返回代码为 {0}"
}
1 change: 0 additions & 1 deletion i18n/chs/src/ctest.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{
"no.tests.found": "未找到测试",
"ctest.path.not.set": "未设置 CTest 路径",
"test.preset.not.set": "未设置测试预设",
"ctest.run.terminated": "CTest 运行已终止",
"ctest.finished.with.code": "CTest 已完成,返回代码 {0}",
"no.project.found": "找不到文件夹的项目 {0}",
Expand Down
11 changes: 11 additions & 0 deletions i18n/chs/src/drivers/cmakeDriver.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"user.closed.file.compilation.terminal": "用户已关闭文件编译终端",
"disposing.base.cmakedriver": "释放基准 CMakeDriver",
"async.disposing.cmake.driver": "异步释放 CMake 驱动程序",
"test.with.overrides": "注意: 你正在使用预设 {0} 进行测试,但正在从 VS Code 设置中应用一些替代。",
"package.with.overrides": "注意: 正在使用预设 {0} 进行打包,但正在从 VS Code 设置中应用一些替代。",
"compile.with.overrides": "注意: 你正在使用预设 {0} 进行编译,但正在从 VS Code 设置中应用一些替代。",
"file.compilation": "文件编译",
"removing": "删除 {0}",
"unlink.failed": "未能删除缓存文件 {0}",
Expand All @@ -21,6 +24,12 @@
"switching.to.test.preset": "正在切换到测试预设: {0}",
"unsetting.test.preset": "正在取消设置测试预设",
"cmakedriver.test.preset.set.to": "CMakeDriver 测试预设集设置为 {0}",
"switching.to.package.preset": "切换到包预设: {0}",
"unsetting.package.preset": "取消设置包预设",
"cmakedriver.package.preset.set.to": "CMakeDriver 包预设设置为 {0}",
"switching.to.workflow.preset": "切换到工作流预设: {0}",
"unsetting.workflow.preset": "取消设置工作流预设",
"cmakedriver.workflow.preset.set.to": "CMakeDriver 工作流预设设置为 {0}",
"skip.set.kit": "使用预设,跳过设置工具包: {0}",
"switching.to.kit": "正在切换到工具包: {0}",
"cmakedriver.kit.set.to": "CMakeDriver 工具包设置为 {0}",
Expand All @@ -32,6 +41,7 @@
"start.configure": "开始配置",
"use.cached.configuration": "使用缓存配置",
"no.config.Preset": "未选择任何配置预设",
"configure.with.overrides": "注意: 你正在使用预设 {0} 进行配置,但正在从 VS Code 设置中应用一些替代。",
"cmake.flags.are": "CMake 标志为 {0}",
"configure.failed": "未能配置项目",
"no.kit.is.set": "未设置任何工具包!",
Expand All @@ -43,6 +53,7 @@
"source.directory.not.set": "未设置源目录",
"not.configuring": "未配置: {0} 不存在",
"cmake.build.args.are": "CMake 生成参数为: {0}",
"build.with.overrides": "注意: 你正在使用预设 {0} 进行生成,但正在从 VS Code 设置中应用一些替代。",
"no.build.preset": "未选择生成预设",
"init.driver.using.preset": "正在使用预设初始化基本驱动程序",
"init.driver.using.kit": "正在使用工具包初始化基本驱动程序"
Expand Down
2 changes: 2 additions & 0 deletions i18n/chs/src/expand.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
{
"circular.variable.reference": "已找到循环变量引用: {0}",
"reached.max.recursion": "已达到最大字符串扩展递归。可能存在循环引用。",
"exception.expanding.string": "展开字符串 {0} 时出现异常: {1}",
"expand.expandstringhelper": "正在展开 {0}",
"invalid.variable.reference": "字符串中的变量引用 {0} 无效: {1}",
"command.not.supported": "命令不支持字符串: {0}",
"exception.executing.command": "对字符串执行命令 {0} 时出现异常: {1} {2}"
Expand Down
6 changes: 6 additions & 0 deletions i18n/chs/src/extension.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,23 @@
"skip.set.config.preset": "使用此工具包,跳过设置配置预设: {0}",
"skip.set.build.preset": "使用此工具包,跳过设置内部版本预设: {0}",
"skip.set.test.preset": "使用工具包,跳过设置测试预设: {0}",
"skip.set.package.preset": "使用工具包,跳过设置包预设: {0}",
"skip.set.workflow.preset": "使用工具包,跳过设置工作流预设: {0}",
"no.active.cmake.project": "没有活动的 CMake 项目。",
"invalid.folder": "无效的文件夹。",
"select.a.cmake.project": "选择 cmake 项目",
"compilation information.not.found": "找不到此文件的编译信息",
"add.config.preset.in.test.mode": "正在测试模式下运行 CMakeTools。已禁用 addConfigurePreset。",
"add.build.preset.in.test.mode": "正在测试模式下运行 CMakeTools。已禁用 addBuildPreset。",
"add.test.preset.in.test.mode": "正在测试模式下运行 CMakeTools。已禁用 addTestPreset。",
"add.package.preset.in.test.mode": "在测试模式下运行 CMakeTools。已禁用 addPackagePreset。",
"add.workflow.preset.in.test.mode": "在测试模式下运行 CMakeTools。已禁用 addWorkflowPreset。",
"selecting.config.preset.in.test.mode": "正在测试模式下运行 CMakeTools。已禁用 selectConfigurePreset。",
"skip.set.configure.preset": "正在使用工具包,跳过选择配置预设",
"selecting.build.preset.in.test.mode": "正在测试模式下运行 CMakeTools。已禁用 selectBuildPreset。",
"selecting.test.preset.in.test.mode": "正在测试模式下运行 CMakeTools。已禁用 selectTestPreset。",
"selecting.package.preset.in.test.mode": "在测试模式下运行 CMakeTools。已禁用 selectPackagePreset。",
"selecting.workflow.preset.in.test.mode": "在测试模式下运行 CMakeTools。已禁用 selectWorkflowPreset。",
"initial.setup": "初始设置",
"started": "已启动",
"cmake.finished.returned": "{0} 已完成(已返回 {1})",
Expand Down
9 changes: 9 additions & 0 deletions i18n/chs/src/pinnedCommands.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"add.pinned.cmake.command": "选择要固定的 CMake 命令",
"user.cancelled.add.pinned.cmake.command": "用户已取消选择要固定的 CMake 命令"
}
8 changes: 8 additions & 0 deletions i18n/chs/src/preset.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
"default.build.preset.description": "未添加任何参数的空生成预设",
"default.test.preset": "[默认值]",
"default.test.preset.description": "未添加任何参数的空测试预设",
"default.package.preset": "[默认值]",
"default.package.preset.description": "不添加任何参数的空包预设",
"default.workflow.preset": "[默认值]",
"default.workflow.preset.description": "不添加任何参数的空工作流预设",
"circular.inherits.in.config.preset": "配置预设 {0} 中的循环继承",
"binaryDir.undefined": "配置预设 {0}: 未指定 binaryDir,使用默认值 {1}",
"specified.vs.not.found": "配置预设 {0}: 未找到由 {1} 指定的 Visual Studio 实例,正在回退默认实例查找行为。",
Expand All @@ -28,8 +32,12 @@
"property.unsupported.v2": "配置预设 {0}: 预设 v2 中不支持属性 {1}",
"circular.inherits.in.build.preset": "生成预设 {0} 中的循环继承",
"circular.inherits.in.test.preset": "测试预设 {0} 中的循环继承",
"circular.inherits.in.package.preset": "循环在包预设 {0} 中继承",
"circular.inherits.in.workflow.preset": "循环在工作流预设 {0} 中继承",
"build.preset.not.found": "找不到名称为 {0} 的生成预设",
"test.preset.not.found": "找不到名称为 {0} 的测试预设",
"package.preset.not.found": "找不名称为 {0} 的包预设",
"workflow.preset.not.found": "找不到名为 {0} 的工作流预设",
"clean.not.needed.no.prior.config.preset": "无需清理: 未选择任何之前的配置预设",
"clean.needed.config.preset.changed": "需要清理: 配置预设已更改"
}
41 changes: 41 additions & 0 deletions i18n/chs/src/presetsController.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,24 @@
"add.a.test.preset.placeholder": "添加 {0} 的测试预设",
"user.cancelled.add.test.preset": "用户已取消添加测试预设",
"select.one.or.more.test.preset.placeholder": "选择一个或多个测试预设",
"create.package.from.config.preset": "根据配置预设创建",
"description.create.package.from.config.preset": "创建新包预设",
"inherit.package.preset": "从包预设继承",
"description.inherit.package.preset": "从现有包预设继承",
"custom.package.preset": "自定义",
"description.custom.package.preset": "添加自定义包预设",
"add.a.package.preset.placeholder": "添加 {0} 的包预设",
"user.cancelled.add.package.preset": "用户取消添加包预设",
"select.one.or.more.package.preset.placeholder": "选择一个或多个包预设",
"create.workflow.from.config.preset": "根据配置预设创建",
"description.create.workflow.from.config.preset": "创建新的工作流预设",
"create.workflow.preset": "从工作流预设创建",
"description.create.test.preset": "从现有工作流预设创建新的工作流预设",
"custom.workflow.preset": "自定义",
"description.custom.workflow.preset": "添加自定义工作流预设",
"add.a.workflow.preset.placeholder": "添加 {0} 的工作流预设",
"user.cancelled.add.workflow.preset": "用户取消添加工作流预设",
"select.one.workflow.preset.placeholder": "选择工作流基础预设",
"add.new.preset": "添加新预设...",
"start.selection.of.config.presets": "开始选择配置预设。已找到 {0} 个预设。",
"opening.config.preset.selection": "正在打开配置预设选择 QuickPick",
Expand Down Expand Up @@ -74,11 +92,34 @@
"user.selected.test.preset": "用户已选择测试预设 {0}",
"test.preset.configure.preset.not.match": "测试预设 {0} 与活动配置或生成预设不兼容",
"loading.test.preset": "正在加载测试预设 {0}",
"start.selection.of.package.presets": "开始选择包预设。找到了 {0} 个预设。",
"select.active.package.preset.placeholder": "选择 {0} 的包预设",
"user.cancelled.package.preset.selection": "用户取消包预设选择",
"user.selected.package.preset": "用户选择的包预设 {0}",
"package.preset.configure.preset.not.match": "包预设 {0} 与活动配置或生成预设不兼容",
"unloading.package.preset": "卸载包预设",
"loading.package.preset": "加载包预设 {0}",
"start.selection.of.workflow.presets": "开始选择工作流预设。找到了 {0} 个预设。",
"select.active.workflow.preset.placeholder": "选择 {0} 的工作流预设",
"user.cancelled.workflow.preset.selection": "用户取消了工作流预设选择",
"user.selected.workflow.preset": "用户选择了工作流预设 {0}",
"workflow.preset.configure.preset.not.match": "工作流预设 {0} 的配置预设与某些工作流步骤的配置预设不兼容",
"unloading.workflow.preset": "卸载工作流预设",
"loading.workflow.preset": "加载工作流预设 {0}",
"reading.presets.file": "正在读取预设文件 {0}",
"failed.to.parse": "无法分析 {0}: {1}",
"included.presets.file.not.found": "找不到包含的预设文件 {0}",
"validating.presets.file": "读取并验证预设“文件 {0}”",
"unsupported.presets": "在 {0} 中检测到不受支持的预设。支持仅限于版本 {1} 定义的功能。",
"unsupported.presets.disable": "通过使用 {0} 设置可以忽略未知属性和宏。",
"duplicate.build.preset.found": "在生成预设集合 {0} 中找到重复项",
"duplicate.test.preset.found": "在测试预设集合 {0} 中找到重复项",
"duplicate.package.preset.found": "在包预设集合 {0} 中找到重复项",
"duplicate.workflow.preset.found": "在工作流预设集合 {0} 中找到重复项",
"referenced.configure.preset.not.found": "未找到预设“{1}”中引用的配置预设“{0}”。",
"workflow.does.not.start.configure.step": "工作流预设“{0}”不以配置步骤开始。",
"referenced.preset.not.resolved": "未找到工作流预设“{2}”中引用的 {0} 预设“{1}”。",
"workflow.has.subsequent.configure.preset": "工作流预设“{0}”除了第一步“{2}”之外还有另一个配置预设“{1}”: ",
"successfully.validated.presets": "已在 {0} 中成功验证预设值",
"use.kits.variants": "使用工具包和变量",
"edit.presets": "定位",
Expand Down
6 changes: 6 additions & 0 deletions i18n/chs/src/projectStatus.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@
"no.configure.preset.selected": "[未选择任何配置预设]",
"no.build.preset.selected": "[未选择任何生成预设]",
"no.test.preset.selected": "[未选择任何测试预设]",
"no.package.preset.selected": "[未选择包预设]",
"no.workflow.preset.selected": "[未选择工作流预设]",
"Configure": "配置",
"configure.running": "配置 (运行)",
"Stop": "停止",
"Build": "生成",
"build.running": "生成 (正在运行)",
"Test": "测试",
"Package": "",
"cpack.running": "CPack (打包)",
"Workflow": "工作流",
"workflow.running": "工作流 (运行中)",
"Debug": "调试",
"Launch": "启动",
"Folder": "文件夹",
Expand Down
Loading

0 comments on commit 033a834

Please sign in to comment.