From 28a0006850377cffc8107ca0ed93631dda81d13c Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Mon, 16 Aug 2021 14:32:29 -0700 Subject: [PATCH] Use more generic title for code action lightbulb Fixes #129238 --- src/vs/editor/contrib/codeAction/lightBulbWidget.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vs/editor/contrib/codeAction/lightBulbWidget.ts b/src/vs/editor/contrib/codeAction/lightBulbWidget.ts index 7c0fedd446f..b930e913427 100644 --- a/src/vs/editor/contrib/codeAction/lightBulbWidget.ts +++ b/src/vs/editor/contrib/codeAction/lightBulbWidget.ts @@ -209,7 +209,7 @@ export class LightBulbWidget extends Disposable implements IContentWidget { const preferredKb = this._keybindingService.lookupKeybinding(this._preferredFixActionId); if (preferredKb) { - this.title = nls.localize('prefferedQuickFixWithKb', "Show Fixes. Preferred Fix Available ({0})", preferredKb.getLabel()); + this.title = nls.localize('preferredcodeActionWithKb', "Show Code Actions. Preferred Quick Fix Available ({0})", preferredKb.getLabel()); return; } } @@ -220,9 +220,9 @@ export class LightBulbWidget extends Disposable implements IContentWidget { const kb = this._keybindingService.lookupKeybinding(this._quickFixActionId); if (kb) { - this.title = nls.localize('quickFixWithKb', "Show Fixes ({0})", kb.getLabel()); + this.title = nls.localize('codeActionWithKb', "Show Code Actions ({0})", kb.getLabel()); } else { - this.title = nls.localize('quickFix', "Show Fixes"); + this.title = nls.localize('codeAction', "Show Code Actions"); } }