@codingame/monaco-vscode-language-pack-zh-hans 11.1.1 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -0
- package/package.json +2 -2
- package/translations/extensions/vscode.css-language-features.i18n.json +3 -3
- package/translations/extensions/vscode.git.i18n.json +96 -19
- package/translations/extensions/vscode.github.i18n.json +8 -1
- package/translations/extensions/vscode.ipynb.i18n.json +1 -1
- package/translations/extensions/vscode.json-language-features.i18n.json +9 -7
- package/translations/extensions/vscode.markdown-language-features.i18n.json +10 -1
- package/translations/extensions/vscode.microsoft-authentication.i18n.json +7 -4
- package/translations/extensions/vscode.references-view.i18n.json +2 -2
- package/translations/extensions/vscode.terminal-suggest.i18n.json +17 -0
- package/translations/extensions/vscode.typescript-language-features.i18n.json +22 -38
- package/translations/main.i18n.json.js +11907 -11693
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"Go to Source Definition failed. Requires TypeScript 4.7+.": "转到源定义失败。需要 TypeScript 4.7 以上版本。",
|
|
64
64
|
"Go to Source Definition failed. Unknown file type.": "转到源定义失败。未知文件类型。",
|
|
65
65
|
"Go to Source Definition failed. Unsupported file type.": "转到源定义失败。不支持的文件类型。",
|
|
66
|
-
"Initializing
|
|
66
|
+
"Initializing '{0}'": "正在初始化“{0}”",
|
|
67
67
|
"JS/TS IntelliSense Status": "JS/TS IntelliSense 状态",
|
|
68
68
|
"JSDoc comment": "JSDoc 注释",
|
|
69
69
|
"Learn More": "了解详细信息",
|
|
@@ -87,8 +87,6 @@
|
|
|
87
87
|
"Please report an issue against Yarn PnP": "请针对 Yarn PnP 报告问题",
|
|
88
88
|
"Please update your TypeScript version": "请更新 TypeScript 版本",
|
|
89
89
|
"Project Wide IntelliSense not available": "Project Wide IntelliSense 不可用",
|
|
90
|
-
"Related files provider failed. Copilot requested file with unsupported language mode.": "Related files provider failed. Copilot requested file with unsupported language mode.",
|
|
91
|
-
"Related files provider failed. No active text editor.": "Related files provider failed. No active text editor.",
|
|
92
90
|
"Remove Unused Imports": "删除未使用的导入",
|
|
93
91
|
"Remove all unused code": "删除所有未使用的代码",
|
|
94
92
|
"Report Issue": "报告问题",
|
|
@@ -139,27 +137,7 @@
|
|
|
139
137
|
"{0} references": "{0} 个引用"
|
|
140
138
|
},
|
|
141
139
|
"package": {
|
|
142
|
-
"
|
|
143
|
-
"codeActions.refactor.extract.constant.title": "分离常量",
|
|
144
|
-
"codeActions.refactor.extract.function.description": "将表达式提取到方法或函数。",
|
|
145
|
-
"codeActions.refactor.extract.function.title": "提取函数",
|
|
146
|
-
"codeActions.refactor.extract.interface.description": "将类型提取到接口。",
|
|
147
|
-
"codeActions.refactor.extract.interface.title": "提取接口",
|
|
148
|
-
"codeActions.refactor.extract.type.description": "将类型提取为类型别名。",
|
|
149
|
-
"codeActions.refactor.extract.type.title": "提取类型",
|
|
150
|
-
"codeActions.refactor.move.newFile.description": "将表达式移动到新文件。",
|
|
151
|
-
"codeActions.refactor.move.newFile.title": "移动到新的文件",
|
|
152
|
-
"codeActions.refactor.rewrite.arrow.braces.description": "在箭头函数中添加或删除大括号。",
|
|
153
|
-
"codeActions.refactor.rewrite.arrow.braces.title": "重写箭头大括号",
|
|
154
|
-
"codeActions.refactor.rewrite.export.description": "在默认导出和命名导出之间进行转换。",
|
|
155
|
-
"codeActions.refactor.rewrite.export.title": "转换导出",
|
|
156
|
-
"codeActions.refactor.rewrite.import.description": "在命名导入和命名空间导入之间进行转换。",
|
|
157
|
-
"codeActions.refactor.rewrite.import.title": "转换导入",
|
|
158
|
-
"codeActions.refactor.rewrite.parameters.toDestructured.title": "将参数转换为析构对象",
|
|
159
|
-
"codeActions.refactor.rewrite.property.generateAccessors.description": "生成 \"get\" 和 \"set\" 访问器",
|
|
160
|
-
"codeActions.refactor.rewrite.property.generateAccessors.title": "生成访问器",
|
|
161
|
-
"codeActions.source.organizeImports.title": "整理 import 语句",
|
|
162
|
-
"configuration.expandableHover": "(实验性)悬停时启用/禁用展开。",
|
|
140
|
+
"configuration.expandableHover": "启用展开/扩大悬停以显示来自 TS 服务器的更多/更少信息。",
|
|
163
141
|
"configuration.implicitProjectConfig.checkJs": "启用或禁用 JavaScript 文件的语义检查。现有 `jsconfig.json` 或 `tsconfig.json` 文件将覆盖此设置。",
|
|
164
142
|
"configuration.implicitProjectConfig.experimentalDecorators": "在不属于任何工程的 JavaScript 文件中启用或禁用 `experimentalDecorators`。现有 `jsconfig.json` 或 `tsconfig.json` 文件将覆盖此设置。",
|
|
165
143
|
"configuration.implicitProjectConfig.module": "设置程序的模块系统。查看详细信息: https://www.typescriptlang.org/tsconfig#module。",
|
|
@@ -188,7 +166,7 @@
|
|
|
188
166
|
"configuration.suggest.objectLiteralMethodSnippets.enabled": "启用/禁用对象文本中的方法的代码片段补全。",
|
|
189
167
|
"configuration.suggest.paths": "在 import 语句和 require 调用中,启用或禁用路径建议。",
|
|
190
168
|
"configuration.surveys.enabled": "启用或禁用偶尔出现的有关 JavaScript 和 TypeScript 的调查,帮助我们改善 VS Code 对两者的支持。",
|
|
191
|
-
"configuration.tsserver.experimental.enableProjectDiagnostics": "
|
|
169
|
+
"configuration.tsserver.experimental.enableProjectDiagnostics": "启用项目范围的错误报告。",
|
|
192
170
|
"configuration.tsserver.maxTsServerMemory": "要分配给 TypeScript 服务器进程) 以 MB 为 (的最大内存量。如果要使用大于 4 GB 的内存限制,请使用 `#typescript.tsserver.nodePath#` 运行具有自定义节点安装的 TS Server。",
|
|
193
171
|
"configuration.tsserver.nodePath": "在自定义节点安装上运行 TS 服务器。如果希望 VS Code 检测节点安装,则可以是节点可执行文件的路径,也可以是 “node”。",
|
|
194
172
|
"configuration.tsserver.useSeparateSyntaxServer": "启用/禁用生成可更快地响应语法相关操作的单独 TypeScript 服务器,例如计算折叠或计算文档符号。",
|
|
@@ -198,14 +176,14 @@
|
|
|
198
176
|
"configuration.tsserver.useSyntaxServer.auto": "生成一个完整的服务器和一个专用于语法运算的轻量级服务器。语法服务器用于加快语法运算并在加载项目时提供 IntelliSense。",
|
|
199
177
|
"configuration.tsserver.useSyntaxServer.never": "请不要使用专用的语法服务器。使用单个服务器来处理所有 IntelliSense 运算。",
|
|
200
178
|
"configuration.tsserver.useVsCodeWatcher": "使用 VS Code 而不是 TypeScript 的文件观察程序。要求在工作区中使用 TypeScript 5.4+。",
|
|
201
|
-
"configuration.tsserver.useVsCodeWatcher.deprecation": "
|
|
179
|
+
"configuration.tsserver.useVsCodeWatcher.deprecation": "请改用 `#typescript.tsserver.watchOptions#` 设置。",
|
|
202
180
|
"configuration.tsserver.watchOptions": "配置应使用哪些监视策略来跟踪文件和目录。",
|
|
203
181
|
"configuration.tsserver.watchOptions.fallbackPolling": "使用文件系统事件时,此选项指定当系统用完本机文件观察程序和/或不支持本机文件观察程序时使用的轮询策略。",
|
|
204
182
|
"configuration.tsserver.watchOptions.fallbackPolling.dynamicPriorityPolling ": "使用动态队列,在该队列中,较少检查不经常修改的文件。",
|
|
205
183
|
"configuration.tsserver.watchOptions.fallbackPolling.fixedPollingInterval": "以固定间隔每秒多次检查每个文件的更改。",
|
|
206
184
|
"configuration.tsserver.watchOptions.fallbackPolling.priorityPollingInterval": "每秒检查每个文件有无多次更改,但使用启发式方法检查某些类型的文件的频率低于其他文件类型。",
|
|
207
185
|
"configuration.tsserver.watchOptions.synchronousWatchDirectory": "禁用目录上的延迟监视。当可能同时发生大量文件更改(例如,运行 npm install 导致的 node_modules 更改)时,延迟监视非常有用,但是对于一些不太常见的设置,可能需要使用此标志将其禁用。",
|
|
208
|
-
"configuration.tsserver.watchOptions.vscode": "
|
|
186
|
+
"configuration.tsserver.watchOptions.vscode": "使用 VS Code 而不是 TypeScript 的文件观察程序。要求在工作区中使用 TypeScript 5.4+。",
|
|
209
187
|
"configuration.tsserver.watchOptions.watchDirectory": "在缺乏递归文件监视功能的系统中监视整个目录树的策略。",
|
|
210
188
|
"configuration.tsserver.watchOptions.watchDirectory.dynamicPriorityPolling": "使用动态队列,其中较少修改的目录将较少检查。",
|
|
211
189
|
"configuration.tsserver.watchOptions.watchDirectory.fixedChunkSizePolling": "定期轮询区块中的目录。",
|
|
@@ -222,7 +200,7 @@
|
|
|
222
200
|
"configuration.tsserver.web.projectWideIntellisense.suppressSemanticErrors": "即使启用了项目范围的 IntelliSense,仍会抑制 Web 上出现语义错误。当项目范围的 IntelliSense 未启用或不可用时,此功能将始终可用。请参阅 `#typescript.tsserver.web.projectWideIntellisense.enabled#`",
|
|
223
201
|
"configuration.tsserver.web.typeAcquisition.enabled": "在 Web 上启用/禁用包获取。这会为导入的包启用 IntelliSense。需要 `#typescript.tsserver.web.projectWideIntellisense.enabled#`。目前不支持 Safari。",
|
|
224
202
|
"configuration.typescript": "TypeScript",
|
|
225
|
-
"configuration.updateImportsOnPaste": "
|
|
203
|
+
"configuration.updateImportsOnPaste": "在粘贴代码时启用更新导入。需要 TypeScript 5.7+。\r\n\r\n默认情况下,这将显示在粘贴后更新导入的选项。可以使用 `#editor.pasteAs.preferences#` 设置在粘贴时自动更新导入: `\"editor.pasteAs.preferences\": [ \"text.updateImports.jsts\" ]`。",
|
|
226
204
|
"description": "为 JavaScript 和 TypeScript 提供丰富的语言支持。",
|
|
227
205
|
"displayName": "JavaScript 和 TypeScript 的语言功能",
|
|
228
206
|
"format.indentSwitchCase": "switch 语句中的缩进 case 子句。需要在工作区中使用 TypeScript 5.1+。",
|
|
@@ -251,7 +229,7 @@
|
|
|
251
229
|
"inlayHints.parameterNames.none": "禁用参数名称提示。",
|
|
252
230
|
"javascript.format.enable": "启用/禁用 JavaScript 格式化程序。",
|
|
253
231
|
"javascript.goToProjectConfig.title": "转到项目配置(jsconfig/tsconfig)",
|
|
254
|
-
"javascript.preferences.jsxAttributeCompletionStyle.auto": "
|
|
232
|
+
"javascript.preferences.jsxAttributeCompletionStyle.auto": "根据属性类型在属性名称后插入 `={}` 或 `=\"\"`。请参见 `#javascript.preferences.quoteStyle#`,控制用于字符串属性的引号样式。",
|
|
255
233
|
"javascript.preferences.organizeImports": "控制导入顺序的高级首选项。",
|
|
256
234
|
"javascript.referencesCodeLens.enabled": "启用/禁用在 JavaScript 文件中引用 CodeLens。",
|
|
257
235
|
"javascript.referencesCodeLens.showOnAllFunctions": "启用/禁用在 JavaScript 文件中对所有函数的 CodeLens 引用。",
|
|
@@ -270,7 +248,7 @@
|
|
|
270
248
|
"typescript.implementationsCodeLens.enabled": "启用或禁用实现 CodeLens。此 CodeLens 显示接口的实现。",
|
|
271
249
|
"typescript.implementationsCodeLens.showOnInterfaceMethods": "在接口方法上启用/禁用 CodeLens 实现。",
|
|
272
250
|
"typescript.locale": "设置在报告 JavaScript 和 TypeScript 错误时使用的区域设置。默认使用 VS Code 的区域设置。",
|
|
273
|
-
"typescript.locale.auto": "使用 VS Code
|
|
251
|
+
"typescript.locale.auto": "使用 VS Code 配置的显示语言。",
|
|
274
252
|
"typescript.npm": "指定为 [自动类型获取](https://code.visualstudio.com/docs/nodejs/working-with-javascript#_typings-and-automatic-type-acquisition) 使用的 npm 可执行文件的路径。",
|
|
275
253
|
"typescript.openTsServerLog.title": "打开 TS 服务器日志",
|
|
276
254
|
"typescript.preferences.autoImportFileExcludePatterns": "从自动导入中排除指定文件的 glob 模式。相对路径是相对于工作区进行解析的。使用 tsconfig.json ['exclude'](https://www.typescriptlang.org/tsconfig#exclude)语义计算模式。",
|
|
@@ -291,21 +269,27 @@
|
|
|
291
269
|
"typescript.preferences.includePackageJsonAutoImports.off": "从不搜索依赖项。",
|
|
292
270
|
"typescript.preferences.includePackageJsonAutoImports.on": "始终搜索依赖项。",
|
|
293
271
|
"typescript.preferences.jsxAttributeCompletionStyle": "JSX 属性完成的首选样式。",
|
|
294
|
-
"typescript.preferences.jsxAttributeCompletionStyle.auto": "
|
|
272
|
+
"typescript.preferences.jsxAttributeCompletionStyle.auto": "根据属性类型在属性名称后插入 `={}` 或 `=\"\"`。请参见 `#typescript.preferences.quoteStyle#`,控制用于字符串属性的引号样式。",
|
|
295
273
|
"typescript.preferences.jsxAttributeCompletionStyle.braces": "在属性名称后插入 `={}`。",
|
|
296
274
|
"typescript.preferences.jsxAttributeCompletionStyle.none": "仅插入属性名称。",
|
|
297
275
|
"typescript.preferences.organizeImports": "控制导入顺序的高级首选项。",
|
|
298
|
-
"typescript.preferences.organizeImports.accentCollation": "
|
|
299
|
-
"typescript.preferences.organizeImports.caseFirst": "
|
|
276
|
+
"typescript.preferences.organizeImports.accentCollation": "需要 `organizeImports.unicodeCollation: 'unicode'`。将带变音符号的字符与基本字符比较,将二者视为不相等。",
|
|
277
|
+
"typescript.preferences.organizeImports.caseFirst": "需要 `organizeImports.unicodeCollation: 'unicode'`,而 `organizeImports.caseSensitivity` 不是 `caseInsensitive`。指示大写是否排列在小写前面。",
|
|
278
|
+
"typescript.preferences.organizeImports.caseFirst.default": "`locale` 指定的默认顺序。",
|
|
279
|
+
"typescript.preferences.organizeImports.caseFirst.lower": "小写放在大写前面。例如 ` a, A, z, Z`。",
|
|
280
|
+
"typescript.preferences.organizeImports.caseFirst.upper": "大写放在小写前面。例如 ` A, a, B, b`。",
|
|
281
|
+
"typescript.preferences.organizeImports.caseSensitivity": "指定如何根据大小写区分对导入进行排序。如果 `auto` 或未指定,我们将根据每个文件检测大小写区分",
|
|
300
282
|
"typescript.preferences.organizeImports.caseSensitivity.auto": "检测导入排序是否区分大小写。",
|
|
301
283
|
"typescript.preferences.organizeImports.caseSensitivity.insensitive": "按区分大小写的方式对导入进行排序。",
|
|
302
284
|
"typescript.preferences.organizeImports.caseSensitivity.sensitive": "按区分大小写的方式对导数进行排序。",
|
|
303
|
-
"typescript.preferences.organizeImports.locale": "
|
|
304
|
-
"typescript.preferences.organizeImports.numericCollation": "
|
|
285
|
+
"typescript.preferences.organizeImports.locale": "需要 `organizeImports.unicodeCollation: 'unicode'`。替代用于排序规则的区域设置。指定 `auto` 以使用 UI 区域设置。",
|
|
286
|
+
"typescript.preferences.organizeImports.numericCollation": "需要 `organizeImports.unicodeCollation: 'unicode'`。按整数值对数值字符串进行排序。",
|
|
287
|
+
"typescript.preferences.organizeImports.typeOrder": "指定应如何对仅类型命名的导入进行排序。",
|
|
305
288
|
"typescript.preferences.organizeImports.typeOrder.auto": "检测应在何处对仅类型命名的导入进行排序。",
|
|
306
|
-
"typescript.preferences.organizeImports.typeOrder.first": "
|
|
307
|
-
"typescript.preferences.organizeImports.typeOrder.inline": "
|
|
308
|
-
"typescript.preferences.organizeImports.typeOrder.last": "
|
|
289
|
+
"typescript.preferences.organizeImports.typeOrder.first": "将仅类型命名导入排序到导入列表开头。例如,`import { type A, type Y, B, Z } from 'module';`",
|
|
290
|
+
"typescript.preferences.organizeImports.typeOrder.inline": "命名导入仅按名称排序。例如,`import { type A, B, type Y, Z } from 'module';`",
|
|
291
|
+
"typescript.preferences.organizeImports.typeOrder.last": "将仅类型命名导入排序到导入列表末尾。例如,`import { B, Z, type A, type Y } from 'module';`",
|
|
292
|
+
"typescript.preferences.organizeImports.unicodeCollation": "指定是使用 Unicode 还是序号排序规则对导入进行排序。",
|
|
309
293
|
"typescript.preferences.organizeImports.unicodeCollation.ordinal": "使用每个码位元素的数值对导入进行排序。",
|
|
310
294
|
"typescript.preferences.organizeImports.unicodeCollation.unicode": "使用 Unicode 代码排序规则对导入进行排序。",
|
|
311
295
|
"typescript.preferences.preferTypeOnlyAutoImports": "尽可能在自动导入中包含 `type` 关键字。要求在工作区中使用 TypeScript 5.3+。",
|