diff --git a/appservice/package.json b/appservice/package.json index 7291e255dc..d68086feb1 100644 --- a/appservice/package.json +++ b/appservice/package.json @@ -1,7 +1,7 @@ { "name": "vscode-azureappservice", "author": "Microsoft Corporation", - "version": "0.6.0", + "version": "0.7.0", "description": "Common tools for developing Azure App Service extensions for VS Code", "tags": [ "azure", diff --git a/appservice/src/SiteWrapper.ts b/appservice/src/SiteWrapper.ts index 0262a91a1e..12c15572b5 100644 --- a/appservice/src/SiteWrapper.ts +++ b/appservice/src/SiteWrapper.ts @@ -208,14 +208,14 @@ export class SiteWrapper { zipFilePath = fsPath; } else if (await FileUtilities.isDirectory(fsPath)) { createdZip = true; - this.log(outputChannel, 'Creating zip package...'); + this.log(outputChannel, localize('zipCreate', 'Creating zip package...')); zipFilePath = await FileUtilities.zipDirectory(fsPath); } else { throw new Error(localize('NotAZipError', 'Path specified is not a folder or a zip file')); } try { - this.log(outputChannel, 'Starting deployment...'); + this.log(outputChannel, localize('deployStart', 'Starting deployment...')); await kuduClient.pushDeployment.zipPushDeploy(fs.createReadStream(zipFilePath), { isAsync: true }); await this.waitForDeploymentToComplete(kuduClient, outputChannel); } catch (error) { @@ -234,7 +234,7 @@ export class SiteWrapper { } } - this.log(outputChannel, 'Deployment completed.'); + this.log(outputChannel, localize('deployComplete', 'Deployment completed.')); } private async localGitDeploy(fsPath: string, client: WebSiteManagementClient, outputChannel: vscode.OutputChannel): Promise { @@ -274,7 +274,7 @@ export class SiteWrapper { } this.log(outputChannel, (localize('localGitDeploy', `Deploying Local Git repository to "${this.appName}"...`))); await this.waitForDeploymentToComplete(kuduClient, outputChannel); - this.log(outputChannel, 'Deployment completed.'); + this.log(outputChannel, localize('deployComplete', 'Deployment completed.')); } private async showScmPrompt(currentScmType: string): Promise { @@ -329,8 +329,8 @@ export class SiteWrapper { } private async showInstallPrompt(): Promise { - const installString: string = 'Install'; - const input: string | undefined = await vscode.window.showErrorMessage('Git must be installed to use Local Git Deploy.', installString); + const installString: string = localize('Install', 'Install'); + const input: string | undefined = await vscode.window.showErrorMessage(localize('GitRequired', 'Git must be installed to use Local Git Deploy.'), installString); if (input === installString) { // tslint:disable-next-line:no-unsafe-any opn('https://git-scm.com/downloads'); diff --git a/kudu/package.json b/kudu/package.json index 09f333033d..40b0b74d9e 100644 --- a/kudu/package.json +++ b/kudu/package.json @@ -31,7 +31,7 @@ "moment": "^2.18.1" }, "devDependencies": { - "autorest": "^2.0.4147", + "autorest": "2.0.4147", "typescript": "^2.5.3" } }