From 2b642e1c98da8859a7f0f3a428e0268a74b5de2f Mon Sep 17 00:00:00 2001 From: Tyler James Leonhardt Date: Tue, 6 Dec 2022 13:19:22 -0800 Subject: [PATCH] Define 'language' for translators (#168118) * define 'language' for #129029 * Update src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint/untitledTextEditorHint.ts Co-authored-by: John Murray Co-authored-by: John Murray --- .../untitledTextEditorHint/untitledTextEditorHint.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint/untitledTextEditorHint.ts b/src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint/untitledTextEditorHint.ts index ed0849a17421e..d9722e1f4058b 100644 --- a/src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint/untitledTextEditorHint.ts +++ b/src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint/untitledTextEditorHint.ts @@ -107,7 +107,13 @@ class UntitledTextEditorHintContentWidget implements IContentWidget { this.domNode = $('.untitled-hint'); this.domNode.style.width = 'max-content'; - const hintMsg = localize({ key: 'message', comment: ['Presereve double-square brackets and their order'] }, '[[Select a language]], or [[open a different editor]] to get started.\nStart typing to dismiss or [[don\'t show]] this again.'); + const hintMsg = localize({ + key: 'message', + comment: [ + 'Preserve double-square brackets and their order', + 'language refers to a programming language' + ] + }, '[[Select a language]], or [[open a different editor]] to get started.\nStart typing to dismiss or [[don\'t show]] this again.'); const hintHandler: IContentActionHandler = { disposables: this.toDispose, callback: (index, event) => {