Define 'language' for translators (#168118)

* define 'language' for #129029

* Update src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint/untitledTextEditorHint.ts

Co-authored-by: John Murray <johnm@georgejames.com>

Co-authored-by: John Murray <johnm@georgejames.com>
This commit is contained in:
Tyler James Leonhardt 2022-12-06 13:19:22 -08:00 committed by GitHub
parent 3c84e0d763
commit 2b642e1c98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) => {