From 4cdae9cc06d2edc924815d8ef2bd0aab6501449b Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Tue, 14 Jan 2025 15:33:56 +0100 Subject: [PATCH] =?UTF-8?q?GitHub=20-=20=F0=9F=92=84=20extract=20command?= =?UTF-8?q?=20strings=20(#237899)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/github/package.json | 12 ++++++------ extensions/github/package.nls.json | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/extensions/github/package.json b/extensions/github/package.json index d9b491a8f2e..a1d9b4eb961 100644 --- a/extensions/github/package.json +++ b/extensions/github/package.json @@ -38,28 +38,28 @@ "commands": [ { "command": "github.publish", - "title": "Publish to GitHub" + "title": "%command.publish%" }, { "command": "github.copyVscodeDevLink", - "title": "Copy vscode.dev Link" + "title": "%command.copyVscodeDevLink%" }, { "command": "github.copyVscodeDevLinkFile", - "title": "Copy vscode.dev Link" + "title": "%command.copyVscodeDevLink%" }, { "command": "github.copyVscodeDevLinkWithoutRange", - "title": "Copy vscode.dev Link" + "title": "%command.copyVscodeDevLink%" }, { "command": "github.openOnVscodeDev", - "title": "Open in vscode.dev", + "title": "%command.openOnVscodeDev%", "icon": "$(globe)" }, { "command": "github.graph.openOnGitHub", - "title": "Open on GitHub", + "title": "%command.openOnGitHub%", "icon": "$(github)" } ], diff --git a/extensions/github/package.nls.json b/extensions/github/package.nls.json index 5ead7903af2..bceb83403ef 100644 --- a/extensions/github/package.nls.json +++ b/extensions/github/package.nls.json @@ -1,6 +1,10 @@ { "displayName": "GitHub", "description": "GitHub features for VS Code", + "command.copyVscodeDevLink": "Copy vscode.dev Link", + "command.publish": "Publish to GitHub", + "command.openOnGitHub": "Open on GitHub", + "command.openOnVscodeDev": "Open in vscode.dev", "config.branchProtection": "Controls whether to query repository rules for GitHub repositories", "config.gitAuthentication": "Controls whether to enable automatic GitHub authentication for git commands within VS Code.", "config.gitProtocol": "Controls which protocol is used to clone a GitHub repository",