diff --git a/package-lock.json b/package-lock.json index f26c0e38..203e631f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-apimanagement", - "version": "0.1.9", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ee4e3d72..9f9b0240 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-apimanagement", "displayName": "Azure API Management", "description": "An Azure API Management extension for Visual Studio Code.", - "version": "0.1.9", + "version": "1.0.0", "publisher": "ms-azuretools", "icon": "resources/azure-apim.png", "aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217", diff --git a/src/commands/revisions.ts b/src/commands/revisions.ts index f11e152f..8a0b7622 100644 --- a/src/commands/revisions.ts +++ b/src/commands/revisions.ts @@ -18,10 +18,10 @@ export async function revisions(context: IActionContext, node?: ApiTreeItem): Pr node = await ext.tree.showTreeItemPicker(ApiTreeItem.contextValue, context); } - const options = [localize("", "Make Current"), localize("", "Switch Revisions"), localize("", "Create Revision"), localize("", "Delete Revision")]; + const options = [localize("", "Make Current"), localize("", "Switch Revision"), localize("", "Create Revision"), localize("", "Delete Revision")]; const commands = await ext.ui.showQuickPick(options.map((s) => { return { label: s }; }), { canPickMany: false }); - if (commands.label === localize("", "Switch Revisions")) { + if (commands.label === localize("", "Switch Revision")) { const pickedApi = await listRevisions(node); await node.reloadApi(pickedApi); @@ -97,7 +97,7 @@ async function createRevision(node: ApiTreeItem): Promise { await window.withProgress( { location: ProgressLocation.Notification, - title: localize("creating", "Creating API Revision..."), + title: localize("creating", "Creating API revision..."), cancellable: true }, async () => { @@ -140,8 +140,8 @@ async function deleteRevision(node: ApiTreeItem): Promise { } async function askRevisionDescription(): Promise { - const releaseNotesPrompt: string = localize('revisionPrompt', 'Enter revision Description.'); - const defaultDescription: string = localize('revisionPrompt', "New ApiRevsion"); + const releaseNotesPrompt: string = localize('revisionPrompt', 'Enter revision description.'); + const defaultDescription: string = localize('revisionPrompt', "New API revision"); return (await ext.ui.showInputBox({ prompt: releaseNotesPrompt, value: defaultDescription, diff --git a/src/operationConsole/OperationConsole.ts b/src/operationConsole/OperationConsole.ts index edcf9a2c..3885a751 100644 --- a/src/operationConsole/OperationConsole.ts +++ b/src/operationConsole/OperationConsole.ts @@ -46,7 +46,7 @@ export class OperationConsole { // add comment requestSummary += `\n//A subscription key is required to call this API.`; requestSummary += `\n//You can get the all-access subscription key by right clicking on your service and choose "Copy Subscription Key".`; - requestSummary += `\n//You can also set an environment variable to avoid doing the above every time,`; + requestSummary += `\n//You can also set an environment variable,`; requestSummary += `\n//see https://code.visualstudio.com/docs/editor/variables-reference#_environment-variables`; return requestSummary;