Skip to content

Commit 8d371d2

Browse files
Localization - Translated Strings (#4855)
Co-authored-by: csigs <[email protected]>
1 parent 3c2949c commit 8d371d2

52 files changed

Lines changed: 1118 additions & 52 deletions

Some content is hidden

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

i18n/chs/package.i18n.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
*--------------------------------------------------------------------------------------------*/
55
// Do not edit this file. It is machine generated.
66
{
7+
"cmake-tools.command.cmake.addFileToCMakeLists.title": "Add File to CMake Lists",
8+
"cmake-tools.command.cmake.removeFileFromCMakeLists.title": "Remove File from CMake Lists",
79
"cmake-tools.command.cmake.openCMakePresets.title": "打开 CMakePresets.json",
810
"cmake-tools.command.cmake.addConfigurePreset.title": "添加配置预设",
911
"cmake-tools.command.cmake.addBuildPreset.title": "添加生成预设",
@@ -293,5 +295,33 @@
293295
"cmake-tools.debugger.label": "CMake 调试程序",
294296
"cmake-tools.command.cmake.appendBuildDirectoryToWorkspace.title": "将生成目录追加到当前工作区",
295297
"cmake-tools.command.workbench.action.tasks.configureTaskRunner.title": "配置任务",
296-
"cmake-tools.command.workbench.action.tasks.runTask.title": "运行任务"
298+
"cmake-tools.command.workbench.action.tasks.runTask.title": "运行任务",
299+
"cmake-tools.configuration.cmake.modifyLists.addNewSourceFiles.description": "Add source files to CMake lists when they are created.",
300+
"cmake-tools.configuration.cmake.modifyLists.addNewSourceFiles.no.description": "Do not automatically add source files to CMake lists",
301+
"cmake-tools.configuration.cmake.modifyLists.addNewSourceFiles.yes.description": "Automatically add source files to CMake lists",
302+
"cmake-tools.configuration.cmake.modifyLists.addNewSourceFiles.ask.description": "Show a preview panel of proposed changes to apply",
303+
"cmake-tools.configuration.cmake.modifyLists.removeDeletedSourceFiles.description": "Remove source files from CMake lists when they are deleted.",
304+
"cmake-tools.configuration.cmake.modifyLists.removeDeletedSourceFiles.no.description": "Do not automatically remove source files from CMake lists",
305+
"cmake-tools.configuration.cmake.modifyLists.removeDeletedSourceFiles.yes.description": "Automatically remove source files from CMake lists",
306+
"cmake-tools.configuration.cmake.modifyLists.removeDeletedSourceFiles.ask.description": "Show a preview panel of proposed changes to apply",
307+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.markdownDescription": "How to choose which `set()` or `list(APPEND/PREPEND/INSERT)` command invocation to edit when adding source files to CMake lists.",
308+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.never.description": "Do not look for variable modification command invocations, only look for source command invocations.",
309+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.auto.description": "Choose the best candidate automatically.",
310+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.askFirstParentDir.description": "Present a Quick Pick with options from the first `CMakeLists.txt` found when searching up from the location of the new source file.",
311+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.askParentDirs.description": "Present a Quick Pick with options from all `CMakeLists.txt` files found when searching up from the location of the new source file.",
312+
"cmake-tools.configuration.cmake.modifyLists.sourceVariables.markdownDescription": "Variables to add source files to. Variables appearing earlier in this list will be given higher priority. Only used if `#cmake.modifyLists.variableSelection#` is not `never`. Supports glob patterns.",
313+
"cmake-tools.configuration.cmake.modifyLists.targetSelection.description": "How to choose which target to add new source files to when adding source files to CMake lists.",
314+
"cmake-tools.configuration.cmake.modifyLists.targetSelection.auto.description": "Choose the best candidate automatically.",
315+
"cmake-tools.configuration.cmake.modifyLists.targetSelection.askNearestSourceDir.description": "Present a Quick Pick with targets whose source directories are closest to location of the new source file.",
316+
"cmake-tools.configuration.cmake.modifyLists.targetSelection.askParentSourceDirs.description": "Present a Quick Pick with targets whose source directories contain the location of the new source file.",
317+
"cmake-tools.configuration.cmake.modifyLists.targetCommandInvocationSelection.description": "How to choose which of a target's source command invocations to edit when adding source files to CMake lists.",
318+
"cmake-tools.configuration.cmake.modifyLists.targetCommandInvocationSelection.auto.description": "Choose the best candidate automatically.",
319+
"cmake-tools.configuration.cmake.modifyLists.targetCommandInvocationSelection.askFirstParentDir.description": "Present a Quick Pick with options from the CMake list file in the parent directory closest to the location of the new source file.",
320+
"cmake-tools.configuration.cmake.modifyLists.targetCommandInvocationSelection.askParentDirs.description": "Present a Quick Pick with options from all CMake list files in the parent directories of the new source file.",
321+
"cmake-tools.configuration.cmake.modifyLists.targetSourceCommands.markdownDescription": "Commands to treat as target source commands when adding source files CMake lists. Commands appearing earlier in this list will be given higher priority. Supports glob patterns.\r\n\r\nIf you are using the File API (see `#cmake.cmakeCommunicationMode#`), user-defined functions and macros which call the commands in this list are detected automatically and added to it.",
322+
"cmake-tools.configuration.cmake.modifyLists.scopeSelection.description": "How to choose which of a target's visibility scopes, file sets, or source keyword parameters to edit when adding source files to CMake lists.",
323+
"cmake-tools.configuration.cmake.modifyLists.scopeSelection.auto.description": "Choose the best candidate automatically.",
324+
"cmake-tools.configuration.cmake.modifyLists.scopeSelection.ask.description": "Present a Quick Pick with options from the selected target source command invocation.",
325+
"cmake-tools.configuration.cmake.modifyLists.sourceListKeywords.markdownDescription": "Keyword arguments to user-defined functions and macros which introduce lists of source files. If left empty, all arguments consisting of only upper-case letters and underscores will be considered. Supports glob patterns.",
326+
"update.code.model.for.list.modifier": "Update code model for automatic list file modifier"
297327
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
"add.newly.created.files": "Add newly created files to CMakeLists.txt",
8+
"error.processing.add.files": "Error processing added files",
9+
"remove.deleted.file": "Remove a deleted file from CMakeLists.txt",
10+
"error.processing.delete.files": "Error processing deleted files",
11+
"add.file.no.code.model": "Adding a file without a valid code model",
12+
"file.already.in.target": "{0} already in target {1}.",
13+
"no.targets.found": "No targets found. {0} not added to build system.",
14+
"no.source.command.invocations": "No source command invocations found. {0} not added to build system.",
15+
"delete.file.no.code.model": "Deleting a file without a valid code model",
16+
"not.modifying.unsaved.delete": "Not modifying {0} to delete {1} because it has unsaved changes.",
17+
"add.to.which.variable": "CMake: Add {0} to which variable?",
18+
"add.to.which.target": "CMake: Add {0} to which target?",
19+
"add.to.which.invocation": "CMake: Add {0} to which command invocation of {1}?",
20+
"add.to.which.scope.fileset.keyword": "CMake: Add {0} to which Scope, File Set, or Keyword?",
21+
"open.file": "Open File",
22+
"not.modifying.unsaved.files": "Cannot modify {0} because it has unsaved changes.",
23+
"skipping.unsaved.files": "Skipping {0} file(s) with unsaved changes: {1}",
24+
"edit.label.remove.source.file": "CMake: Remove deleted source file",
25+
"edit.label.add.source.file": "CMake: Add new source file",
26+
"edits.applied.successfully": "Successfully applied {0} CMake list edit(s).",
27+
"edits.apply.failed": "Failed to apply CMake list edits: {0}",
28+
"not.local.file.add": "{0} is not a local file. Not adding to CMake lists.",
29+
"no.candidates.found": "No suitable locations found to add {0}.",
30+
"not.modifying.unsaved.add": "Not modifying {0} to add {1} because it has unsaved changes.",
31+
"not.local.file.remove": "{0} is not a local file. Not removing from CMake lists.",
32+
"could.not.open.file": "Could not open file {0}: {1}",
33+
"file.not.found.in.cmake.lists": "{0} not found in CMake lists.",
34+
"file.already.in.destination": "{0} already in {1} at {2}:{3}",
35+
"parse.error.examining.cmake.lists": "Parse error while examining CMakeLists.txt files. Details: {0}",
36+
"could.not.open.cmake.lists": "Could not open {0}: {1}",
37+
"parse.error.finding.invocations": "Parse error while finding command invocations to add to. CMake file modified since last configure? Details: {0}",
38+
"unexpected.command.found": "Found \"{0}\", expected \"{1}\". CMake file modified since last configure? Details: {2}:{3}",
39+
"scope.private.detail": "{0} will be used to build {1}",
40+
"scope.public.detail": "{0} will be used to build both {1} and targets that use {1}",
41+
"scope.interface.detail": "{0} will be used to build targets that use {1}",
42+
"fileset.headers.detail": "{0} will be used via a language's #include mechanism",
43+
"fileset.cxx.modules.detail": "{0} contains C++ interface module or partition units.",
44+
"label.fileset": "{0} File Set",
45+
"label.scope": "{0} Scope",
46+
"fileset.type": "Type: {0}",
47+
"scope.with.fileset.detail": "{0} Scope: {1}",
48+
"keyword.of.command": "Keyword of {0} command",
49+
"command.label": "{0} Command",
50+
"add.to.command.arguments": "Add {0} to the list of arguments to {1} command"
51+
}

i18n/chs/src/drivers/cmakeDriver.i18n.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"package.with.overrides": "注意: 正在使用预设 {0} 进行打包,但正在从 VS Code 设置中应用一些替代。",
1212
"compile.with.overrides": "注意: 你正在使用预设 {0} 进行编译,但正在从 VS Code 设置中应用一些替代。",
1313
"file.compilation": "文件编译",
14-
"compile.finished.with.error": "Compilation finished with error(s).",
15-
"compile.finished.successfully": "Compilation finished successfully.",
14+
"compile.finished.with.error": "编译完成,存在错误。",
15+
"compile.finished.successfully": "编译成功完成。",
1616
"removing": "删除 {0}",
1717
"unlink.failed": "未能删除缓存文件 {0}",
1818
"switching.to.config.preset": "正在切换到配置预设: {0}",

i18n/chs/src/extension.i18n.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
"configure.now.button": "立即配置",
1212
"configure.recommended": "建议在升级到新的工具包定义后重新配置。",
1313
"using.cache.to.configure.workspace.on.open": "正在尝试使用缓存配置工作区 {0}",
14+
"update.code.model.for.list.modifier": "Update code model for automatic list file modifier",
15+
"failed.to.open.cache.file.on.code.model.update": "Failed to open CMake cache file on code model update",
1416
"update.code.model.for.cpptools": "更新 cpptools 的代码模型",
1517
"update.intellisense.disabled": "未更新配置提供程序,因为 {0} 设置为 {1}",
1618
"failed.to.get.cpptools.api": "未能获取 cppTools API",
17-
"filed.to.open.cache.file.on.code.model.update": "未能在代码模型更新时打开 CMake 缓存文件",
1819
"opening.text.editor.for": "正在打开适用于 {0} 的文本编辑器",
1920
"no.kits.file.what.to.do": "不存在任何工具包文件。你要执行什么操作?",
2021
"scan.for.kits.button": "扫描工具包",

i18n/cht/package.i18n.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
*--------------------------------------------------------------------------------------------*/
55
// Do not edit this file. It is machine generated.
66
{
7+
"cmake-tools.command.cmake.addFileToCMakeLists.title": "Add File to CMake Lists",
8+
"cmake-tools.command.cmake.removeFileFromCMakeLists.title": "Remove File from CMake Lists",
79
"cmake-tools.command.cmake.openCMakePresets.title": "開啟 CMakePresets.json",
810
"cmake-tools.command.cmake.addConfigurePreset.title": "新增設定預設",
911
"cmake-tools.command.cmake.addBuildPreset.title": "新增建置預設",
@@ -293,5 +295,33 @@
293295
"cmake-tools.debugger.label": "CMake 偵錯工具",
294296
"cmake-tools.command.cmake.appendBuildDirectoryToWorkspace.title": "將組建目錄附加到目前工作區",
295297
"cmake-tools.command.workbench.action.tasks.configureTaskRunner.title": "設定工作",
296-
"cmake-tools.command.workbench.action.tasks.runTask.title": "執行工作"
298+
"cmake-tools.command.workbench.action.tasks.runTask.title": "執行工作",
299+
"cmake-tools.configuration.cmake.modifyLists.addNewSourceFiles.description": "Add source files to CMake lists when they are created.",
300+
"cmake-tools.configuration.cmake.modifyLists.addNewSourceFiles.no.description": "Do not automatically add source files to CMake lists",
301+
"cmake-tools.configuration.cmake.modifyLists.addNewSourceFiles.yes.description": "Automatically add source files to CMake lists",
302+
"cmake-tools.configuration.cmake.modifyLists.addNewSourceFiles.ask.description": "Show a preview panel of proposed changes to apply",
303+
"cmake-tools.configuration.cmake.modifyLists.removeDeletedSourceFiles.description": "Remove source files from CMake lists when they are deleted.",
304+
"cmake-tools.configuration.cmake.modifyLists.removeDeletedSourceFiles.no.description": "Do not automatically remove source files from CMake lists",
305+
"cmake-tools.configuration.cmake.modifyLists.removeDeletedSourceFiles.yes.description": "Automatically remove source files from CMake lists",
306+
"cmake-tools.configuration.cmake.modifyLists.removeDeletedSourceFiles.ask.description": "Show a preview panel of proposed changes to apply",
307+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.markdownDescription": "How to choose which `set()` or `list(APPEND/PREPEND/INSERT)` command invocation to edit when adding source files to CMake lists.",
308+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.never.description": "Do not look for variable modification command invocations, only look for source command invocations.",
309+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.auto.description": "Choose the best candidate automatically.",
310+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.askFirstParentDir.description": "Present a Quick Pick with options from the first `CMakeLists.txt` found when searching up from the location of the new source file.",
311+
"cmake-tools.configuration.cmake.modifyLists.variableSelection.askParentDirs.description": "Present a Quick Pick with options from all `CMakeLists.txt` files found when searching up from the location of the new source file.",
312+
"cmake-tools.configuration.cmake.modifyLists.sourceVariables.markdownDescription": "Variables to add source files to. Variables appearing earlier in this list will be given higher priority. Only used if `#cmake.modifyLists.variableSelection#` is not `never`. Supports glob patterns.",
313+
"cmake-tools.configuration.cmake.modifyLists.targetSelection.description": "How to choose which target to add new source files to when adding source files to CMake lists.",
314+
"cmake-tools.configuration.cmake.modifyLists.targetSelection.auto.description": "Choose the best candidate automatically.",
315+
"cmake-tools.configuration.cmake.modifyLists.targetSelection.askNearestSourceDir.description": "Present a Quick Pick with targets whose source directories are closest to location of the new source file.",
316+
"cmake-tools.configuration.cmake.modifyLists.targetSelection.askParentSourceDirs.description": "Present a Quick Pick with targets whose source directories contain the location of the new source file.",
317+
"cmake-tools.configuration.cmake.modifyLists.targetCommandInvocationSelection.description": "How to choose which of a target's source command invocations to edit when adding source files to CMake lists.",
318+
"cmake-tools.configuration.cmake.modifyLists.targetCommandInvocationSelection.auto.description": "Choose the best candidate automatically.",
319+
"cmake-tools.configuration.cmake.modifyLists.targetCommandInvocationSelection.askFirstParentDir.description": "Present a Quick Pick with options from the CMake list file in the parent directory closest to the location of the new source file.",
320+
"cmake-tools.configuration.cmake.modifyLists.targetCommandInvocationSelection.askParentDirs.description": "Present a Quick Pick with options from all CMake list files in the parent directories of the new source file.",
321+
"cmake-tools.configuration.cmake.modifyLists.targetSourceCommands.markdownDescription": "Commands to treat as target source commands when adding source files CMake lists. Commands appearing earlier in this list will be given higher priority. Supports glob patterns.\r\n\r\nIf you are using the File API (see `#cmake.cmakeCommunicationMode#`), user-defined functions and macros which call the commands in this list are detected automatically and added to it.",
322+
"cmake-tools.configuration.cmake.modifyLists.scopeSelection.description": "How to choose which of a target's visibility scopes, file sets, or source keyword parameters to edit when adding source files to CMake lists.",
323+
"cmake-tools.configuration.cmake.modifyLists.scopeSelection.auto.description": "Choose the best candidate automatically.",
324+
"cmake-tools.configuration.cmake.modifyLists.scopeSelection.ask.description": "Present a Quick Pick with options from the selected target source command invocation.",
325+
"cmake-tools.configuration.cmake.modifyLists.sourceListKeywords.markdownDescription": "Keyword arguments to user-defined functions and macros which introduce lists of source files. If left empty, all arguments consisting of only upper-case letters and underscores will be considered. Supports glob patterns.",
326+
"update.code.model.for.list.modifier": "Update code model for automatic list file modifier"
297327
}

0 commit comments

Comments
 (0)