Skip to content

Commit 0b39090

Browse files
Update Simplified Chinese translation (#16916)
* Update Simplified Chinese translation * Create 16916.md
1 parent 9890ba4 commit 0b39090

2 files changed

Lines changed: 33 additions & 4 deletions

File tree

news/1 Enhancements/16916.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update Simplified Chinese translation. (thanks [FiftysixTimes7](https://github.com/FiftysixTimes7))

package.nls.zh-cn.json

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,30 @@
88
"python.command.python.switchOffInsidersChannel.title": "切换到默认版本",
99
"python.command.python.switchToDailyChannel.title": "切换到每日预览版本",
1010
"python.command.python.switchToWeeklyChannel.title": "切换到每周预览版本",
11-
"python.command.python.clearWorkspaceInterpreter.title": "清除工作区解释器设置",
11+
"python.command.python.clearWorkspaceInterpreter.title": "清除工作区选择的解释器设置",
1212
"python.command.python.refactorExtractVariable.title": "提取变量",
1313
"python.command.python.refactorExtractMethod.title": "提取方法",
1414
"python.command.python.viewOutput.title": "显示输出",
1515
"python.command.python.viewLanguageServerOutput.title": "显示语言服务器输出",
1616
"python.command.python.configureTests.title": "配置单元测试",
17+
"python.command.python.refreshTests.title": "刷新单元测试",
18+
"python.command.python.refreshingTests.title": "正在刷新单元测试",
19+
"python.command.python.stopRefreshingTests.title": "停止刷新单元测试",
20+
"python.command.testing.rerunFailedTests.title": "重新进行出错的单元测试",
1721
"python.command.python.execSelectionInTerminal.title": "在 Python 终端中运行选定内容/行",
1822
"python.command.python.execSelectionInDjangoShell.title": "在 Django Shell 中运行选定内容/行",
1923
"python.command.python.goToPythonObject.title": "转到 Python 对象",
24+
"python.command.python.reportIssue.title": "报告 Issue",
2025
"python.command.python.setLinter.title": "选择代码检查器",
2126
"python.command.python.enableLinting.title": "启用代码检查",
2227
"python.command.python.runLinting.title": "执行代码检查",
2328
"python.command.python.enableSourceMapSupport.title": "为扩展调试启用 Source Map 支持",
29+
"python.command.python.clearPersistentStorage.title": "清空扩展内部缓存",
2430
"python.command.python.startPage.open.title": "打开起始页",
2531
"python.command.python.analysis.clearCache.title": "清除模块分析缓存",
2632
"python.command.python.analysis.restartLanguageServer.title": "重启语言服务器",
2733
"python.command.python.launchTensorBoard.title": "启动 TensorBoard",
34+
"python.command.python.refreshTensorBoard.title": "刷新 TensorBoard",
2835
"python.snippet.launch.standard.label": "Python: 当前文件",
2936
"python.snippet.launch.module.label": "Python: 模块",
3037
"python.snippet.launch.module.default": "请输入模块名称",
@@ -36,8 +43,12 @@
3643
"python.snippet.launch.pyramid.label": "Python: Pyramid 应用",
3744
"Pylance.remindMeLater": "稍后提醒",
3845
"Pylance.pylanceNotInstalledMessage": "Pylance 扩展未安装。",
39-
"Pylance.pylanceInstalledReloadPromptMessage": "Pylance 扩展未安装。重新加载窗口以激活?",
46+
"Pylance.pylanceInstalledReloadPromptMessage": "Pylance 扩展已安装。重新加载窗口以激活?",
47+
"Pylance.pylanceRevertToJediPrompt": "Pylance 扩展未安装,但 python.languageServer 的值被设为了 \"Pylance\"。是否安装 Pylance 扩展,或选择使用 Jedi?",
48+
"Pylance.pylanceInstallPylance": "安装 Pylance",
49+
"Pylance.pylanceRevertToJedi": "使用 Jedi",
4050
"Experiments.inGroup": "用户属于 '{0}' 实验组",
51+
"Experiments.optedOutOf": "用户已退出 '{0}' 实验组",
4152
"Interpreters.RefreshingInterpreters": "正在刷新 Python 解释器",
4253
"Interpreters.entireWorkspace": "完整工作区",
4354
"Interpreters.pythonInterpreterPath": "Python 解释器路径: {0}",
@@ -48,9 +59,13 @@
4859
"InterpreterQuickPickList.enterPath.detail": "输入路径或选择一个现有的解释器",
4960
"InterpreterQuickPickList.enterPath.label": "输入解释器路径...",
5061
"InterpreterQuickPickList.enterPath.placeholder": "请输入 Python 解释器的路径。",
62+
"InterpreterQuickPickList.findPath.detail": "浏览文件系统来选择一个 Python 解释器。",
63+
"InterpreterQuickPickList.findPath.label": "需要的解释器不在列表中...",
64+
"InterpreterQuickPickList.refreshInterpreterList": "刷新解释器列表",
5165
"InterpreterQuickPickList.browsePath.label": "浏览...",
5266
"InterpreterQuickPickList.browsePath.detail": "浏览文件系统来选择一个 Python 解释器。",
5367
"InterpreterQuickPickList.browsePath.title": "选择 Python 解释器",
68+
"InterpreterQuickPickList.defaultInterpreterPath.label": "使用默认 Python 解释器路径",
5469
"diagnostics.upgradeCodeRunner": "请更新 Code Runner 扩展,使其与 Python 扩展兼容。",
5570
"Common.bannerLabelYes": "",
5671
"Common.bannerLabelNo": "",
@@ -95,6 +110,7 @@
95110
"Installer.searchForHelp": "搜索帮助",
96111
"Installer.couldNotInstallLibrary": "无法安装 {0} 。如果 pip 不可用,请使用选择的包管理器手动将此库安装到您的 Python 环境中。",
97112
"Installer.dataScienceInstallPrompt": "数据科学库 {0} 未安装,是否安装?",
113+
"diagnostics.removedPythonPathFromSettings": "Python 扩展将不再使用 settings.json 中的 \"python.pythonPath\" 设置。可以将其替换为新设置 \"python.defaultInterpreterPath\"。请注意默认解释器需要手动修改,Python 扩展不会在每次切换解释器时修改该设置。[了解更多](https://aka.ms/AA7jfor).",
98114
"diagnostics.warnSourceMaps": "已启用 Source Map 支持,这会影响 Python 扩展的性能。",
99115
"diagnostics.disableSourceMaps": "禁用 Source Map 支持",
100116
"diagnostics.warnBeforeEnablingSourceMaps": "启用 Source Map 支持将影响 Python 扩展的性能。",
@@ -108,6 +124,7 @@
108124
"diagnostics.checkIsort5UpgradeGuide": "此工作区的排序 import 语句配置已过时。查看 [isort 升级指南](https://aka.ms/AA9j5x4) 来更新设置。",
109125
"diagnostics.yesUpdateLaunch": "是,更新 launch.json",
110126
"diagnostics.invalidTestSettings": "您的设置需要更新,以将设置 \"python.unitTest.\" 改为 \"python.testing.\",否则使用该扩展测试 Python 代码可能无法工作。是否自动更新设置?",
127+
"diagnostics.pylanceDefaultMessage": "Python 扩展现在使用 Pylance 以改善代码补全、导航等功能并提升性能。[了解该更新的更多内容以及如何更换语言服务器](https://aka.ms/new-python-bundle)\n\n[Pylance 许可协议](https://marketplace.visualstudio.com/items/ms-python.vscode-pylance/license).",
111128
"Common.canceled": "已取消",
112129
"Common.cancel": "取消",
113130
"Common.yesPlease": "好的",
@@ -171,6 +188,7 @@
171188
"LanguageService.startingJedi": "正在启动 Jedi Python 语言引擎。",
172189
"LanguageService.startingMicrosoft": "正在启动 Microsoft Python 语言服务器。",
173190
"LanguageService.startingPylance": "正在启动 Pylance 语言服务器。",
191+
"LanguageService.startingJediLSP": "正在启动 Jedi Python 语言服务器。",
174192
"LanguageService.startingNone": "由于语言服务器设置为空,编辑器支持处于非活动状态。",
175193
"LanguageService.reloadAfterLanguageServerChange": "切换语言服务器后请重新加载窗口。",
176194
"AttachProcess.unsupportedOS": "不支持 '{0}' 操作系统。",
@@ -190,12 +208,13 @@
190208
"StartPage.getStarted": "Python - 开始",
191209
"StartPage.pythonExtensionTitle": "Python 扩展",
192210
"StartPage.createJupyterNotebook": "创建 Jupyter 笔记本",
193-
"StartPage.notebookDescription": "- 在命令面板 (<div class=\"italics\">Shift + Command + P</div>) 中运行 \"<div class=\"link italics\" role=\"button\" onclick={0}>创建新的 笔记本</div>\" <br />- 探索 <div class=\"link\" role=\"button\" onclick={1}>示例笔记本</div> 来了解笔记本的功能",
211+
"StartPage.notebookDescription": "- 在命令面板 (<div class=\"italics\">Shift + Command + P</div>) 中运行 \"<div class=\"link italics\" role=\"button\" onclick={0}>创建新的笔记本</div>\" <br />- 探索 <div class=\"link\" role=\"button\" onclick={1}>示例笔记本</div> 来了解笔记本的功能",
194212
"StartPage.createAPythonFile": "创建 Python 文件",
195213
"StartPage.pythonFileDescription": "- 创建以 .py 为扩展名的<div class=\"link\" role=\"button\" onclick={0}>新文件</div>",
196214
"StartPage.openInteractiveWindow": "使用交互式窗口开发 Python 脚本",
197215
"StartPage.interactiveWindowDesc": "- 您可以在 Python 文件中输入 \"#%%\" 来创建一个单元<br /> - 使用 \"<div class=\"italics\">Shift + Enter</div>\" 来运行一个单元,输出将显示在交互式窗口中",
198216
"StartPage.releaseNotes": "请查看 <a class=\"link\" href={0}>发行说明</a>,了解更多最新功能。",
217+
"StartPage.mailingList": "<a class=\"link\" href={0}>订阅</a> 邮件获取提示和教程。",
199218
"StartPage.tutorialAndDoc": "在 <a class=\"link\" href={0}>教程</a> 中探索更多的功能,或查看 <a class=\"link\" href={1}>文档</a> 以获得提示和排除故障。",
200219
"StartPage.dontShowAgain": "不再显示此页面",
201220
"StartPage.helloWorld": "Hello world",
@@ -204,6 +223,10 @@
204223
"StartPage.folderDesc": "- 打开 <div class=\"link\" role=\"button\" onclick={0}>文件夹</div><br /> - 打开 <div class=\"link\" role=\"button\" onclick={1}>工作区</div>",
205224
"StartPage.badWebPanelFormatString": "<html><body><h1>{0} 文件名无效</h1></body></html>",
206225
"Jupyter.extensionRequired": "执行该任务需要 Jupyter 扩展。点击\"\"打开 Jupyter 扩展的安装页面。",
226+
"Jupyter.extensionNotInstalled": "该功能需要安装 Jupyter 扩展才能使用。",
227+
"TensorBoard.missingSourceFile": "源文件缺失,请手动定位文件。",
228+
"TensorBoard.selectMissingSourceFile": "选择文件",
229+
"TensorBoard.selectMissingSourceFileDescription": "源文件的内容可能与记录中的原始内容不一致。",
207230
"TensorBoard.useCurrentWorkingDirectory": "使用当前工作目录",
208231
"TensorBoard.currentDirectory": "当前:{0}",
209232
"TensorBoard.logDirectoryPrompt": "选择一个日志目录来启动 TensorBoard",
@@ -216,6 +239,11 @@
216239
"TensorBoard.selectAnotherFolderDetail": "使用文件资源管理器选择另一个文件夹",
217240
"TensorBoard.useCurrentWorkingDirectoryDetail": "TensorBoard 将在当前工作目录的所有子目录中搜索 tfevent 文件",
218241
"TensorBoard.installPrompt": "启动 TensorBoard 会话需要安装 TensorBoard 包。是否安装?",
242+
"TensorBoard.installTensorBoardAndProfilerPluginPrompt": "需要安装 TensorBoard >= 2.4.1 与 PyTorch TensorBoard 分析器扩展。是否安装这些包?",
243+
"TensorBoard.installProfilerPluginPrompt": "建议安装 PyTorch TensorBoard 分析器扩展。是否安装此包?",
244+
"TensorBoard.upgradePrompt": "TensorBoard 整合仅支持 TensorBoard >= 2.4.1。是否更新 TensorBoard?",
219245
"TensorBoard.launchNativeTensorBoardSessionCodeAction": "启动 TensorBoard 会话",
220-
"TensorBoard.launchNativeTensorBoardSessionCodeLens": "▶ 启动 TensorBoard 会话"
246+
"TensorBoard.launchNativeTensorBoardSessionCodeLens": "▶ 启动 TensorBoard 会话",
247+
"TensorBoard.enterRemoteUrl": "输入远程 URL",
248+
"TensorBoard.enterRemoteUrlDetail": "输入指向 TensorBoard 远程日志文件夹的 URL"
221249
}

0 commit comments

Comments
 (0)