@@ -123,33 +123,15 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
123123
124124let debugKeybindingLabel = '' ;
125125viewsRegistry . registerViewWelcomeContent ( WelcomeView . ID , {
126- content : localize (
127- {
128- key : 'runAndDebugAction' ,
129- comment : [
130- '{0} will be replaced with a keybinding' ,
131- 'Please do not translate the word "command", it is part of our internal syntax which must not change' ,
132- '{Locked="](command:{1})"}'
133- ]
134- } ,
135- "[Run and Debug{0}](command:{1})" , debugKeybindingLabel , DEBUG_START_COMMAND_ID ) ,
126+ content : `[${ localize ( 'runAndDebugAction' , "Run and Debug" ) } ${ debugKeybindingLabel } ](command:${ DEBUG_START_COMMAND_ID } )` ,
136127 when : CONTEXT_DEBUGGERS_AVAILABLE ,
137128 group : ViewContentGroups . Debug ,
138129 // Allow inserting more buttons directly after this one (by setting order to 1).
139130 order : 1
140131} ) ;
141132
142133viewsRegistry . registerViewWelcomeContent ( WelcomeView . ID , {
143- content : localize (
144- {
145- key : 'detectThenRunAndDebug' ,
146- comment : [
147- 'Please do not translate the word "command", it is part of our internal syntax which must not change' ,
148- '{Locked="](command:{0})"}' ,
149-
150- ]
151- } ,
152- "[Show all automatic debug configurations](command:{0})." , SELECT_AND_START_ID ) ,
134+ content : `[${ localize ( 'detectThenRunAndDebug' , "Show all automatic debug configurations" ) } ](command:${ SELECT_AND_START_ID } ).` ,
153135 when : CONTEXT_DEBUGGERS_AVAILABLE ,
154136 group : ViewContentGroups . Debug ,
155137 order : 10
0 commit comments