Skip to content

Commit 4935c64

Browse files
committed
Fixes microsoft#86481: Switching language notification only has 1 button?
1 parent 73b509a commit 4935c64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vs/workbench/contrib/localizations/browser/localizations.contribution.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ export class LocalizationWorkbenchContribution extends Disposable implements IWo
6767
const updatePromise = updateAndRestart ? this.jsonEditingService.write(this.environmentService.argvResource, [{ path: ['locale'], value: locale }], true) : Promise.resolve(undefined);
6868
updatePromise.then(() => this.hostService.restart(), e => this.notificationService.error(e));
6969
}
70+
}, {
71+
label: updateAndRestart ? localize('doNotChangeAndRestart', "Don't change Language") : localize('doNotRestart', "Don't Restart"),
72+
run: () => { }
7073
}],
7174
{
7275
sticky: true,

0 commit comments

Comments
 (0)