From c1c8e7db12c21232fd8158418ffce4902886be90 Mon Sep 17 00:00:00 2001 From: chriswang521 Date: Thu, 16 May 2024 10:31:20 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=E6=8F=92=E4=BB=B6=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E4=B8=AD=E9=9C=80=E8=A6=81=E9=87=8D=E6=96=B0=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E6=8C=89=E9=92=AE=E7=9A=84=E6=82=AC=E6=B5=AE=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E7=AD=89=E4=BF=A1=E6=81=AFIDE=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E6=94=B9=E4=B8=BAKylin-Code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/theme-abyss/package.nls.json | 2 +- extensions/theme-kimbie-dark/package.nls.json | 2 +- .../theme-monokai-dimmed/package.nls.json | 2 +- extensions/theme-monokai/package.nls.json | 2 +- extensions/theme-quietlight/package.nls.json | 2 +- extensions/theme-red/package.nls.json | 2 +- .../theme-solarized-dark/package.nls.json | 2 +- .../theme-solarized-light/package.nls.json | 2 +- .../package.nls.json | 2 +- .../package.nls.json | 6 ++--- .../extensions/vscode.theme-abyss.i18n.json | 4 ++-- .../vscode.theme-kimbie-dark.i18n.json | 4 ++-- .../vscode.theme-monokai-dimmed.i18n.json | 4 ++-- .../extensions/vscode.theme-monokai.i18n.json | 4 ++-- .../vscode.theme-quietlight.i18n.json | 4 ++-- .../extensions/vscode.theme-red.i18n.json | 4 ++-- .../vscode.theme-solarized-dark.i18n.json | 4 ++-- .../vscode.theme-solarized-light.i18n.json | 4 ++-- ...vscode.theme-tomorrow-night-blue.i18n.json | 4 ++-- ...ode.typescript-language-features.i18n.json | 6 ++--- .../translations/main.i18n.json | 24 +++++++++---------- src/vs/base/test/common/labels.test.ts | 12 +++++----- .../issue/issueReporterService.ts | 2 +- src/vs/server/node/server.cli.ts | 2 +- .../extensionsActions.test.ts | 16 ++++++------- 25 files changed, 61 insertions(+), 61 deletions(-) diff --git a/extensions/theme-abyss/package.nls.json b/extensions/theme-abyss/package.nls.json index a25492d7..f2406715 100644 --- a/extensions/theme-abyss/package.nls.json +++ b/extensions/theme-abyss/package.nls.json @@ -1,5 +1,5 @@ { "displayName": "Abyss Theme", - "description": "Abyss theme for Visual Studio Code", + "description": "Abyss theme for Kylin-Code", "themeLabel": "Abyss" } diff --git a/extensions/theme-kimbie-dark/package.nls.json b/extensions/theme-kimbie-dark/package.nls.json index 0d96b6f4..a9d91b5a 100644 --- a/extensions/theme-kimbie-dark/package.nls.json +++ b/extensions/theme-kimbie-dark/package.nls.json @@ -1,5 +1,5 @@ { "displayName": "Kimbie Dark Theme", - "description": "Kimbie dark theme for Visual Studio Code", + "description": "Kimbie dark theme for Kylin-Code", "themeLabel": "Kimbie Dark" } diff --git a/extensions/theme-monokai-dimmed/package.nls.json b/extensions/theme-monokai-dimmed/package.nls.json index 47baa226..556e3396 100644 --- a/extensions/theme-monokai-dimmed/package.nls.json +++ b/extensions/theme-monokai-dimmed/package.nls.json @@ -1,5 +1,5 @@ { "displayName": "Monokai Dimmed Theme", - "description": "Monokai dimmed theme for Visual Studio Code", + "description": "Monokai dimmed theme for Kylin-Code", "themeLabel": "Monokai Dimmed" } diff --git a/extensions/theme-monokai/package.nls.json b/extensions/theme-monokai/package.nls.json index a5a17dc5..30b6b39a 100644 --- a/extensions/theme-monokai/package.nls.json +++ b/extensions/theme-monokai/package.nls.json @@ -1,5 +1,5 @@ { "displayName": "Monokai Theme", - "description": "Monokai theme for Visual Studio Code", + "description": "Monokai theme for Kylin-Code", "themeLabel": "Monokai" } diff --git a/extensions/theme-quietlight/package.nls.json b/extensions/theme-quietlight/package.nls.json index 30354d62..4f444140 100644 --- a/extensions/theme-quietlight/package.nls.json +++ b/extensions/theme-quietlight/package.nls.json @@ -1,5 +1,5 @@ { "displayName": "Quiet Light Theme", - "description": "Quiet light theme for Visual Studio Code", + "description": "Quiet light theme for Kylin-Code", "themeLabel": "Quiet Light" } diff --git a/extensions/theme-red/package.nls.json b/extensions/theme-red/package.nls.json index d58a547e..1bac7025 100644 --- a/extensions/theme-red/package.nls.json +++ b/extensions/theme-red/package.nls.json @@ -1,5 +1,5 @@ { "displayName": "Red Theme", - "description": "Red theme for Visual Studio Code", + "description": "Red theme for Kylin-Code", "themeLabel": "Red" } diff --git a/extensions/theme-solarized-dark/package.nls.json b/extensions/theme-solarized-dark/package.nls.json index 46228484..be6247f5 100644 --- a/extensions/theme-solarized-dark/package.nls.json +++ b/extensions/theme-solarized-dark/package.nls.json @@ -1,5 +1,5 @@ { "displayName": "Solarized Dark Theme", - "description": "Solarized dark theme for Visual Studio Code", + "description": "Solarized dark theme for Kylin-Code", "themeLabel": "Solarized Dark" } diff --git a/extensions/theme-solarized-light/package.nls.json b/extensions/theme-solarized-light/package.nls.json index a2e9c31f..c9ad44f7 100644 --- a/extensions/theme-solarized-light/package.nls.json +++ b/extensions/theme-solarized-light/package.nls.json @@ -1,5 +1,5 @@ { "displayName": "Solarized Light Theme", - "description": "Solarized light theme for Visual Studio Code", + "description": "Solarized light theme for Kylin-Code", "themeLabel": "Solarized Light" } diff --git a/extensions/theme-tomorrow-night-blue/package.nls.json b/extensions/theme-tomorrow-night-blue/package.nls.json index 77b44577..146af348 100644 --- a/extensions/theme-tomorrow-night-blue/package.nls.json +++ b/extensions/theme-tomorrow-night-blue/package.nls.json @@ -1,5 +1,5 @@ { "displayName": "Tomorrow Night Blue Theme", - "description": "Tomorrow night blue theme for Visual Studio Code", + "description": "Tomorrow night blue theme for Kylin-Code", "themeLabel": "Tomorrow Night Blue" } diff --git a/extensions/typescript-language-features/package.nls.json b/extensions/typescript-language-features/package.nls.json index 35171865..db6af0f5 100644 --- a/extensions/typescript-language-features/package.nls.json +++ b/extensions/typescript-language-features/package.nls.json @@ -229,7 +229,7 @@ "configuration.tsserver.nodePath": "Run TS Server on a custom Node installation. This can be a path to a Node executable, or 'node' if you want Kylin-Code to detect a Node installation.", "configuration.experimental.tsserver.web.typeAcquisition.enabled": "Enable/disable package acquisition on the web.", "walkthroughs.nodejsWelcome.title": "Get started with JavaScript and Node.js", - "walkthroughs.nodejsWelcome.description": "Make the most of Visual Studio Code's first-class JavaScript experience.", + "walkthroughs.nodejsWelcome.description": "Make the most of Kylin-Code's first-class JavaScript experience.", "walkthroughs.nodejsWelcome.downloadNode.forMacOrWindows.title": "Install Node.js", "walkthroughs.nodejsWelcome.downloadNode.forMacOrWindows.description": "Node.js is an easy way to run JavaScript code. You can use it to quickly build command-line apps and servers. It also comes with npm, a package manager which makes reusing and sharing JavaScript code easy.\n[Install Node.js](https://nodejs.org/en/download/)", "walkthroughs.nodejsWelcome.downloadNode.forLinux.title": "Install Node.js", @@ -238,8 +238,8 @@ "walkthroughs.nodejsWelcome.makeJsFile.description": "Let's write our first JavaScript file. We'll have to create a new file and save it with the ``.js`` extension at the end of the file name.\n[Create a JavaScript File](command:javascript-walkthrough.commands.createJsFile)", "walkthroughs.nodejsWelcome.debugJsFile.title": "Run and Debug your JavaScript", "walkthroughs.nodejsWelcome.debugJsFile.description": "Once you've installed Node.js, you can run JavaScript programs at a terminal by entering ``node your-file-name.js``\nAnother easy way to run Node.js programs is by using Kylin-Code's debugger which lets you run your code, pause at different points, and help you understand what's going on step-by-step.\n[Start Debugging](command:javascript-walkthrough.commands.debugJsFile)", - "walkthroughs.nodejsWelcome.debugJsFile.altText": "Debug and run your JavaScript code in Node.js with Visual Studio Code.", + "walkthroughs.nodejsWelcome.debugJsFile.altText": "Debug and run your JavaScript code in Node.js with Kylin-Code.", "walkthroughs.nodejsWelcome.learnMoreAboutJs.title": "Explore More", "walkthroughs.nodejsWelcome.learnMoreAboutJs.description": "Want to get more comfortable with JavaScript, Node.js, and Kylin-Code? Be sure to check out our docs!\nWe've got lots of resources for learning [JavaScript](https://code.visualstudio.com/docs/nodejs/working-with-javascript) and [Node.js](https://code.visualstudio.com/docs/nodejs/nodejs-tutorial).\n\n[Learn More](https://code.visualstudio.com/docs/nodejs/nodejs-tutorial)", - "walkthroughs.nodejsWelcome.learnMoreAboutJs.altText": "Learn more about JavaScript and Node.js in Visual Studio Code." + "walkthroughs.nodejsWelcome.learnMoreAboutJs.altText": "Learn more about JavaScript and Node.js in Kylin-Code." } diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-abyss.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-abyss.i18n.json index 506544bc..ad9207c4 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-abyss.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-abyss.i18n.json @@ -9,9 +9,9 @@ "version": "1.0.0", "contents": { "package": { - "description": "适用于 Visual Studio Code 的 Abyss 主题", + "description": "适用于 Kylin-Code 的 Abyss 主题", "displayName": "Abyss 主题", "themeLabel": "Abyss" } } -} \ No newline at end of file +} diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-kimbie-dark.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-kimbie-dark.i18n.json index 382b9869..4e3f2587 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-kimbie-dark.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-kimbie-dark.i18n.json @@ -9,9 +9,9 @@ "version": "1.0.0", "contents": { "package": { - "description": "适用于 Visual Studio Code 的 Kimbie dark 主题", + "description": "适用于 Kylin-Code 的 Kimbie dark 主题", "displayName": "Kimbie Dark 主题", "themeLabel": "Kimbie Dark" } } -} \ No newline at end of file +} diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-monokai-dimmed.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-monokai-dimmed.i18n.json index 5bf651cf..06abbffa 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-monokai-dimmed.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-monokai-dimmed.i18n.json @@ -9,9 +9,9 @@ "version": "1.0.0", "contents": { "package": { - "description": "适用于 Visual Studio Code 的 Monokai dimmed 主题", + "description": "适用于 Kylin-Code 的 Monokai dimmed 主题", "displayName": "Monokai Dimmed 主题", "themeLabel": "Monokai Dimmed" } } -} \ No newline at end of file +} diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-monokai.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-monokai.i18n.json index 6bcc75a4..63494e7e 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-monokai.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-monokai.i18n.json @@ -9,9 +9,9 @@ "version": "1.0.0", "contents": { "package": { - "description": "适用于 Visual Studio Code 的 Monokai 主题", + "description": "适用于 Kylin-Code 的 Monokai 主题", "displayName": "Monokai 主题", "themeLabel": "Monokai" } } -} \ No newline at end of file +} diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-quietlight.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-quietlight.i18n.json index ebb95bed..c293ba0c 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-quietlight.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-quietlight.i18n.json @@ -9,9 +9,9 @@ "version": "1.0.0", "contents": { "package": { - "description": "适用于 Visual Studio Code 的 Quiet light 主题", + "description": "适用于 Kylin-Code 的 Quiet light 主题", "displayName": "Quiet Light 主题", "themeLabel": "Quiet Light" } } -} \ No newline at end of file +} diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-red.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-red.i18n.json index 75346cf5..a8155414 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-red.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-red.i18n.json @@ -9,9 +9,9 @@ "version": "1.0.0", "contents": { "package": { - "description": "适用于 Visual Studio Code 的 Red 主题", + "description": "适用于 Kylin-Code 的 Red 主题", "displayName": "Red 主题", "themeLabel": "红色" } } -} \ No newline at end of file +} diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-solarized-dark.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-solarized-dark.i18n.json index 73f407f7..44c369eb 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-solarized-dark.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-solarized-dark.i18n.json @@ -9,9 +9,9 @@ "version": "1.0.0", "contents": { "package": { - "description": "适用于 Visual Studio Code 的 Solarized dark 主题", + "description": "适用于 Kylin-Code 的 Solarized dark 主题", "displayName": "Solarized Dark 主题", "themeLabel": "Solarized Dark" } } -} \ No newline at end of file +} diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-solarized-light.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-solarized-light.i18n.json index 2e584f04..94b0f8b6 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-solarized-light.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-solarized-light.i18n.json @@ -9,9 +9,9 @@ "version": "1.0.0", "contents": { "package": { - "description": "适用于 Visual Studio Code 的 Solarized light 主题", + "description": "适用于 Kylin-Code 的 Solarized light 主题", "displayName": "Solarized Light 主题", "themeLabel": "Solarized Light" } } -} \ No newline at end of file +} diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-tomorrow-night-blue.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-tomorrow-night-blue.i18n.json index c149efac..e38dfa61 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-tomorrow-night-blue.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.theme-tomorrow-night-blue.i18n.json @@ -9,9 +9,9 @@ "version": "1.0.0", "contents": { "package": { - "description": "适用于 Visual Studio Code 的 Tomorrow night blue 主题", + "description": "适用于 Kylin-Code 的 Tomorrow night blue 主题", "displayName": "Tomorrow Night Blue 主题", "themeLabel": "Tomorrow Night Blue" } } -} \ No newline at end of file +} diff --git a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.typescript-language-features.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.typescript-language-features.i18n.json index 7242e1f1..6492b3cc 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.typescript-language-features.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/extensions/vscode.typescript-language-features.i18n.json @@ -332,15 +332,15 @@ "typescript.workspaceSymbols.scope.allOpenProjects": "在所有打开的 JavaScript 或 TypeScript 项目中搜索符号。", "typescript.workspaceSymbols.scope.currentProject": "仅在当前 JavaScript 或 TypeScript 项目中搜索符号。", "virtualWorkspaces": "在虚拟工作区中,不支持解析和查找跨文件的引用。", - "walkthroughs.nodejsWelcome.debugJsFile.altText": "使用 Visual Studio Code 在 Node.js 中调试并运行 JavaScript 代码。", + "walkthroughs.nodejsWelcome.debugJsFile.altText": "使用 Kylin-Code 在 Node.js 中调试并运行 JavaScript 代码。", "walkthroughs.nodejsWelcome.debugJsFile.description": "安装 Node.js 后,可以在终端输入 ``node your-file-name.js`` 来运行 Node.js 程序\r\n另一个简单的方法是使用 Kylin-Code 调试器,它可以运行 Node.js 程序,在不同点暂停,并帮助你逐步了解执行的操作。\r\n[开始调试](命令: javascript-walkthrough.commands.debugJsFile)", "walkthroughs.nodejsWelcome.debugJsFile.title": "运行和调试 JavaScript", - "walkthroughs.nodejsWelcome.description": "充分利用 Visual Studio Code 一流的 JavaScript 体验。", + "walkthroughs.nodejsWelcome.description": "充分利用 Kylin-Code 一流的 JavaScript 体验。", "walkthroughs.nodejsWelcome.downloadNode.forLinux.description": "Node.js 是运行 JavaScript 代码的简单方法。可以使用它快速生成命令行应用和服务器。它还附带 npm,一个包管理器,可用来轻松重用和共享 JavaScript 代码。\r\n[安装 Node.js](https://nodejs.org/en/download/package-manager/)", "walkthroughs.nodejsWelcome.downloadNode.forLinux.title": "安装 Node.js", "walkthroughs.nodejsWelcome.downloadNode.forMacOrWindows.description": "Node.js 是运行 JavaScript 代码的简单方法。可以使用它快速生成命令行应用和服务器。它还附带 npm,一个包管理器,可用来轻松重用和共享 JavaScript 代码。\r\n[安装 Node.js](https://nodejs.org/en/download/)", "walkthroughs.nodejsWelcome.downloadNode.forMacOrWindows.title": "安装 Node.js", - "walkthroughs.nodejsWelcome.learnMoreAboutJs.altText": "详细了解 Visual Studio Code 中的 JavaScript 和 Node.js。", + "walkthroughs.nodejsWelcome.learnMoreAboutJs.altText": "详细了解 Kylin-Code 中的 JavaScript 和 Node.js。", "walkthroughs.nodejsWelcome.learnMoreAboutJs.description": "想要更舒适地使用 JavaScript、Node.js 和 Kylin-Code? 请务必看看我们的文档!\r\n我们有很多 [JavaScript](https://code.visualstudio.com/docs/nodejs/working-with-javascript) 和 [Node.js](https://code.visualstudio.com/docs/nodejs/nodejs-tutorial)的学习资源。\r\n\r\n[详细了解](https://code.visualstudio.com/docs/nodejs/nodejs-tutorial)", "walkthroughs.nodejsWelcome.learnMoreAboutJs.title": "浏览更多", "walkthroughs.nodejsWelcome.makeJsFile.description": "让我们来编写第一个 JavaScript 文件。我们必须创建一个新文件,并在文件名末尾使用 \".js\" 扩展名保存该文件。\r\n[创建 JavaScript 文件](命令: javascript-walkthrough.commands.createJsFile)", diff --git a/extensions/vscode-language-pack-zh-hans/translations/main.i18n.json b/extensions/vscode-language-pack-zh-hans/translations/main.i18n.json index fc89d118..7f4225c1 100644 --- a/extensions/vscode-language-pack-zh-hans/translations/main.i18n.json +++ b/extensions/vscode-language-pack-zh-hans/translations/main.i18n.json @@ -2809,7 +2809,7 @@ "similarIssues": "类似的问题", "stepsToReproduce": "重现步骤", "unknown": "不知道", - "vscode": "Visual Studio Code" + "vscode": "Kylin-Code" }, "vs/code/electron-sandbox/processExplorer/processExplorerMain": { "copy": "复制", @@ -6534,7 +6534,7 @@ "InstallFromVSIX": "从 VSIX 安装…", "InstallVSIXAction.reloadNow": "立即重载", "InstallVSIXAction.success": "已完成从 VSIX 安装 {0} 扩展的过程。", - "InstallVSIXAction.successReload": "已完成从 VSIX 安装 {0} 扩展的过程。请重新加载 Visual Studio Code 以启用它。", + "InstallVSIXAction.successReload": "已完成从 VSIX 安装 {0} 扩展的过程。请重新加载 Kylin-Code 以启用它。", "all": "所有扩展", "builtin": "扩展“{0}”是内置扩展,无法安装", "builtin filter": "内置", @@ -6679,7 +6679,7 @@ "InstallVSIXAction.reloadNow": "立即重新加载", "OpenExtensionsFile.failed": "无法在 \".vscode\" 文件夹({0})内创建 \"extensions.json\" 文件。", "ReinstallAction.success": "扩展 {0} 重新安装完毕。", - "ReinstallAction.successReload": "请重新加载 Visual Studio Code 以完成扩展 {0} 的重新安装。", + "ReinstallAction.successReload": "请重新加载 Kylin-Code 以完成扩展 {0} 的重新安装。", "Show alternate extension": "打开 {0}(&&O)", "Uninstalling": "正在卸载", "Kylin-Code for Web": "{0} Web 版", @@ -6800,7 +6800,7 @@ "togglePreRleaseLabel": "预发布", "undo": "撤消", "uninstallAction": "卸载", - "uninstallExtensionComplete": "请重新加载 Visual Studio Code 以完成对扩展 {0} 的卸载。", + "uninstallExtensionComplete": "请重新加载 Kylin-Code 以完成对扩展 {0} 的卸载。", "uninstallExtensionStart": "开始卸载扩展{0}。", "uninstalled": "已卸载", "update": "更新", @@ -6945,18 +6945,18 @@ "vs/workbench/contrib/extensions/browser/extensionsWorkbenchService": { "Manifest is not found": "未找到清单文件", "disable all": "全部禁用", - "enable locally": "请重载 Visual Studio Code 以在本地启用此扩展。", - "enable remote": "请重载 Visual Studio Code 以在 {0} 中启用此扩展。", + "enable locally": "请重载 Kylin-Code 以在本地启用此扩展。", + "enable remote": "请重载 Kylin-Code 以在 {0} 中启用此扩展。", "incompatible": "无法安装“{0}”扩展,因为它不兼容。", "installing extension": "正在安装扩展...", "installing named extension": "正在安装 \"{0}\" 扩展...", "malicious": "报告称该扩展存在问题。", "multipleDependentsError": "无法单独禁用 \"{0}\" 扩展。\"{1}\"、\"{2}\" 和其他扩展依赖于此扩展。要禁用所有这些扩展吗?", "not found": "无法安装扩展“{0}”,因为找不到请求的版本“{1}”。", - "postDisableTooltip": "请重新加载 Visual Studio Code 以禁用此扩展。", - "postEnableTooltip": "请重新加载 Visual Studio Code 以启用此扩展。", - "postUninstallTooltip": "请重新加载 Visual Studio Code 以完成此扩展的卸载。", - "postUpdateTooltip": "请重新启动 Visual Studio Code 以完成对此扩展的更新。", + "postDisableTooltip": "请重新加载 Kylin-Code 以禁用此扩展。", + "postEnableTooltip": "请重新加载 Kylin-Code 以启用此扩展。", + "postUninstallTooltip": "请重新加载 Kylin-Code 以完成此扩展的卸载。", + "postUpdateTooltip": "请重新启动 Kylin-Code 以完成对此扩展的更新。", "singleDependentError": "无法单独禁用 \"{0}\" 扩展。\"{1}\" 扩展依赖于此扩展。要禁用所有这些扩展吗?", "twoDependentsError": "无法单独禁用 \"{0}\" 扩展。\"{1}\" 和 \"{2}\" 扩展依赖于此扩展。要禁用所有这些扩展吗?", "uninstallingExtension": "正在卸载扩展..." @@ -11528,7 +11528,7 @@ "manage extension": "管理扩展", "manageExtensionIcon": "主题选择快速选取中“管理”操作的图标。", "miSelectTheme": "&&主题", - "newThemeNotification": "Visual Studio Code 现在附带新的默认主题“{0}”。是否要试一试?", + "newThemeNotification": "Kylin-Code 现在附带新的默认主题“{0}”。是否要试一试?", "noIconThemeDesc": "禁用文件图标", "noIconThemeLabel": "无", "productIconThemeCategory": "产品图标主题", @@ -11536,7 +11536,7 @@ "selectIconTheme.label": "文件图标主题", "selectProductIconTheme.label": "产品图标主题", "selectTheme.label": "颜色主题", - "themeUpdatedNotification": "Visual Studio Code 现在附带新的默认主题“{0}”。如果愿意,可以切换回旧主题或尝试其他许多可用颜色主题之一。", + "themeUpdatedNotification": "Kylin-Code 现在附带新的默认主题“{0}”。如果愿意,可以切换回旧主题或尝试其他许多可用颜色主题之一。", "themes": "主题", "themes.category.dark": "深色主题", "themes.category.hc": "高对比度主题", diff --git a/src/vs/base/test/common/labels.test.ts b/src/vs/base/test/common/labels.test.ts index 6c9d3eb0..8a01bd6f 100644 --- a/src/vs/base/test/common/labels.test.ts +++ b/src/vs/base/test/common/labels.test.ts @@ -133,15 +133,15 @@ suite('Labels', () => { // real world example (other) t = '${dirty}${activeEditorShort}${separator}${rootName}${separator}${appName}'; assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: '', separator: { label: ' - ' } }), ''); - assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'Visual Studio Code'); - assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: 'Untitled-1', rootName: '', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'Untitled-1 - Visual Studio Code'); - assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: 'monaco', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'monaco - Visual Studio Code'); - assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: 'somefile.txt', rootName: 'monaco', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'somefile.txt - monaco - Visual Studio Code'); - assert.strictEqual(labels.template(t, { dirty: '* ', activeEditorShort: 'somefile.txt', rootName: 'monaco', appName: 'Visual Studio Code', separator: { label: ' - ' } }), '* somefile.txt - monaco - Visual Studio Code'); + assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'Kylin-Code'); + assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: 'Untitled-1', rootName: '', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'Untitled-1 - Kylin-Code'); + assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: 'monaco', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'monaco - Kylin-Code'); + assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: 'somefile.txt', rootName: 'monaco', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'somefile.txt - monaco - Kylin-Code'); + assert.strictEqual(labels.template(t, { dirty: '* ', activeEditorShort: 'somefile.txt', rootName: 'monaco', appName: 'Kylin-Code', separator: { label: ' - ' } }), '* somefile.txt - monaco - Kylin-Code'); // real world example (other) t = '${dirty}${activeEditorShort}${separator}${rootNameShort}${separator}${appName}'; - assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: 'monaco (Workspace)', rootNameShort: 'monaco', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'monaco - Visual Studio Code'); + assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: 'monaco (Workspace)', rootNameShort: 'monaco', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'monaco - Kylin-Code'); }); test('mnemonicButtonLabel', () => { diff --git a/src/vs/code/electron-sandbox/issue/issueReporterService.ts b/src/vs/code/electron-sandbox/issue/issueReporterService.ts index c1a59333..8c5b9f70 100644 --- a/src/vs/code/electron-sandbox/issue/issueReporterService.ts +++ b/src/vs/code/electron-sandbox/issue/issueReporterService.ts @@ -727,7 +727,7 @@ export class IssueReporter extends Disposable { sourceSelect.innerText = ''; sourceSelect.append(this.makeOption('', localize('selectSource', "Select source"), true)); - sourceSelect.append(this.makeOption('vscode', localize('vscode', "Visual Studio Code"), false)); + sourceSelect.append(this.makeOption('vscode', localize('vscode', "Kylin-Code"), false)); sourceSelect.append(this.makeOption('extension', localize('extension', "An extension"), false)); if (this.configuration.product.reportMarketplaceIssueUrl) { sourceSelect.append(this.makeOption('marketplace', localize('marketplace', "Extensions marketplace"), false)); diff --git a/src/vs/server/node/server.cli.ts b/src/vs/server/node/server.cli.ts index 3af50b26..5d55665e 100644 --- a/src/vs/server/node/server.cli.ts +++ b/src/vs/server/node/server.cli.ts @@ -88,7 +88,7 @@ const cliStdInFilePath = process.env['VSCODE_STDIN_FILE_PATH'] as string; export async function main(desc: ProductDescription, args: string[]): Promise { if (!cliPipe && !cliCommand) { - console.log('Command is only available in WSL or inside a Visual Studio Code terminal.'); + console.log('Command is only available in WSL or inside a Kylin-Code terminal.'); return; } diff --git a/src/vs/workbench/contrib/extensions/test/electron-sandbox/extensionsActions.test.ts b/src/vs/workbench/contrib/extensions/test/electron-sandbox/extensionsActions.test.ts index c811b48b..ebf361c4 100644 --- a/src/vs/workbench/contrib/extensions/test/electron-sandbox/extensionsActions.test.ts +++ b/src/vs/workbench/contrib/extensions/test/electron-sandbox/extensionsActions.test.ts @@ -1008,7 +1008,7 @@ suite('ReloadAction', () => { didInstallEvent.fire([{ identifier: gallery.identifier, source: gallery, operation: InstallOperation.Install, local: aLocalExtension('a', gallery, gallery) }]); await promise; assert.ok(testObject.enabled); - assert.strictEqual(testObject.tooltip, 'Please reload Visual Studio Code to enable this extension.'); + assert.strictEqual(testObject.tooltip, 'Please reload Kylin-Code to enable this extension.'); }); test('Test ReloadAction when extension is newly installed and reload is not required', async () => { @@ -1076,7 +1076,7 @@ suite('ReloadAction', () => { uninstallEvent.fire({ identifier: local.identifier }); didUninstallEvent.fire({ identifier: local.identifier }); assert.ok(testObject.enabled); - assert.strictEqual(testObject.tooltip, 'Please reload Visual Studio Code to complete the uninstallation of this extension.'); + assert.strictEqual(testObject.tooltip, 'Please reload Kylin-Code to complete the uninstallation of this extension.'); }); test('Test ReloadAction when extension is uninstalled and can be removed', async () => { @@ -1144,7 +1144,7 @@ suite('ReloadAction', () => { return new Promise(c => { disposables.add(testObject.onDidChange(() => { - if (testObject.enabled && testObject.tooltip === 'Please reload Visual Studio Code to enable the updated extension.') { + if (testObject.enabled && testObject.tooltip === 'Please reload Kylin-Code to enable the updated extension.') { c(); } })); @@ -1198,7 +1198,7 @@ suite('ReloadAction', () => { await testObject.update(); assert.ok(testObject.enabled); - assert.strictEqual('Please reload Visual Studio Code to disable this extension.', testObject.tooltip); + assert.strictEqual('Please reload Kylin-Code to disable this extension.', testObject.tooltip); }); test('Test ReloadAction when extension enablement is toggled when running', async () => { @@ -1241,7 +1241,7 @@ suite('ReloadAction', () => { await workbenchService.setEnablement(extensions[0], EnablementState.EnabledGlobally); await testObject.update(); assert.ok(testObject.enabled); - assert.strictEqual('Please reload Visual Studio Code to enable this extension.', testObject.tooltip); + assert.strictEqual('Please reload Kylin-Code to enable this extension.', testObject.tooltip); }); test('Test ReloadAction when extension enablement is toggled when not running', async () => { @@ -1288,7 +1288,7 @@ suite('ReloadAction', () => { await workbenchService.setEnablement(extensions[0], EnablementState.EnabledGlobally); await testObject.update(); assert.ok(testObject.enabled); - assert.strictEqual('Please reload Visual Studio Code to enable this extension.', testObject.tooltip); + assert.strictEqual('Please reload Kylin-Code to enable this extension.', testObject.tooltip); }); test('Test ReloadAction when a localization extension is newly installed', async () => { @@ -1439,7 +1439,7 @@ suite('ReloadAction', () => { await promise; assert.ok(testObject.enabled); - assert.strictEqual(testObject.tooltip, 'Please reload Visual Studio Code to enable this extension.'); + assert.strictEqual(testObject.tooltip, 'Please reload Kylin-Code to enable this extension.'); }); test('Test ReloadAction when ui extension is disabled on remote server and installed in local server', async () => { @@ -1478,7 +1478,7 @@ suite('ReloadAction', () => { await promise; assert.ok(testObject.enabled); - assert.strictEqual(testObject.tooltip, 'Please reload Visual Studio Code to enable this extension.'); + assert.strictEqual(testObject.tooltip, 'Please reload Kylin-Code to enable this extension.'); }); test('Test ReloadAction for remote ui extension is disabled when it is installed and enabled in local server', async () => {