From 30e411bef889e9fabb31e81fd40f0c909aa80d30 Mon Sep 17 00:00:00 2001 From: Mark Sujew Date: Thu, 22 Feb 2024 14:59:56 +0000 Subject: [PATCH] Fix default translation of `Close Editor` command --- packages/core/src/common/nls.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/src/common/nls.ts b/packages/core/src/common/nls.ts index f829f57623d27..acdc62474e419 100644 --- a/packages/core/src/common/nls.ts +++ b/packages/core/src/common/nls.ts @@ -83,7 +83,9 @@ class LocalizationKeyProvider { private preferredKeys = new Set([ // We only want the `File` translation used in the menu - 'vscode/fileActions.contribution/filesCategory' + 'vscode/fileActions.contribution/filesCategory', + // Needed for `Close Editor` translation + 'vscode/editor.contribution/closeEditor' ]); private data = this.buildData();