mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
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:
parent
3c84e0d763
commit
2b642e1c98
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue