Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New untitiled file not saved on exit #4739 #4743

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/node-debug/node-debug.azure.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"account": "monacobuild",
"container": "debuggers",
"zip": "15301e4/node-debug.zip",
"zip": "ea05cd8/node-debug.zip",
"output": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Do not edit this file. It is machine generated.
{
"assocDescriptionFile": "将所有匹配其文件名内的 glob 模式的文件映像到具有给定 ID 的语言。",
"assocDescriptionPath": "将所有匹配其完整路径内的 glob 模式的文件映像到具有给定 ID 的语言。",
"assocDescriptionPath": "将所有匹配其路径内绝对路径 glob 模式的文件映像到具有给定 ID 的语言。",
"assocLabelFile": "带扩展名的文件",
"assocLabelPath": "带路径的文件"
}
11 changes: 11 additions & 0 deletions i18n/chs/extensions/php/package.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.
{
"configuration.title": "PHP 配置选项",
"configuration.validate.enable": "不管 php 验证是否已启用。",
"configuration.validate.executablePath": "指向可执行的 php。",
"configuration.validate.run": "不管 linter 是在 save 还是在 type 上运行。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"noServerFound": "路径 {0} 未指向有效的 tsserver 安装。将禁用 TypeScript 语言功能。",
"serverCouldNotBeStarted": "无法启动 TypeScript 语言服务器。错误消息为: {0}",
"serverDied": "在过去 5 分钟内,TypeScript 语言服务意外中止 5 次。请考虑启用 bug 报告。",
"serverDiedAfterStart": "TypeScript 语言服务在其启动后已中止 5 次。服务不会重启。请启用 bug 报告。"
"serverDiedAfterStart": "TypeScript 语言服务在其启动后已中止 5 次。服务不会重启。请启用 bug 报告。",
"versionNumber.custom": "自定义"
}
12 changes: 6 additions & 6 deletions i18n/chs/extensions/typescript/out/utils/projectStatus.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"cmdCreate": "创建 jsconfig.json 文件...",
"hint.tooltip": "创建一个项目就可以获得更好的 IntelliSense、更好的符号搜索以及更多内容。",
"hintCreate": "创建一个项目,体验更好的 IntelliSense 和代码导航。",
"hintExclude": "“{0}” 属于大型项目。为了提高性能,排除包含许多文件的文件夹,例如: {1}...",
"cmdCreate": "创建 jsconfig.json",
"hintCreate": "创建 jsconfig.json 以跨越整个工作区启用更丰富的 IntelliSense 和代码导航。",
"hintExclude": "为了提高性能,排除包含许多文件的文件夹,例如: {0}",
"hintExclude.generic": "为了获得更好的性能,排除具有许多文件的文件夹。",
"ignore.cmdCreate": "忽略",
"large.label": "配置排除",
"large.tooltip": "一个项目中包含过多文件可能会导致糟糕的性能。排除具有很多文件的文件夹,例如: {0}...",
"open": "配置排除..."
"open": "配置排除"
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"roundedSelection": "控制选项是否有圆角",
"rulers": "显示垂直标尺的列",
"scrollBeyondLastLine": "控制编辑器是否将滚动超出最后一行",
"selectionClipboard": "控制 Linux 主要剪贴板是否应受到支持。",
"selectionHighlight": "控制编辑器是否应突出显示选项的近似匹配",
"sideBySide": "控制差异编辑器是否显示并行差异或内联差异",
"suggestOnTriggerCharacters": "控制键入触发器字符时是否应自动显示建议",
Expand Down
8 changes: 8 additions & 0 deletions i18n/chs/src/vs/editor/common/modes/modesRegistry.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* 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.
{
"plainText.alias": "纯文本"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"actions.goToDeclToSide.label": "打开侧边的定义",
"actions.gotoTypeDecl.label": "转到类型定义",
"actions.previewDecl.label": "查看定义",
"meta.title": " – {0} 定义",
"multipleResults": "单击此处显示找到的 {0} 个定义。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
"lines.moveDown": "向下移动行",
"lines.moveUp": "向上移动行",
"lines.outdent": "行减少缩进",
"lines.sortAscending": "按升序排列行",
"lines.sortDescending": "按降序排列行",
"lines.trimTrailingWhitespace": "裁剪尾随空格"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
{
"QuickFixSelectionWidget.loading": "正在加载...",
"QuickFixSelectionWidget.noSuggestions": "无修复建议。",
"ariaCurrentFix": "{0},快速修复建议",
"quickFixAriaAccepted": "{0},已接受",
"treeAriaLabel": "快速修复"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Do not edit this file. It is machine generated.
{
"labelLoading": "正在加载...",
"meta.titleReference": " – {0} 个引用",
"noResults": "无结果",
"references.action.label": "查找所有引用",
"references.action.name": "显示引用"
Expand Down
2 changes: 1 addition & 1 deletion i18n/chs/src/vs/editor/node/textMate/TMSnippets.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"invalid.language": "“contributes.{0}.language”中存在未知的语言。提供的值: {1}",
"invalid.path.0": "“contributes.{0}.path”中应为字符串。提供的值: {1}",
"invalid.path.1": "“contributes.{0}.path”({1})应包含在扩展的文件夹({2})内。这可能会使扩展不可移植。",
"vscode.extension.contributes.snippets": "用于 textmate 代码片段。",
"vscode.extension.contributes.snippets": "用于 TextMate 代码片段。",
"vscode.extension.contributes.snippets-language": "此代码片段参与的语言 ID。",
"vscode.extension.contributes.snippets-path": "代码片段文件的路径。该路径相对于扩展文件夹,通常以 \"./snippets/\" 开头。"
}
16 changes: 16 additions & 0 deletions i18n/chs/src/vs/languages/html/common/html.contribution.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*---------------------------------------------------------------------------------------------
* 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.
{
"format.endWithNewline": "以新行结束。",
"format.extraLiners": "标记列表,以逗号分隔,其前应有额外新行。\"null\" 默认为“标头、正文、/html”。",
"format.indentHandlebars": "格式和缩进 {{#foo}} 和 {{/foo}}。",
"format.indentInnerHtml": "缩进 <head> 和 <body> 部分。",
"format.maxPreserveNewLines": "要保留在一个区块中的换行符的最大数量。对于无限制使用 \"null\"。",
"format.preserveNewLines": "是否要保留元素前面的现有换行符。仅适用于元素前,不适用于标记内或文本。",
"format.unformatted": "标记列表,以逗号分隔,不应重设格式。\"null\" 默认为所有内联标记。",
"format.wrapLineLength": "每行最大字符数(0 = 禁用)。",
"htmlConfigurationTitle": "HTML 配置"
}
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.
{
"configureLocale": "配置区域设置",
"displayLanguage": "定义 VSCode 的显示语言。",
"fail.createSettings": "无法创建“{0}”({1})。",
"restart": "要更改值需要重启 VSCode。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"configureAssociations": "配置文件关联...",
"configureAssociationsExt": "“{0}”的配置文件关联...",
"configuredLanguage": "已配置语言",
"defaultEncoding": "配置的编码",
"disableTabMode": "禁用辅助功能模式",
"endOfLineCarriageReturnLineFeed": "CRLF",
"endOfLineLineFeed": "LF",
Expand All @@ -26,7 +25,7 @@
"noEditor": "此时没有处于活动状态的文本编辑器",
"noFileEditor": "此时无活动文件",
"noWritableCodeEditor": "活动代码编辑器为只读模式。",
"persistFileAssociations": "你可以将文件名配置为从 **files.associations** 部分的语言关联。",
"persistFileAssociations": "你可以将文件名配置为 **files.associations** 部分中的语言关联。该更改可能需要重启才能在已打开的文件上生效。",
"pickAction": "选择操作",
"pickEncodingForReopen": "选择文件编码以重新打开文件",
"pickEncodingForSave": "选择用于保存的文件编码",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"telemetry.enableCrashReporting": "启用要发送给 Microsoft 的故障报告。\n\t// 此选项需重启 VSCode 才可生效。",
"telemetry.enableCrashReporting": "启用要发送给 Microsoft 的故障报表。\n\t// 此选项需重启才可生效。",
"telemetryConfigurationTitle": "遥测配置"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"changeNow": "立即更改",
"continue": "继续",
"editFile": "编辑“{0}”",
"exists": "请删除“{1}”中的别名引用“{0}”,然后重试此操作。",
"exists": "请删除“{1}”(行 {2})中的别名引用“{0}”,然后重试此操作。",
"install": "在 PATH 中安装 \"code\" 命令",
"later": "稍后",
"laterInfo": "请记住,你始终可以从命令面板运行“{0}”操作。",
Expand Down
6 changes: 1 addition & 5 deletions i18n/chs/src/vs/workbench/electron-main/main.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"expired": "已过期",
"expiredDetail": "此预发行版 {0} 已过期。\n\n请访问 {1} 以下载当前版本。",
"newWindow": "新建窗口",
"openWebSite": "打开网站",
"quit": "退出"
"newWindow": "新建窗口"
}
8 changes: 4 additions & 4 deletions i18n/chs/src/vs/workbench/electron-main/menus.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
"miReplace": "替换(&&R)",
"miReportIssues": "报告问题(&&I)",
"miRestartToUpdate": "重启以更新...",
"miRevert": "还原文件",
"miRevert": "还原文件(&&I)",
"miSave": "保存(&&S)",
"miSaveAll": "全部保存(&&A)",
"miSaveAs": "另存为...",
"miSaveAll": "全部保存(&&L)",
"miSaveAs": "另存为(&&A)...",
"miSelectAll": "全选(&&S)",
"miSelectTheme": "颜色主题(&&C)",
"miSplitEditor": "拆分编辑器(&&E)",
Expand All @@ -85,7 +85,7 @@
"miUserVoice": "请求功能(&&R)",
"miViewDebug": "调试(&&D)",
"miViewExplorer": "资源管理器(&&E)",
"miViewGit": "GIT (&&G)",
"miViewGit": "Git (&&G)",
"miViewSearch": "搜索(&&S)",
"miZoomIn": "放大(&&Z)",
"miZoomOut": "缩小(&&U)",
Expand Down
4 changes: 3 additions & 1 deletion i18n/chs/src/vs/workbench/node/extensionHostMain.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"extensionTestError": "路径 {0} 未指向有效的扩展测试运行程序。"
"extensionTestError": "路径 {0} 未指向有效的扩展测试运行程序。",
"extensionUnderDevelopment": "正在 {0} 中加载开发扩展",
"overwritingExtension": "使用 {1} 覆盖扩展 {0}。"
}
10 changes: 10 additions & 0 deletions i18n/chs/src/vs/workbench/node/extensionPoints.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*---------------------------------------------------------------------------------------------
* 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.
{
"fileReadFail": "无法读取文件 {0}: {1}。",
"jsonParseFail": "未能分析 {0}: {1}。",
"missingNLSKey": "无法找到键 {0} 的消息。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"extensionsCategory": "扩展"
"extensions": "扩展"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"close": "关闭",
"deleteSure": "是否确定要卸载“{0}”?",
"installExtension": "安装扩展",
"restartNow": "立即重启",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@
"multipleIssues": "扩展({0} 个问题)",
"multipleUpdates": "扩展({0} 个可用更新)",
"oneIssue": "扩展(1 个问题)",
"oneUpdate": "扩展(1 个可用更新)",
"uninstall": "卸载"
"oneUpdate": "扩展(1 个可用更新)"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"invalidVersion": "无效的扩展: 清单版本不匹配。",
"missingGalleryInformation": "库信息缺失",
"noCompatible": "找不到可与此代码版本兼容的 {0} 版本。",
"notExists": "找不到扩展"
"notExists": "找不到扩展",
"restartCode": "请重启代码再重新安装 {0}。"
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"emptyFileNameError": "必须提供文件或文件夹名。",
"fileNameExistsError": "此位置已存在文件或文件夹 **{0}**。请选择其他名称。",
"filePathTooLongError": "名称 **{0}** 导致路径太长。请选择更短的名称。",
"focusFilesExplorer": "关注文件资源浏览器",
"focusWorkingFiles": "关注工作文件",
"globalCompareFile": "比较活动文件与...",
"importFiles": "导入文件",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
"changesFromTree": "{0} - 对 {1} 的更改",
"checkNativeConsole": "运行 GIT 操作存在问题。请审阅输出或使用控制台检查你的存储库的状态。",
"configureUsernameEmail": "请配置 GIT 用户名和电子邮件。",
"download": "下载",
"gitIndexChanges": "{0} - 对索引的更改",
"gitIndexChangesRenamed": "{0} - 已重命名 - 索引更改",
"gitMergeChanges": "{0} - 合并更改",
"showOutput": "显示输出",
"unmergedChanges": "提交更改前,你应首先解决未合并的更改。",
"updateGit": "你似乎已安装 git {0}。在 git >=2.0.0 情况下代码工作最佳。",
"workingTreeChanges": "{0} - 对工作树的更改"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"dotnetBuild": "创建用于使用 dotnet 生成编译的 tasks.json 文件。",
"grunt": "为 Grunt 创建一个 tasks.json 文件。如果存在 jake 文件,则将自动检测任务。",
"gulp": "为 Grunt 创建一个 tasks.json 文件。如果存在 jake 文件,则将自动检测任务。",
"jake": "为 Jake 创建一个 tasks.json 文件。如果存在 jake 文件,则将自动检测任务。",
"msbuild": "创建用于使用 msbuild 编译的 tasks.json 文件。",
"tsc.config": "创建用于编译 TypeScript 项目的 tasks.json 文件。",
"tsc.openFile": "创建用于编译当前打开的 TypeScript 文件的 tasks.json 文件。",
"tsc.specificFile": "创建用于编译特定的 TypeScript 文件的 tasks.json 文件。",
"tsc.watch": "创建用于编译观看模式的 TypeScript 文件的 tasks.json 文件。"
"dotnetCore": "执行 .NET Core 生成命令",
"externalCommand": "运行任意外部命令的示例",
"msbuild": "执行生成目标",
"tsc.config": "创建 TypeScript 项目",
"tsc.watch": "编译观看模式的 TypeScript 项目"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
"CleanAction.label": "运行清理任务",
"CloseMessageAction.label": "关闭",
"ConfigureTaskRunnerAction.autoDetect": "自动检测系统任务失败。请使用默认模板。有关详细信息,请参阅任务输出。",
"ConfigureTaskRunnerAction.autoDetecting": "适用于 {0} 的自动检测任务",
"ConfigureTaskRunnerAction.failed": "无法在 \".vscode\" 文件夹中创建 \"tasks.json\" 文件。查看任务输出了解详细信息。",
"ConfigureTaskRunnerAction.label": "配置任务运行程序",
"ConfigureTaskRunnerAction.noWorkspace": "任务仅在工作区文件夹上可用。",
"ConfigureTaskRunnerAction.quickPick.template": "选择任务运行程序",
"JsonSchema.args": "传递到命令的其他参数。",
"JsonSchema.command": "要执行的命令。可以是外部程序或 shell 命令。",
"JsonSchema.echoCommand": "控制是否将已执行的命令回显到输出。默认值为 false。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"TaskSystemDetector.buildTaskDetected": "检测到名为“{0}”的生成任务。",
"TaskSystemDetector.noGruntProgram": "你的系统上没有安装 Grunt。运行 npm install -g grunt 以安装它。",
"TaskSystemDetector.noGulpProgram": "你的系统上没有安装 Gulp。运行 npm install -g gulp 以安装它。",
"TaskSystemDetector.noGulpTasks": "正在运行的 gulp --tasks-simple 没有列出任何任务。你运行 npm 安装了吗?",
"TaskSystemDetector.noJakeProgram": "你的系统上没有安装 Jake。运行 npm install -g jake 以安装它。",
"TaskSystemDetector.noJakeTasks": "正在运行的 jake --tasks 没有列出任何任务。你运行 npm 安装了吗?",
"TaskSystemDetector.noProgram": "找不到程序 {0}。消息是 {1}"
"TaskSystemDetector.noProgram": "找不到程序 {0}。消息是 {1}",
"TaskSystemDetector.testTaskDetected": "测试检测到的名为“{0}”的测试任务。"
}
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.
{
"close": "关闭",
"license": "读取许可证",
"licenseChanged": "我们的许可条款已更改,请检查它们。",
"releaseNotes": "欢迎使用 {0} v{1}! 是否要阅读发布说明?"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{
"error.cannotloadtheme": "无法加载 {0}",
"error.cannotparse": "问题分析 plist 文件: {0}",
"error.cannotparsejson": "在分析 JSON 主题文件 {0} 时出现问题",
"invalid.path.1": "“contributes.{0}.path”({1})应包含在扩展的文件夹({2})内。这可能会使扩展不可移植。",
"reqarray": "扩展点“{0}”必须是数组。 ",
"reqpath": "“contributes.{0}.path”中应为字符串。提供的值: {1}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Do not edit this file. It is machine generated.
{
"assocDescriptionFile": "將檔案名稱符合 Glob 模式的所有檔案,對應至具有指定識別碼的語言。",
"assocDescriptionPath": "將完整路徑符合 Glob 模式的所有檔案,對應至具有指定識別碼的語言。",
"assocDescriptionPath": "將符合檔案路徑中之絕對路徑 Glob 模式的所有檔案,對應到具有指定識別碼的語言。",
"assocLabelFile": "檔案副檔名",
"assocLabelPath": "檔案路徑"
}