diff --git a/loc/translations-export/vscode-powerplatform.xlf b/loc/translations-export/vscode-powerplatform.xlf index b0bdfe23..8269d5a1 100644 --- a/loc/translations-export/vscode-powerplatform.xlf +++ b/loc/translations-export/vscode-powerplatform.xlf @@ -701,9 +701,9 @@ The eighth line should be '[TRANSLATION HERE](command:powerplatform-walkthrough. Login and connect to a Power Pages environment to use Power Pages actions. [Learn more](https://example.com/learn-more). -[Login](command:powerpages.actionsHub.newAuthProfile) +[Login](command:microsoft.powerplatform.pages.actionsHub.newAuthProfile) This is a Markdown formatted string, and the formatting must persist across translations. -The second line should be '[TRANSLATION HERE](command:powerpages.actionsHub.newAuthProfile).', keeping brackets and the text in the parentheses unmodified +The second line should be '[TRANSLATION HERE](command:microsoft.powerplatform.pages.actionsHub.newAuthProfile).', keeping brackets and the text in the parentheses unmodified Name/Rename Auth Profile diff --git a/package.nls.json b/package.nls.json index 9430154c..b03678d2 100644 --- a/package.nls.json +++ b/package.nls.json @@ -99,10 +99,10 @@ "microsoft.powerplatform.pages.actionsHub.openSitesInStudio.title": "Open in Power Pages Studio", "microsoft.powerplatform.pages.actionsHub.activeSite.previewSite.title": "Preview", "microsoft.powerplatform.pages.actionsHub.login":{ - "message": "Login and connect to a Power Pages environment to use Power Pages actions. [Learn more](https://example.com/learn-more).\n[Login](command:powerpages.actionsHub.newAuthProfile)", + "message": "Login and connect to a Power Pages environment to use Power Pages actions. [Learn more](https://example.com/learn-more).\n[Login](command:microsoft.powerplatform.pages.actionsHub.newAuthProfile)", "comment": [ "This is a Markdown formatted string, and the formatting must persist across translations.", - "The second line should be '[TRANSLATION HERE](command:powerpages.actionsHub.newAuthProfile).', keeping brackets and the text in the parentheses unmodified" + "The second line should be '[TRANSLATION HERE](command:microsoft.powerplatform.pages.actionsHub.newAuthProfile).', keeping brackets and the text in the parentheses unmodified" ] }, "microsoft.powerplatform.pages.actionsHub.login.title": "Add New Auth Profile", diff --git a/src/client/power-pages/actions-hub/ActionsHubTreeDataProvider.ts b/src/client/power-pages/actions-hub/ActionsHubTreeDataProvider.ts index cd578f6b..e28c8005 100644 --- a/src/client/power-pages/actions-hub/ActionsHubTreeDataProvider.ts +++ b/src/client/power-pages/actions-hub/ActionsHubTreeDataProvider.ts @@ -112,7 +112,7 @@ export class ActionsHubTreeDataProvider implements vscode.TreeDataProvider { + vscode.commands.registerCommand("microsoft.powerplatform.pages.actionsHub.newAuthProfile", async () => { await createNewAuthProfile(pacTerminal.getWrapper()); }), diff --git a/src/client/test/Integration/power-pages/actions-hub/ActionsHubTreeDataProvider.test.ts b/src/client/test/Integration/power-pages/actions-hub/ActionsHubTreeDataProvider.test.ts index 301d8d49..2eaa55d9 100644 --- a/src/client/test/Integration/power-pages/actions-hub/ActionsHubTreeDataProvider.test.ts +++ b/src/client/test/Integration/power-pages/actions-hub/ActionsHubTreeDataProvider.test.ts @@ -133,7 +133,7 @@ describe("ActionsHubTreeDataProvider", () => { const actionsHubTreeDataProvider = ActionsHubTreeDataProvider.initialize(context, pacTerminal); actionsHubTreeDataProvider["registerPanel"](pacTerminal); - expect(registerCommandStub.calledWith("powerpages.actionsHub.newAuthProfile")).to.be.true; + expect(registerCommandStub.calledWith("microsoft.powerplatform.pages.actionsHub.newAuthProfile")).to.be.true; await registerCommandStub.getCall(6).args[1](); expect(mockCommandHandler.calledOnce).to.be.true;