diff --git a/package.json b/package.json index 99287b6f..803e9fb2 100644 --- a/package.json +++ b/package.json @@ -106,8 +106,8 @@ "category": "Azure" }, { - "command": "azureTenantsView.logInButton", - "title": "%azureTenantsView.logInButton%", + "command": "azureTenantsView.addAccount", + "title": "%azureTenantsView.addAccount%", "category": "Azure", "icon": "$(add)" }, @@ -400,7 +400,7 @@ "group": "navigation@1" }, { - "command": "azureTenantsView.logInButton", + "command": "azureTenantsView.addAccount", "when": "view == azureTenantsView", "group": "navigation@1" } @@ -524,7 +524,7 @@ "when": "never" }, { - "command": "azureTenantsView.logInButton", + "command": "azureTenantsView.addAccount", "when": "never" } ], diff --git a/package.nls.json b/package.nls.json index a5d7889e..e544f7e2 100644 --- a/package.nls.json +++ b/package.nls.json @@ -3,7 +3,7 @@ "azureResourceGroups.cloudShellPowerShell": "Azure Cloud Shell (PowerShell)", "azureResourceGroups.uploadToCloudShell": "Upload to Cloud Shell", "azureResourceGroups.logIn": "Sign In", - "azureTenantsView.logInButton": "Sign In", + "azureTenantsView.addAccount": "Add account", "azureResourceGroups.signInToTenant": "Sign in to Tenant (Directory)...", "azureResourceGroups.selectSubscriptions": "Select Subscriptions...", "azureResourceGroups.createResourceGroup": "Create Resource Group...", diff --git a/src/commands/registerCommands.ts b/src/commands/registerCommands.ts index e6438809..e3fa93bf 100644 --- a/src/commands/registerCommands.ts +++ b/src/commands/registerCommands.ts @@ -79,7 +79,7 @@ export function registerCommands(): void { registerCommand('azureResourceGroups.unfocusGroup', unfocusGroup); registerCommand('azureResourceGroups.logIn', (context: IActionContext) => logIn(context)); - registerCommand('azureTenantsView.logInButton', (context: IActionContext) => logIn(context)); + registerCommand('azureTenantsView.addAccount', (context: IActionContext) => logIn(context)); registerCommand('azureResourceGroups.selectSubscriptions', (context: IActionContext, options: SelectSubscriptionOptions) => selectSubscriptions(context, options)); registerCommand('azureResourceGroups.signInToTenant', async () => signInToTenant(await ext.subscriptionProviderFactory()));