Skip to content

Commit

Permalink
Define 'language' for translators (#168118)
Browse files Browse the repository at this point in the history
* define 'language' for #129029

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

Co-authored-by: John Murray <[email protected]>

Co-authored-by: John Murray <[email protected]>
  • Loading branch information
TylerLeonhardt and gjsjohnmurray authored Dec 6, 2022
1 parent 3c84e0d commit 2b642e1
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 2b642e1

Please sign in to comment.